SunZehao 1 rok pred
rodič
commit
10b427868f

+ 5 - 2
src/components/taskCenter/taskApplicationFrom.vue

@@ -667,7 +667,7 @@ export default {
             })
         },
         engProssionFn() {
-            this.submitIsdoAction('manualEnd')
+            this.submitIsdoAction('agree', 'EndNoneEvent1')
         },
         examineAndApprove(type) {
             let actionCS = ''
@@ -691,7 +691,7 @@ export default {
                 this.submitIsdoAction(actionCS)
             }
         },
-        submitIsdoAction(taskType) {
+        submitIsdoAction(taskType, nodeSc) {
             let that = this
             let leaderTaskType = ''
             if (that.changeLeader && taskType === 'leader') {
@@ -712,6 +712,9 @@ export default {
                 defKey: that.instanceChild.defKey,
                 bizKey: that.instanceChild.bizKey
             }
+            if (nodeSc) {
+                params.destinaticn = 'EndNoneEvent1'
+            }
             apiPostIsdoAction(params).then(datas =>{
                 if (datas && datas.data) {
                     if (datas.data.isOk) {