@lambo-design/workflow-approve 1.0.0-beta.6 → 1.0.0-beta.8
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 +2 -2
- package/src/components/horizontal/history.vue +6 -6
- package/src/portrait.vue +12 -2
- 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 +0 -1
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.8",
|
|
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.
|
|
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="
|
|
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">
|
package/src/portrait.vue
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
{{ title }}
|
|
5
5
|
</template>
|
|
6
6
|
<template slot="page-extend">
|
|
7
|
-
<
|
|
7
|
+
<slot name="return-button"></slot>
|
|
8
8
|
</template>
|
|
9
9
|
<div class="portrait-lambo-indicator-card" :style="{float: 'left', width: isExpanded ? `calc(100% - ${portraitWidth+10}px)` : '99%'}">
|
|
10
10
|
<slot name="business-content">
|
|
@@ -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
|