bri-components 1.2.19 → 1.2.21
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/lib/0.bri-components.min.js +1 -1
- package/lib/1.bri-components.min.js +1 -1
- package/lib/2.bri-components.min.js +1 -1
- package/lib/3.bri-components.min.js +1 -1
- package/lib/5.bri-components.min.js +1 -1
- package/lib/6.bri-components.min.js +1 -1
- package/lib/bri-components.min.js +7 -7
- package/lib/styles/bri-components.css +1 -1
- package/package.json +1 -1
- package/src/abolish/DshFlatTable.vue +6 -6
- package/src/components/controls/senior/selectDepartments.vue +2 -1
- package/src/components/controls/senior/selectUsers/selectUsers.vue +7 -3
- package/src/components/form/DshAdvSearchForm.vue +2 -2
- package/src/components/form/DshDefaultSearch.vue +2 -2
- package/src/components/form/DshForm.vue +14 -10
- package/src/components/form/searchMixin.js +5 -1
- package/src/components/list/BriFlatTable.vue +8 -4
- package/src/components/list/BriTable.vue +1 -0
- package/src/components/list/DshBox/DshCard.vue +2 -2
- package/src/components/list/DshBox/DshCrossTable.vue +4 -4
- package/src/components/list/DshBox/DshList.vue +3 -15
- package/src/components/list/DshBox/DshPanel.vue +2 -2
- package/src/components/list/DshCascaderTable.vue +4 -4
- package/src/components/small/BriButton.vue +11 -5
- package/src/components/small/{DshTdRender.js → DshListRender.js} +1 -1
- package/src/components/unit/{DshFormItem.vue → DshFormUnit.vue} +13 -13
- package/src/components/unit/{DshUnit.vue → DshListUnit.vue} +14 -5
- package/src/components/unit/unitMixin.js +2 -5
- package/src/index.js +11 -9
- package/src/styles/components/form/DshAdvSearchForm.less +1 -1
- package/src/styles/components/form/DshDefaultSearch.less +4 -4
- package/src/styles/components/form/DshForm.less +3 -2
- package/src/styles/components/index.less +2 -2
- package/src/styles/components/small/BriTooltip.less +12 -7
- package/src/styles/components/small/DshModal.less +66 -60
- package/src/styles/components/unit/{DshFormItem.less → DshFormUnit.less} +4 -4
- package/src/styles/components/unit/DshListUnit.less +3 -0
- package/src/utils/table.js +1 -1
- package/src/styles/components/unit/DshUnit.less +0 -5
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
:prop="formItem._key"
|
|
21
21
|
@click.native="clickControl(formItem)"
|
|
22
22
|
>
|
|
23
|
-
<dsh-
|
|
23
|
+
<dsh-form-unit
|
|
24
24
|
ref="dshFormItem"
|
|
25
25
|
:canEdit="canEdit"
|
|
26
26
|
:formData="formData"
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
:rowStyle="rowStyle"
|
|
32
32
|
:labelStyle="labelStyle"
|
|
33
33
|
:formControlClass="formControlClass"
|
|
34
|
-
@change="change(
|
|
35
|
-
@refChange="refChange(
|
|
34
|
+
@change="change(arguments)"
|
|
35
|
+
@refChange="refChange(arguments)"
|
|
36
36
|
@changeField="changeField"
|
|
37
37
|
>
|
|
38
38
|
<slot
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
:formData="formData"
|
|
69
69
|
:allFormList="allFormList"
|
|
70
70
|
></slot>
|
|
71
|
-
</dsh-
|
|
71
|
+
</dsh-form-unit>
|
|
72
72
|
</FormItem>
|
|
73
73
|
</i-col>
|
|
74
74
|
|
|
@@ -90,9 +90,13 @@
|
|
|
90
90
|
</template>
|
|
91
91
|
|
|
92
92
|
<script>
|
|
93
|
+
import DshFormUnit from "../unit/DshFormUnit.vue";
|
|
94
|
+
|
|
93
95
|
export default {
|
|
94
96
|
name: "DshForm",
|
|
95
|
-
components: {
|
|
97
|
+
components: {
|
|
98
|
+
DshFormUnit
|
|
99
|
+
},
|
|
96
100
|
props: {
|
|
97
101
|
canEdit: {
|
|
98
102
|
type: Boolean,
|
|
@@ -214,13 +218,13 @@
|
|
|
214
218
|
this.$emit("changeField", ...params);
|
|
215
219
|
},
|
|
216
220
|
// 发生改动
|
|
217
|
-
change (
|
|
218
|
-
this.forceFormValidate(
|
|
219
|
-
this.$emit("change",
|
|
221
|
+
change (params) {
|
|
222
|
+
this.forceFormValidate(...params);
|
|
223
|
+
this.$emit("change", ...params);
|
|
220
224
|
},
|
|
221
225
|
// 关联表相关的change
|
|
222
|
-
refChange (
|
|
223
|
-
this.$emit("refChange",
|
|
226
|
+
refChange (params) {
|
|
227
|
+
this.$emit("refChange", ...params);
|
|
224
228
|
},
|
|
225
229
|
|
|
226
230
|
/* -------- 工具类 -------- */
|
|
@@ -20,8 +20,13 @@
|
|
|
20
20
|
</template>
|
|
21
21
|
|
|
22
22
|
<script>
|
|
23
|
+
import DshListUnit from "../unit/DshListUnit.vue";
|
|
24
|
+
|
|
23
25
|
export default {
|
|
24
26
|
name: "BriFlatTable",
|
|
27
|
+
components: {
|
|
28
|
+
DshListUnit
|
|
29
|
+
},
|
|
25
30
|
props: {
|
|
26
31
|
canEdit: {
|
|
27
32
|
type: Boolean,
|
|
@@ -199,7 +204,7 @@
|
|
|
199
204
|
placement: "top"
|
|
200
205
|
},
|
|
201
206
|
scopedSlots: {
|
|
202
|
-
default: props => h("dsh-unit", {
|
|
207
|
+
default: props => h("dsh-list-unit", {
|
|
203
208
|
props: {
|
|
204
209
|
canEdit: this.getUnitCanEdit(column, row),
|
|
205
210
|
formData: row,
|
|
@@ -214,7 +219,7 @@
|
|
|
214
219
|
})
|
|
215
220
|
}
|
|
216
221
|
})
|
|
217
|
-
: h("dsh-unit", {
|
|
222
|
+
: h("dsh-list-unit", {
|
|
218
223
|
props: {
|
|
219
224
|
canEdit: this.getUnitCanEdit(column, row),
|
|
220
225
|
formData: row,
|
|
@@ -337,8 +342,7 @@
|
|
|
337
342
|
: {};
|
|
338
343
|
}
|
|
339
344
|
},
|
|
340
|
-
created () {
|
|
341
|
-
},
|
|
345
|
+
created () {},
|
|
342
346
|
methods: {
|
|
343
347
|
// 共外部使用
|
|
344
348
|
validate () {
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
|
|
65
65
|
<!-- 右 val -->
|
|
66
66
|
<div class="unit-value dsh-ellipsis">
|
|
67
|
-
<dsh-
|
|
67
|
+
<dsh-list-render
|
|
68
68
|
v-if="colItem.renderBodyCell"
|
|
69
69
|
:row="dataItem"
|
|
70
70
|
:column="colItem"
|
|
71
71
|
:index="0"
|
|
72
72
|
:render="colItem.renderBodyCell"
|
|
73
|
-
></dsh-
|
|
73
|
+
></dsh-list-render>
|
|
74
74
|
|
|
75
75
|
<div
|
|
76
76
|
v-else-if="colItem.formatter"
|
|
@@ -276,11 +276,11 @@
|
|
|
276
276
|
v-if="colItem.renderBodyCell"
|
|
277
277
|
class="td-content"
|
|
278
278
|
>
|
|
279
|
-
<dsh-
|
|
279
|
+
<dsh-list-render
|
|
280
280
|
:row="dataItem"
|
|
281
281
|
:index="dataIndex"
|
|
282
282
|
:render="colItem.renderBodyCell"
|
|
283
|
-
></dsh-
|
|
283
|
+
></dsh-list-render>
|
|
284
284
|
</div>
|
|
285
285
|
|
|
286
286
|
<div
|
|
@@ -320,11 +320,11 @@
|
|
|
320
320
|
}"
|
|
321
321
|
>
|
|
322
322
|
<div class="td-content">
|
|
323
|
-
<dsh-
|
|
323
|
+
<dsh-list-render
|
|
324
324
|
:row="dataItem"
|
|
325
325
|
:index="dataIndex"
|
|
326
326
|
:render="operationCol.renderBodyCell"
|
|
327
|
-
></dsh-
|
|
327
|
+
></dsh-list-render>
|
|
328
328
|
</div>
|
|
329
329
|
</td>
|
|
330
330
|
</tr>
|
|
@@ -127,14 +127,14 @@
|
|
|
127
127
|
}"
|
|
128
128
|
>
|
|
129
129
|
<div class="row-item-inner dsh-ellipsis">
|
|
130
|
-
<dsh-
|
|
130
|
+
<dsh-list-render
|
|
131
131
|
v-if="col.renderBodyCell"
|
|
132
132
|
class="ms-ellipsis"
|
|
133
133
|
:row="row"
|
|
134
134
|
:column="col"
|
|
135
135
|
:index="index"
|
|
136
136
|
:render="col.renderBodyCell"
|
|
137
|
-
></dsh-
|
|
137
|
+
></dsh-list-render>
|
|
138
138
|
|
|
139
139
|
<template v-else-if="col.formatter">
|
|
140
140
|
<div v-html="col.formatter(row, index)"></div>
|
|
@@ -150,15 +150,6 @@
|
|
|
150
150
|
>
|
|
151
151
|
<div class="list-tooltip-box">{{ row[col._key] }}</div>
|
|
152
152
|
</Tooltip>
|
|
153
|
-
|
|
154
|
-
<!-- <dsh-unit
|
|
155
|
-
:key="col._key"
|
|
156
|
-
:canEdit="false"
|
|
157
|
-
:formData="row"
|
|
158
|
-
:formItem="col"
|
|
159
|
-
:rowIndex="index"
|
|
160
|
-
@change="change(row, col, arguments)"
|
|
161
|
-
></dsh-unit> -->
|
|
162
153
|
</div>
|
|
163
154
|
</div>
|
|
164
155
|
</div>
|
|
@@ -178,13 +169,10 @@
|
|
|
178
169
|
</template>
|
|
179
170
|
|
|
180
171
|
<script>
|
|
181
|
-
// import DshUnit from "../../unit/DshUnit.vue";
|
|
182
172
|
|
|
183
173
|
export default {
|
|
184
174
|
name: "DshList",
|
|
185
|
-
components: {
|
|
186
|
-
// DshUnit
|
|
187
|
-
},
|
|
175
|
+
components: {},
|
|
188
176
|
props: {
|
|
189
177
|
isLoading: {
|
|
190
178
|
type: Boolean,
|
|
@@ -102,13 +102,13 @@
|
|
|
102
102
|
|
|
103
103
|
<!-- 右 val -->
|
|
104
104
|
<div class="unit-value dsh-ellipsis">
|
|
105
|
-
<dsh-
|
|
105
|
+
<dsh-list-render
|
|
106
106
|
v-if="colItem.renderBodyCell"
|
|
107
107
|
:row="dataItem"
|
|
108
108
|
:column="colItem"
|
|
109
109
|
:index="0"
|
|
110
110
|
:render="colItem.renderBodyCell"
|
|
111
|
-
></dsh-
|
|
111
|
+
></dsh-list-render>
|
|
112
112
|
|
|
113
113
|
<div
|
|
114
114
|
v-else-if="colItem.formatter"
|
|
@@ -149,13 +149,13 @@
|
|
|
149
149
|
:key="col._key + ''"
|
|
150
150
|
:style="getTdStyle(col, row)"
|
|
151
151
|
>
|
|
152
|
-
<dsh-unit
|
|
152
|
+
<dsh-list-unit
|
|
153
153
|
:canEdit="canEdit"
|
|
154
154
|
:rowIndex="rowIndex"
|
|
155
155
|
:formData="row[col.nodeKey]"
|
|
156
156
|
:formItem="col"
|
|
157
157
|
@change="$dispatchEvent(operationMap.changeVal, col, row, arguments)"
|
|
158
|
-
></dsh-unit>
|
|
158
|
+
></dsh-list-unit>
|
|
159
159
|
</td>
|
|
160
160
|
</template>
|
|
161
161
|
</tr>
|
|
@@ -178,12 +178,12 @@
|
|
|
178
178
|
</template>
|
|
179
179
|
|
|
180
180
|
<script>
|
|
181
|
-
import
|
|
181
|
+
import DshListUnit from "../unit/DshListUnit.vue";
|
|
182
182
|
|
|
183
183
|
export default {
|
|
184
184
|
name: "DshCascaderTable",
|
|
185
185
|
components: {
|
|
186
|
-
|
|
186
|
+
DshListUnit
|
|
187
187
|
},
|
|
188
188
|
props: {
|
|
189
189
|
useCol: {
|
|
@@ -19,10 +19,8 @@
|
|
|
19
19
|
</template>
|
|
20
20
|
|
|
21
21
|
<script>
|
|
22
|
-
import controlMixin from "../controls/controlMixin.js";
|
|
23
22
|
export default {
|
|
24
23
|
name: "BriButton",
|
|
25
|
-
mixins: [controlMixin],
|
|
26
24
|
props: {
|
|
27
25
|
type: {
|
|
28
26
|
type: String,
|
|
@@ -31,15 +29,22 @@
|
|
|
31
29
|
icon: String,
|
|
32
30
|
shape: String,
|
|
33
31
|
size: String,
|
|
34
|
-
customIcon: String
|
|
32
|
+
customIcon: String,
|
|
33
|
+
|
|
34
|
+
propsObj: {
|
|
35
|
+
type: Object,
|
|
36
|
+
default () {
|
|
37
|
+
return {};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
35
40
|
},
|
|
36
41
|
data () {
|
|
37
42
|
return {};
|
|
38
43
|
},
|
|
39
44
|
computed: {
|
|
40
45
|
selfPropsObj () {
|
|
41
|
-
|
|
42
|
-
let setType =
|
|
46
|
+
const defaultType = this.propsObj.btnType || this.type;
|
|
47
|
+
let setType = defaultType;
|
|
43
48
|
if (["cancel"].includes(defaultType)) {
|
|
44
49
|
setType = "primary";
|
|
45
50
|
} else if (["errorLine", "primaryLine"].includes(defaultType)) {
|
|
@@ -47,6 +52,7 @@
|
|
|
47
52
|
} else if (["linkText", "primaryText", "errorText"].includes(defaultType)) {
|
|
48
53
|
setType = "text";
|
|
49
54
|
}
|
|
55
|
+
|
|
50
56
|
return {
|
|
51
57
|
class: ["cancel", "linkText", "primaryText", "errorLine", "errorText", "primaryLine"].includes(defaultType) ? `ivu-btn-${defaultType}` : "",
|
|
52
58
|
...this.propsObj,
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
<div
|
|
3
3
|
:class="[
|
|
4
4
|
{
|
|
5
|
-
'
|
|
6
|
-
'
|
|
7
|
-
'
|
|
5
|
+
'DshFormUnit': true,
|
|
6
|
+
'DshFormUnit-required': canEdit && formItem._required,
|
|
7
|
+
'DshFormUnit-line': formItem._line,
|
|
8
8
|
},
|
|
9
9
|
formControlClass,
|
|
10
10
|
formItem.formControlClass
|
|
@@ -19,19 +19,19 @@
|
|
|
19
19
|
<!-- label -->
|
|
20
20
|
<div
|
|
21
21
|
v-if="!formItem._noLabel"
|
|
22
|
-
class="
|
|
22
|
+
class="DshFormUnit-label"
|
|
23
23
|
:style="labelStyle"
|
|
24
24
|
>
|
|
25
25
|
<!-- 左 -->
|
|
26
|
-
<span class="
|
|
26
|
+
<span class="DshFormUnit-label-left">
|
|
27
27
|
<bri-tooltip
|
|
28
28
|
:content="formItem._name"
|
|
29
29
|
transfer
|
|
30
30
|
>
|
|
31
31
|
<span :class="{
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
-
'
|
|
32
|
+
'DshFormUnit-label-name': true,
|
|
33
|
+
'DshFormUnit-label-name-edit': canEdit,
|
|
34
|
+
'DshFormUnit-label-name-show': !canEdit
|
|
35
35
|
}">
|
|
36
36
|
<slot name="label">
|
|
37
37
|
{{ formItem._name }}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
<!-- 有更新标记-->
|
|
40
40
|
<span
|
|
41
41
|
v-if="changedFields.includes(formItem._key)"
|
|
42
|
-
class="
|
|
42
|
+
class="DshFormUnit-label-name-sign"
|
|
43
43
|
>!有更新</span>
|
|
44
44
|
</slot>
|
|
45
45
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
<!-- 右 -->
|
|
56
56
|
<span
|
|
57
57
|
v-if="canEdit"
|
|
58
|
-
class="
|
|
58
|
+
class="DshFormUnit-label-right"
|
|
59
59
|
>
|
|
60
60
|
<slot name="extra">
|
|
61
61
|
<bri-tooltip
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
transfer
|
|
64
64
|
style="height: 14px;"
|
|
65
65
|
>
|
|
66
|
-
<span class="
|
|
66
|
+
<span class="DshFormUnit-label-description dsh-ellipsis">
|
|
67
67
|
{{ formItem._description && `* ${formItem._description}` }}
|
|
68
68
|
</span>
|
|
69
69
|
</bri-tooltip>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
</div>
|
|
73
73
|
|
|
74
74
|
<!-- 控件 -->
|
|
75
|
-
<div class="
|
|
75
|
+
<div class="DshFormUnit-control">
|
|
76
76
|
<!-- 控件位置放置的dom -->
|
|
77
77
|
<slot name="control"></slot>
|
|
78
78
|
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
import unitMixin from "./unitMixin.js";
|
|
101
101
|
|
|
102
102
|
export default {
|
|
103
|
-
name: "
|
|
103
|
+
name: "DshFormUnit",
|
|
104
104
|
mixins: [
|
|
105
105
|
unitMixin
|
|
106
106
|
],
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="
|
|
2
|
+
<div class="DshListUnit">
|
|
3
3
|
<template v-if="formItem._type === 'index'">
|
|
4
4
|
<span>{{ indexStr || rowIndex + 1 }}</span>
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<template v-else-if="formItem.render">
|
|
8
|
-
<dsh-
|
|
8
|
+
<dsh-list-render
|
|
9
9
|
:column="formItem"
|
|
10
10
|
:row="formData"
|
|
11
11
|
:index="rowIndex"
|
|
12
12
|
:render="formItem.render"
|
|
13
|
-
></dsh-
|
|
13
|
+
></dsh-list-render>
|
|
14
14
|
</template>
|
|
15
15
|
|
|
16
16
|
<template v-else>
|
|
@@ -36,11 +36,16 @@
|
|
|
36
36
|
import unitMixin from "./unitMixin.js";
|
|
37
37
|
|
|
38
38
|
export default {
|
|
39
|
-
name: "
|
|
39
|
+
name: "DshListUnit",
|
|
40
40
|
mixins: [
|
|
41
41
|
unitMixin
|
|
42
42
|
],
|
|
43
43
|
props: {
|
|
44
|
+
canEdit: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: false
|
|
47
|
+
},
|
|
48
|
+
|
|
44
49
|
indexStr: String,
|
|
45
50
|
rowIndex: Number,
|
|
46
51
|
parentData: {
|
|
@@ -55,6 +60,10 @@
|
|
|
55
60
|
},
|
|
56
61
|
computed: {},
|
|
57
62
|
created () {},
|
|
58
|
-
methods: {
|
|
63
|
+
methods: {
|
|
64
|
+
blur (...params) {
|
|
65
|
+
this.$emit("blur", ...params);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
59
68
|
};
|
|
60
69
|
</script>
|
|
@@ -29,13 +29,10 @@ export default {
|
|
|
29
29
|
created () { },
|
|
30
30
|
methods: {
|
|
31
31
|
change (...params) {
|
|
32
|
-
this.$emit("change", ...params);
|
|
32
|
+
this.$emit("change", this.formItem, ...params);
|
|
33
33
|
},
|
|
34
34
|
refChange (...params) {
|
|
35
|
-
this.$emit("
|
|
36
|
-
},
|
|
37
|
-
blur (...params) {
|
|
38
|
-
this.$emit("blur", ...params);
|
|
35
|
+
this.$emit("change", this.formItem, ...params);
|
|
39
36
|
}
|
|
40
37
|
}
|
|
41
38
|
};
|
package/src/index.js
CHANGED
|
@@ -21,8 +21,7 @@ import DshForm from "./components/form/DshForm.vue";
|
|
|
21
21
|
import DshAdvSearchForm from "./components/form/DshAdvSearchForm.vue";
|
|
22
22
|
import DshDefaultSearch from "./components/form/DshDefaultSearch.vue";
|
|
23
23
|
// unit
|
|
24
|
-
import
|
|
25
|
-
import DshUnit from "./components/unit/DshUnit.vue";
|
|
24
|
+
import DshListUnit from "./components/unit/DshListUnit.vue";
|
|
26
25
|
|
|
27
26
|
// controls
|
|
28
27
|
import BriControlInput from "./components/controls/BriControlInput.vue";
|
|
@@ -50,7 +49,7 @@ import DshTabs from "./components/small/DshTabs.vue";
|
|
|
50
49
|
import DshTags from "./components/small/DshTags.vue";
|
|
51
50
|
import DshTitle from "./components/small/DshTitle.vue";
|
|
52
51
|
import DshRender from "./components/small/render.js";
|
|
53
|
-
import
|
|
52
|
+
import DshListRender from "./components/small/DshListRender.js";
|
|
54
53
|
|
|
55
54
|
/* -------------------- 局部组件 ----------------------- */
|
|
56
55
|
// error
|
|
@@ -63,6 +62,9 @@ import BriCard from "./components/list/BriCard.vue";
|
|
|
63
62
|
import BriTree from "./components/list/BriTree.vue";
|
|
64
63
|
import BriTreeItem from "./components/list/BriTreeItem.vue";
|
|
65
64
|
|
|
65
|
+
// unit
|
|
66
|
+
import DshFormUnit from "./components/unit/DshFormUnit.vue";
|
|
67
|
+
|
|
66
68
|
// controls
|
|
67
69
|
import BriInputs from "./components/controls/base/BriInputs.vue";
|
|
68
70
|
import DshNumberange from "./components/controls/base/DshNumberange.vue";
|
|
@@ -110,8 +112,7 @@ const map = {
|
|
|
110
112
|
DshAdvSearchForm,
|
|
111
113
|
DshDefaultSearch,
|
|
112
114
|
// unit
|
|
113
|
-
|
|
114
|
-
DshUnit,
|
|
115
|
+
DshListUnit,
|
|
115
116
|
|
|
116
117
|
// controls
|
|
117
118
|
BriControlInput,
|
|
@@ -138,7 +139,7 @@ const map = {
|
|
|
138
139
|
DshTags,
|
|
139
140
|
DshTitle,
|
|
140
141
|
DshRender,
|
|
141
|
-
|
|
142
|
+
DshListRender
|
|
142
143
|
};
|
|
143
144
|
const install = function (Vue, opts = {}) {
|
|
144
145
|
ViewUI.LoadingBar.config({
|
|
@@ -195,8 +196,9 @@ export {
|
|
|
195
196
|
DshAdvSearchForm,
|
|
196
197
|
DshDefaultSearch,
|
|
197
198
|
// unit
|
|
198
|
-
|
|
199
|
-
|
|
199
|
+
DshListUnit,
|
|
200
|
+
|
|
201
|
+
DshFormUnit,
|
|
200
202
|
|
|
201
203
|
// controls
|
|
202
204
|
DshInput,
|
|
@@ -246,7 +248,7 @@ export {
|
|
|
246
248
|
DshTags,
|
|
247
249
|
DshTitle,
|
|
248
250
|
DshRender,
|
|
249
|
-
|
|
251
|
+
DshListRender,
|
|
250
252
|
|
|
251
253
|
DshBtnModal
|
|
252
254
|
};
|
|
@@ -61,18 +61,18 @@
|
|
|
61
61
|
overflow: hidden!important;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.
|
|
64
|
+
.DshFormUnit-label {
|
|
65
65
|
width: 80px;
|
|
66
66
|
text-align: right;
|
|
67
67
|
margin-right: 16px;
|
|
68
68
|
|
|
69
|
-
.
|
|
70
|
-
.
|
|
69
|
+
.DshFormUnit-label-left {
|
|
70
|
+
.DshFormUnit-label-name {
|
|
71
71
|
font-family: "Microsoft YaHei";
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.
|
|
75
|
+
.DshFormUnit-label-right {
|
|
76
76
|
text-align: left;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
@import "./form/DshAdvSearchForm.less";
|
|
21
21
|
@import "./form/DshDefaultSearch.less";
|
|
22
22
|
// unit
|
|
23
|
-
@import "./unit/
|
|
24
|
-
@import "./unit/
|
|
23
|
+
@import "./unit/DshFormUnit.less";
|
|
24
|
+
@import "./unit/DshListUnit.less";
|
|
25
25
|
|
|
26
26
|
// controls
|
|
27
27
|
@import "./controls/BriControlInput.less";
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
.BriTooltip {
|
|
2
2
|
display: flex;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.ivu-tooltip {
|
|
6
|
+
&-arrow {
|
|
7
|
+
border-bottom-color: @textColor !important;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
|
-
|
|
10
|
+
&-inner {
|
|
9
11
|
padding: 5px 8px;
|
|
10
12
|
border-radius: 4px;
|
|
11
|
-
|
|
13
|
+
line-height: 22px;
|
|
14
|
+
background: @textColor;
|
|
12
15
|
font-size: 14px;
|
|
13
16
|
font-weight: 400;
|
|
14
|
-
color:
|
|
17
|
+
color: @textWhColor;
|
|
18
|
+
max-height: 350px;
|
|
19
|
+
overflow: auto;
|
|
15
20
|
}
|
|
16
21
|
|
|
17
|
-
|
|
22
|
+
&-rel {
|
|
18
23
|
width: 100%;
|
|
19
24
|
}
|
|
20
25
|
}
|