@lambo-design/workflow-approve 1.0.0-beta.90 → 1.0.0-beta.91
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 +5 -10
- package/src/styles/css/index.less +7 -0
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.91",
|
|
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.168",
|
|
16
|
+
"@lambo-design/shared": "^1.0.0-beta.295"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"bpmn-js": "^7.3.1",
|
package/src/portrait.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<LamboPageContainer style="
|
|
2
|
+
<LamboPageContainer style="overflow: hidden">
|
|
3
3
|
<template slot="page-title">
|
|
4
4
|
<Tabs v-if="processTraceInTab" value="business" @on-click="changeTab">
|
|
5
5
|
<TabPane :label="title" name="business"></TabPane>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
14
|
<!-- 横版 -->
|
|
15
|
-
<div v-if="inHorizontal && currentTab === 'business'" style="display: flex; flex-direction: column; height: 100
|
|
15
|
+
<div v-if="inHorizontal && currentTab === 'business'" class="workflow-inHorizontal-content" style="display: flex; flex-direction: column; height: 100%; right: 0; left: 0">
|
|
16
16
|
<!-- 业务内容区插槽 -->
|
|
17
17
|
<div class="portrait-lambo-indicator-card" :style="{height: `${soltHeight}px`}">
|
|
18
18
|
<slot name="business-content"></slot>
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
|
|
81
81
|
<!-- 竖版 -->
|
|
82
82
|
<div v-if="!inHorizontal" class="portrait-lambo-indicator-card"
|
|
83
|
-
:style="{
|
|
83
|
+
:style="{paddingBottom: '50px', position: 'absolute', top: '55px', height: 'calc(100% - 50px)', left: '0', width: isExpanded && showProcessInfo ? `calc(100% - ${portraitWidth+10}px)` : '99%'}">
|
|
84
84
|
<!-- 业务内容区插槽 -->
|
|
85
85
|
<slot v-if="currentTab === 'business'" name="business-content"></slot>
|
|
86
86
|
<div ref="processTraceTab" v-if="currentTab === 'processTrace'">
|
|
@@ -98,10 +98,10 @@
|
|
|
98
98
|
<Icon class="icon-class" v-if="isExpanded" type="ios-arrow-forward"/>
|
|
99
99
|
<Icon class="icon-class" v-if="!isExpanded" type="ios-arrow-back"/>
|
|
100
100
|
</a>
|
|
101
|
-
<transition v-if="showProcessInfo && !inHorizontal" name="draw" @before-enter="beforeFlowInfoEnter" @enter="flowInfoEnter"
|
|
101
|
+
<transition style="position: relative; overflow-x: hidden" v-if="showProcessInfo && !inHorizontal" name="draw" @before-enter="beforeFlowInfoEnter" @enter="flowInfoEnter"
|
|
102
102
|
@before-leave="beforeFlowInfoLeave" @leave="flowInfoLeave">
|
|
103
103
|
<lamboIndicatorCard v-show="isExpanded" class="portrait-lambo-indicator-card"
|
|
104
|
-
:style="{width: portraitWidth + 'px',
|
|
104
|
+
:style="{width: portraitWidth + 'px', paddingBottom: '50px', position: 'absolute', top: '55px', right: '0', height: 'calc(100% - 50px)'}" :hasExtend="false">
|
|
105
105
|
<div slot="content-title">流程信息</div>
|
|
106
106
|
<ProcessInfo ref="processInfo"
|
|
107
107
|
v-model="form.auditOpinion"
|
|
@@ -2162,11 +2162,6 @@ export default {
|
|
|
2162
2162
|
padding: 10px;
|
|
2163
2163
|
}
|
|
2164
2164
|
|
|
2165
|
-
/deep/ .page-body {
|
|
2166
|
-
overflow-y: hidden;
|
|
2167
|
-
padding: 0 0 50px 0 !important;
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
2165
|
/deep/ .ivu-tabs-bar {
|
|
2171
2166
|
margin-bottom: 0;
|
|
2172
2167
|
}
|
|
@@ -38,6 +38,12 @@
|
|
|
38
38
|
max-width: 130px; /* 限制文本宽度 */
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
.workflow-inHorizontal-content {
|
|
42
|
+
position: absolute;
|
|
43
|
+
top: 55px;
|
|
44
|
+
height: calc(100% - 50px);
|
|
45
|
+
}
|
|
46
|
+
|
|
41
47
|
.portrait-lambo-indicator-card {
|
|
42
48
|
height: 100%;
|
|
43
49
|
position: relative;
|
|
@@ -122,6 +128,7 @@
|
|
|
122
128
|
border: 1px solid #e0e0e0;
|
|
123
129
|
border-radius: 16px;
|
|
124
130
|
padding: 16px;
|
|
131
|
+
margin-bottom: 100px;
|
|
125
132
|
&:hover{
|
|
126
133
|
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
|
|
127
134
|
}
|