待办流程添加批量办理
This commit is contained in:
+5
-1
@@ -113,6 +113,7 @@
|
||||
isTrue: false,
|
||||
taskDefinitionKey: '',
|
||||
taskIds:[],
|
||||
projectLawsInventoryIds:[],
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -121,11 +122,13 @@
|
||||
this.selectedRowKeys = data
|
||||
this.taskDefinitionKey = this.selectedRowKeys[0].taskDefinitionKey
|
||||
this.taskIds = []
|
||||
this.projectLawsInventoryIds = []
|
||||
this.selectedRowKeys.forEach(res=>{
|
||||
if (res.taskIds.indexOf(',') != '-1'){
|
||||
res.taskIds = res.taskIds.slice(0,res.taskIds.indexOf(','))
|
||||
}
|
||||
this.taskIds.push(res.taskIds)
|
||||
this.projectLawsInventoryIds.push(res.projectLawsInventoryId)
|
||||
})
|
||||
this.confirmLoading = false
|
||||
this.visible = true
|
||||
@@ -168,7 +171,8 @@
|
||||
taskIds:this.taskIds.join(','),
|
||||
userId:this.userInfo().id,
|
||||
taskDefinitionKey:this.taskDefinitionKey,
|
||||
handlingTime:handlingTime
|
||||
handlingTime:handlingTime,
|
||||
projectLawsInventoryIds:this.projectLawsInventoryIds.join(',')
|
||||
}
|
||||
if (this.formInline.flag == '1'){
|
||||
this.addBatch()
|
||||
|
||||
Reference in New Issue
Block a user