bri-components 1.1.3 → 1.1.4
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/7.bri-components.min.js +1 -1
- package/lib/bri-components.min.js +6 -6
- package/lib/styles/bri-components.css +1 -1
- package/package.json +1 -1
- package/src/abolish/DshCascaders.less +11 -0
- package/src/{components/controls/base/DshCascaderMultiple.vue → abolish/DshCascaders.vue} +4 -23
- package/src/{components/list → abolish}/DshFlatTable.vue +1 -1
- package/src/abolish/DshTexts.less +13 -0
- package/src/{components/controls/base/textMultiple/DshTextMultiple.vue → abolish/DshTexts.vue} +4 -20
- package/src/components/controls/base/{textMultiple/MultipleInput.vue → BriInputs.vue} +13 -12
- package/src/components/controls/base/{ZUpload/YUploadImage.vue → BriUpload/BriUploadImage.vue} +56 -15
- package/src/components/controls/base/{ZUpload → BriUpload}/index.vue +11 -12
- package/src/components/controls/base/{ZUpload → BriUpload}/uploadMixin.js +2 -2
- package/src/components/controls/base/{DshCascader.vue → DshCascader/DshCascader.vue} +20 -16
- package/src/components/controls/base/DshCheckbox.vue +1 -1
- package/src/components/controls/base/DshCoordinates.vue +117 -109
- package/src/components/controls/base/DshEditor.vue +1 -1
- package/src/components/controls/base/DshInput.vue +9 -4
- package/src/components/controls/base/DshNumber/DshNumber.vue +2 -0
- package/src/components/controls/base/DshSelect.vue +1 -1
- package/src/components/controls/controlMap.js +6 -7
- package/src/components/controls/controlMixin.js +6 -5
- package/src/components/list/DshBox/DshBox.vue +7 -24
- package/src/components/list/DshBox/DshCard.vue +13 -72
- package/src/components/list/DshBox/DshList.vue +8 -136
- package/src/components/list/DshBox/DshPanel.vue +0 -110
- package/src/components/list/DshBox/DshTable.vue +1 -4
- package/src/components/list/ZTree.vue +0 -58
- package/src/components/other/ZIframe.vue +5 -0
- package/src/components/small/DshControlDefine.vue +5 -1
- package/src/components/small/DshPage.vue +1 -0
- package/src/index.js +11 -23
- package/src/styles/common/control.less +16 -17
- package/src/styles/components/controls/{MultipleInput.less → BriInputs.less} +1 -1
- package/src/styles/components/controls/{ZUpload.less → BriUpload.less} +4 -4
- package/src/styles/components/controls/DshCoordinates.less +53 -43
- package/src/styles/components/controls/DshNumber.less +18 -0
- package/src/styles/components/index.less +22 -16
- package/src/styles/components/list/DshBox/DshBox.less +20 -0
- package/src/styles/components/list/DshBox/DshCard.less +59 -0
- package/src/styles/components/list/DshBox/DshList.less +142 -0
- package/src/styles/components/list/DshBox/DshPanel.less +107 -0
- package/src/styles/components/list/DshBox/DshTable.less +4 -0
- package/src/styles/components/list/ZTree.less +52 -0
- package/src/styles/components/small/DshModal.less +1 -1
- package/src/styles/variables.less +1 -0
- package/src/utils/table.js +3 -2
- package/src/components/controls/base/YSerialNumber.vue +0 -43
- package/src/components/list/easyTable/index.js +0 -23
- package/src/components/list/easyTable/src/directives/clickoutside.js +0 -32
- package/src/components/list/easyTable/src/mixins/layerAdjustment.js +0 -62
- package/src/components/list/easyTable/src/settings/settings.js +0 -11
- package/src/components/list/easyTable/src/utils/deepClone.js +0 -256
- package/src/components/list/easyTable/src/utils/dom.js +0 -41
- package/src/components/list/easyTable/src/utils/utils.js +0 -190
- package/src/components/list/easyTable/v-checkbox/index.js +0 -7
- package/src/components/list/easyTable/v-checkbox/src/checkbox.vue +0 -127
- package/src/components/list/easyTable/v-checkbox-group/index.js +0 -7
- package/src/components/list/easyTable/v-checkbox-group/src/checkbox-group.vue +0 -68
- package/src/components/list/easyTable/v-dropdown/index.js +0 -7
- package/src/components/list/easyTable/v-dropdown/src/dropdown.vue +0 -337
- package/src/components/list/easyTable/v-table/index.js +0 -7
- package/src/components/list/easyTable/v-table/src/body-cell-merge-mixin.js +0 -141
- package/src/components/list/easyTable/v-table/src/cell-edit-mixin.js +0 -102
- package/src/components/list/easyTable/v-table/src/checkbox-selection-mixin.js +0 -189
- package/src/components/list/easyTable/v-table/src/classes-mixin.js +0 -56
- package/src/components/list/easyTable/v-table/src/drag-width-mixin.js +0 -202
- package/src/components/list/easyTable/v-table/src/export-csv.js +0 -74
- package/src/components/list/easyTable/v-table/src/frozen-columns-mixin.js +0 -134
- package/src/components/list/easyTable/v-table/src/loading.vue +0 -49
- package/src/components/list/easyTable/v-table/src/scroll-bar-control-mixin.js +0 -21
- package/src/components/list/easyTable/v-table/src/scroll-control-mixin.js +0 -92
- package/src/components/list/easyTable/v-table/src/sort-control-mixin.js +0 -108
- package/src/components/list/easyTable/v-table/src/table-empty-mixin.js +0 -73
- package/src/components/list/easyTable/v-table/src/table-empty.vue +0 -66
- package/src/components/list/easyTable/v-table/src/table-filters-mixin.js +0 -126
- package/src/components/list/easyTable/v-table/src/table-footer-mixin.js +0 -122
- package/src/components/list/easyTable/v-table/src/table-resize-mixin.js +0 -279
- package/src/components/list/easyTable/v-table/src/table-row-mouse-events-mixin.js +0 -123
- package/src/components/list/easyTable/v-table/src/table.vue +0 -1565
- package/src/components/list/easyTable/v-table/src/title-cell-merge-mixin.js +0 -115
- package/src/components/list/evTable/EvTable.vue +0 -321
- package/src/components/list/evTable/EvTableMixin.js +0 -26
- package/src/styles/components/list/evTable.less +0 -79
- package/src/styles/components/list/evtable/animation.less +0 -141
- package/src/styles/components/list/evtable/font/fontello.eot +0 -0
- package/src/styles/components/list/evtable/font/fontello.svg +0 -32
- package/src/styles/components/list/evtable/font/fontello.ttf +0 -0
- package/src/styles/components/list/evtable/font/fontello.woff +0 -0
- package/src/styles/components/list/evtable/font/fontello.woff2 +0 -0
- package/src/styles/components/list/evtable/fontello.less +0 -68
- package/src/styles/components/list/evtable/index.less +0 -5
- package/src/styles/components/list/evtable/v-checkbox.less +0 -167
- package/src/styles/components/list/evtable/v-dropdown.less +0 -235
- package/src/styles/components/list/evtable/v-table.less +0 -334
- package/src/styles/components/list/ivu_reset.less +0 -49
- /package/src/{styles/components/list → abolish}/DshFlatTable.less +0 -0
- /package/src/components/{pages/Error → Error}/Error403.vue +0 -0
- /package/src/components/{pages/Error → Error}/Error404.vue +0 -0
- /package/src/components/{pages/Error → Error}/Error500.vue +0 -0
- /package/src/components/{pages/Error → Error}/error.less +0 -0
- /package/src/components/{pages/Error → Error}/errorBack.vue +0 -0
- /package/src/components/controls/base/{ZUpload → BriUpload}/upload-list.vue +0 -0
- /package/src/components/controls/base/{ZUpload → BriUpload}/upload-listItem.vue +0 -0
- /package/src/components/{other → controls/base/DshCascader}/InfoCascader.vue +0 -0
- /package/src/styles/components/{other → controls}/InfoCascader.less +0 -0
- /package/src/styles/components/list/{DshCrossTable.less → DshBox/DshCrossTable.less} +0 -0
- /package/src/styles/components/list/{DshSingleData.less → DshBox/DshSingleData.less} +0 -0
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
|
|
3
|
-
computed: {
|
|
4
|
-
|
|
5
|
-
// 获取表头行合并的数量
|
|
6
|
-
getTitleRowspanTotalCount () {
|
|
7
|
-
|
|
8
|
-
let titleRowspanTotalCount1 = 0;
|
|
9
|
-
let titleRowspanTotalCount2 = 0;
|
|
10
|
-
let rowspanCountArr;
|
|
11
|
-
let minVal;
|
|
12
|
-
|
|
13
|
-
// 不能用noFrozenTitleCols 要用原始数据处理
|
|
14
|
-
this.noFrozenTitleCols.forEach(row => {
|
|
15
|
-
|
|
16
|
-
rowspanCountArr = this.getTitleRowspanCountArr(row);
|
|
17
|
-
|
|
18
|
-
// 如果每一项的rowspan值都大于1则继续处理
|
|
19
|
-
if (Array.isArray(rowspanCountArr) && rowspanCountArr.length > 0) {
|
|
20
|
-
|
|
21
|
-
minVal = Math.min.apply(null, rowspanCountArr);
|
|
22
|
-
|
|
23
|
-
titleRowspanTotalCount1 += minVal - 1;
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
this.frozenTitleCols.forEach(row => {
|
|
28
|
-
|
|
29
|
-
rowspanCountArr = this.getTitleRowspanCountArr(row);
|
|
30
|
-
|
|
31
|
-
// 如果每一项的rowspan值都大于1则继续处理
|
|
32
|
-
if (Array.isArray(rowspanCountArr) && rowspanCountArr.length > 0) {
|
|
33
|
-
|
|
34
|
-
minVal = Math.min.apply(null, rowspanCountArr);
|
|
35
|
-
|
|
36
|
-
titleRowspanTotalCount2 += minVal - 1;
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
return titleRowspanTotalCount1 < titleRowspanTotalCount2 ? titleRowspanTotalCount1 : titleRowspanTotalCount2;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
},
|
|
44
|
-
methods: {
|
|
45
|
-
|
|
46
|
-
// return array
|
|
47
|
-
getTitleRowspanCountArr (row) {
|
|
48
|
-
|
|
49
|
-
let rowspanCountArr = [];
|
|
50
|
-
|
|
51
|
-
let shouldDeal = row.every(col => {
|
|
52
|
-
|
|
53
|
-
if (col.rowspan && parseInt(col.rowspan) > 1) {
|
|
54
|
-
|
|
55
|
-
rowspanCountArr.push(parseInt(col.rowspan));
|
|
56
|
-
return true;
|
|
57
|
-
} else {
|
|
58
|
-
return false;
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
if (shouldDeal) {
|
|
63
|
-
return rowspanCountArr;
|
|
64
|
-
} else {
|
|
65
|
-
return [];
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
/*
|
|
70
|
-
* row :行信息
|
|
71
|
-
* rowspan:当前列的rowspan值
|
|
72
|
-
* */
|
|
73
|
-
/* dealTitleRowspan(row, rowspan){
|
|
74
|
-
|
|
75
|
-
let result = rowspan,
|
|
76
|
-
rowspanCountArr,
|
|
77
|
-
minVal;
|
|
78
|
-
|
|
79
|
-
rowspanCountArr = this.getTitleRowspanCountArr(row);
|
|
80
|
-
|
|
81
|
-
// 如果每一项的rowspan值都大于1则继续处理
|
|
82
|
-
if (Array.isArray(rowspanCountArr) && rowspanCountArr.length > 0) {
|
|
83
|
-
|
|
84
|
-
rowspan = parseInt(rowspan);
|
|
85
|
-
|
|
86
|
-
minVal = Math.min.apply(null, rowspanCountArr);
|
|
87
|
-
|
|
88
|
-
if (rowspan === minVal) {
|
|
89
|
-
|
|
90
|
-
result = 1;
|
|
91
|
-
} else {
|
|
92
|
-
|
|
93
|
-
result = rowspan - minVal + 1;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
return result;
|
|
97
|
-
}, */
|
|
98
|
-
|
|
99
|
-
// 获取最小的 rowspan
|
|
100
|
-
getMinRowspan (row) {
|
|
101
|
-
|
|
102
|
-
let result;
|
|
103
|
-
|
|
104
|
-
let rowspanCountArr = this.getTitleRowspanCountArr(row);
|
|
105
|
-
|
|
106
|
-
// 如果每一项的rowspan值都大于1则继续处理
|
|
107
|
-
if (Array.isArray(rowspanCountArr) && rowspanCountArr.length > 0) {
|
|
108
|
-
|
|
109
|
-
result = Math.min.apply(null, rowspanCountArr);
|
|
110
|
-
}
|
|
111
|
-
return result - 1;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
};
|
|
@@ -1,321 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div
|
|
3
|
-
class="EvTable"
|
|
4
|
-
ref="EvTable"
|
|
5
|
-
>
|
|
6
|
-
<v-table
|
|
7
|
-
:className="className"
|
|
8
|
-
:height="height"
|
|
9
|
-
:table-data="data"
|
|
10
|
-
:columns="temporaryColumns"
|
|
11
|
-
:fixTitle="fixTitle"
|
|
12
|
-
:is-horizontal-resize="true"
|
|
13
|
-
:column-width-drag="true"
|
|
14
|
-
:column-width-drag-resize="columnWidthDragResize"
|
|
15
|
-
:show-sort="showSort"
|
|
16
|
-
:multiple-sort="multipleSort"
|
|
17
|
-
:sort-always="sortAlways"
|
|
18
|
-
style="width:100%"
|
|
19
|
-
:tableBgColor="tableBgColor"
|
|
20
|
-
:title-bg-color="titleBgColor"
|
|
21
|
-
:title-font-color="titleFontColor"
|
|
22
|
-
:odd-bg-color="oddBgColor"
|
|
23
|
-
:even-bg-color="evenBgColor"
|
|
24
|
-
:row-hover-color="rowHoverColor"
|
|
25
|
-
:row-click-color="rowClickColor"
|
|
26
|
-
:row-click="rowClick"
|
|
27
|
-
:row-dblclick="rowDblclick"
|
|
28
|
-
:column-cell-class-name="columnCellClassName"
|
|
29
|
-
:show-vertical-border="showVerticalBorder"
|
|
30
|
-
:show-horizontal-border="showHorizontalBorder"
|
|
31
|
-
:title-row-height="titleRowHeight"
|
|
32
|
-
:row-height="rowHeight"
|
|
33
|
-
:footer-row-height="footerRowHeight"
|
|
34
|
-
:cell-edit-done="cellEditDone"
|
|
35
|
-
:select-change="selectChange"
|
|
36
|
-
:select-all="selectAll"
|
|
37
|
-
:is-loading="isLoading"
|
|
38
|
-
:errorContent="noDataText"
|
|
39
|
-
@click-row="clickRow"
|
|
40
|
-
@sort-change="sortChange"
|
|
41
|
-
></v-table>
|
|
42
|
-
</div>
|
|
43
|
-
</template>
|
|
44
|
-
<script>
|
|
45
|
-
// import boxMixin from "../boxMixin.js";
|
|
46
|
-
import EvTableMixin from "./EvTableMixin.js";
|
|
47
|
-
|
|
48
|
-
export default {
|
|
49
|
-
name: "EvTable",
|
|
50
|
-
mixins: [
|
|
51
|
-
// boxMixin,
|
|
52
|
-
EvTableMixin
|
|
53
|
-
],
|
|
54
|
-
props: {
|
|
55
|
-
data: Array,
|
|
56
|
-
columnsList: {
|
|
57
|
-
type: Array,
|
|
58
|
-
default () {
|
|
59
|
-
return [];
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
columnWidthDragResize: Function,
|
|
63
|
-
tableBgColor: {
|
|
64
|
-
type: String,
|
|
65
|
-
default: () => {
|
|
66
|
-
return "#fff";
|
|
67
|
-
// return tableStyle.tableBgColor || "#fff";
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
titleBgColor: {
|
|
71
|
-
type: String,
|
|
72
|
-
default: "#F0F0F0"
|
|
73
|
-
},
|
|
74
|
-
// 表格首行字体颜色
|
|
75
|
-
titleFontColor: {
|
|
76
|
-
type: String,
|
|
77
|
-
default: () => {
|
|
78
|
-
return "#5d5d5d";
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
fixTitle: {
|
|
82
|
-
type: Boolean,
|
|
83
|
-
default: true
|
|
84
|
-
},
|
|
85
|
-
// 表格自定义class
|
|
86
|
-
className: {
|
|
87
|
-
type: String,
|
|
88
|
-
default: () => {
|
|
89
|
-
return "";
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
oddBgColor: {
|
|
93
|
-
type: String,
|
|
94
|
-
default: () => {
|
|
95
|
-
return "";
|
|
96
|
-
// return tableStyle.oddBgColor || "#fff";
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
evenBgColor: {
|
|
100
|
-
type: String,
|
|
101
|
-
default: () => {
|
|
102
|
-
return "";
|
|
103
|
-
// return tableStyle.evenBgColor || "#F7F9FC";
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
rowHoverColor: {
|
|
107
|
-
type: String,
|
|
108
|
-
default: () => {
|
|
109
|
-
return "";
|
|
110
|
-
// return "#F1F4FA";
|
|
111
|
-
// return tableStyle.rowHoverColor || "#F1F4FA";
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
rowClickColor: {
|
|
115
|
-
type: String,
|
|
116
|
-
default: () => {
|
|
117
|
-
return "";
|
|
118
|
-
// return "#F1F4FA";
|
|
119
|
-
// return tableStyle.rowClickColor || "#F1F4FA";
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
// 表体单元格设置className
|
|
123
|
-
columnCellClassName: {
|
|
124
|
-
type: Function,
|
|
125
|
-
default: () => {
|
|
126
|
-
return () => {
|
|
127
|
-
return "column-cell-class-name";
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
// 是否显示垂直border,false 时列拖动失效
|
|
132
|
-
showVerticalBorder: {
|
|
133
|
-
type: Boolean,
|
|
134
|
-
default: () => {
|
|
135
|
-
return true;
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
showHorizontalBorder: {
|
|
139
|
-
type: Boolean,
|
|
140
|
-
default: () => {
|
|
141
|
-
return false;
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
titleRowHeight: {
|
|
145
|
-
type: Number,
|
|
146
|
-
default: 52
|
|
147
|
-
},
|
|
148
|
-
// 内容行高
|
|
149
|
-
rowHeight: {
|
|
150
|
-
type: Number,
|
|
151
|
-
default: 52
|
|
152
|
-
},
|
|
153
|
-
footerRowHeight: {
|
|
154
|
-
type: Number,
|
|
155
|
-
default: 52
|
|
156
|
-
},
|
|
157
|
-
showSort: {
|
|
158
|
-
type: Boolean,
|
|
159
|
-
default: false
|
|
160
|
-
},
|
|
161
|
-
multipleSort: {
|
|
162
|
-
type: Boolean,
|
|
163
|
-
default: false
|
|
164
|
-
},
|
|
165
|
-
sortAlways: {
|
|
166
|
-
type: Boolean,
|
|
167
|
-
default: false
|
|
168
|
-
},
|
|
169
|
-
isLoading: {
|
|
170
|
-
type: Boolean,
|
|
171
|
-
default: false
|
|
172
|
-
},
|
|
173
|
-
height: Number,
|
|
174
|
-
noDataText: {
|
|
175
|
-
type: String,
|
|
176
|
-
default: "暂无内容..."
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
data () {
|
|
180
|
-
return {};
|
|
181
|
-
},
|
|
182
|
-
computed: {
|
|
183
|
-
temporaryColumns () {
|
|
184
|
-
return this.columnsList.map(colItem => {
|
|
185
|
-
return {
|
|
186
|
-
...colItem,
|
|
187
|
-
isFrozen: false,
|
|
188
|
-
isFrozenRight: false
|
|
189
|
-
};
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
},
|
|
193
|
-
created () {},
|
|
194
|
-
mounted () {},
|
|
195
|
-
methods: {
|
|
196
|
-
clickRow (row, index) {
|
|
197
|
-
this.$emit("click-row", row, index);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
};
|
|
201
|
-
</script>
|
|
202
|
-
|
|
203
|
-
<style lang="less">
|
|
204
|
-
.EvTable{
|
|
205
|
-
width: 100%;
|
|
206
|
-
height: 100%;
|
|
207
|
-
overflow: auto;
|
|
208
|
-
font-size: 14px;
|
|
209
|
-
box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.1);
|
|
210
|
-
border: 0;
|
|
211
|
-
|
|
212
|
-
table {
|
|
213
|
-
border-spacing: 0;
|
|
214
|
-
border-collapse: collapse;
|
|
215
|
-
|
|
216
|
-
tbody {
|
|
217
|
-
td {
|
|
218
|
-
.vertical-border {
|
|
219
|
-
border-right-width: 0px !important;
|
|
220
|
-
}
|
|
221
|
-
.v-table-body-cell {
|
|
222
|
-
white-space: normal;
|
|
223
|
-
overflow: visible; // 有无都可
|
|
224
|
-
text-overflow: auto; // 有无都可
|
|
225
|
-
word-wrap: break-word;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.v-table{
|
|
232
|
-
&-views {
|
|
233
|
-
box-shadow:0px 4px 20px 0px rgba(0,0,0,0.1);
|
|
234
|
-
}
|
|
235
|
-
.v-table-rightview .vertical-border {
|
|
236
|
-
border-right-width: 0px !important;
|
|
237
|
-
}
|
|
238
|
-
.v-table-leftview .vertical-border{
|
|
239
|
-
border-right-width: 0px !important;
|
|
240
|
-
}
|
|
241
|
-
&-title-cell{
|
|
242
|
-
padding: 0 15px;
|
|
243
|
-
border-color: #F1F4FA;
|
|
244
|
-
.table-title{
|
|
245
|
-
padding: 0;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
&-header{
|
|
249
|
-
font-weight: 700;
|
|
250
|
-
color: rgba(93,93,93,1);
|
|
251
|
-
letter-spacing: 2px;
|
|
252
|
-
font-size: 14px;
|
|
253
|
-
}
|
|
254
|
-
&-body{
|
|
255
|
-
font-weight:400;
|
|
256
|
-
color:rgba(135,135,135,1);
|
|
257
|
-
}
|
|
258
|
-
&-body-cell{
|
|
259
|
-
padding: 0 15px;
|
|
260
|
-
color: #666666;
|
|
261
|
-
border-color: #F1F4FA;
|
|
262
|
-
}
|
|
263
|
-
&-empty-inner{
|
|
264
|
-
border-top: 1px solid rgba(221, 221, 221, 1);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
.v-scrollbar-wrap{
|
|
268
|
-
&::-webkit-scrollbar{
|
|
269
|
-
width: 12px;
|
|
270
|
-
height: 12px;
|
|
271
|
-
}
|
|
272
|
-
&::-webkit-scrollbar-thumb{
|
|
273
|
-
background: #E1E8ED;
|
|
274
|
-
border-radius: 3px;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
.v-table-empty-scroll{
|
|
278
|
-
&::-webkit-scrollbar{
|
|
279
|
-
width: 12px;
|
|
280
|
-
height: 12px;
|
|
281
|
-
}
|
|
282
|
-
&::-webkit-scrollbar-thumb{
|
|
283
|
-
background: #E1E8ED;
|
|
284
|
-
border-radius: 3px;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
&::-webkit-scrollbar{
|
|
289
|
-
width: 12px;
|
|
290
|
-
height: 12px;
|
|
291
|
-
}
|
|
292
|
-
&::-webkit-scrollbar-thumb{
|
|
293
|
-
background: #E1E8ED;
|
|
294
|
-
border-radius: 3px;
|
|
295
|
-
}
|
|
296
|
-
// etable 多条关联等带框的样式
|
|
297
|
-
.EvTable-box {
|
|
298
|
-
width: auto;
|
|
299
|
-
height: 24px;
|
|
300
|
-
margin-top: 7px;
|
|
301
|
-
padding: 5px;
|
|
302
|
-
line-height: 12px;
|
|
303
|
-
display: inline-block;
|
|
304
|
-
background: #f2f8ff;
|
|
305
|
-
border-radius: 2px;
|
|
306
|
-
border: 1px solid #6daef2;
|
|
307
|
-
font-size: 12px!important;
|
|
308
|
-
color: #6DAEF2;
|
|
309
|
-
cursor: pointer;
|
|
310
|
-
|
|
311
|
-
overflow: hidden;
|
|
312
|
-
word-break: keep-all;
|
|
313
|
-
white-space: nowrap;
|
|
314
|
-
text-overflow: ellipsis;
|
|
315
|
-
i {
|
|
316
|
-
margin-right: 5px;
|
|
317
|
-
font-size: 12px!important;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
</style>
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
data () {
|
|
3
|
-
return {};
|
|
4
|
-
},
|
|
5
|
-
props: {
|
|
6
|
-
rowClick: Function,
|
|
7
|
-
// 行双击回调
|
|
8
|
-
rowDblclick: Function,
|
|
9
|
-
// 表头单元格单击回调
|
|
10
|
-
titleClick: Function,
|
|
11
|
-
// 表头单元格双击回调
|
|
12
|
-
titleDblclick: Function,
|
|
13
|
-
// 单元格编辑完成回调
|
|
14
|
-
cellEditDone: Function,
|
|
15
|
-
// 某一项 checkbox 触发
|
|
16
|
-
selectChange: Function,
|
|
17
|
-
// 全选时触发
|
|
18
|
-
selectAll: Function
|
|
19
|
-
|
|
20
|
-
},
|
|
21
|
-
methods: {
|
|
22
|
-
sortChange (params) {
|
|
23
|
-
this.$emit("sort-change", params);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
@import "./evtable/index.less";
|
|
2
|
-
|
|
3
|
-
.v-page-pager{
|
|
4
|
-
@import "./ivu_reset.less";
|
|
5
|
-
.v-page-center{
|
|
6
|
-
// position: relative;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
}
|
|
9
|
-
.v-page-goto-click{
|
|
10
|
-
display: inline-block;
|
|
11
|
-
background: #3DB8C5;
|
|
12
|
-
width: 20px;
|
|
13
|
-
height: 24px;
|
|
14
|
-
i{
|
|
15
|
-
color: @white;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
.v-page-goto-input {
|
|
19
|
-
background: @white;
|
|
20
|
-
}
|
|
21
|
-
.v-page-li {
|
|
22
|
-
background: @white;
|
|
23
|
-
}
|
|
24
|
-
// 5 * 32 + 10 10是padding-top和padding-bottom, 下边同理
|
|
25
|
-
.select-5{
|
|
26
|
-
max-height: 170px
|
|
27
|
-
}
|
|
28
|
-
.select-10{
|
|
29
|
-
max-height: 330px
|
|
30
|
-
}
|
|
31
|
-
.select-15{
|
|
32
|
-
max-height: 490px
|
|
33
|
-
}
|
|
34
|
-
.select-20{
|
|
35
|
-
max-height: 650px
|
|
36
|
-
}
|
|
37
|
-
.select-30{
|
|
38
|
-
max-height: 970px
|
|
39
|
-
}
|
|
40
|
-
.ivu-select{
|
|
41
|
-
// position: relative;
|
|
42
|
-
border-radius:0 2px 2px 0;
|
|
43
|
-
.ivu-select-selection{
|
|
44
|
-
.ivu-select-selected-value{
|
|
45
|
-
display: none;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
.ivu-select-dropdown{
|
|
49
|
-
min-width: 80px!important;
|
|
50
|
-
margin-left: -52px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.v-page-sizer{
|
|
57
|
-
@import "./ivu_reset.less";
|
|
58
|
-
color: #878787;
|
|
59
|
-
position: relative;
|
|
60
|
-
.ivu-select{
|
|
61
|
-
width: 80px;
|
|
62
|
-
border-radius:2px;
|
|
63
|
-
.ivu-select-selection{
|
|
64
|
-
.ivu-select-selected-value{
|
|
65
|
-
height: 22px;
|
|
66
|
-
line-height: 22px;
|
|
67
|
-
font-size: @smallSize;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
.line{
|
|
72
|
-
width: 1px;
|
|
73
|
-
height: 22px;
|
|
74
|
-
background: #6DAEF2;
|
|
75
|
-
position: absolute;
|
|
76
|
-
right: 20px;
|
|
77
|
-
top: 0px;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Animation example, for spinners
|
|
3
|
-
*/
|
|
4
|
-
.animate-loading-05 {
|
|
5
|
-
-moz-animation: spin 0.5s infinite linear;
|
|
6
|
-
-o-animation: spin 0.5s infinite linear;
|
|
7
|
-
-webkit-animation: spin 0.5s infinite linear;
|
|
8
|
-
animation: spin 0.5s infinite linear;
|
|
9
|
-
display: inline-block;
|
|
10
|
-
}
|
|
11
|
-
.animate-loading-08 {
|
|
12
|
-
-moz-animation: spin 0.8s infinite linear;
|
|
13
|
-
-o-animation: spin 0.8s infinite linear;
|
|
14
|
-
-webkit-animation: spin 0.8s infinite linear;
|
|
15
|
-
animation: spin 0.8s infinite linear;
|
|
16
|
-
display: inline-block;
|
|
17
|
-
}
|
|
18
|
-
.animate-loading-11 {
|
|
19
|
-
-moz-animation: spin 1.1s infinite linear;
|
|
20
|
-
-o-animation: spin 1.1s infinite linear;
|
|
21
|
-
-webkit-animation: spin 1.1s infinite linear;
|
|
22
|
-
animation: spin 1.1s infinite linear;
|
|
23
|
-
display: inline-block;
|
|
24
|
-
}
|
|
25
|
-
.animate-loading-14 {
|
|
26
|
-
-moz-animation: spin 1.4s infinite linear;
|
|
27
|
-
-o-animation: spin 1.4s infinite linear;
|
|
28
|
-
-webkit-animation: spin 1.4s infinite linear;
|
|
29
|
-
animation: spin 1.4s infinite linear;
|
|
30
|
-
display: inline-block;
|
|
31
|
-
}
|
|
32
|
-
.animate-loading-17 {
|
|
33
|
-
-moz-animation: spin 1.7s infinite linear;
|
|
34
|
-
-o-animation: spin 1.7s infinite linear;
|
|
35
|
-
-webkit-animation: spin 1.7s infinite linear;
|
|
36
|
-
animation: spin 1.7s infinite linear;
|
|
37
|
-
display: inline-block;
|
|
38
|
-
}
|
|
39
|
-
.animate-loading-20 {
|
|
40
|
-
-moz-animation: spin 2s infinite linear;
|
|
41
|
-
-o-animation: spin 2s infinite linear;
|
|
42
|
-
-webkit-animation: spin 2s infinite linear;
|
|
43
|
-
animation: spin 2s infinite linear;
|
|
44
|
-
display: inline-block;
|
|
45
|
-
}
|
|
46
|
-
.animate-loading-23 {
|
|
47
|
-
-moz-animation: spin 2.3s infinite linear;
|
|
48
|
-
-o-animation: spin 2.3s infinite linear;
|
|
49
|
-
-webkit-animation: spin 2.3s infinite linear;
|
|
50
|
-
animation: spin 2.3s infinite linear;
|
|
51
|
-
display: inline-block;
|
|
52
|
-
}
|
|
53
|
-
.animate-loading-26 {
|
|
54
|
-
-moz-animation: spin 2.6s infinite linear;
|
|
55
|
-
-o-animation: spin 2.6s infinite linear;
|
|
56
|
-
-webkit-animation: spin 2.6s infinite linear;
|
|
57
|
-
animation: spin 2.6s infinite linear;
|
|
58
|
-
display: inline-block;
|
|
59
|
-
}
|
|
60
|
-
.animate-loading-29 {
|
|
61
|
-
-moz-animation: spin 2.9s infinite linear;
|
|
62
|
-
-o-animation: spin 2.9s infinite linear;
|
|
63
|
-
-webkit-animation: spin 2.9s infinite linear;
|
|
64
|
-
animation: spin 2.9s infinite linear;
|
|
65
|
-
display: inline-block;
|
|
66
|
-
}
|
|
67
|
-
@-moz-keyframes spin {
|
|
68
|
-
0% {
|
|
69
|
-
-moz-transform: rotate(0deg);
|
|
70
|
-
-o-transform: rotate(0deg);
|
|
71
|
-
-webkit-transform: rotate(0deg);
|
|
72
|
-
transform: rotate(0deg);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
100% {
|
|
76
|
-
-moz-transform: rotate(359deg);
|
|
77
|
-
-o-transform: rotate(359deg);
|
|
78
|
-
-webkit-transform: rotate(359deg);
|
|
79
|
-
transform: rotate(359deg);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
@-webkit-keyframes spin {
|
|
83
|
-
0% {
|
|
84
|
-
-moz-transform: rotate(0deg);
|
|
85
|
-
-o-transform: rotate(0deg);
|
|
86
|
-
-webkit-transform: rotate(0deg);
|
|
87
|
-
transform: rotate(0deg);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
100% {
|
|
91
|
-
-moz-transform: rotate(359deg);
|
|
92
|
-
-o-transform: rotate(359deg);
|
|
93
|
-
-webkit-transform: rotate(359deg);
|
|
94
|
-
transform: rotate(359deg);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
@-o-keyframes spin {
|
|
98
|
-
0% {
|
|
99
|
-
-moz-transform: rotate(0deg);
|
|
100
|
-
-o-transform: rotate(0deg);
|
|
101
|
-
-webkit-transform: rotate(0deg);
|
|
102
|
-
transform: rotate(0deg);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
100% {
|
|
106
|
-
-moz-transform: rotate(359deg);
|
|
107
|
-
-o-transform: rotate(359deg);
|
|
108
|
-
-webkit-transform: rotate(359deg);
|
|
109
|
-
transform: rotate(359deg);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
@-ms-keyframes spin {
|
|
113
|
-
0% {
|
|
114
|
-
-moz-transform: rotate(0deg);
|
|
115
|
-
-o-transform: rotate(0deg);
|
|
116
|
-
-webkit-transform: rotate(0deg);
|
|
117
|
-
transform: rotate(0deg);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
100% {
|
|
121
|
-
-moz-transform: rotate(359deg);
|
|
122
|
-
-o-transform: rotate(359deg);
|
|
123
|
-
-webkit-transform: rotate(359deg);
|
|
124
|
-
transform: rotate(359deg);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
@keyframes spin {
|
|
128
|
-
0% {
|
|
129
|
-
-moz-transform: rotate(0deg);
|
|
130
|
-
-o-transform: rotate(0deg);
|
|
131
|
-
-webkit-transform: rotate(0deg);
|
|
132
|
-
transform: rotate(0deg);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
100% {
|
|
136
|
-
-moz-transform: rotate(359deg);
|
|
137
|
-
-o-transform: rotate(359deg);
|
|
138
|
-
-webkit-transform: rotate(359deg);
|
|
139
|
-
transform: rotate(359deg);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
Binary file
|