Browse Source

绩效结果考核流程增加直接结束流程功能;

SunZehao 1 year ago
parent
commit
e1e7f6324a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/components/taskCenter/taskApplicationFrom.vue

+ 3 - 3
src/components/taskCenter/taskApplicationFrom.vue

@@ -667,7 +667,7 @@ export default {
             })
         },
         engProssionFn() {
-            this.submitIsdoAction('agree', 'EndNoneEvent1')
+            this.submitIsdoAction('end')
         },
         examineAndApprove(type) {
             let actionCS = ''
@@ -691,7 +691,7 @@ export default {
                 this.submitIsdoAction(actionCS)
             }
         },
-        submitIsdoAction(taskType, node) {
+        submitIsdoAction(taskType) {
             let that = this
             let leaderTaskType = ''
             if (that.changeLeader && taskType === 'leader') {
@@ -703,7 +703,7 @@ export default {
             }
             let params = {
                 taskId: that.rowMsg.id, //任务ID
-                nodeId: node ? node : that.rowMsg.nodeId, //节点ID
+                nodeId: that.rowMsg.nodeId, //节点ID
                 action: taskType !== 'leader' ? taskType : leaderTaskType, //固定值
                 instanceId: that.rowMsg.instId, //流程实例ID
                 opinion: that.descMsg, //审批意见