update 稽查计划-强制撤回
This commit is contained in:
+4
-15
@@ -99,7 +99,7 @@ export default {
|
||||
EsInspectionPlan,
|
||||
disableMixinCreated: true,
|
||||
url: {
|
||||
list: '/process/processEsInspectPlan/list',
|
||||
// list: '/process/processEsInspectPlan/list',
|
||||
delete: '/process/processEsInspectPlan/delete',
|
||||
deleteBatch: '/process/processEsInspectPlan/deleteBatch',
|
||||
// 默认是发起节点的导入和 下载模板,如果是节点2就用没有 征求意见对象 的模板和导入接口
|
||||
@@ -234,20 +234,6 @@ export default {
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
// 列表查询带上项目id
|
||||
projectId: {
|
||||
immediate: true,
|
||||
handler (val) {
|
||||
if (!val) {
|
||||
return
|
||||
}
|
||||
this.filters.projectId = this.projectId
|
||||
if (this.currentNode === EsInspectionPlan.fillInComments.value) {
|
||||
this.filters.nodeId = this.$route.query.nodeId
|
||||
}
|
||||
this.loadData()
|
||||
}
|
||||
},
|
||||
// 监听当前节点变化
|
||||
currentNode: {
|
||||
immediate: true,
|
||||
@@ -294,6 +280,9 @@ export default {
|
||||
this.filters.taskId = this.$route.query.taskId
|
||||
},
|
||||
methods: {
|
||||
setData (list) {
|
||||
this.dataSource = list || []
|
||||
},
|
||||
// 父组件获取删除的ids
|
||||
getDelIds () {
|
||||
return Array.from(new Set(this.delIds)).filter(item => item).join(',')
|
||||
|
||||
Reference in New Issue
Block a user