流程退回
Showing
3 changed files
with
22 additions
and
24 deletions
... | @@ -198,7 +198,8 @@ | ... | @@ -198,7 +198,8 @@ |
198 | <el-button type="primary" @click="registerCall">登记调用</el-button> | 198 | <el-button type="primary" @click="registerCall">登记调用</el-button> |
199 | </div> | 199 | </div> |
200 | <div class="sh-btn"> | 200 | <div class="sh-btn"> |
201 | <el-button type="primary" @click="thdz">退回</el-button> | 201 | <el-button type="primary" @click="lczz" v-if="workFlowData.properties.phase == 'modify'">终止</el-button> |
202 | <el-button type="primary" @click="thdz" v-if="workFlowData.rollbackDetails.length>0">退回</el-button> | ||
202 | <el-button type="primary" @click="onSubmit" :disabled="disabled" v-if="!workFlowState">提交</el-button> | 203 | <el-button type="primary" @click="onSubmit" :disabled="disabled" v-if="!workFlowState">提交</el-button> |
203 | <el-button type="primary" @click="shdz" v-if="workFlowState">审核</el-button> | 204 | <el-button type="primary" @click="shdz" v-if="workFlowState">审核</el-button> |
204 | </div> | 205 | </div> |
... | @@ -296,6 +297,7 @@ | ... | @@ -296,6 +297,7 @@ |
296 | rules:[], | 297 | rules:[], |
297 | 298 | ||
298 | workFlowState:false, | 299 | workFlowState:false, |
300 | workFlowData:{} | ||
299 | } | 301 | } |
300 | }, | 302 | }, |
301 | created() { | 303 | created() { |
... | @@ -344,14 +346,15 @@ | ... | @@ -344,14 +346,15 @@ |
344 | 346 | ||
345 | thdz(){ | 347 | thdz(){ |
346 | let data = { | 348 | let data = { |
347 | bdcdyh:this.form.bdcdyh, | 349 | "targetNodeId": this.workFlowData.rollbackDetails[0].id, |
348 | zl:this.form.zl, | 350 | "workitemInstanceId": this.$route.query.workitemInstanceId |
349 | shyj:'', | ||
350 | shr:'admin', | ||
351 | shsj:'2021-01-22' | ||
352 | } | 351 | } |
353 | vm.rollback(data); | 352 | vm.rollback(data); |
354 | }, | 353 | }, |
354 | //宗地流程终止 | ||
355 | lczz(){ | ||
356 | vm.termProcess(this.workFlowData.processInstance.id); | ||
357 | }, | ||
355 | 358 | ||
356 | registerCall(){ | 359 | registerCall(){ |
357 | let data={ | 360 | let data={ | ... | ... |
... | @@ -370,7 +370,7 @@ | ... | @@ -370,7 +370,7 @@ |
370 | </div> | 370 | </div> |
371 | <div class="sh-btn"> | 371 | <div class="sh-btn"> |
372 | <el-button type="primary" @click="lczz" v-if="workFlowData.properties.phase == 'modify'">终止</el-button> | 372 | <el-button type="primary" @click="lczz" v-if="workFlowData.properties.phase == 'modify'">终止</el-button> |
373 | <el-button type="primary" @click="thzd">退回</el-button> | 373 | <el-button type="primary" @click="thzd" v-if="workFlowData.rollbackDetails.length>0">退回</el-button> |
374 | <el-button type="primary" @click="submitZDxx" :disabled="disabled" v-if="!workFlowState">提交</el-button> | 374 | <el-button type="primary" @click="submitZDxx" :disabled="disabled" v-if="!workFlowState">提交</el-button> |
375 | <el-button type="primary" @click="shzd" v-if="workFlowState">审核</el-button> | 375 | <el-button type="primary" @click="shzd" v-if="workFlowState">审核</el-button> |
376 | </div> | 376 | </div> |
... | @@ -968,12 +968,8 @@ | ... | @@ -968,12 +968,8 @@ |
968 | //宗地审核流程退回 | 968 | //宗地审核流程退回 |
969 | thzd(){ | 969 | thzd(){ |
970 | let data = { | 970 | let data = { |
971 | "params": {}, | 971 | "targetNodeId": this.workFlowData.rollbackDetails[0].id, |
972 | "targetNodeId": "", | 972 | "workitemInstanceId": this.$route.query.workitemInstanceId |
973 | "targetNodes": [ | ||
974 | "" | ||
975 | ], | ||
976 | "workitemInstanceId": this.workFlowData.processInstance.id | ||
977 | } | 973 | } |
978 | vm.rollback(data); | 974 | vm.rollback(data); |
979 | }, | 975 | }, | ... | ... |
... | @@ -279,7 +279,8 @@ | ... | @@ -279,7 +279,8 @@ |
279 | </div> | 279 | </div> |
280 | </div> | 280 | </div> |
281 | <div class="sh-btn"> | 281 | <div class="sh-btn"> |
282 | <el-button type="primary" @click="thzrz">退回</el-button> | 282 | <el-button type="primary" @click="lczz" v-if="workFlowData.properties.phase == 'modify'">终止</el-button> |
283 | <el-button type="primary" @click="thzrz" v-if="workFlowData.rollbackDetails.length>0">退回</el-button> | ||
283 | <el-button type="primary" @click="onSubmit" :disabled="disabled" v-if="!workFlowState">提交</el-button> | 284 | <el-button type="primary" @click="onSubmit" :disabled="disabled" v-if="!workFlowState">提交</el-button> |
284 | <el-button type="primary" @click="shzrz" v-if="workFlowState">审核</el-button> | 285 | <el-button type="primary" @click="shzrz" v-if="workFlowState">审核</el-button> |
285 | </div> | 286 | </div> |
... | @@ -317,17 +318,12 @@ | ... | @@ -317,17 +318,12 @@ |
317 | children: 'children', | 318 | children: 'children', |
318 | label: 'mc' | 319 | label: 'mc' |
319 | }, | 320 | }, |
320 | |||
321 | lx:"zrz", | 321 | lx:"zrz", |
322 | bsm:'', | 322 | bsm:'', |
323 | |||
324 | workFlowState:false, | ||
325 | |||
326 | initZrzh:'', | 323 | initZrzh:'', |
327 | finishZrzh:'', | 324 | finishZrzh:'', |
328 | hcount:0, | 325 | hcount:0, |
329 | booleanUpdateH:false, | 326 | booleanUpdateH:false, |
330 | |||
331 | form:{ | 327 | form:{ |
332 | zrzbsm:'', //自然幢标识码 | 328 | zrzbsm:'', //自然幢标识码 |
333 | zdbsm:'', //宗地标识码 | 329 | zdbsm:'', //宗地标识码 |
... | @@ -420,6 +416,8 @@ | ... | @@ -420,6 +416,8 @@ |
420 | }, | 416 | }, |
421 | rules:[], | 417 | rules:[], |
422 | mainBoxWidth:0, | 418 | mainBoxWidth:0, |
419 | workFlowState:false, | ||
420 | workFlowData:{} | ||
423 | } | 421 | } |
424 | }, | 422 | }, |
425 | mixins:[geoUtils], | 423 | mixins:[geoUtils], |
... | @@ -664,14 +662,15 @@ | ... | @@ -664,14 +662,15 @@ |
664 | 662 | ||
665 | thzrz(){ | 663 | thzrz(){ |
666 | let data = { | 664 | let data = { |
667 | bdcdyh:this.form.bdcdyh, | 665 | "targetNodeId": this.workFlowData.rollbackDetails[0].id, |
668 | zl:this.form.zl, | 666 | "workitemInstanceId": this.$route.query.workitemInstanceId |
669 | shyj:'', | ||
670 | shr:'admin', | ||
671 | shsj:'2021-01-22' | ||
672 | } | 667 | } |
673 | vm.rollback(data); | 668 | vm.rollback(data); |
674 | }, | 669 | }, |
670 | //宗地流程终止 | ||
671 | lczz(){ | ||
672 | vm.termProcess(this.workFlowData.processInstance.id); | ||
673 | }, | ||
675 | 674 | ||
676 | open() { | 675 | open() { |
677 | const self = this; | 676 | const self = this; | ... | ... |
-
Please register or sign in to post a comment