bri-components 1.4.73 → 1.4.74
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
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</span>
|
|
16
16
|
|
|
17
17
|
<dsh-modal
|
|
18
|
-
class="cascaderTable-
|
|
18
|
+
class="cascaderTable-fullscreen"
|
|
19
19
|
v-model="showUnitModal"
|
|
20
20
|
:mode="unitModalPropsObj.mode"
|
|
21
21
|
:propsObj="unitModalPropsObj"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
>
|
|
24
24
|
<div
|
|
25
25
|
v-if="showUnitModal"
|
|
26
|
-
class="cascaderTable-
|
|
26
|
+
class="cascaderTable-fullscreen-inner"
|
|
27
27
|
>
|
|
28
28
|
<!-- 老版级联表格 -->
|
|
29
29
|
<dsh-cascader-table
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
:columns="subForm"
|
|
36
36
|
:propsObj="{
|
|
37
37
|
...selfPropsObj,
|
|
38
|
+
_contentHeight: undefined,
|
|
38
39
|
_useEnlarge: false
|
|
39
40
|
}"
|
|
40
41
|
:allFormList="allFormList"
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
:columns="subForm"
|
|
58
59
|
:propsObj="{
|
|
59
60
|
...selfPropsObj,
|
|
61
|
+
_contentHeight: undefined,
|
|
60
62
|
_useEnlarge: false
|
|
61
63
|
}"
|
|
62
64
|
:allFormList="allFormList"
|
|
@@ -179,24 +181,24 @@
|
|
|
179
181
|
&-text {
|
|
180
182
|
|
|
181
183
|
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&-fullscreen {
|
|
187
|
+
&-inner {
|
|
188
|
+
width: 100%;
|
|
189
|
+
height: 100%;
|
|
190
|
+
padding: 10px 20px 20px;
|
|
182
191
|
|
|
183
|
-
|
|
184
|
-
|
|
192
|
+
.DshCasTable,
|
|
193
|
+
.DshTreeTable {
|
|
185
194
|
width: 100%;
|
|
186
195
|
height: 100%;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
height:
|
|
193
|
-
display: flex;
|
|
194
|
-
flex-direction: column;
|
|
195
|
-
|
|
196
|
-
&-main {
|
|
197
|
-
flex: 1;
|
|
198
|
-
min-height: 0px;
|
|
199
|
-
}
|
|
196
|
+
display: flex;
|
|
197
|
+
flex-direction: column;
|
|
198
|
+
|
|
199
|
+
&-main {
|
|
200
|
+
flex: 1;
|
|
201
|
+
min-height: 0px;
|
|
200
202
|
}
|
|
201
203
|
}
|
|
202
204
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</span>
|
|
16
16
|
|
|
17
17
|
<dsh-modal
|
|
18
|
-
class="flatTable-
|
|
18
|
+
class="flatTable-fullscreen"
|
|
19
19
|
v-model="showUnitModal"
|
|
20
20
|
:mode="unitModalPropsObj.mode"
|
|
21
21
|
:propsObj="unitModalPropsObj"
|
|
@@ -23,19 +23,20 @@
|
|
|
23
23
|
>
|
|
24
24
|
<div
|
|
25
25
|
v-if="showUnitModal"
|
|
26
|
-
class="flatTable-
|
|
26
|
+
class="flatTable-fullscreen-inner"
|
|
27
27
|
>
|
|
28
28
|
<dsh-flat-table
|
|
29
29
|
:canEdit="false"
|
|
30
30
|
:tableDataObj="curVal"
|
|
31
31
|
:data="curVal.list"
|
|
32
32
|
:rowDefault="curVal.rowDefault"
|
|
33
|
-
:compareData="curVal.oldList"
|
|
34
33
|
:columns="subForm"
|
|
35
34
|
:propsObj="{
|
|
36
35
|
...propsObj,
|
|
36
|
+
_contentHeight: undefined,
|
|
37
37
|
_useEnlarge: false
|
|
38
38
|
}"
|
|
39
|
+
:compareData="curVal.oldList"
|
|
39
40
|
:allFormList="allFormList"
|
|
40
41
|
:parentObj="value"
|
|
41
42
|
></dsh-flat-table>
|
|
@@ -68,9 +69,9 @@
|
|
|
68
69
|
:tableDataObj="curVal"
|
|
69
70
|
:data="curVal.list"
|
|
70
71
|
:rowDefault="curVal.rowDefault"
|
|
71
|
-
:compareData="curVal.oldList"
|
|
72
72
|
:columns="subForm"
|
|
73
73
|
:propsObj="propsObj"
|
|
74
|
+
:compareData="curVal.oldList"
|
|
74
75
|
:allFormList="allFormList"
|
|
75
76
|
:parentObj="value"
|
|
76
77
|
@change="change"
|
|
@@ -206,23 +207,23 @@
|
|
|
206
207
|
&-text {
|
|
207
208
|
|
|
208
209
|
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&-fullscreen {
|
|
213
|
+
&-inner {
|
|
214
|
+
width: 100%;
|
|
215
|
+
height: 100%;
|
|
216
|
+
padding: 10px 20px 20px;
|
|
209
217
|
|
|
210
|
-
|
|
211
|
-
&-inner {
|
|
218
|
+
.DshFlatTable {
|
|
212
219
|
width: 100%;
|
|
213
220
|
height: 100%;
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
.DshFlatTable {
|
|
217
|
-
width: 100%;
|
|
218
|
-
height: 100%;
|
|
219
|
-
display: flex;
|
|
220
|
-
flex-direction: column;
|
|
221
|
+
display: flex;
|
|
222
|
+
flex-direction: column;
|
|
221
223
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
}
|
|
224
|
+
&-main {
|
|
225
|
+
flex: 1;
|
|
226
|
+
min-height: 0px;
|
|
226
227
|
}
|
|
227
228
|
}
|
|
228
229
|
}
|
|
@@ -26,10 +26,6 @@ export default {
|
|
|
26
26
|
return [];
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
total: {
|
|
30
|
-
type: Number,
|
|
31
|
-
default: 0
|
|
32
|
-
},
|
|
33
29
|
rowDefault: {
|
|
34
30
|
type: Object,
|
|
35
31
|
default () {
|
|
@@ -48,6 +44,11 @@ export default {
|
|
|
48
44
|
return {};
|
|
49
45
|
}
|
|
50
46
|
},
|
|
47
|
+
|
|
48
|
+
total: {
|
|
49
|
+
type: Number,
|
|
50
|
+
default: 0
|
|
51
|
+
},
|
|
51
52
|
compareData: {
|
|
52
53
|
type: Array,
|
|
53
54
|
default () {
|
|
@@ -324,7 +325,9 @@ export default {
|
|
|
324
325
|
},
|
|
325
326
|
|
|
326
327
|
contentHeight () {
|
|
327
|
-
return this.selfPropsObj._contentHeight
|
|
328
|
+
return this.selfPropsObj._contentHeight === undefined
|
|
329
|
+
? undefined
|
|
330
|
+
: this.selfPropsObj._contentHeight || 500;
|
|
328
331
|
},
|
|
329
332
|
showRequired () {
|
|
330
333
|
return this.selfPropsObj._showRequired;
|