@lambo-design/workflow-approve 1.0.0-beta.5 → 1.0.0-beta.51

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.
@@ -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="@/assets/icons/tongguo1.png"
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="@/assets/icons/bohui1.png" alt=""/>
10
+ src="../../static/icons/bohui1.png" alt=""/>
11
11
  <img v-else-if="items[0].auditResult === '50'" style="zoom: 15%" class="imgStyle"
12
- src="@/assets/icons/bohui1.png" alt=""/>
13
- <img v-else-if="items[0].auditResult === '60'" class="imgStyle" src="@/assets/icons/bohui.png" alt=""/>
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="@/assets/icons/tongguo1.png" alt=""/>
16
- <img v-else style="zoom: 18%" class="imgStyle" src="@/assets/icons/daiban.png" alt=""/>
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) {