@lambo-design/workflow-approve 1.0.0-beta.5 → 1.0.0-beta.50
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/assignee-box.vue +563 -351
- package/src/components/candidate-groups-box.vue +1918 -0
- package/src/components/countersigners-box.vue +841 -0
- package/src/components/history.vue +404 -378
- package/src/components/horizontal/history.vue +6 -6
- package/src/components/opinion.vue +6 -0
- package/src/portrait.vue +1670 -1036
- package/src/static/icons/bohui.png +0 -0
- package/src/static/icons/bohui1.png +0 -0
- package/src/static/icons/chehui.png +0 -0
- package/src/static/icons/daiban.png +0 -0
- package/src/static/icons/tongguo.png +0 -0
- package/src/static/icons/tongguo1.png +0 -0
- package/src/styles/css/index.less +283 -221
- package/src/workflow-diagram.vue +392 -332
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
<Timeline class="horizontalTimeline">
|
|
5
5
|
<TimelineItem v-for="(items,index) in itemList" :key="index" class="horizontalTimelineItem">
|
|
6
6
|
<template #dot>
|
|
7
|
-
<img v-if="items[0].auditResult === '30'" style="zoom: 18%" class="imgStyle" src="
|
|
7
|
+
<img v-if="items[0].auditResult === '30'" style="zoom: 18%" class="imgStyle" src="../../static/icons/tongguo1.png"
|
|
8
8
|
alt=""/>
|
|
9
9
|
<img v-else-if="items[0].auditResult === '40'" style="zoom: 15%" class="imgStyle"
|
|
10
|
-
src="
|
|
10
|
+
src="../../static/icons/bohui1.png" alt=""/>
|
|
11
11
|
<img v-else-if="items[0].auditResult === '50'" style="zoom: 15%" class="imgStyle"
|
|
12
|
-
src="
|
|
13
|
-
<img v-else-if="items[0].auditResult === '60'" class="imgStyle" src="
|
|
12
|
+
src="../../static/icons/bohui1.png" alt=""/>
|
|
13
|
+
<img v-else-if="items[0].auditResult === '60'" class="imgStyle" src="../../static/icons/bohui.png" alt=""/>
|
|
14
14
|
<img v-else-if="items[0].auditResult === '80'" style="zoom: 18%" class="imgStyle"
|
|
15
|
-
src="
|
|
16
|
-
<img v-else style="zoom: 18%" class="imgStyle" src="
|
|
15
|
+
src="../../static/icons/tongguo1.png" alt=""/>
|
|
16
|
+
<img v-else style="zoom: 18%" class="imgStyle" src="../../static/icons/daiban.png" alt=""/>
|
|
17
17
|
</template>
|
|
18
18
|
<Collapse v-model="activeName" simple style="margin: -10px 0 0 -2px;border: none">
|
|
19
19
|
<Panel :name="'panel' + index">
|
|
@@ -72,6 +72,11 @@ export default {
|
|
|
72
72
|
return []
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
+
defaultAuditOpinion: {
|
|
76
|
+
type: String,
|
|
77
|
+
required: false,
|
|
78
|
+
default: ''
|
|
79
|
+
},
|
|
75
80
|
smartFlowServerContext: {
|
|
76
81
|
type: String,
|
|
77
82
|
default: '/api/smart-flow-server',
|
|
@@ -282,6 +287,7 @@ export default {
|
|
|
282
287
|
},
|
|
283
288
|
},
|
|
284
289
|
mounted() {
|
|
290
|
+
this.auditOpinion = this.defaultAuditOpinion
|
|
285
291
|
},
|
|
286
292
|
watch: {
|
|
287
293
|
auditOpinionText(label) {
|