n20-common-lib 2.22.35 → 2.22.36
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 +1 -1
- package/src/assets/css/_coreLib.scss +3 -1
- package/src/assets/css/dynamic-table.scss +5 -0
- package/src/components/AdvancedFilter/formItemRender.vue +1 -0
- package/src/components/DynamicField/DynamicTable.vue +10 -1
- package/style/index.css +1 -1
- package/theme/blue.css +1 -1
- package/theme/cctcRed.css +1 -1
- package/theme/green.css +1 -1
- package/theme/lightBlue.css +1 -1
- package/theme/orange.css +1 -1
- package/theme/purple.css +1 -1
- package/theme/red.css +1 -1
- package/theme/yellow.css +1 -1
package/package.json
CHANGED
|
@@ -45,6 +45,8 @@
|
|
|
45
45
|
@import './plain-text.scss';
|
|
46
46
|
@import './date-quarter.scss';
|
|
47
47
|
@import './work-card.scss';
|
|
48
|
+
@import './dynamic-table.scss';
|
|
49
|
+
|
|
48
50
|
/* 临时引入 */
|
|
49
51
|
@import '../../components/ChildRange/style.scss';
|
|
50
|
-
@import '../../components/PageHeader/style.scss';
|
|
52
|
+
@import '../../components/PageHeader/style.scss';
|
|
@@ -441,6 +441,7 @@ export default {
|
|
|
441
441
|
placeholder: item.props && item.props.placeholder ? item.props.placeholder : $lc('请选择'),
|
|
442
442
|
clearable: (item.props && this.item.props.clearable) ?? true,
|
|
443
443
|
multiple: item.multiple || item.props?.multiple,
|
|
444
|
+
filterable: item.props?.filterable ?? true,
|
|
444
445
|
...item.props
|
|
445
446
|
}
|
|
446
447
|
elementDom = h(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<cl-table-pro v-bind="$attrs" v-on="$listeners">
|
|
2
|
+
<cl-table-pro class="dynamic-table-pro" v-bind="$attrs" v-on="$listeners">
|
|
3
3
|
<!-- 插槽 -->
|
|
4
4
|
<vxe-column slot="slot" slot-scope="{ column }" v-bind="{ ...column, field: column.prop, title: column.label }">
|
|
5
5
|
<template #header>
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
</span>
|
|
10
10
|
</template>
|
|
11
11
|
<el-form-item
|
|
12
|
+
:inline-message="true"
|
|
12
13
|
slot-scope="{ row, $rowIndex }"
|
|
13
14
|
:prop="`${listName}.` + $rowIndex + `.${column.prop}`"
|
|
14
15
|
:rules="[
|
|
@@ -32,6 +33,7 @@
|
|
|
32
33
|
</span>
|
|
33
34
|
</template>
|
|
34
35
|
<el-form-item
|
|
36
|
+
:inline-message="true"
|
|
35
37
|
slot-scope="{ row, $rowIndex }"
|
|
36
38
|
:prop="`${listName}.` + $rowIndex + `.${column.prop}`"
|
|
37
39
|
:rules="[
|
|
@@ -65,6 +67,7 @@
|
|
|
65
67
|
</span>
|
|
66
68
|
</template>
|
|
67
69
|
<el-form-item
|
|
70
|
+
:inline-message="true"
|
|
68
71
|
slot-scope="{ row, $rowIndex }"
|
|
69
72
|
:prop="`${listName}.` + $rowIndex + `.${column.prop}`"
|
|
70
73
|
:rules="[
|
|
@@ -94,7 +97,9 @@
|
|
|
94
97
|
{{ column.label }}
|
|
95
98
|
</span>
|
|
96
99
|
</template>
|
|
100
|
+
|
|
97
101
|
<el-form-item
|
|
102
|
+
:inline-message="true"
|
|
98
103
|
slot-scope="{ row, $rowIndex }"
|
|
99
104
|
:prop="`${listName}.` + $rowIndex + `.${column.prop}`"
|
|
100
105
|
:rules="[
|
|
@@ -148,6 +153,7 @@
|
|
|
148
153
|
</template>
|
|
149
154
|
<el-form-item
|
|
150
155
|
slot-scope="{ row, $rowIndex }"
|
|
156
|
+
:inline-message="true"
|
|
151
157
|
:prop="`${listName}.` + $rowIndex + `.${column.prop}`"
|
|
152
158
|
:rules="[
|
|
153
159
|
{
|
|
@@ -199,6 +205,7 @@
|
|
|
199
205
|
</span>
|
|
200
206
|
</template>
|
|
201
207
|
<el-form-item
|
|
208
|
+
:inline-message="true"
|
|
202
209
|
slot-scope="{ row, $rowIndex }"
|
|
203
210
|
:prop="`${listName}.` + $rowIndex + `.${column.prop}`"
|
|
204
211
|
:rules="[
|
|
@@ -235,6 +242,7 @@
|
|
|
235
242
|
</span>
|
|
236
243
|
</template>
|
|
237
244
|
<el-form-item
|
|
245
|
+
:inline-message="true"
|
|
238
246
|
slot-scope="{ row, $rowIndex }"
|
|
239
247
|
:prop="`${listName}.` + $rowIndex + `.${column.prop}`"
|
|
240
248
|
:rules="[
|
|
@@ -268,6 +276,7 @@
|
|
|
268
276
|
</span>
|
|
269
277
|
</template>
|
|
270
278
|
<el-form-item
|
|
279
|
+
:inline-message="true"
|
|
271
280
|
slot-scope="{ row, $rowIndex }"
|
|
272
281
|
:prop="`${listName}.` + $rowIndex + `.${column.prop}`"
|
|
273
282
|
:rules="[
|