n20-common-lib 2.9.56 → 2.9.58
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
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
<div v-else-if="!authList.includes('byAddTask')" class="text-c">
|
|
158
158
|
<!-- 特殊会签按钮 START -->
|
|
159
159
|
<el-button v-if="authList.includes('pass')" type="primary" @click="checkFlowFn">{{ '通 过' | $lc }}</el-button>
|
|
160
|
-
<el-button v-if="authList.includes('refuse')"
|
|
160
|
+
<el-button v-if="authList.includes('refuse')" plain @click="rejectFn">{{ '拒 绝' | $lc }}</el-button>
|
|
161
161
|
<!-- END -->
|
|
162
162
|
<el-button v-if="authList.includes('approval')" type="primary" @click="checkFlowFn">{{
|
|
163
163
|
'批 准' | $lc
|
|
@@ -628,7 +628,7 @@ export default {
|
|
|
628
628
|
// 驳回
|
|
629
629
|
rejectFn() {
|
|
630
630
|
if (!this.messageC) {
|
|
631
|
-
return this.errMsgFn($lc('驳回'))
|
|
631
|
+
return this.errMsgFn(this.authList.includes('refuse') ? $lc('拒绝') : $lc('驳回'))
|
|
632
632
|
}
|
|
633
633
|
this.beforeFn(this.beforeReject, () => {
|
|
634
634
|
axios.post('/bems/activiti/admin/todo/reject', this.getParam()).then(({ data }) => {
|
|
@@ -670,7 +670,6 @@ export default {
|
|
|
670
670
|
this.approvalFn()
|
|
671
671
|
},
|
|
672
672
|
async checkFlowFn() {
|
|
673
|
-
debugger
|
|
674
673
|
if (this.requiredC && !this.messageC) {
|
|
675
674
|
return this.errMsgFn(
|
|
676
675
|
this.authList.includes('byAddTask') && this.addTaskList.length > 0 ? $lc('加签') : $lc('批准')
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<div
|
|
60
60
|
v-if="item.result !== 0 && item.appOrPc !== null && item.appOrPc !== '' && item.appOrPc !== undefined"
|
|
61
61
|
>
|
|
62
|
-
{{ item.appOrPc === '1' ? 'PC端审批' : 'App端审批' | $lc }}
|
|
62
|
+
{{ item.appOrPc === '1' ? 'PC端审批' : item.appOrPc === '2' ? '外部系统审批' : 'App端审批' | $lc }}
|
|
63
63
|
</div>
|
|
64
64
|
<div v-if="item.showConnect === '1'" class="m-l-s">
|
|
65
65
|
<span class="pointer color-ccc f-s-s" @click="seeDetail(item)"
|