n20-common-lib 2.4.79 → 2.4.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -477,7 +477,7 @@ export default {
|
|
|
477
477
|
return this.errMsgFn($lc('驳回'))
|
|
478
478
|
}
|
|
479
479
|
this.beforeFn(this.beforeReject, () => {
|
|
480
|
-
axios.post('/bems/activiti/admin/todo/reject', this.getParam()
|
|
480
|
+
axios.post('/bems/activiti/admin/todo/reject', this.getParam()).then(({ data }) => {
|
|
481
481
|
this.thenMsg(data, $lc('驳回至发起人'))
|
|
482
482
|
})
|
|
483
483
|
})
|
|
@@ -495,7 +495,7 @@ export default {
|
|
|
495
495
|
item.taskMoveVo = { taskId }
|
|
496
496
|
})
|
|
497
497
|
this.beforeFn(this.beforeRejectPre, () => {
|
|
498
|
-
axios.post('/bems/activiti/admin/todo/rejectpre', param
|
|
498
|
+
axios.post('/bems/activiti/admin/todo/rejectpre', param).then(({ data }) => {
|
|
499
499
|
this.thenMsg(data, $lc('驳回至'))
|
|
500
500
|
})
|
|
501
501
|
})
|
|
@@ -506,7 +506,7 @@ export default {
|
|
|
506
506
|
return this.errMsgFn($lc('驳回'))
|
|
507
507
|
}
|
|
508
508
|
this.beforeFn(this.beforeRejectPre, () => {
|
|
509
|
-
axios.post('/bems/activiti/admin/todo/rejectpre', this.getParam()
|
|
509
|
+
axios.post('/bems/activiti/admin/todo/rejectpre', this.getParam()).then(({ data }) => {
|
|
510
510
|
this.thenMsg(data, $lc('驳回至上一节'))
|
|
511
511
|
})
|
|
512
512
|
})
|
|
@@ -538,7 +538,7 @@ export default {
|
|
|
538
538
|
item.taskMoveVo = { taskId }
|
|
539
539
|
})
|
|
540
540
|
this.beforeFn(this.beforeRatify, () => {
|
|
541
|
-
axios.post('/bems/activiti/admin/todo/advance', param
|
|
541
|
+
axios.post('/bems/activiti/admin/todo/advance', param).then(({ data }) => {
|
|
542
542
|
this.thenMsg(data, $lc('批准至'))
|
|
543
543
|
})
|
|
544
544
|
})
|
|
@@ -549,7 +549,7 @@ export default {
|
|
|
549
549
|
return this.errMsgFn($lc('作废'))
|
|
550
550
|
}
|
|
551
551
|
this.beforeFn(this.beforeDiscard, () => {
|
|
552
|
-
axios.post('/bems/activiti/admin/todo/cancle', this.getParam()
|
|
552
|
+
axios.post('/bems/activiti/admin/todo/cancle', this.getParam()).then(({ data }) => {
|
|
553
553
|
this.thenMsg(data, $lc('作废'))
|
|
554
554
|
})
|
|
555
555
|
})
|