n20-common-lib 2.22.11 → 2.22.12
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
|
@@ -579,27 +579,8 @@ export default {
|
|
|
579
579
|
noMsg: true
|
|
580
580
|
}
|
|
581
581
|
)
|
|
582
|
-
//
|
|
583
|
-
|
|
584
|
-
this.$confirm('请确定是否向后加签', $lc('提示'), {
|
|
585
|
-
confirmButtonText: $lc('确定'),
|
|
586
|
-
cancelButtonText: $lc('取消'),
|
|
587
|
-
type: 'warning'
|
|
588
|
-
}).then(() => {
|
|
589
|
-
// 如果返回正常 且有返回值 且showNextEgwOutgoingNodeName跟showNextNodeAssignee有一个为true
|
|
590
|
-
if (
|
|
591
|
-
res.code === 200 &&
|
|
592
|
-
res.data &&
|
|
593
|
-
(res.data.showNextEgwOutgoingNodeName || res.data.showNextNodeAssignee)
|
|
594
|
-
) {
|
|
595
|
-
this.setSpr = true
|
|
596
|
-
this.selectSprList = res.data
|
|
597
|
-
} else {
|
|
598
|
-
this.checkFlowFn()
|
|
599
|
-
}
|
|
600
|
-
})
|
|
601
|
-
} else {
|
|
602
|
-
// 如果返回正常 且有返回值 且showNextEgwOutgoingNodeName跟showNextNodeAssignee有一个为true
|
|
582
|
+
// 处理请求结果:showNextEgwOutgoingNodeName 或 showNextNodeAssignee 有一个为 true 时显示加签列表
|
|
583
|
+
const handleResult = () => {
|
|
603
584
|
if (
|
|
604
585
|
res.code === 200 &&
|
|
605
586
|
res.data &&
|
|
@@ -608,9 +589,21 @@ export default {
|
|
|
608
589
|
this.setSpr = true
|
|
609
590
|
this.selectSprList = res.data
|
|
610
591
|
} else {
|
|
592
|
+
this.nextEgwOutgoingNodeId = undefined
|
|
593
|
+
this.nextNodeApproveUnos = undefined
|
|
611
594
|
this.checkFlowFn()
|
|
612
595
|
}
|
|
613
596
|
}
|
|
597
|
+
// addTaskTip 是否给出加签提示
|
|
598
|
+
if (res.code === 200 && res.data && res.data.addTaskTip) {
|
|
599
|
+
this.$confirm('请确定是否向后加签', $lc('提示'), {
|
|
600
|
+
confirmButtonText: $lc('确定'),
|
|
601
|
+
cancelButtonText: $lc('取消'),
|
|
602
|
+
type: 'warning'
|
|
603
|
+
}).then(handleResult)
|
|
604
|
+
} else {
|
|
605
|
+
handleResult()
|
|
606
|
+
}
|
|
614
607
|
} catch (error) {
|
|
615
608
|
console.log(error)
|
|
616
609
|
this.checkFlowFn()
|