diff --git a/jero-web/src/views/processCenter/processList/tabComponents/processCenter/components/batchProcessing.vue b/jero-web/src/views/processCenter/processList/tabComponents/processCenter/components/batchProcessing.vue index 849a43cff..1ea338cea 100644 --- a/jero-web/src/views/processCenter/processList/tabComponents/processCenter/components/batchProcessing.vue +++ b/jero-web/src/views/processCenter/processList/tabComponents/processCenter/components/batchProcessing.vue @@ -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()