n20-common-lib 2.4.42 → 2.4.43
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
|
@@ -482,7 +482,9 @@ export default {
|
|
|
482
482
|
// 审批
|
|
483
483
|
approvalFn() {
|
|
484
484
|
if (this.required && !this.messageC) {
|
|
485
|
-
return this.errMsgFn(
|
|
485
|
+
return this.errMsgFn(
|
|
486
|
+
this.authList.includes('byAddTask') && this.addTaskList.length > 0 ? $lc('加签') : $lc('批准')
|
|
487
|
+
)
|
|
486
488
|
}
|
|
487
489
|
if (this.addTaskList.length > 0 && !this.addTaskType) {
|
|
488
490
|
return this.addErrFn()
|
|
@@ -490,7 +492,10 @@ export default {
|
|
|
490
492
|
|
|
491
493
|
this.beforeFn(this.beforeRatify, () => {
|
|
492
494
|
axios.post('/bems/activiti/admin/todo/advance', this.getParam()).then(({ data }) => {
|
|
493
|
-
this.thenMsg(
|
|
495
|
+
this.thenMsg(
|
|
496
|
+
data,
|
|
497
|
+
this.authList.includes('byAddTask') && this.addTaskList.length > 0 ? $lc('加签') : $lc('批准')
|
|
498
|
+
)
|
|
494
499
|
})
|
|
495
500
|
})
|
|
496
501
|
},
|
|
@@ -487,7 +487,7 @@ export default {
|
|
|
487
487
|
}
|
|
488
488
|
})
|
|
489
489
|
.finally(() => {
|
|
490
|
-
localStorage.setItem('SYSTEM_LIST', JSON.stringify(this.form.SYSTEM_LIST))
|
|
490
|
+
localStorage.setItem('SYSTEM_LIST', JSON.stringify(this.form.SYSTEM_LIST.filter((item) => item.OPEN)))
|
|
491
491
|
resolve()
|
|
492
492
|
})
|
|
493
493
|
})
|
|
@@ -64,6 +64,12 @@ export default {
|
|
|
64
64
|
.work-card ::v-deep .el-badge__content {
|
|
65
65
|
line-height: 14px;
|
|
66
66
|
}
|
|
67
|
+
.work-card .el-badge__content.is-fixed {
|
|
68
|
+
position: absolute;
|
|
69
|
+
top: 0;
|
|
70
|
+
right: -1px;
|
|
71
|
+
transform: scale(0.7) translateY(-50%) translateX(100%);
|
|
72
|
+
}
|
|
67
73
|
|
|
68
74
|
.work-card--empty-title {
|
|
69
75
|
color: #cacaca;
|