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