bri-components 1.2.14 → 1.2.15
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/4.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 +11 -11
- package/package.json +1 -1
- package/src/components/controls/base/DshCheckbox.vue +0 -1
- package/src/components/controls/base/DshSelect.vue +0 -1
- package/src/components/controls/senior/cascaderTable.vue +6 -1
- package/src/components/controls/senior/flatTable.vue +17 -12
- package/src/components/list/BriTable.vue +5 -7
- package/src/components/list/DshBox/DshTable.vue +5 -4
- package/src/index.js +20 -34
- package/src/styles/common/text.less +1 -2
- package/src/styles/components/controls/base/DshCheckbox.less +43 -43
- package/src/styles/components/controls/base/DshSelect.less +35 -35
- package/src/styles/components/index.less +12 -13
- package/src/styles/components/list/BriTable.less +10 -4
- package/src/styles/components/list/DshBox/DshTable.less +9 -1
- package/src/styles/components/small/DshButtons.less +2 -9
- package/src/utils/table.js +4 -3
- /package/src/{styles/components/small → abolish}/DshCrumbItem.less +0 -0
- /package/src/{styles/components/small → abolish}/DshCrumbs.less +0 -0
- /package/src/{components/small → abolish}/DshCrumbs.vue +0 -0
- /package/src/{components/small → abolish}/DshCrumbsItem.vue +0 -0
- /package/src/{styles/components/other → abolish}/DshEditPanel.less +0 -0
- /package/src/{components/other → abolish}/DshEditPanel.vue +0 -0
- /package/src/{styles/components/other → abolish}/DshMenu.less +0 -0
- /package/src/{components/other → abolish}/DshMenu.vue +0 -0
- /package/src/components/{other → small}/DshBtnModal.vue +0 -0
- /package/src/styles/components/{other → small}/DshBtnModal.less +0 -0
package/package.json
CHANGED
|
@@ -68,13 +68,18 @@
|
|
|
68
68
|
|
|
69
69
|
<script>
|
|
70
70
|
import controlMixin from "../controlMixin.js";
|
|
71
|
+
import DshBtnModal from "../../small/DshBtnModal.vue";
|
|
72
|
+
import DshCascaderTable from "../../list/DshCascaderTable.vue";
|
|
71
73
|
|
|
72
74
|
export default {
|
|
73
75
|
name: "cascaderTable",
|
|
74
76
|
mixins: [
|
|
75
77
|
controlMixin
|
|
76
78
|
],
|
|
77
|
-
components: {
|
|
79
|
+
components: {
|
|
80
|
+
DshBtnModal,
|
|
81
|
+
DshCascaderTable
|
|
82
|
+
},
|
|
78
83
|
props: {},
|
|
79
84
|
data () {
|
|
80
85
|
return {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
customIcon: 'bico-internaltable'
|
|
10
10
|
}]"></dsh-icons>
|
|
11
11
|
<span class="flatTable-unit-text">
|
|
12
|
-
{{
|
|
12
|
+
{{ curVal.list.length }}行
|
|
13
13
|
</span>
|
|
14
14
|
</span>
|
|
15
15
|
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
<bri-flat-table
|
|
20
20
|
:canEdit="finalCanEdit"
|
|
21
21
|
:columns="columns"
|
|
22
|
-
:data="
|
|
23
|
-
:rowDefault="
|
|
22
|
+
:data="curVal.list"
|
|
23
|
+
:rowDefault="curVal.rowDefault"
|
|
24
24
|
:outObj="value"
|
|
25
25
|
:propsObj="propsObj"
|
|
26
26
|
@change="change"
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
ref="dshFatTable"
|
|
42
42
|
:canEdit="finalCanEdit"
|
|
43
43
|
:columns="columns"
|
|
44
|
-
:data="
|
|
45
|
-
:oldData="
|
|
46
|
-
:rowDefault="
|
|
44
|
+
:data="curVal.list"
|
|
45
|
+
:oldData="curVal.oldList"
|
|
46
|
+
:rowDefault="curVal.rowDefault"
|
|
47
47
|
:outObj="value"
|
|
48
48
|
:propsObj="propsObj"
|
|
49
49
|
@change="change"
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
:propsObj="modalPropsObj"
|
|
57
57
|
>
|
|
58
58
|
<bri-flat-table
|
|
59
|
-
v-if="
|
|
59
|
+
v-if="isEnlarge"
|
|
60
60
|
:canEdit="finalCanEdit"
|
|
61
61
|
:columns="columns"
|
|
62
|
-
:data="
|
|
63
|
-
:oldData="
|
|
64
|
-
:rowDefault="
|
|
62
|
+
:data="curVal.list"
|
|
63
|
+
:oldData="curVal.oldList"
|
|
64
|
+
:rowDefault="curVal.rowDefault"
|
|
65
65
|
:outObj="value"
|
|
66
66
|
:propsObj="propsObj"
|
|
67
67
|
@change="change"
|
|
@@ -74,13 +74,18 @@
|
|
|
74
74
|
|
|
75
75
|
<script>
|
|
76
76
|
import controlMixin from "../controlMixin.js";
|
|
77
|
+
import DshBtnModal from "../../small/DshBtnModal.vue";
|
|
78
|
+
import BriFlatTable from "../../list/BriFlatTable.vue";
|
|
77
79
|
|
|
78
80
|
export default {
|
|
79
81
|
name: "flatTable",
|
|
80
82
|
mixins: [
|
|
81
83
|
controlMixin
|
|
82
84
|
],
|
|
83
|
-
components: {
|
|
85
|
+
components: {
|
|
86
|
+
DshBtnModal,
|
|
87
|
+
BriFlatTable
|
|
88
|
+
},
|
|
84
89
|
props: {},
|
|
85
90
|
data () {
|
|
86
91
|
return {
|
|
@@ -99,7 +104,7 @@
|
|
|
99
104
|
};
|
|
100
105
|
},
|
|
101
106
|
computed: {
|
|
102
|
-
|
|
107
|
+
curVal () {
|
|
103
108
|
// TODO: 待定处理
|
|
104
109
|
return this.value[this.controlKey] || {
|
|
105
110
|
list: [],
|
|
@@ -34,14 +34,11 @@
|
|
|
34
34
|
></ve-table>
|
|
35
35
|
|
|
36
36
|
<!-- loading -->
|
|
37
|
-
<bri-loading
|
|
38
|
-
<!-- empty -->
|
|
39
|
-
<div
|
|
40
|
-
v-else-if="!data.length"
|
|
37
|
+
<bri-loading
|
|
41
38
|
class="bri-table-empty"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
:value="isLoading ? 1 : data.length? 0 : 2"
|
|
40
|
+
:noText="noDataText"
|
|
41
|
+
/>
|
|
45
42
|
</div>
|
|
46
43
|
</template>
|
|
47
44
|
|
|
@@ -75,6 +72,7 @@
|
|
|
75
72
|
rowKeyFieldName: "_id",
|
|
76
73
|
scrollWidth: "0",
|
|
77
74
|
borderY: true,
|
|
75
|
+
fixedHeader: true,
|
|
78
76
|
cellSelectionOption: {
|
|
79
77
|
enable: false
|
|
80
78
|
},
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
.split("/")
|
|
67
67
|
.map(item => item.length * (operationItem.size === "small" ? 12 : 14))
|
|
68
68
|
) + (
|
|
69
|
-
operationItem.icon || operationItem.customIcon ?
|
|
70
|
-
|
|
69
|
+
operationItem.icon || operationItem.customIcon ? 25 : 0
|
|
70
|
+
);
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
return this.operationList.map(operationItem => {
|
|
@@ -126,8 +126,8 @@
|
|
|
126
126
|
// 漏在外部按钮的宽度
|
|
127
127
|
this.selfOperationList
|
|
128
128
|
.slice(0, this.selfOperationList.length > maxBtnNum ? maxBtnNum - 1 : this.selfOperationList.length)
|
|
129
|
-
.reduce((total, operationItem) => total + operationItem.width, 0) +
|
|
130
|
-
(this.selfOperationList.length > maxBtnNum ?
|
|
129
|
+
.reduce((total, operationItem) => total + operationItem.width + 16, 0) +
|
|
130
|
+
(this.selfOperationList.length > maxBtnNum ? 69 : 0) + // 出现更多按钮的宽度
|
|
131
131
|
(this.selfOperationList.length > 0 ? 40 : 0) + // 操作列的padding
|
|
132
132
|
4 // 留出4px空间,避免麻烦问题
|
|
133
133
|
, 80
|
|
@@ -147,6 +147,7 @@
|
|
|
147
147
|
// TODO: 注意此处totalOperationList用的一定是表格行显示最多的操作按钮数组,有改动注意看此备注!!!
|
|
148
148
|
return h("dsh-buttons", {
|
|
149
149
|
props: {
|
|
150
|
+
class: "table-operation",
|
|
150
151
|
list: totalOperationList,
|
|
151
152
|
maxFlatNum: maxBtnNum - 1,
|
|
152
153
|
itemClass: "table-operation-btn"
|
package/src/index.js
CHANGED
|
@@ -11,11 +11,10 @@ import CN from "vue-easytable/libs/locale/lang/zh-CN.js";
|
|
|
11
11
|
import DshBox from "./components/list/DshBox/DshBox.vue";
|
|
12
12
|
import DshTable from "./components/list/DshBox/DshTable.vue";
|
|
13
13
|
import DshList from "./components/list/DshBox/DshList.vue";
|
|
14
|
-
|
|
15
|
-
import BriFlatTable from "./components/list/BriFlatTable.vue";
|
|
16
14
|
import BriTable from "./components/list/BriTable.vue";
|
|
17
|
-
import DshCascaderTable from "./components/list/DshCascaderTable.vue";
|
|
18
15
|
import DshPage from "./components/list/DshPage.vue";
|
|
16
|
+
import BriFlatTable from "./components/list/BriFlatTable.vue";
|
|
17
|
+
// import DshCascaderTable from "./components/list/DshCascaderTable.vue";
|
|
19
18
|
|
|
20
19
|
// form
|
|
21
20
|
import DshForm from "./components/form/DshForm.vue";
|
|
@@ -34,22 +33,15 @@ import DshCheckbox from "./components/controls/base/DshCheckbox.vue";
|
|
|
34
33
|
import DshCascader from "./components/controls/base/DshCascader/DshCascader.vue";
|
|
35
34
|
|
|
36
35
|
// other
|
|
37
|
-
import BriCode from "./components/other/BriCode.vue";
|
|
38
36
|
import BriLoading from "./components/other/BriLoading.vue";
|
|
37
|
+
import BriSvg from "./components/other/BriSvg.vue";
|
|
39
38
|
import DshAvatar from "./components/other/DshAvatar.vue";
|
|
40
|
-
import DshBtnModal from "./components/other/DshBtnModal.vue";
|
|
41
|
-
import DshColorPanel from "./components/other/DshColorPanel.vue";
|
|
42
|
-
import DshEditPanel from "./components/other/DshEditPanel.vue";
|
|
43
|
-
import DshMenu from "./components/other/DshMenu.vue";
|
|
44
|
-
import DshMenuNav from "./components/other/DshMenuNav.vue";
|
|
45
39
|
|
|
46
40
|
// small
|
|
47
41
|
import BriButton from "./components/small/BriButton.vue";
|
|
48
42
|
import BriDrawer from "./components/small/BriDrawer.vue";
|
|
49
43
|
import BriTooltip from "./components/small/BriTooltip.vue";
|
|
50
44
|
import DshButtons from "./components/small/DshButtons.vue";
|
|
51
|
-
import DshCrumbs from "./components/small/DshCrumbs.vue";
|
|
52
|
-
import DshCrumbsItem from "./components/small/DshCrumbsItem.vue";
|
|
53
45
|
import DshDropdown from "./components/small/DshDropdown.vue";
|
|
54
46
|
import DshIcons from "./components/small/DshIcons.vue";
|
|
55
47
|
import DshModal from "./components/small/DshModal.vue";
|
|
@@ -91,9 +83,15 @@ import DshBack from "./components/controls/special/DshBack.vue";
|
|
|
91
83
|
import DshUndeveloped from "./components/controls/special/DshUndeveloped.vue";
|
|
92
84
|
|
|
93
85
|
// other
|
|
86
|
+
import DshMenuNav from "./components/other/DshMenuNav.vue";
|
|
87
|
+
import BriCode from "./components/other/BriCode.vue";
|
|
94
88
|
import BriCollapseTree from "./components/other/BriCollapseTree.vue";
|
|
95
89
|
import BriGantt from "./components/other/BriGantt.vue";
|
|
96
90
|
import BriIframe from "./components/other/BriIframe.vue";
|
|
91
|
+
import DshColorPanel from "./components/other/DshColorPanel.vue";
|
|
92
|
+
|
|
93
|
+
// small
|
|
94
|
+
import DshBtnModal from "./components/small/DshBtnModal.vue";
|
|
97
95
|
|
|
98
96
|
// !!!!!!挂载全局的组件,不是别写在这
|
|
99
97
|
const map = {
|
|
@@ -104,10 +102,7 @@ const map = {
|
|
|
104
102
|
DshBox,
|
|
105
103
|
DshTable,
|
|
106
104
|
DshList,
|
|
107
|
-
|
|
108
|
-
BriFlatTable, // 可取消全局
|
|
109
105
|
BriTable,
|
|
110
|
-
DshCascaderTable, // 可取消全局
|
|
111
106
|
DshPage,
|
|
112
107
|
|
|
113
108
|
// form
|
|
@@ -129,19 +124,12 @@ const map = {
|
|
|
129
124
|
// other
|
|
130
125
|
BriLoading,
|
|
131
126
|
DshAvatar,
|
|
132
|
-
DshBtnModal,
|
|
133
|
-
DshEditPanel,
|
|
134
|
-
DshColorPanel,
|
|
135
|
-
DshMenu,
|
|
136
|
-
DshMenuNav,
|
|
137
127
|
|
|
138
128
|
// small
|
|
139
129
|
BriButton,
|
|
140
130
|
BriDrawer,
|
|
141
131
|
BriTooltip,
|
|
142
132
|
DshButtons,
|
|
143
|
-
DshCrumbs,
|
|
144
|
-
DshCrumbsItem,
|
|
145
133
|
DshDropdown,
|
|
146
134
|
DshIcons,
|
|
147
135
|
DshModal,
|
|
@@ -193,14 +181,14 @@ export {
|
|
|
193
181
|
DshBox,
|
|
194
182
|
DshTable,
|
|
195
183
|
DshList,
|
|
184
|
+
BriTable,
|
|
185
|
+
DshPage,
|
|
186
|
+
BriFlatTable,
|
|
187
|
+
// DshCascaderTable,
|
|
196
188
|
|
|
197
189
|
BriCard,
|
|
198
|
-
BriFlatTable,
|
|
199
|
-
BriTable,
|
|
200
190
|
BriTree,
|
|
201
191
|
BriTreeItem,
|
|
202
|
-
DshCascaderTable,
|
|
203
|
-
DshPage,
|
|
204
192
|
|
|
205
193
|
// form
|
|
206
194
|
DshForm,
|
|
@@ -234,26 +222,22 @@ export {
|
|
|
234
222
|
selectDepartments,
|
|
235
223
|
|
|
236
224
|
// other
|
|
237
|
-
BriCode,
|
|
238
225
|
BriLoading,
|
|
226
|
+
BriSvg,
|
|
239
227
|
DshAvatar,
|
|
240
|
-
DshBtnModal,
|
|
241
|
-
DshColorPanel,
|
|
242
|
-
DshEditPanel,
|
|
243
|
-
DshMenu,
|
|
244
|
-
DshMenuNav,
|
|
245
228
|
|
|
229
|
+
DshMenuNav,
|
|
230
|
+
BriCode,
|
|
246
231
|
BriCollapseTree,
|
|
247
232
|
BriGantt,
|
|
248
233
|
BriIframe,
|
|
234
|
+
DshColorPanel,
|
|
249
235
|
|
|
250
236
|
// small
|
|
251
237
|
BriButton,
|
|
252
238
|
BriDrawer,
|
|
253
239
|
DshButtons,
|
|
254
240
|
BriTooltip,
|
|
255
|
-
DshCrumbs,
|
|
256
|
-
DshCrumbsItem,
|
|
257
241
|
DshDropdown,
|
|
258
242
|
DshIcons,
|
|
259
243
|
DshModal,
|
|
@@ -262,5 +246,7 @@ export {
|
|
|
262
246
|
DshTags,
|
|
263
247
|
DshTitle,
|
|
264
248
|
DshRender,
|
|
265
|
-
DshTdRender
|
|
249
|
+
DshTdRender,
|
|
250
|
+
|
|
251
|
+
DshBtnModal
|
|
266
252
|
};
|
|
@@ -49,67 +49,67 @@
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
-
|
|
52
|
+
}
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
&-disabled {
|
|
55
|
+
.ivu-checkbox-disabled+span {
|
|
56
|
+
color: #515a6e;
|
|
57
|
+
}
|
|
57
58
|
}
|
|
58
|
-
}
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
&-scroll {
|
|
61
|
+
overflow-x: auto;
|
|
62
|
+
overflow-y: hidden;
|
|
63
|
+
white-space: nowrap;
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
&::-webkit-scrollbar {
|
|
66
|
+
height: 6px;
|
|
67
|
+
}
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
&:-webkit-scrollbar-thumb {
|
|
70
|
+
border-radius: 3px;
|
|
71
|
+
background: rgba(51, 51, 51, .1);
|
|
72
|
+
background-clip: border-box;
|
|
73
|
+
}
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
|
-
}
|
|
76
76
|
|
|
77
|
-
&-item {}
|
|
77
|
+
&-item {}
|
|
78
78
|
|
|
79
|
-
&-show {}
|
|
79
|
+
&-show {}
|
|
80
80
|
|
|
81
|
-
.ivu-select-multiple {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
.ivu-select-multiple {
|
|
82
|
+
.ivu-select-selection {
|
|
83
|
+
height: 32px;
|
|
84
|
+
.dsh-flex-row-between-center();
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
86
|
+
& > div {
|
|
87
|
+
width: 100%;
|
|
88
|
+
height: 100%;
|
|
89
|
+
word-break: keep-all;
|
|
90
|
+
white-space: nowrap;
|
|
91
|
+
overflow: auto;
|
|
92
|
+
.bri-scrollbar3();
|
|
93
93
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
.ivu-tag {
|
|
95
|
+
margin: 2px 4px 0px 0px;
|
|
96
|
+
background-color: @borderColor;
|
|
97
|
+
}
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
|
-
}
|
|
100
100
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
101
|
+
&.ivu-select-disabled {
|
|
102
|
+
.ivu-select-selection {
|
|
103
|
+
& > div {
|
|
104
|
+
.ivu-tag {
|
|
105
|
+
background-color: @border-disabled;
|
|
106
|
+
}
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
109
|
}
|
|
109
|
-
}
|
|
110
110
|
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
.ivu-select-item-selected:after {
|
|
112
|
+
content: none;
|
|
113
|
+
}
|
|
113
114
|
}
|
|
114
|
-
}
|
|
115
115
|
}
|
|
@@ -147,44 +147,44 @@
|
|
|
147
147
|
.ivu-select-selection {
|
|
148
148
|
// .bri-control-edit();
|
|
149
149
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
.ivu-select-disabled {
|
|
153
|
-
.ivu-select-selection {
|
|
154
|
-
.bri-control-disabled();
|
|
155
|
-
|
|
156
|
-
&:hover {
|
|
157
|
-
border-color: @border-disabled;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.ivu-select-input[disabled] {
|
|
162
|
-
color: @textColor;
|
|
163
|
-
-webkit-text-fill-color: @textColor;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.ivu-select-item {
|
|
168
|
-
margin: 4px 8px;
|
|
169
|
-
border-radius: @borderRadius;
|
|
170
|
-
|
|
171
|
-
&:hover {
|
|
172
|
-
background: @bgColor;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
&-selected {
|
|
176
|
-
background-color: @theme-focus;
|
|
177
|
-
color: @themeColor;
|
|
178
|
-
}
|
|
179
|
-
|
|
150
|
+
|
|
180
151
|
&-disabled {
|
|
181
152
|
.ivu-select-selection {
|
|
182
153
|
.bri-control-disabled();
|
|
154
|
+
|
|
155
|
+
&:hover {
|
|
156
|
+
border-color: @border-disabled;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ivu-select-input[disabled] {
|
|
161
|
+
color: @textColor;
|
|
162
|
+
-webkit-text-fill-color: @placeholder-disabled-color;
|
|
183
163
|
}
|
|
184
164
|
}
|
|
185
|
-
|
|
186
|
-
&-
|
|
187
|
-
|
|
188
|
-
-
|
|
165
|
+
|
|
166
|
+
&-item {
|
|
167
|
+
margin: 4px 8px;
|
|
168
|
+
border-radius: @borderRadius;
|
|
169
|
+
|
|
170
|
+
&:hover {
|
|
171
|
+
background: @bgColor;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&-selected {
|
|
175
|
+
background-color: @theme-focus;
|
|
176
|
+
color: @themeColor;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&-disabled {
|
|
180
|
+
.ivu-select-selection {
|
|
181
|
+
.bri-control-disabled();
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&-input[disabled] {
|
|
186
|
+
color: @textColor-disabled;
|
|
187
|
+
-webkit-text-fill-color: @textColor-disabled;
|
|
188
|
+
}
|
|
189
189
|
}
|
|
190
|
-
}
|
|
190
|
+
}
|
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
@import "./list/DshBox/DshPanel.less";
|
|
7
7
|
@import "./list/DshBox/DshSingleData.less";
|
|
8
8
|
@import "./list/DshBox/DshList.less";
|
|
9
|
+
@import "./list/BriTable.less";
|
|
10
|
+
@import "./list/DshPage.less";
|
|
11
|
+
|
|
12
|
+
@import "./list/BriFlatTable.less"; // 不能注释flatTable在用
|
|
13
|
+
@import "./list/DshCascaderTable.less"; // 不能注释cascaderTable在用
|
|
9
14
|
@import "./list/BriCard.less";
|
|
10
|
-
@import "./list/BriFlatTable.less";
|
|
11
|
-
@import "./list/BriTable.less";
|
|
12
15
|
@import "./list/BriTree.less";
|
|
13
16
|
@import "./list/BriTreeItem.less";
|
|
14
|
-
@import "./list/DshCascaderTable.less";
|
|
15
|
-
@import "./list/DshPage.less";
|
|
16
17
|
|
|
17
18
|
// form
|
|
18
19
|
@import "./form/DshForm.less";
|
|
@@ -51,25 +52,21 @@
|
|
|
51
52
|
@import "./controls/special/DshUndeveloped.less";
|
|
52
53
|
|
|
53
54
|
// other
|
|
54
|
-
@import "./other/BriCode.less";
|
|
55
|
-
@import "./other/BriCollapseTree.less";
|
|
56
|
-
@import "./other/BriGantt.less";
|
|
57
|
-
@import "./other/BriIframe.less";
|
|
58
55
|
@import "./other/BriLoading.less";
|
|
59
56
|
@import "./other/DshAvatar.less";
|
|
60
|
-
@import "./other/DshBtnModal.less";
|
|
61
57
|
@import "./other/DshColorPanel.less";
|
|
62
|
-
|
|
63
|
-
@import "./other/DshMenu.less";
|
|
58
|
+
|
|
64
59
|
@import "./other/DshMenuNav.less";
|
|
60
|
+
@import "./other/BriCode.less";
|
|
61
|
+
@import "./other/BriCollapseTree.less";
|
|
62
|
+
@import "./other/BriGantt.less";
|
|
63
|
+
@import "./other/BriIframe.less";
|
|
65
64
|
|
|
66
65
|
// small
|
|
67
66
|
@import "./small/BriButton.less";
|
|
68
67
|
@import "./small/BriDrawer.less";
|
|
69
68
|
@import "./small/BriTooltip.less";
|
|
70
69
|
@import "./small/DshButtons.less";
|
|
71
|
-
@import "./small/DshCrumbs.less";
|
|
72
|
-
@import "./small/DshCrumbItem.less";
|
|
73
70
|
@import "./small/DshDropdown.less";
|
|
74
71
|
@import "./small/DshIcons.less";
|
|
75
72
|
@import "./small/DshModal.less";
|
|
@@ -77,3 +74,5 @@
|
|
|
77
74
|
@import "./small/DshTabs.less";
|
|
78
75
|
@import "./small/DshTags.less";
|
|
79
76
|
@import "./small/DshTitle.less";
|
|
77
|
+
|
|
78
|
+
@import "./small/DshBtnModal.less";
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
&-ellipsis {
|
|
52
52
|
max-width: calc(100% - 20px);
|
|
53
|
-
}
|
|
53
|
+
}
|
|
54
54
|
|
|
55
55
|
td {
|
|
56
56
|
white-space: normal !important;
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
&-th {
|
|
60
60
|
border-bottom: none !important;
|
|
61
61
|
}
|
|
62
|
+
|
|
62
63
|
&-td {
|
|
63
64
|
position: relative;
|
|
64
65
|
}
|
|
@@ -92,7 +93,7 @@
|
|
|
92
93
|
|
|
93
94
|
// 排序
|
|
94
95
|
.ve-table-sort {
|
|
95
|
-
position: absolute!important;
|
|
96
|
+
position: absolute !important;
|
|
96
97
|
top: 7px;
|
|
97
98
|
right: 20px;
|
|
98
99
|
|
|
@@ -119,6 +120,11 @@
|
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
.ve-dropdown-popper {
|
|
123
|
+
.ve-dropdown-items-warpper {
|
|
124
|
+
max-width: 200px;
|
|
125
|
+
min-width: 100px;
|
|
126
|
+
}
|
|
127
|
+
|
|
122
128
|
.ve-dropdown-dd .ve-dropdown-items {
|
|
123
129
|
border-radius: @borderRadius;
|
|
124
130
|
border: none;
|
|
@@ -128,7 +134,7 @@
|
|
|
128
134
|
// 重置
|
|
129
135
|
.ve-dropdown-operation .ve-dropdown-operation-item:first-of-type {
|
|
130
136
|
background-color: @borderColor;
|
|
131
|
-
color: @textColor
|
|
137
|
+
color: @textColor !important;
|
|
132
138
|
margin-right: 8px;
|
|
133
139
|
}
|
|
134
140
|
|
|
@@ -137,7 +143,7 @@
|
|
|
137
143
|
width: 40px;
|
|
138
144
|
height: 24px;
|
|
139
145
|
opacity: 1;
|
|
140
|
-
color: @white
|
|
146
|
+
color: @white !important;
|
|
141
147
|
font-weight: 500;
|
|
142
148
|
font-family: "PingFang SC";
|
|
143
149
|
text-align: center;
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
.DshTable {
|
|
2
|
-
width: 100%;
|
|
2
|
+
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
|
+
|
|
5
|
+
.table-operation {
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
}
|
|
9
|
+
|
|
4
10
|
.table-operation-btn {
|
|
5
11
|
margin-left: 16px;
|
|
6
12
|
padding: 0px;
|
|
13
|
+
|
|
7
14
|
&:first-of-type {
|
|
8
15
|
margin: 0px;
|
|
9
16
|
}
|
|
10
17
|
}
|
|
18
|
+
|
|
11
19
|
.DshButtons-dropdown-more {
|
|
12
20
|
padding: 0px;
|
|
13
21
|
margin-left: 16px;
|