@lambo-design/workflow-approve 1.0.0-beta.63 → 1.0.0-beta.65
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/components/history.vue +11 -2
- package/src/portrait.vue +1866 -1814
- package/src/workflow-diagram.vue +20 -0
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.65",
|
|
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/
|
|
16
|
-
"@lambo-design/
|
|
15
|
+
"@lambo-design/shared": "^1.0.0-beta.250",
|
|
16
|
+
"@lambo-design/core": "^4.7.1-beta.158"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"bpmn-js": "^7.3.1",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<Timeline class="portrait-timeline">
|
|
5
5
|
<TimelineItem v-for="(items,index) in itemList" :key="index" class="portrait-timeline-item">
|
|
6
6
|
<template #dot>
|
|
7
|
-
<div v-if="
|
|
7
|
+
<div v-if="auditPassStatus.includes(items[0].auditResult)" class="cicle" style="background-color: #005aff"></div>
|
|
8
8
|
<div v-else-if="items[0].auditResult === '40' || items[0].auditResult === '50'" class="cicle" style="background-color: #ffcc66"></div>
|
|
9
9
|
<div v-else-if="items[0].auditResult === '60' || items[0].auditResult === '62' || items[0].auditResult === '83'" class="cicle" style="background-color: #ed4014"></div>
|
|
10
10
|
<div v-else class="cicle" style="background-color: #ff9900"></div>
|
|
@@ -58,6 +58,14 @@
|
|
|
58
58
|
v-if="item.auditResult === '00'">流程发起</span>
|
|
59
59
|
<span style="color: #005aff;; font-size: 13px;"
|
|
60
60
|
v-else-if="item.auditResult === '10'">自动跳过</span>
|
|
61
|
+
<span style="color: #005aff;; font-size: 13px;"
|
|
62
|
+
v-else-if="item.auditResult === '11'">与上一环节办理人相同自动跳过</span>
|
|
63
|
+
<span style="color: #005aff;; font-size: 13px;"
|
|
64
|
+
v-else-if="item.auditResult === '12'">与发起人相同自动跳过</span>
|
|
65
|
+
<span style="color: #005aff;; font-size: 13px;"
|
|
66
|
+
v-else-if="item.auditResult === '13'">办理人为空自动跳过</span>
|
|
67
|
+
<span style="color: #005aff;; font-size: 13px;"
|
|
68
|
+
v-else-if="item.auditResult === '14'">符合流程变量条件自动跳过</span>
|
|
61
69
|
<span style="color: #005aff;; font-size: 13px;"
|
|
62
70
|
v-else-if="item.auditResult === '30'">通过</span>
|
|
63
71
|
<span style="color: #ed4014; font-size: 13px;"
|
|
@@ -84,7 +92,7 @@
|
|
|
84
92
|
</Col>
|
|
85
93
|
<Col span="12" style="text-align: right">
|
|
86
94
|
<Button v-if="item.fileList && item.fileList.length > 0" size="small" type="primary" ghost class="urging" @click="openModal(item)">查看附件</Button>
|
|
87
|
-
<Button v-if="displayPushButton &&
|
|
95
|
+
<Button v-if="displayPushButton && !auditPassStatus.includes(item.auditResult) && item.auditResult !== '40'&&item.auditResult !== '50'&&item.auditResult !== '60'&&item.auditResult !== '62'&&item.auditResult!=='83'&&item.auditResult!=='90'"
|
|
88
96
|
size="small" type="primary" ghost class="urging"
|
|
89
97
|
@click="pushHim(item,itemListItem,itemListIndex)">催一下
|
|
90
98
|
</Button>
|
|
@@ -189,6 +197,7 @@ export default {
|
|
|
189
197
|
setModals: {
|
|
190
198
|
modals: []
|
|
191
199
|
},
|
|
200
|
+
auditPassStatus:['00', '10', '11', '12', '13', '14', '30', '61', '80'],
|
|
192
201
|
showModal: false,
|
|
193
202
|
fileList: [],
|
|
194
203
|
modalImg: false,
|