iov-pro-components 0.0.3
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/.eslintignore +5 -0
- package/.eslintrc.js +192 -0
- package/.gitignore +3 -0
- package/README.md +4 -0
- package/babel.config.js +5 -0
- package/docs/.vuepress/config.js +169 -0
- package/docs/.vuepress/styles/index.styl +62 -0
- package/docs/.vuepress/styles/palette.styl +20 -0
- package/docs/.vuepress/theme/enhanceApp.js +100 -0
- package/docs/.vuepress/theme/index.js +3 -0
- package/docs/README.md +13 -0
- package/docs/components/description.md +519 -0
- package/docs/components/dialog-select.md +91 -0
- package/docs/components/display.md +36 -0
- package/docs/components/enums.md +33 -0
- package/docs/components/icon.md +406 -0
- package/docs/components/link-group.md +39 -0
- package/docs/components/page-detail.md +48 -0
- package/docs/components/page-module.md +51 -0
- package/docs/components/pro-form.md +958 -0
- package/docs/components/pro-table.md +683 -0
- package/docs/components/request.md +44 -0
- package/docs/components/search-table.md +963 -0
- package/docs/components/space.md +35 -0
- package/docs/components/sub-title.md +24 -0
- package/docs/components/submit-module.md +24 -0
- package/docs/template/add.md +124 -0
- package/docs/template/confirm.md +28 -0
- package/docs/template/detail.md +240 -0
- package/docs/template/dialog.md +339 -0
- package/docs/template/list.md +464 -0
- package/docs/template/tabs-mini.md +32 -0
- package/docs/template/tabs.md +32 -0
- package/jsconfig.json +19 -0
- package/lib/iov-pro-components.css +1 -0
- package/lib/iov-pro-components.min.js +7 -0
- package/lib/postcss.config.js +8 -0
- package/package.json +75 -0
- package/patches/vue-server-renderer+2.7.16.patch +13 -0
- package/rollup.config.mjs +79 -0
- package/src/App.vue +103 -0
- package/src/main.js +33 -0
- package/src/packages/column-tooltip/index.js +7 -0
- package/src/packages/column-tooltip/src/main.vue +127 -0
- package/src/packages/description/index.js +7 -0
- package/src/packages/description/src/main.vue +375 -0
- package/src/packages/description/src/text.vue +103 -0
- package/src/packages/dialog-select/index.js +7 -0
- package/src/packages/dialog-select/src/main.vue +308 -0
- package/src/packages/display/index.js +7 -0
- package/src/packages/display/src/main.vue +44 -0
- package/src/packages/enums/index.js +7 -0
- package/src/packages/enums/src/main.vue +23 -0
- package/src/packages/export/index.js +7 -0
- package/src/packages/export/src/main.vue +316 -0
- package/src/packages/fixed-button-group/index.js +7 -0
- package/src/packages/fixed-button-group/src/main.vue +104 -0
- package/src/packages/form/index.js +7 -0
- package/src/packages/form/src/collapse.vue +149 -0
- package/src/packages/form/src/main.vue +1190 -0
- package/src/packages/form-collapse/index.js +7 -0
- package/src/packages/index.js +86 -0
- package/src/packages/link-group/index.js +7 -0
- package/src/packages/link-group/src/main.vue +52 -0
- package/src/packages/page-detail/index.js +7 -0
- package/src/packages/page-detail/src/main.vue +123 -0
- package/src/packages/page-module/index.js +7 -0
- package/src/packages/page-module/src/main.vue +56 -0
- package/src/packages/preview/index.js +7 -0
- package/src/packages/preview/src/eval-image-viewer.js +50 -0
- package/src/packages/preview/src/image-viewer.vue +366 -0
- package/src/packages/preview/src/main.vue +97 -0
- package/src/packages/request/index.js +7 -0
- package/src/packages/request/src/main.vue +125 -0
- package/src/packages/search-table/index.js +7 -0
- package/src/packages/search-table/src/inner-tabs.vue +237 -0
- package/src/packages/search-table/src/main.vue +472 -0
- package/src/packages/search-table/src/outer-tabs.vue +45 -0
- package/src/packages/search-table-inner-tabs/index.js +7 -0
- package/src/packages/search-table-outer-tabs/index.js +7 -0
- package/src/packages/space/index.js +7 -0
- package/src/packages/space/src/main.vue +74 -0
- package/src/packages/sub-title/index.js +7 -0
- package/src/packages/sub-title/src/main.vue +70 -0
- package/src/packages/submit-module/index.js +7 -0
- package/src/packages/submit-module/src/main.vue +67 -0
- package/src/packages/table/index.js +7 -0
- package/src/packages/table/src/filter.vue +89 -0
- package/src/packages/table/src/main.vue +668 -0
- package/src/packages/table/src/search.vue +90 -0
- package/src/packages/table/src/sort.vue +118 -0
- package/src/packages/theme/index.scss +15 -0
- package/src/packages/theme/src/column-tooltip.scss +23 -0
- package/src/packages/theme/src/common/color.scss +134 -0
- package/src/packages/theme/src/description.scss +56 -0
- package/src/packages/theme/src/dialog-select.scss +32 -0
- package/src/packages/theme/src/fixed-button-group.scss +25 -0
- package/src/packages/theme/src/form.scss +11 -0
- package/src/packages/theme/src/link-group.scss +43 -0
- package/src/packages/theme/src/page-detail.scss +61 -0
- package/src/packages/theme/src/page-module.scss +46 -0
- package/src/packages/theme/src/preview.scss +67 -0
- package/src/packages/theme/src/search-table.scss +185 -0
- package/src/packages/theme/src/space.scss +12 -0
- package/src/packages/theme/src/sub-title.scss +47 -0
- package/src/packages/theme/src/submit-module.scss +13 -0
- package/src/packages/theme/src/table.scss +129 -0
- package/src/packages/theme/src/toolbar.scss +109 -0
- package/src/packages/toolbar/index.js +7 -0
- package/src/packages/toolbar/src/main.vue +126 -0
- package/src/packages/toolbar/src/setting.vue +217 -0
- package/src/packages/toolbar/src/style.vue +68 -0
- package/src/packages/toolbar/src/zoom.vue +65 -0
- package/src/router.js +83 -0
- package/src/utils/config-center.js +218 -0
- package/src/utils/function-eval.js +84 -0
- package/src/utils/index.js +104 -0
- package/src/views/column-tooltip.vue +37 -0
- package/src/views/components/OtherSelect.vue +18 -0
- package/src/views/description.vue +60 -0
- package/src/views/detail.vue +146 -0
- package/src/views/directive/number.js +82 -0
- package/src/views/enums.vue +22 -0
- package/src/views/export.vue +9 -0
- package/src/views/form-collapse.vue +185 -0
- package/src/views/form.vue +402 -0
- package/src/views/link-group.vue +16 -0
- package/src/views/preview.vue +33 -0
- package/src/views/request.vue +56 -0
- package/src/views/search-table.vue +297 -0
- package/src/views/table.vue +145 -0
- package/src/views/toolbar.vue +30 -0
- package/vue.config.js +22 -0
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
---
|
|
2
|
+
pageClass: grey-background-demo-content
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## 基础使用
|
|
6
|
+
|
|
7
|
+
::: demo
|
|
8
|
+
```vue
|
|
9
|
+
<template>
|
|
10
|
+
<iov-pro-search-table
|
|
11
|
+
ref="searchTableRef"
|
|
12
|
+
title="DEMO列表"
|
|
13
|
+
:form-items="FORM_ITEMS"
|
|
14
|
+
:table-columns="TABLE_COLUMNS"
|
|
15
|
+
:config="{ form: { collapse: true, maxLine: 1, labelWidth: '100px' } }"
|
|
16
|
+
:request="{ api: apiMock }"
|
|
17
|
+
>
|
|
18
|
+
<template #action-bar="{ data }">
|
|
19
|
+
<!-- data是查询条件 -->
|
|
20
|
+
<el-button round size="small" type="primary" icon="iov-icon-plus">primary按钮</el-button>
|
|
21
|
+
<el-button round size="small">普通按钮</el-button>
|
|
22
|
+
</template>
|
|
23
|
+
<template #operation="{ row }">
|
|
24
|
+
<iov-pro-link-group max="3">
|
|
25
|
+
<el-link type="primary" @click.stop="onClickBtn(row)">按钮1</el-link>
|
|
26
|
+
<el-link type="primary">按钮2</el-link>
|
|
27
|
+
<el-link type="primary">按钮3</el-link>
|
|
28
|
+
<el-link type="primary">按钮4</el-link>
|
|
29
|
+
</iov-pro-link-group>
|
|
30
|
+
</template>
|
|
31
|
+
</iov-pro-search-table>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<script>
|
|
35
|
+
const apiMock = (params) => {
|
|
36
|
+
return new Promise((resolve, reject) => {
|
|
37
|
+
const paramKeys = Object.keys(params).filter(key => !['currPage', 'pageSize'].includes(key))
|
|
38
|
+
setTimeout(() => {
|
|
39
|
+
return resolve({
|
|
40
|
+
"currPage": 1,
|
|
41
|
+
"hasMore": false,
|
|
42
|
+
"list": [
|
|
43
|
+
{
|
|
44
|
+
"alias": "CUSC",
|
|
45
|
+
"createTime": "2022-02-08 10:01:50",
|
|
46
|
+
"creator": "",
|
|
47
|
+
"creatorFullName": "",
|
|
48
|
+
"id": 1,
|
|
49
|
+
"operator": "6515104331f64d648a5659b74f0d3a57",
|
|
50
|
+
"operatorFullName": "孙开(智网)",
|
|
51
|
+
"status": 1,
|
|
52
|
+
"statusName": "启用",
|
|
53
|
+
"tenantName": "智网",
|
|
54
|
+
"tenantNo": "1",
|
|
55
|
+
"updateTime": "2023-08-07 15:28:51",
|
|
56
|
+
"usci": ""
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"alias": "CAR-CHANNEL",
|
|
60
|
+
"createTime": "2023-07-11 12:21:38",
|
|
61
|
+
"creator": "",
|
|
62
|
+
"creatorFullName": "",
|
|
63
|
+
"id": 1,
|
|
64
|
+
"operator": "6515104331f164d648a5659b74f0d3a57",
|
|
65
|
+
"operatorFullName": "孙开(智网)",
|
|
66
|
+
"status": 1,
|
|
67
|
+
"statusName": "启用",
|
|
68
|
+
"tenantName": "汽车频道",
|
|
69
|
+
"tenantNo": "12",
|
|
70
|
+
"updateTime": "2023-08-17 13:28:51",
|
|
71
|
+
"usci": ""
|
|
72
|
+
}
|
|
73
|
+
].filter(item => paramKeys.every(key => !params[key] || item[key] === params[key])),
|
|
74
|
+
"pageSize": 10,
|
|
75
|
+
"totalCount": 1
|
|
76
|
+
})
|
|
77
|
+
}, 300)
|
|
78
|
+
})
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
const DICT = {
|
|
82
|
+
APP_STATUS: [
|
|
83
|
+
{ label: '启用', value: 1, type: 'success' },
|
|
84
|
+
{ label: '停用', value: 0, type: 'info' }
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
const FORM_ITEMS = [
|
|
89
|
+
{ type: 'input', label: '租户名称', name: 'tenantName' },
|
|
90
|
+
{ type: 'input', label: '租户代码', name: 'alias' },
|
|
91
|
+
{ type: 'input', label: '统一信用代码', name: 'usci' },
|
|
92
|
+
{ type: 'select', label: '状态', name: 'status', options: DICT.APP_STATUS }
|
|
93
|
+
]
|
|
94
|
+
|
|
95
|
+
const TABLE_COLUMNS = [
|
|
96
|
+
{ type: 'selection', width: '65px' },
|
|
97
|
+
{ label: '租户编码', prop: 'tenantNo', minWidth: '160px', searchable: true, sortable: true },
|
|
98
|
+
{ type: 'tag', label: '状态', prop: 'status', enums: DICT.APP_STATUS, filters: DICT.APP_STATUS, minWidth: '100px' },
|
|
99
|
+
{ label: '租户名称', prop: 'tenantName', minWidth: '200px', showOverflowTooltip: true },
|
|
100
|
+
{ label: '租户代码', prop: 'alias', minWidth: '300px', showOverflowTooltip: true },
|
|
101
|
+
{ label: '统一信用代码', prop: 'usci', minWidth: '300px', showOverflowTooltip: true },
|
|
102
|
+
{ label: '创建时间', prop: 'createTime', minWidth: '180px', showOverflowTooltip: true },
|
|
103
|
+
{ label: '创建人', prop: 'creatorFullName', minWidth: '200px', showOverflowTooltip: true },
|
|
104
|
+
{ label: '最近修改时间', prop: 'updateTime', minWidth: '180px', showOverflowTooltip: true },
|
|
105
|
+
{ label: '操作人', prop: 'operatorFullName', minWidth: '200px', showOverflowTooltip: true },
|
|
106
|
+
{ type: 'slot', label: '操作', slotName: 'operation', keepInPlace: true, align: 'right', width: '185px', fixed: 'right' }
|
|
107
|
+
]
|
|
108
|
+
|
|
109
|
+
export default {
|
|
110
|
+
data() {
|
|
111
|
+
return {
|
|
112
|
+
FORM_ITEMS,
|
|
113
|
+
TABLE_COLUMNS,
|
|
114
|
+
apiMock
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
methods: {
|
|
118
|
+
/**
|
|
119
|
+
* 按钮点击事件
|
|
120
|
+
* @param {Object} row 当行行数据
|
|
121
|
+
*/
|
|
122
|
+
onClickBtn(row) {
|
|
123
|
+
this.$message.info(`内容是:${JSON.stringify(row)}`)
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
</script>
|
|
128
|
+
```
|
|
129
|
+
:::
|
|
130
|
+
|
|
131
|
+
## 多TAB列表
|
|
132
|
+
|
|
133
|
+
::: demo
|
|
134
|
+
```vue
|
|
135
|
+
<template>
|
|
136
|
+
<iov-pro-search-table-outer-tabs>
|
|
137
|
+
<iov-pro-search-table
|
|
138
|
+
title="标签1"
|
|
139
|
+
:form-items="FORM_ITEMS"
|
|
140
|
+
:table-columns="TABLE_COLUMNS"
|
|
141
|
+
:config="{ form: { collapse: true, maxLine: 1, labelWidth: '100px' } }"
|
|
142
|
+
:request="{ api: apiMock }"
|
|
143
|
+
>
|
|
144
|
+
<template #action-bar="{ data }">
|
|
145
|
+
<!-- data是查询条件 -->
|
|
146
|
+
<el-button round size="small" type="primary" icon="iov-icon-plus">primary按钮</el-button>
|
|
147
|
+
<el-button round size="small">普通按钮</el-button>
|
|
148
|
+
</template>
|
|
149
|
+
<template #operation="{ row }">
|
|
150
|
+
<iov-pro-link-group max="3">
|
|
151
|
+
<el-link type="primary" @click.stop="onClickBtn(row)">按钮1</el-link>
|
|
152
|
+
<el-link type="primary">按钮2</el-link>
|
|
153
|
+
<el-link type="primary">按钮3</el-link>
|
|
154
|
+
<el-link type="primary">按钮4</el-link>
|
|
155
|
+
</iov-pro-link-group>
|
|
156
|
+
</template>
|
|
157
|
+
</iov-pro-search-table>
|
|
158
|
+
<iov-pro-search-table
|
|
159
|
+
title="标签2"
|
|
160
|
+
:form-items="FORM_ITEMS"
|
|
161
|
+
:table-columns="TABLE_COLUMNS"
|
|
162
|
+
:config="{ form: { collapse: true, maxLine: 1, labelWidth: '100px' } }"
|
|
163
|
+
:request="{ api: apiMock }"
|
|
164
|
+
>
|
|
165
|
+
<template #action-bar="{ data }">
|
|
166
|
+
<!-- data是查询条件 -->
|
|
167
|
+
<el-button round size="small" type="primary" icon="iov-icon-plus">primary按钮</el-button>
|
|
168
|
+
<el-button round size="small">普通按钮</el-button>
|
|
169
|
+
</template>
|
|
170
|
+
<template #operation="{ row }">
|
|
171
|
+
<iov-pro-link-group max="3">
|
|
172
|
+
<el-link type="primary" @click.stop="onClickBtn(row)">按钮1</el-link>
|
|
173
|
+
<el-link type="primary">按钮2</el-link>
|
|
174
|
+
<el-link type="primary">按钮3</el-link>
|
|
175
|
+
<el-link type="primary">按钮4</el-link>
|
|
176
|
+
</iov-pro-link-group>
|
|
177
|
+
</template>
|
|
178
|
+
</iov-pro-search-table>
|
|
179
|
+
</iov-pro-search-table-outer-tabs>
|
|
180
|
+
</template>
|
|
181
|
+
|
|
182
|
+
<script>
|
|
183
|
+
const apiMock = (params) => {
|
|
184
|
+
return new Promise((resolve, reject) => {
|
|
185
|
+
const paramKeys = Object.keys(params).filter(key => !['currPage', 'pageSize'].includes(key))
|
|
186
|
+
setTimeout(() => {
|
|
187
|
+
return resolve({
|
|
188
|
+
"currPage": 1,
|
|
189
|
+
"hasMore": false,
|
|
190
|
+
"list": [
|
|
191
|
+
{
|
|
192
|
+
"alias": "CUSC",
|
|
193
|
+
"createTime": "2022-02-08 10:01:50",
|
|
194
|
+
"creator": "",
|
|
195
|
+
"creatorFullName": "",
|
|
196
|
+
"id": 1,
|
|
197
|
+
"operator": "6515104331f64d648a5659b74f0d3a57",
|
|
198
|
+
"operatorFullName": "孙开(智网)",
|
|
199
|
+
"status": 1,
|
|
200
|
+
"statusName": "启用",
|
|
201
|
+
"tenantName": "智网",
|
|
202
|
+
"tenantNo": "1",
|
|
203
|
+
"updateTime": "2023-08-07 15:28:51",
|
|
204
|
+
"usci": ""
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"alias": "CAR-CHANNEL",
|
|
208
|
+
"createTime": "2023-07-11 12:21:38",
|
|
209
|
+
"creator": "",
|
|
210
|
+
"creatorFullName": "",
|
|
211
|
+
"id": 1,
|
|
212
|
+
"operator": "6515104331f164d648a5659b74f0d3a57",
|
|
213
|
+
"operatorFullName": "孙开(智网)",
|
|
214
|
+
"status": 1,
|
|
215
|
+
"statusName": "启用",
|
|
216
|
+
"tenantName": "汽车频道",
|
|
217
|
+
"tenantNo": "12",
|
|
218
|
+
"updateTime": "2023-08-17 13:28:51",
|
|
219
|
+
"usci": ""
|
|
220
|
+
}
|
|
221
|
+
].filter(item => paramKeys.every(key => !params[key] || item[key] === params[key])),
|
|
222
|
+
"pageSize": 10,
|
|
223
|
+
"totalCount": 1
|
|
224
|
+
})
|
|
225
|
+
}, 300)
|
|
226
|
+
})
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
const DICT = {
|
|
230
|
+
APP_STATUS: [
|
|
231
|
+
{ label: '启用', value: 1, type: 'success' },
|
|
232
|
+
{ label: '停用', value: 0, type: 'info' }
|
|
233
|
+
]
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
const FORM_ITEMS = [
|
|
237
|
+
{ type: 'input', label: '租户名称', name: 'tenantName' },
|
|
238
|
+
{ type: 'input', label: '租户代码', name: 'alias' },
|
|
239
|
+
{ type: 'input', label: '统一信用代码', name: 'usci' },
|
|
240
|
+
{ type: 'select', label: '状态', name: 'status', options: DICT.APP_STATUS }
|
|
241
|
+
]
|
|
242
|
+
|
|
243
|
+
const TABLE_COLUMNS = [
|
|
244
|
+
{ type: 'selection', width: '65px' },
|
|
245
|
+
{ label: '租户编码', prop: 'tenantNo', minWidth: '160px', searchable: true, sortable: true },
|
|
246
|
+
{ type: 'tag', label: '状态', prop: 'status', enums: DICT.APP_STATUS, filters: DICT.APP_STATUS, minWidth: '100px' },
|
|
247
|
+
{ label: '租户名称', prop: 'tenantName', minWidth: '200px', showOverflowTooltip: true },
|
|
248
|
+
{ label: '租户代码', prop: 'alias', minWidth: '300px', showOverflowTooltip: true },
|
|
249
|
+
{ label: '统一信用代码', prop: 'usci', minWidth: '300px', showOverflowTooltip: true },
|
|
250
|
+
{ label: '创建时间', prop: 'createTime', minWidth: '180px', showOverflowTooltip: true },
|
|
251
|
+
{ label: '创建人', prop: 'creatorFullName', minWidth: '200px', showOverflowTooltip: true },
|
|
252
|
+
{ label: '最近修改时间', prop: 'updateTime', minWidth: '180px', showOverflowTooltip: true },
|
|
253
|
+
{ label: '操作人', prop: 'operatorFullName', minWidth: '200px', showOverflowTooltip: true },
|
|
254
|
+
{ type: 'slot', label: '操作', slotName: 'operation', keepInPlace: true, align: 'right', width: '185px', fixed: 'right' }
|
|
255
|
+
]
|
|
256
|
+
|
|
257
|
+
export default {
|
|
258
|
+
data() {
|
|
259
|
+
return {
|
|
260
|
+
tabName: 'tab1',
|
|
261
|
+
FORM_ITEMS,
|
|
262
|
+
TABLE_COLUMNS,
|
|
263
|
+
apiMock
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
methods: {
|
|
267
|
+
/**
|
|
268
|
+
* 按钮点击事件
|
|
269
|
+
* @param {Object} row 当行行数据
|
|
270
|
+
*/
|
|
271
|
+
onClickBtn(row) {
|
|
272
|
+
this.$message.info(`内容是:${JSON.stringify(row)}`)
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
</script>
|
|
277
|
+
|
|
278
|
+
<style>
|
|
279
|
+
.multi-tabs .el-tabs__header {
|
|
280
|
+
background-color: #ffffff;
|
|
281
|
+
border-top-left-radius: 8px;
|
|
282
|
+
border-top-right-radius: 8px;
|
|
283
|
+
margin-bottom: 0;
|
|
284
|
+
}
|
|
285
|
+
.multi-tabs .el-tabs__header .el-tabs__nav-scroll {
|
|
286
|
+
padding: 0 16px;
|
|
287
|
+
}
|
|
288
|
+
.multi-tabs .search-table__title-main {
|
|
289
|
+
display: none;
|
|
290
|
+
}
|
|
291
|
+
.multi-tabs .search-table__module:first-child {
|
|
292
|
+
border-top-left-radius: 0;
|
|
293
|
+
border-top-right-radius: 0;
|
|
294
|
+
}
|
|
295
|
+
</style>
|
|
296
|
+
```
|
|
297
|
+
:::
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
## 单搜索多TAB列表
|
|
301
|
+
|
|
302
|
+
::: demo
|
|
303
|
+
```vue
|
|
304
|
+
<template>
|
|
305
|
+
<iov-pro-search-table-inner-tabs
|
|
306
|
+
:form-items="FORM_ITEMS"
|
|
307
|
+
:config="{ form: { collapse: true, maxLine: 1, labelWidth: '100px' } }"
|
|
308
|
+
>
|
|
309
|
+
<iov-pro-search-table
|
|
310
|
+
title="标签1"
|
|
311
|
+
:table-columns="TABLE_COLUMNS"
|
|
312
|
+
:request="{ api: apiMock }"
|
|
313
|
+
>
|
|
314
|
+
<template #action-bar="{ data }">
|
|
315
|
+
<!-- data是查询条件 -->
|
|
316
|
+
<el-button round size="small" type="primary" icon="iov-icon-plus">primary按钮</el-button>
|
|
317
|
+
<el-button round size="small">普通按钮</el-button>
|
|
318
|
+
</template>
|
|
319
|
+
<template #operation="{ row }">
|
|
320
|
+
<iov-pro-link-group max="3">
|
|
321
|
+
<el-link type="primary" @click.stop="onClickBtn(row)">按钮1</el-link>
|
|
322
|
+
<el-link type="primary">按钮2</el-link>
|
|
323
|
+
<el-link type="primary">按钮3</el-link>
|
|
324
|
+
<el-link type="primary">按钮4</el-link>
|
|
325
|
+
</iov-pro-link-group>
|
|
326
|
+
</template>
|
|
327
|
+
</iov-pro-search-table>
|
|
328
|
+
<iov-pro-search-table
|
|
329
|
+
title="标签2"
|
|
330
|
+
:table-columns="TABLE_COLUMNS"
|
|
331
|
+
:request="{ api: apiMock }"
|
|
332
|
+
>
|
|
333
|
+
<template #action-bar="{ data }">
|
|
334
|
+
<!-- data是查询条件 -->
|
|
335
|
+
<el-button round size="small">普通按钮</el-button>
|
|
336
|
+
</template>
|
|
337
|
+
<template #operation="{ row }">
|
|
338
|
+
<iov-pro-link-group max="3">
|
|
339
|
+
<el-link type="primary" @click.stop="onClickBtn(row)">按钮1</el-link>
|
|
340
|
+
<el-link type="primary">按钮2</el-link>
|
|
341
|
+
<el-link type="primary">按钮3</el-link>
|
|
342
|
+
<el-link type="primary">按钮4</el-link>
|
|
343
|
+
</iov-pro-link-group>
|
|
344
|
+
</template>
|
|
345
|
+
</iov-pro-search-table>
|
|
346
|
+
</iov-pro-search-table-inner-tabs>
|
|
347
|
+
</template>
|
|
348
|
+
|
|
349
|
+
<script>
|
|
350
|
+
const apiMock = (params) => {
|
|
351
|
+
return new Promise((resolve, reject) => {
|
|
352
|
+
const paramKeys = Object.keys(params).filter(key => !['currPage', 'pageSize'].includes(key))
|
|
353
|
+
setTimeout(() => {
|
|
354
|
+
return resolve({
|
|
355
|
+
"currPage": 1,
|
|
356
|
+
"hasMore": false,
|
|
357
|
+
"list": [
|
|
358
|
+
{
|
|
359
|
+
"alias": "CUSC",
|
|
360
|
+
"createTime": "2022-02-08 10:01:50",
|
|
361
|
+
"creator": "",
|
|
362
|
+
"creatorFullName": "",
|
|
363
|
+
"id": 1,
|
|
364
|
+
"operator": "6515104331f64d648a5659b74f0d3a57",
|
|
365
|
+
"operatorFullName": "孙开(智网)",
|
|
366
|
+
"status": 1,
|
|
367
|
+
"statusName": "启用",
|
|
368
|
+
"tenantName": "智网",
|
|
369
|
+
"tenantNo": "1",
|
|
370
|
+
"updateTime": "2023-08-07 15:28:51",
|
|
371
|
+
"usci": ""
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"alias": "CAR-CHANNEL",
|
|
375
|
+
"createTime": "2023-07-11 12:21:38",
|
|
376
|
+
"creator": "",
|
|
377
|
+
"creatorFullName": "",
|
|
378
|
+
"id": 1,
|
|
379
|
+
"operator": "6515104331f164d648a5659b74f0d3a57",
|
|
380
|
+
"operatorFullName": "孙开(智网)",
|
|
381
|
+
"status": 1,
|
|
382
|
+
"statusName": "启用",
|
|
383
|
+
"tenantName": "汽车频道",
|
|
384
|
+
"tenantNo": "12",
|
|
385
|
+
"updateTime": "2023-08-17 13:28:51",
|
|
386
|
+
"usci": ""
|
|
387
|
+
}
|
|
388
|
+
].filter(item => paramKeys.every(key => !params[key] || item[key] === params[key])),
|
|
389
|
+
"pageSize": 10,
|
|
390
|
+
"totalCount": 1
|
|
391
|
+
})
|
|
392
|
+
}, 300)
|
|
393
|
+
})
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
const DICT = {
|
|
397
|
+
APP_STATUS: [
|
|
398
|
+
{ label: '启用', value: 1, type: 'success' },
|
|
399
|
+
{ label: '停用', value: 0, type: 'info' }
|
|
400
|
+
]
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
const FORM_ITEMS = [
|
|
404
|
+
{ type: 'input', label: '租户名称', name: 'tenantName' },
|
|
405
|
+
{ type: 'input', label: '租户代码', name: 'alias' },
|
|
406
|
+
{ type: 'input', label: '统一信用代码', name: 'usci' },
|
|
407
|
+
{ type: 'select', label: '状态', name: 'status', options: DICT.APP_STATUS }
|
|
408
|
+
]
|
|
409
|
+
|
|
410
|
+
const TABLE_COLUMNS = [
|
|
411
|
+
{ type: 'selection', width: '65px' },
|
|
412
|
+
{ label: '租户编码', prop: 'tenantNo', minWidth: '160px', searchable: true, sortable: true },
|
|
413
|
+
{ type: 'tag', label: '状态', prop: 'status', enums: DICT.APP_STATUS, filters: DICT.APP_STATUS, minWidth: '100px' },
|
|
414
|
+
{ label: '租户名称', prop: 'tenantName', minWidth: '200px', showOverflowTooltip: true },
|
|
415
|
+
{ label: '租户代码', prop: 'alias', minWidth: '300px', showOverflowTooltip: true },
|
|
416
|
+
{ label: '统一信用代码', prop: 'usci', minWidth: '300px', showOverflowTooltip: true },
|
|
417
|
+
{ label: '创建时间', prop: 'createTime', minWidth: '180px', showOverflowTooltip: true },
|
|
418
|
+
{ label: '创建人', prop: 'creatorFullName', minWidth: '200px', showOverflowTooltip: true },
|
|
419
|
+
{ label: '最近修改时间', prop: 'updateTime', minWidth: '180px', showOverflowTooltip: true },
|
|
420
|
+
{ label: '操作人', prop: 'operatorFullName', minWidth: '200px', showOverflowTooltip: true },
|
|
421
|
+
{ type: 'slot', label: '操作', slotName: 'operation', keepInPlace: true, align: 'right', width: '185px', fixed: 'right' }
|
|
422
|
+
]
|
|
423
|
+
|
|
424
|
+
export default {
|
|
425
|
+
data() {
|
|
426
|
+
return {
|
|
427
|
+
tabName: 'tab1',
|
|
428
|
+
FORM_ITEMS,
|
|
429
|
+
TABLE_COLUMNS,
|
|
430
|
+
apiMock
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
methods: {
|
|
434
|
+
/**
|
|
435
|
+
* 按钮点击事件
|
|
436
|
+
* @param {Object} row 当行行数据
|
|
437
|
+
*/
|
|
438
|
+
onClickBtn(row) {
|
|
439
|
+
this.$message.info(`内容是:${JSON.stringify(row)}`)
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
</script>
|
|
444
|
+
|
|
445
|
+
<style>
|
|
446
|
+
.multi-tabs .el-tabs__header {
|
|
447
|
+
background-color: #ffffff;
|
|
448
|
+
border-top-left-radius: 8px;
|
|
449
|
+
border-top-right-radius: 8px;
|
|
450
|
+
margin-bottom: 0;
|
|
451
|
+
}
|
|
452
|
+
.multi-tabs .el-tabs__header .el-tabs__nav-scroll {
|
|
453
|
+
padding: 0 16px;
|
|
454
|
+
}
|
|
455
|
+
.multi-tabs .search-table__title-main {
|
|
456
|
+
display: none;
|
|
457
|
+
}
|
|
458
|
+
.multi-tabs .search-table__module:first-child {
|
|
459
|
+
border-top-left-radius: 0;
|
|
460
|
+
border-top-right-radius: 0;
|
|
461
|
+
}
|
|
462
|
+
</style>
|
|
463
|
+
```
|
|
464
|
+
:::
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
## mini标签页
|
|
2
|
+
|
|
3
|
+
::: demo
|
|
4
|
+
```vue
|
|
5
|
+
<template>
|
|
6
|
+
<el-radio-group v-model="value" size="small" @change="onChange">
|
|
7
|
+
<el-radio v-for="item in option" :key="item.value" :label="item.value" button>{{ item.label }}</el-radio>
|
|
8
|
+
</el-radio-group>
|
|
9
|
+
<div v-if="value === '1'">mini标签页1内容</div>
|
|
10
|
+
<div v-else>mini标签页2内容</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
export default {
|
|
15
|
+
data() {
|
|
16
|
+
return {
|
|
17
|
+
value: '1',
|
|
18
|
+
option: [
|
|
19
|
+
{ label: '账号关联', value: '1' },
|
|
20
|
+
{ label: '部门关联', value: '2' }
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
methods: {
|
|
25
|
+
onChange(e) {
|
|
26
|
+
console.log(e)
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
</script>
|
|
31
|
+
```
|
|
32
|
+
:::
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
## 标签页
|
|
2
|
+
|
|
3
|
+
::: demo
|
|
4
|
+
```vue
|
|
5
|
+
<template>
|
|
6
|
+
<el-tabs v-model="value" type="capsule" @tab-click="onChange">
|
|
7
|
+
<el-tab-pane v-for="item in option" :key="item.value" :label="item.label" :name="item.value" />
|
|
8
|
+
</el-tabs>
|
|
9
|
+
<div v-if="value === '1'">标签页1内容</div>
|
|
10
|
+
<div v-else>标签页2内容</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
export default {
|
|
15
|
+
data() {
|
|
16
|
+
return {
|
|
17
|
+
value: '1',
|
|
18
|
+
option: [
|
|
19
|
+
{ label: '账号关联', value: '1' },
|
|
20
|
+
{ label: '部门关联', value: '2' }
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
methods: {
|
|
25
|
+
onChange(e) {
|
|
26
|
+
console.log(e)
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
</script>
|
|
31
|
+
```
|
|
32
|
+
:::
|
package/jsconfig.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es5",
|
|
4
|
+
"module": "esnext",
|
|
5
|
+
"baseUrl": "./",
|
|
6
|
+
"moduleResolution": "node",
|
|
7
|
+
"paths": {
|
|
8
|
+
"@/*": [
|
|
9
|
+
"src/*"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"lib": [
|
|
13
|
+
"esnext",
|
|
14
|
+
"dom",
|
|
15
|
+
"dom.iterable",
|
|
16
|
+
"scripthost"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.iov-pro-column-tooltip__container{line-height:17px;padding:2px;overflow-x:hidden;position:relative}.iov-pro-column-tooltip__container.ellipsis:after{bottom:0;content:"...";display:block;position:absolute;right:-1px}.iov-pro-column-tooltip__text{height:23px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.iov-pro-description__col{display:flex;font-family:PingFangSC,PingFang SC;font-size:13px;line-height:18px}.iov-pro-description__label{color:#65677a;flex-shrink:0;width:144px;white-space:nowrap;overflow:hidden}.iov-pro-description__value{color:#212026;flex:1;width:0;word-break:break-all}.iov-pro-description__link.el-link.el-link--primary{border-bottom:1px dashed #212026;color:#212026;margin-left:24px}.iov-pro-description__link.el-link.el-link--primary:hover{border-color:#2f48ff;color:#2f48ff}.iov-pro-description__link.el-link.el-link--primary.has-icon{margin-left:24px}.iov-pro-description__link-icon{font-size:20px;width:20px;height:20px;margin-right:4px;margin-left:-24px;vertical-align:bottom}.iov-pro-description__link-group .iov-pro-space{flex-wrap:wrap}.iov-pro-text__content{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;word-break:break-all}.iov-pro-dialog-select .el-dialog__body{padding:16px 24px;overflow:auto;max-height:488px;box-sizing:content-box}.iov-pro-dialog-select .el-dialog__footer{padding:16px 24px 20px;text-align:center}.iov-pro-dialog-select__table{min-height:212px}.iov-pro-dialog-select__filter{margin-bottom:12px;width:40%}.iov-pro-dialog-select .el-tabs{width:100%}.iov-pro-dialog-select .el-tabs--card .el-tabs__item{box-sizing:content-box}.iov-pro-dialog-select .el-tabs--card .el-tabs__item.is-active{border-top:2px solid #2f48ff;color:#2f48ff;background:linear-gradient(180deg, #F0F4FD 0%, #fff 10%)}.iov-pro-fixed-button-group{height:68px}.iov-pro-fixed-button-group__content{align-items:center;background-color:#fff;box-shadow:0px 0px 12px 0px rgba(196,198,207,.21);bottom:0;border-radius:0px 0px 8px 8px;display:flex;position:fixed;height:68px;left:204px;right:16px;z-index:1000}.iov-pro-fixed-button-group__content.center{justify-content:center}.iov-pro-fixed-button-group__content.left{justify-content:flex-start}.iov-pro-fixed-button-group__content.right{justify-content:flex-end}.iov-pro-form__form-item.override.important{margin-bottom:0}.iov-pro-form .iov-pro-form__form-item.important.override{margin-bottom:0}.iov-pro-link-group .el-link,.iov-pro-link-group .el-dropdown{display:block}.iov-pro-link-group__more{color:#2f48ff;cursor:pointer;width:14px;height:14px;display:block}.iov-pro-link-group__dropdown-menu{padding:4px}.iov-pro-link-group__dropdown-menu .el-dropdown-menu__item{font-size:13px;line-height:32px;padding:0 12px}.iov-pro-link-group__dropdown-menu .el-dropdown-menu__item:hover{background-color:#f6f7f8}.iov-pro-link-group .iov-pro-space__item{position:relative}.iov-pro-link-group .iov-pro-space__item:after{background:#dcdfe6;content:"";display:block;top:50%;right:0;transform:translateY(-50%);width:1px;height:12px;position:absolute}.iov-pro-link-group .iov-pro-space__item:last-child:after{display:none}.iov-pro-page-detail{padding:16px;background:#fff;border-radius:8px;font-family:PingFangSC,PingFang SC;position:relative}.iov-pro-page-detail__head{margin-bottom:16px;display:flex;align-items:center}.iov-pro-page-detail__icon{margin-right:12px;width:44px;height:44px;background-position:0 0;background-repeat:no-repeat;background-size:contain;font-style:normal}.iov-pro-page-detail__head-info{display:flex;align-items:flex-start;flex-direction:column;justify-content:space-between}.iov-pro-page-detail__name{margin-bottom:4px;height:22px;line-height:22px}.iov-pro-page-detail__name .name{margin-right:8px;font-weight:600;font-size:16px;color:#212026}.iov-pro-page-detail__desc{height:18px;line-height:18px;font-weight:400;font-size:12px;color:#65677a}.iov-pro-page-detail__desc .desc-item{margin-right:16px}.iov-pro-page-detail__help{position:absolute;top:16px;right:16px}.iov-pro-page-detail__help .help-item{margin-left:16px;font-weight:400;font-size:12px;color:#a2a3aa}.iov-pro-page-module{padding:16px;background:#fff;border-radius:8px}.iov-pro-page-module.is-sub .iov-pro-page-module__name-text{font-size:14px}.iov-pro-page-module__back{border-radius:4px;cursor:pointer;font-size:18px;color:#494b53;width:22px;height:22px;margin-right:8px;text-align:center;line-height:22px;transition:background-color .3s cubic-bezier(0.645, 0.045, 0.355, 1)}.iov-pro-page-module__back:hover{background-color:#f6f7f8}.iov-pro-page-module__head{margin-bottom:12px;display:flex;align-items:center;justify-content:space-between}.iov-pro-page-module__suffix{margin-left:10px}.iov-pro-page-module__name{display:flex;align-items:center}.iov-pro-page-module__name-text{font-family:PingFangSC,PingFang SC;font-weight:600;font-size:16px;color:#0d1722}.image-viewer .is-disabled{width:32px;height:32px;background-color:rgba(255,255,255,.3) !important}.image-viewer .is-disabled-right{width:32px;height:32px;transform:rotate(180deg);background-color:rgba(255,255,255,.3) !important}.image-viewer .el-image-viewer__prev{width:32px;height:32px;background-color:rgba(255,255,255,.3)}.image-viewer .el-image-viewer__prev:hover{width:32px;height:32px;background-color:rgba(255,255,255,.6)}.image-viewer .is-disabled-icon{opacity:.2}.image-viewer .el-image-viewer__next{width:32px;height:32px;-webkit-transform:rotate(180deg);transform:rotate(180deg);right:40px;text-indent:2px;background-color:rgba(255,255,255,.3)}.image-viewer .el-image-viewer__next:hover{width:32px;height:32px;-webkit-transform:rotate(180deg);transform:rotate(180deg);background-color:rgba(255,255,255,.6)}.image-viewer .el-image-view__tools{position:absolute;right:16px;bottom:30px;line-height:20px;background:rgba(255,255,255,.2);border-radius:20px;text-align:center;font-size:10px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#494b53;padding:3px 13px}.image-viewer .el-image-view__tools :nth-child(2){padding:0 5px;font-weight:600}.image-viewer__close{font-size:20px}.search-table__title-main{line-height:22px;margin-bottom:12px}.search-table__title{color:#0d1722;font-family:PingFangSC,PingFang SC;font-weight:600;font-size:16px}.search-table__sub-title{margin-left:8px;color:#a2a3aa;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:12px}.search-table__module{background:#fff;border-radius:8px;margin-bottom:10px;padding:16px}.search-table__module .iov-pro-form .iov-pro-form__form-item>label{overflow:hidden;padding:0;white-space:nowrap}.search-table__module .iov-pro-table .iov-pro-link-group .iov-pro-space__item{position:relative;line-height:1}.search-table__module .iov-pro-table .iov-pro-link-group .iov-pro-space__item:after{content:"";width:1px;height:13px;display:inline-block;background:#dcdfe6;overflow:hidden;position:absolute;right:0;top:50%;transform:translateY(-50%)}.search-table__module .iov-pro-table .iov-pro-link-group .iov-pro-space__item:last-child:after{display:none}.search-table__module .iov-pro-table .iov-pro-link-group .iov-pro-space__item .el-link{font-size:13px}.search-table__toolbar{align-items:center;display:flex}.search-table__bar{display:flex;justify-content:space-between;margin-bottom:12px}.search-table__toggle-status{align-items:center;color:#0d1722;cursor:pointer;display:flex;font-family:PingFangSC,PingFang SC;font-weight:500;font-size:12px;height:30px;padding:0 4px}.search-table__toggle-status .iov-icon-arrow-down,.search-table__toggle-status .iov-icon-arrow-up{font-size:14px;margin-top:2px}.search-table__row{position:relative}.search-table__row .search-table__action-bar{align-items:center;bottom:0;display:flex;top:0;right:0;position:absolute}.inner-tabs__title-main{line-height:22px;margin-bottom:12px}.inner-tabs__title{color:#0d1722;font-family:PingFangSC,PingFang SC;font-weight:600;font-size:16px}.inner-tabs__sub-title{margin-left:8px;color:#a2a3aa;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:12px}.inner-tabs__module{background:#fff;border-radius:8px;margin-bottom:10px;padding:16px}.inner-tabs__module .iov-pro-form .iov-pro-form__form-item>label{overflow:hidden;padding:0;white-space:nowrap}.inner-tabs__module .el-tabs__content{overflow:visible}.inner-tabs__module .el-tabs__nav-wrap::after{display:none}.inner-tabs__module .el-tabs__item{font-size:14px}.inner-tabs__module .search-table__module{padding:0}.inner-tabs__module .search-table__action-bar{bottom:12px;top:auto}.inner-tabs__module:last-child{margin-bottom:0;padding-top:0}.inner-tabs__bar{display:flex;justify-content:space-between;margin-bottom:14px}.outer-tabs__tabs .el-tabs__header{background:#fff;border-radius:8px 8px 0 0;margin:0;padding:0 16px}.outer-tabs__tabs .el-tabs__item{font-size:14px}.outer-tabs__tabs .search-table__module:first-child{border-radius:0 0 8px 8px}.outer-tabs__tabs .search-table__title-main{display:none}.iov-pro-space{display:flex}.iov-pro-space.horizontal{flex-direction:row}.iov-pro-space.vertical{flex-direction:column}.iov-pro-space__item{flex-shrink:0}.iov-pro-sub-title{margin-bottom:12px;font-family:PingFangSC,PingFang SC;display:flex;align-items:center}.iov-pro-sub-title__icon{margin-right:8px;width:18px;height:18px;background-position:0 0;background-repeat:no-repeat;background-size:contain}.iov-pro-sub-title__name{margin-right:8px;font-weight:600;font-size:14px;color:#212026}.iov-pro-sub-title__desc{margin-right:8px;font-size:13px;color:#65677a}.iov-pro-sub-title__help{margin-right:8px}.iov-pro-sub-title__help .el-link{margin-right:8px;font-size:13px;height:26px;color:#2f48ff;line-height:26px;padding:0 4px;border-radius:4px;transition:all .2s ease}.iov-pro-sub-title__help .el-link .iconfont{font-size:12px;margin-right:4px}.iov-pro-sub-title__help .el-link:not(.is-disabled):hover{background:rgba(42,104,255,.08)}.iov-pro-submit-module{padding:16px 0 20px;border-radius:0px 0px 8px 8px;position:fixed;left:228px;right:20px;bottom:0;z-index:9;font-size:0;background:#fff;text-align:center;box-shadow:0 0 12px 0 rgba(196,198,207,.2)}.iov-pro-table__table .is-right .iov-pro-space.horizontal{justify-content:flex-end}.iov-pro-table__table .is-center .iov-pro-space.horizontal{justify-content:center}.iov-pro-table__pagination{text-align:right;padding:12px 0 0}.iov-pro-table-filter__icon{border-radius:2px;color:#abafb5;cursor:pointer;display:block;font-size:14px;width:20px;height:20px;line-height:20px;text-align:center}.iov-pro-table-filter__icon.is-actived{color:#2f48ff}.iov-pro-table-filter__icon.is-actived:hover{color:#2f48ff}.iov-pro-table-filter__icon:hover{background-color:#e5e6eb;color:#777d87}.iov-pro-table-filter__operation{border-top:1px solid #edeff3;text-align:right;padding:8px}.iov-pro-table-filter__checkbox-group{padding:4px}.iov-pro-table-filter__checkbox{box-sizing:border-box;line-height:32px;padding:0 12px;width:100%}.iov-pro-table-filter__checkbox:hover{background-color:#f0f4fd}.iov-pro-table-filter__popper{margin-top:4px;padding:0;min-width:120px}.iov-pro-table-search__icon{border-radius:2px;color:#abafb5;cursor:pointer;display:inline-block;font-size:14px;width:20px;height:20px;line-height:20px;text-align:center}.iov-pro-table-search__icon.is-actived{color:#2f48ff}.iov-pro-table-search__icon.is-actived:hover{color:#2f48ff}.iov-pro-table-search__icon:hover{background-color:#e5e6eb;color:#777d87}.iov-pro-table-search__operation{padding:8px;text-align:right}.iov-pro-table-search__input-wrapper{padding:8px 8px 0}.iov-pro-table-search__popper{margin-top:4px;padding:0}.iov-pro-table-sort{box-sizing:border-box;color:#abafb5;cursor:pointer;display:flex;flex-direction:column;width:20px;height:20px;padding:3px}.iov-pro-table-sort .iovprofont{display:block;height:50%}.iov-pro-table-sort .iovprofont.iov-icon-sort-up{line-height:14px}.iov-pro-table-sort .iovprofont.iov-icon-sort-down{line-height:2px}.iov-pro-table-sort.ascending .iov-icon-sort-up{color:#2f48ff}.iov-pro-table-sort.descending .iov-icon-sort-down{color:#2f48ff}.iov-pro-toolbar{align-items:center;display:flex}.iov-pro-toolbar__icon{background-color:#f2f3f5;background-position:center center;background-repeat:no-repeat;background-size:16px 16px;border-radius:4px;cursor:pointer;color:#212026;display:block;width:26px;height:26px;text-align:center;line-height:26px}.iov-pro-toolbar__icon img{width:16px;height:16px;vertical-align:middle}.iov-pro-toolbar__icon:hover{color:#2f48ff}.iov-pro-toolbar__icon:active,.iov-pro-toolbar__icon.is-active{color:#1d2cd2}.iov-pro-toolbar__dropdown-menu{padding:4px}.iov-pro-toolbar__dropdown-menu .el-dropdown-menu__item{font-size:13px;line-height:32px;padding:0 12px}.iov-pro-toolbar__dropdown-menu .el-dropdown-menu__item:hover{background-color:#f6f7f8;color:#212026}.iov-pro-toolbar__dropdown-menu .el-dropdown-menu__item:active{font-weight:600}.iov-pro-toolbar__setting-popper{padding:0}.iov-pro-toolbar__setting-header{align-items:center;border-bottom:1px solid #edeff3;display:flex;padding:0 16px;height:42px;justify-content:space-between}.iov-pro-toolbar__setting-body{overflow:auto;padding:4px;max-height:190px}.iov-pro-toolbar__setting-item{align-items:center;border-radius:2px;display:flex;height:32px;justify-content:space-between;padding:0 12px}.iov-pro-toolbar__setting-item:hover{background:#f6f7f8}.iov-pro-toolbar__setting-item--drag{color:#777d87;cursor:grab;font-size:16px}.iov-pro-toolbar__setting-item--drag.undraggable{cursor:not-allowed}.iov-pro-toolbar__setting-item .el-checkbox{align-items:center;display:flex}.iov-pro-toolbar__setting-item .el-checkbox .el-checkbox__input{height:16px}.iov-pro-toolbar__setting-item .el-checkbox .el-checkbox__label{max-width:102px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.iov-pro-toolbar__setting-item .el-checkbox.is-disabled .el-checkbox__label{color:#0d1722}.iov-pro-toolbar__setting-footer{align-items:center;border-top:1px solid #edeff3;display:flex;padding:0 8px;height:42px;justify-content:flex-end}
|