n20-common-lib 2.7.29 → 2.7.30
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
|
@@ -124,10 +124,12 @@
|
|
|
124
124
|
</el-form-item>
|
|
125
125
|
</el-form>
|
|
126
126
|
<div v-if="authList.includes('byAddTask') && addTaskList.length > 0" class="text-c">
|
|
127
|
-
<el-button v-if="authList.includes('approval')" type="primary" @click="
|
|
127
|
+
<el-button v-if="authList.includes('approval')" type="primary" @click="checkFlowFn">{{
|
|
128
|
+
'加 签' | $lc
|
|
129
|
+
}}</el-button>
|
|
128
130
|
</div>
|
|
129
131
|
<div v-if="authList.includes('byAddTask') && !addTaskList.length" class="text-c">
|
|
130
|
-
<el-button type="primary" @click="
|
|
132
|
+
<el-button type="primary" @click="checkFlowFn">{{ '批 准' | $lc }}</el-button>
|
|
131
133
|
<el-button type="primary" @click="approvalToV = true">{{ '批准至' | $lc }}</el-button>
|
|
132
134
|
<el-button plain @click="rejectToB">{{ '驳回至' | $lc }}</el-button>
|
|
133
135
|
<el-button plain @click="rejectFn">{{ '驳回至发起人' | $lc }}</el-button>
|
|
@@ -139,7 +141,9 @@
|
|
|
139
141
|
<el-button plain @click="goFrom">{{ '返 回' | $lc }}</el-button>
|
|
140
142
|
</div>
|
|
141
143
|
<div v-else-if="!authList.includes('byAddTask')" class="text-c">
|
|
142
|
-
<el-button v-if="authList.includes('approval')" type="primary" @click="
|
|
144
|
+
<el-button v-if="authList.includes('approval')" type="primary" @click="checkFlowFn">{{
|
|
145
|
+
'批 准' | $lc
|
|
146
|
+
}}</el-button>
|
|
143
147
|
<el-button v-if="authList.includes('approval') && nextApproval && nextBtn" type="primary" @click="approvalNext">{{
|
|
144
148
|
'批准并审批下一条' | $lc
|
|
145
149
|
}}</el-button>
|
|
@@ -624,6 +628,9 @@ export default {
|
|
|
624
628
|
})
|
|
625
629
|
})
|
|
626
630
|
},
|
|
631
|
+
onContinue() {
|
|
632
|
+
this.approvalFn()
|
|
633
|
+
},
|
|
627
634
|
async checkFlowFn() {
|
|
628
635
|
if (this.requiredC && !this.messageC) {
|
|
629
636
|
return this.errMsgFn(
|
|
@@ -633,12 +640,22 @@ export default {
|
|
|
633
640
|
if (this.addTaskList.length > 0 && !this.addTaskType) {
|
|
634
641
|
return this.addErrFn()
|
|
635
642
|
}
|
|
636
|
-
let { isCheck } = this.$route.query
|
|
643
|
+
let { isCheck, taskId, appNo, groupNo, typeCode, orderId } = this.$route.query
|
|
637
644
|
let params = {
|
|
638
645
|
plainText: '',
|
|
639
646
|
signText: '',
|
|
640
647
|
isCheck,
|
|
641
|
-
auditAdvanceDtos:
|
|
648
|
+
auditAdvanceDtos: [
|
|
649
|
+
{
|
|
650
|
+
appNo: appNo,
|
|
651
|
+
taskId,
|
|
652
|
+
groupNo,
|
|
653
|
+
typeCode,
|
|
654
|
+
isAgentcy,
|
|
655
|
+
isCheck,
|
|
656
|
+
businessId: orderId
|
|
657
|
+
}
|
|
658
|
+
]
|
|
642
659
|
}
|
|
643
660
|
const { code, data } = await this.$axios.post(`/bems/activiti/admin/todo/checkFlowNew`, params)
|
|
644
661
|
if (code === 200) {
|
|
@@ -662,7 +679,6 @@ export default {
|
|
|
662
679
|
},
|
|
663
680
|
// 审批
|
|
664
681
|
approvalFn() {
|
|
665
|
-
this.checkFlowFn()
|
|
666
682
|
if (this.requiredC && !this.messageC) {
|
|
667
683
|
return this.errMsgFn(
|
|
668
684
|
this.authList.includes('byAddTask') && this.addTaskList.length > 0 ? $lc('加签') : $lc('批准')
|