@lambo-design/workflow-approve 1.0.0-beta.8 → 1.0.0-beta.9
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/portrait.vue +7 -2
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.9",
|
|
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/core": "^4.7.1-beta.139",
|
|
16
|
+
"@lambo-design/shared": "^1.0.0-beta.200"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"bpmn-js": "^7.3.1",
|
package/src/portrait.vue
CHANGED
|
@@ -378,9 +378,14 @@ export default {
|
|
|
378
378
|
computed: {
|
|
379
379
|
processHistoryHeight(){
|
|
380
380
|
let str = '';
|
|
381
|
-
|
|
381
|
+
const hasAuditOpinion = !this.handleButtons || this.handleButtons.includes('auditOpinion')
|
|
382
|
+
const hasAttachmentFile = (!this.handleButtons || this.handleButtons.includes('attachmentFile')) && this.attachmentList.length > 0
|
|
383
|
+
const isDetail = this.isDetail && this.hisAuditOpinion[0].auditOpinion
|
|
384
|
+
if (hasAuditOpinion && !hasAttachmentFile && !isDetail){
|
|
385
|
+
str+= "height: 43vh"
|
|
386
|
+
} else if (hasAuditOpinion && hasAttachmentFile && !isDetail){
|
|
382
387
|
str+= "height: 40vh"
|
|
383
|
-
}else {
|
|
388
|
+
} else {
|
|
384
389
|
str+= "height: 60vh"
|
|
385
390
|
}
|
|
386
391
|
return str;
|