SunZehao vor 1 Jahr
Ursprung
Commit
10b427868f
1 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. 5 2
      src/components/taskCenter/taskApplicationFrom.vue

+ 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) {