@lambo-design/workflow-approve 1.0.0-beta.73 → 1.0.0-beta.74
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 +3 -3
- package/src/portrait.vue +6 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lambo-design/workflow-approve",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.74",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "lambo",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"axios": "^0.24.0",
|
|
14
14
|
"axios-cache-plugin": "^0.1.0",
|
|
15
|
-
"@lambo-design/core": "^4.7.1-beta.
|
|
16
|
-
"@lambo-design/shared": "^1.0.0-beta.
|
|
15
|
+
"@lambo-design/core": "^4.7.1-beta.162",
|
|
16
|
+
"@lambo-design/shared": "^1.0.0-beta.267"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"bpmn-js": "^7.3.1",
|
package/src/portrait.vue
CHANGED
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
@click="processPrint">流程跟踪图
|
|
369
369
|
</Button>
|
|
370
370
|
<Button style="margin-left: 10px;" v-if="handleButtons && handleButtons.includes('auditTo30') && !isDetail && !appointTask"
|
|
371
|
-
:disabled="disable" :loading="loading" type="primary" @click="audit('30')"
|
|
371
|
+
:disabled="disable" :loading="loading" type="primary" @click="audit('30')">{{passName}}
|
|
372
372
|
</Button>
|
|
373
373
|
<Button style="margin-left: 10px;" v-if="revokeDelegateTask"
|
|
374
374
|
:disabled="!revokeDelegateTask && disable" :loading="loading" @click="audit('62')">撤回委派
|
|
@@ -552,8 +552,9 @@ export default {
|
|
|
552
552
|
curTaskId: '',
|
|
553
553
|
curNodeType: 'userTask',
|
|
554
554
|
handleButtons: [],
|
|
555
|
-
handleName: '',
|
|
556
|
-
|
|
555
|
+
handleName: '审批',
|
|
556
|
+
passName: '通过',
|
|
557
|
+
rejectName: '驳回',
|
|
557
558
|
auditOpinionTitle: '',
|
|
558
559
|
auditResult: '',
|
|
559
560
|
curAuditGroup: '',
|
|
@@ -677,7 +678,7 @@ export default {
|
|
|
677
678
|
props: {
|
|
678
679
|
color: '#19be6b'
|
|
679
680
|
}
|
|
680
|
-
}, `已${params.row.handleName ? params.row.handleName : '审批'}
|
|
681
|
+
}, `已${params.row.handleName ? params.row.handleName : '审批'}`)
|
|
681
682
|
])
|
|
682
683
|
} else if (params.row.auditResult == '10' && params.row.taskNode != this.taskNode) {
|
|
683
684
|
return h('div', [
|
|
@@ -1074,6 +1075,7 @@ export default {
|
|
|
1074
1075
|
self.curNodeType = resp.data.data[0].isSequential ? 'sequentialMultiNode' : 'multiNode'
|
|
1075
1076
|
}
|
|
1076
1077
|
self.handleName = resp.data.data[0].handleName ? resp.data.data[0].handleName : '审批'
|
|
1078
|
+
self.passName = resp.data.data[0].handleName ? resp.data.data[0].handleName : '通过'
|
|
1077
1079
|
self.rejectName = resp.data.data[0].rejectName ? resp.data.data[0].rejectName : '驳回'
|
|
1078
1080
|
self.auditOpinionTitle = resp.data.data[0].handleName ? resp.data.data[0].handleName + '意见' : '审批意见'
|
|
1079
1081
|
if (!self.handleButtons || (!self.handleButtons.includes('auditOpinion') && !self.handleButtons.includes('attachmentFile') && !self.handleButtons.includes('auditHistory'))) {
|