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