n20-common-lib 2.13.13 → 2.13.15
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
|
@@ -516,25 +516,31 @@ export default {
|
|
|
516
516
|
methods: {
|
|
517
517
|
// 查询选择审批人
|
|
518
518
|
async showAdvancePop() {
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
519
|
+
this.beforeFn(this.beforeRatify, async () => {
|
|
520
|
+
try {
|
|
521
|
+
const res = await this.$axios.post(
|
|
522
|
+
'/bems/activiti/admin/todo/showAdvancePop',
|
|
523
|
+
{
|
|
524
|
+
isAgentcy: this.$route.query.isAgentcy,
|
|
525
|
+
taskId: this.$route.query.taskId
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
loading: false,
|
|
529
|
+
noMsg: true
|
|
530
|
+
}
|
|
531
|
+
)
|
|
532
|
+
// 如果返回正常 且有返回值 且showNextEgwOutgoingNodeName跟showNextNodeAssignee有一个为true
|
|
533
|
+
if (res.code === 200 && res.data && (res.data.showNextEgwOutgoingNodeName || res.data.showNextNodeAssignee)) {
|
|
534
|
+
this.setSpr = true
|
|
535
|
+
this.selectSprList = res.data
|
|
536
|
+
} else {
|
|
537
|
+
this.checkFlowFn()
|
|
538
|
+
}
|
|
539
|
+
} catch (error) {
|
|
540
|
+
console.log(error)
|
|
532
541
|
this.checkFlowFn()
|
|
533
542
|
}
|
|
534
|
-
}
|
|
535
|
-
console.log(error)
|
|
536
|
-
this.checkFlowFn()
|
|
537
|
-
}
|
|
543
|
+
})
|
|
538
544
|
},
|
|
539
545
|
// 选择审批人
|
|
540
546
|
selectSprListFn(data) {
|
|
@@ -932,13 +938,11 @@ export default {
|
|
|
932
938
|
if (this.addTaskList.length > 0 && !this.addTaskType) {
|
|
933
939
|
return this.addErrFn()
|
|
934
940
|
}
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
)
|
|
941
|
-
})
|
|
941
|
+
axios.post('/bems/activiti/admin/todo/advance', this.getParam()).then(({ data }) => {
|
|
942
|
+
this.thenMsg(
|
|
943
|
+
data,
|
|
944
|
+
this.authList.includes('byAddTask') && this.addTaskList.length > 0 ? $lc('加签') : $lc('批准')
|
|
945
|
+
)
|
|
942
946
|
})
|
|
943
947
|
},
|
|
944
948
|
approvalNext() {
|