待办流程添加批量办理
This commit is contained in:
+4
-1
@@ -120,6 +120,7 @@
|
||||
getData(data) {
|
||||
this.selectedRowKeys = data
|
||||
this.taskDefinitionKey = this.selectedRowKeys[0].taskDefinitionKey
|
||||
this.taskIds = []
|
||||
this.selectedRowKeys.forEach(res=>{
|
||||
if (res.taskIds.indexOf(',') != '-1'){
|
||||
res.taskIds = res.taskIds.slice(0,res.taskIds.indexOf(','))
|
||||
@@ -161,11 +162,13 @@
|
||||
handleOk() {
|
||||
this.$refs.ruleForm.validate(valid => {
|
||||
if (valid) {
|
||||
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||
let query = {
|
||||
...this.formInline,
|
||||
taskIds:this.taskIds.join(','),
|
||||
userId:this.userInfo().id,
|
||||
taskDefinitionKey:this.taskDefinitionKey
|
||||
taskDefinitionKey:this.taskDefinitionKey,
|
||||
handlingTime:handlingTime
|
||||
}
|
||||
if (this.formInline.flag == '1'){
|
||||
this.addBatch()
|
||||
|
||||
Reference in New Issue
Block a user