@lambo-design/workflow-approve 1.0.0-beta.6 → 1.0.0-beta.7

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/workflow-approve",
3
- "version": "1.0.0-beta.6",
3
+ "version": "1.0.0-beta.7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
@@ -12,7 +12,7 @@
12
12
  "devDependencies": {
13
13
  "axios": "^0.24.0",
14
14
  "axios-cache-plugin": "^0.1.0",
15
- "@lambo-design/shared": "^1.0.0-beta.199",
15
+ "@lambo-design/shared": "^1.0.0-beta.200",
16
16
  "@lambo-design/core": "^4.7.1-beta.139"
17
17
  },
18
18
  "dependencies": {
@@ -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">
package/src/portrait.vue CHANGED
@@ -88,7 +88,7 @@
88
88
  </a>
89
89
  <transition name="draw" @before-enter="beforeEnter" @enter="enter" @before-leave="beforeLeave" @leave="leave">
90
90
  <div class="box" v-show="historyShow">
91
- <Card class="process-history" dis-hover :bordered="false"
91
+ <Card class="process-history" :style="processHistoryHeight" dis-hover :bordered="false"
92
92
  v-if="!handleButtons || handleButtons.includes('auditHistory')">
93
93
  <processHistory :portrait-width="portraitWidth" :list="processHistory" :done-page="isDetail"
94
94
  :smart-flow-server-context="smartFlowServerContext"></processHistory>
@@ -243,6 +243,7 @@ export default {
243
243
  props: {
244
244
  isDetail: {
245
245
  type: Boolean,
246
+ required: false,
246
247
  default: false
247
248
  },
248
249
  width: {
@@ -375,6 +376,15 @@ export default {
375
376
 
376
377
  },
377
378
  computed: {
379
+ processHistoryHeight(){
380
+ let str = '';
381
+ if ((!this.handleButtons || this.handleButtons.includes('auditOpinion') || this.handleButtons.includes('attachmentFile')) && (this.isDetail && this.hisAuditOpinion[0].auditOpinion)) {
382
+ str+= "height: 40vh"
383
+ }else {
384
+ str+= "height: 60vh"
385
+ }
386
+ return str;
387
+ },
378
388
  nodeColumn: function () {
379
389
  let column = []
380
390
  column.push({title: '序号', type: 'index', width: 70, align: 'center', fixed: 'left'});
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -61,7 +61,6 @@
61
61
  }
62
62
 
63
63
  .process-history {
64
- height: 40vh;
65
64
  width: 100%;
66
65
  overflow-y: auto;
67
66
  }