@fecp/designer 5.5.29 → 5.5.31
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/es/designer/package.json.mjs +1 -1
- package/es/designer.css +36 -36
- package/es/packages/mobile/src/components/dataDisplay/table/Table.vue.mjs +1 -2
- package/es/packages/vue/index.mjs +2 -2
- package/es/packages/vue/src/components/table/CustomButtons.vue.mjs +1 -2
- package/es/packages/vue/src/components/table/DynamicQuery.vue.mjs +1 -2
- package/es/packages/vue/src/components/table/Table.vue.mjs +5 -6
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +2 -4
- package/lib/designer/package.json.js +1 -1
- package/lib/designer.css +36 -36
- package/lib/packages/mobile/src/components/dataDisplay/table/Table.vue.js +2 -3
- package/lib/packages/vue/index.js +2 -2
- package/lib/packages/vue/src/components/table/CustomButtons.vue.js +4 -5
- package/lib/packages/vue/src/components/table/DynamicQuery.vue.js +26 -27
- package/lib/packages/vue/src/components/table/Table.vue.js +8 -9
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +17 -19
- package/package.json +1 -1
package/es/designer.css
CHANGED
|
@@ -6011,10 +6011,10 @@ body,
|
|
|
6011
6011
|
border-radius: 5px;
|
|
6012
6012
|
margin-right: 12px;
|
|
6013
6013
|
margin-top: 2px;
|
|
6014
|
-
}.cell-content .cell-text[data-v-
|
|
6014
|
+
}.cell-content .cell-text[data-v-5138d230] {
|
|
6015
6015
|
display: inline-block;
|
|
6016
6016
|
}
|
|
6017
|
-
.cell-content .copy-icon[data-v-
|
|
6017
|
+
.cell-content .copy-icon[data-v-5138d230] {
|
|
6018
6018
|
cursor: pointer;
|
|
6019
6019
|
color: #909399;
|
|
6020
6020
|
font-size: 14px;
|
|
@@ -6022,7 +6022,7 @@ body,
|
|
|
6022
6022
|
top: 4px;
|
|
6023
6023
|
margin-left: 4px;
|
|
6024
6024
|
}
|
|
6025
|
-
.cell-content .copy-icon[data-v-
|
|
6025
|
+
.cell-content .copy-icon[data-v-5138d230]:hover {
|
|
6026
6026
|
color: #409eff;
|
|
6027
6027
|
}.fec-table-filter[data-v-9c6e8c47] {
|
|
6028
6028
|
display: flex;
|
|
@@ -6309,12 +6309,12 @@ body,
|
|
|
6309
6309
|
}
|
|
6310
6310
|
[data-v-e95c842d] .el-checkbox-group .el-checkbox-button__inner {
|
|
6311
6311
|
border-radius: 4px;
|
|
6312
|
-
}.fec-table[data-v-
|
|
6312
|
+
}.fec-table[data-v-3f15ca0e] {
|
|
6313
6313
|
height: 100%;
|
|
6314
6314
|
flex-grow: 1;
|
|
6315
6315
|
padding: 0 16px;
|
|
6316
6316
|
}
|
|
6317
|
-
.fec-table-container[data-v-
|
|
6317
|
+
.fec-table-container[data-v-3f15ca0e] {
|
|
6318
6318
|
width: 100%;
|
|
6319
6319
|
background: #fff;
|
|
6320
6320
|
box-sizing: border-box;
|
|
@@ -6324,87 +6324,87 @@ body,
|
|
|
6324
6324
|
overflow: hidden;
|
|
6325
6325
|
flex-grow: 1;
|
|
6326
6326
|
}
|
|
6327
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6327
|
+
.fec-table-container .fec-vxe-table[data-v-3f15ca0e] {
|
|
6328
6328
|
flex: 1;
|
|
6329
6329
|
min-height: 0;
|
|
6330
6330
|
overflow: hidden;
|
|
6331
6331
|
margin-bottom: 16px;
|
|
6332
6332
|
}
|
|
6333
|
-
.fec-table-container[data-v-
|
|
6333
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table {
|
|
6334
6334
|
font-size: 14px;
|
|
6335
6335
|
font-family: inherit;
|
|
6336
6336
|
}
|
|
6337
|
-
.fec-table-container[data-v-
|
|
6338
|
-
.fec-table-container[data-v-
|
|
6337
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-sort--asc-btn,
|
|
6338
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-sort--desc-btn {
|
|
6339
6339
|
color: #dcdcdc;
|
|
6340
6340
|
}
|
|
6341
|
-
.fec-table-container[data-v-
|
|
6342
|
-
.fec-table-container[data-v-
|
|
6341
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6342
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6343
6343
|
color: #d3edf9;
|
|
6344
6344
|
}
|
|
6345
|
-
.fec-table-container[data-v-
|
|
6345
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .serverSort .sort--active {
|
|
6346
6346
|
color: var(--el-color-primary);
|
|
6347
6347
|
}
|
|
6348
|
-
.fec-table-container[data-v-
|
|
6348
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .sort--active {
|
|
6349
6349
|
color: var(--el-color-primary);
|
|
6350
6350
|
}
|
|
6351
|
-
.fec-table-container[data-v-
|
|
6351
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--body-wrapper {
|
|
6352
6352
|
overflow: auto;
|
|
6353
6353
|
}
|
|
6354
|
-
.fec-table-container[data-v-
|
|
6355
|
-
.fec-table-container[data-v-
|
|
6356
|
-
.fec-table-container[data-v-
|
|
6354
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--body,
|
|
6355
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--header,
|
|
6356
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--footer {
|
|
6357
6357
|
width: 100% !important;
|
|
6358
6358
|
}
|
|
6359
|
-
.fec-table-container[data-v-
|
|
6359
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-header--column {
|
|
6360
6360
|
background-color: #fff;
|
|
6361
6361
|
}
|
|
6362
|
-
.fec-table-container[data-v-
|
|
6362
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-header--column .vxe-cell {
|
|
6363
6363
|
height: 40px !important;
|
|
6364
6364
|
min-height: 40px !important;
|
|
6365
6365
|
color: #333;
|
|
6366
6366
|
}
|
|
6367
|
-
.fec-table-container[data-v-
|
|
6367
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6368
6368
|
height: 40px !important;
|
|
6369
6369
|
}
|
|
6370
|
-
.fec-table-container[data-v-
|
|
6370
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-body--column .vxe-cell {
|
|
6371
6371
|
padding: 6px !important;
|
|
6372
6372
|
min-height: 32px !important;
|
|
6373
6373
|
color: #666;
|
|
6374
6374
|
font-size: 13px;
|
|
6375
6375
|
}
|
|
6376
|
-
.fec-table-container[data-v-
|
|
6377
|
-
.fec-table-container[data-v-
|
|
6376
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-body--column .c--tooltip,
|
|
6377
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-body--column .c--title {
|
|
6378
6378
|
height: 32px !important;
|
|
6379
6379
|
min-height: 32px !important;
|
|
6380
6380
|
}
|
|
6381
|
-
.fec-table-container[data-v-
|
|
6381
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--border-line {
|
|
6382
6382
|
border: none;
|
|
6383
6383
|
border-bottom: 1px solid #ebeef5;
|
|
6384
6384
|
border-top: 1px solid #ebeef5;
|
|
6385
6385
|
}
|
|
6386
|
-
.fec-table-container[data-v-
|
|
6387
|
-
.fec-table-container[data-v-
|
|
6386
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6387
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6388
6388
|
border: none !important;
|
|
6389
6389
|
}
|
|
6390
|
-
.fec-table-container[data-v-
|
|
6390
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6391
6391
|
display: none !important;
|
|
6392
6392
|
}
|
|
6393
|
-
.fec-table-container[data-v-
|
|
6393
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-cell--sort {
|
|
6394
6394
|
font-size: 14px;
|
|
6395
6395
|
}
|
|
6396
|
-
.fec-table-container[data-v-
|
|
6397
|
-
.fec-table-container[data-v-
|
|
6398
|
-
.fec-table-container[data-v-
|
|
6399
|
-
.fec-table-container[data-v-
|
|
6400
|
-
.fec-table-container[data-v-
|
|
6401
|
-
.fec-table-container[data-v-
|
|
6396
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-body--column,
|
|
6397
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-footer--column,
|
|
6398
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-header--column,
|
|
6399
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-body--column,
|
|
6400
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-footer--column,
|
|
6401
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-header--column {
|
|
6402
6402
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6403
6403
|
}
|
|
6404
|
-
.fec-table-container[data-v-
|
|
6404
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .el-button.is-disabled {
|
|
6405
6405
|
color: #ccc !important;
|
|
6406
6406
|
}
|
|
6407
|
-
.fec-table-sub[data-v-
|
|
6407
|
+
.fec-table-sub[data-v-3f15ca0e] .vxe-table .vxe-table--border-line {
|
|
6408
6408
|
border-top: none;
|
|
6409
6409
|
}
|
|
6410
6410
|
.fec-layout-card[data-v-c90689d4] {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { computed, ref, onMounted, createVNode, render, watch, nextTick, createBlock, openBlock, normalizeStyle, normalizeClass, unref, withCtx, isRef, createSlots, createElementBlock, createCommentVNode, Fragment, createElementVNode, renderList, renderSlot } from "vue";
|
|
6
|
-
import "
|
|
6
|
+
import { VxeGrid } from "vxe-table";
|
|
7
7
|
import { useDataSource } from "../../../utils/dataSourceUtil.mjs";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { textFormatter, dateFormatter, cascadeFormatter, multipleFormatter, selectFormatter } from "../../../utils/formatterUtil.mjs";
|
|
@@ -17,7 +17,6 @@ import { textFormatter, dateFormatter, cascadeFormatter, multipleFormatter, sele
|
|
|
17
17
|
/* empty css */
|
|
18
18
|
/* empty css */
|
|
19
19
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
20
|
-
import { VxeGrid } from "../../../../../../node_modules/vxe-table/es/grid/index.mjs";
|
|
21
20
|
import { SwipeCell } from "../../../../node_modules/vant/es/swipe-cell/index.mjs";
|
|
22
21
|
import { Button } from "../../../../node_modules/vant/es/button/index.mjs";
|
|
23
22
|
import { showConfirmDialog } from "../../../../node_modules/vant/es/dialog/function-call.mjs";
|
|
@@ -2,7 +2,7 @@ import * as all from "./src/components/all.mjs";
|
|
|
2
2
|
import * as index from "../mobile/index.mjs";
|
|
3
3
|
import zh_cn_default from "../../node_modules/element-plus/es/locale/lang/zh-cn.mjs";
|
|
4
4
|
import element_plus_default from "../../node_modules/element-plus/es/index.mjs";
|
|
5
|
-
import
|
|
5
|
+
import VxeUIBase from "vxe-pc-ui";
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import layout from "./src/directive/layout.mjs";
|
|
@@ -20,7 +20,7 @@ const fecVue = {
|
|
|
20
20
|
app.use(element_plus_default, {
|
|
21
21
|
locale: zh_cn_default
|
|
22
22
|
});
|
|
23
|
-
app.use(
|
|
23
|
+
app.use(VxeUIBase);
|
|
24
24
|
app.use(layout);
|
|
25
25
|
app.use(auth);
|
|
26
26
|
}
|
|
@@ -2,14 +2,13 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { computed, resolveDirective, createElementBlock, openBlock, createCommentVNode, createBlock, createVNode, withCtx, unref, createElementVNode, createTextVNode, toDisplayString, Fragment, renderList, withDirectives } from "vue";
|
|
5
|
-
import "
|
|
5
|
+
import { VxeToolbar } from "vxe-table";
|
|
6
6
|
import { ArrowLeftBold as arrow_left_bold_default, Search as search_default, Edit as edit_default, Delete as delete_default, Plus as plus_default, Setting as setting_default, Download as download_default, Refresh as refresh_default } from "../../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
7
7
|
import { getCurrentVueInstance } from "../../utils/getInstance.mjs";
|
|
8
8
|
import { checkFilterMatch } from "../../utils/parseFilterConfig.mjs";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
11
11
|
import { ElIcon } from "../../../../../node_modules/element-plus/es/components/icon/index.mjs";
|
|
12
|
-
import { VxeToolbar } from "../../../../../node_modules/vxe-table/es/toolbar/index.mjs";
|
|
13
12
|
import { ElButton } from "../../../../../node_modules/element-plus/es/components/button/index.mjs";
|
|
14
13
|
const _hoisted_1 = { class: "custom-buttons" };
|
|
15
14
|
const _hoisted_2 = {
|
|
@@ -17,7 +17,7 @@ import "../../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.
|
|
|
17
17
|
import "../../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
|
|
18
18
|
import { computed, ref, watch, resolveDirective, createElementBlock, openBlock, createElementVNode, createVNode, createCommentVNode, withCtx, unref, createTextVNode, toDisplayString, Fragment, renderList, createBlock, createSlots, withDirectives, normalizeStyle, resolveDynamicComponent, mergeProps, vShow } from "vue";
|
|
19
19
|
import { ArrowLeftBold as arrow_left_bold_default, Search as search_default, Edit as edit_default, Delete as delete_default, Plus as plus_default, Setting as setting_default, Download as download_default, Refresh as refresh_default } from "../../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
20
|
-
import "
|
|
20
|
+
import { VxeToolbar } from "vxe-table";
|
|
21
21
|
import { Text } from "../forms/text/index.mjs";
|
|
22
22
|
import { Select } from "../forms/select/index.mjs";
|
|
23
23
|
import { MultipleSelection } from "../forms/multipleSelection/index.mjs";
|
|
@@ -37,7 +37,6 @@ import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/
|
|
|
37
37
|
import { ElCheckboxGroup, ElCheckboxButton } from "../../../../../node_modules/element-plus/es/components/checkbox/index.mjs";
|
|
38
38
|
import { ElDatePicker } from "../../../../../node_modules/element-plus/es/components/date-picker/index.mjs";
|
|
39
39
|
import { ElInputNumber } from "../../../../../node_modules/element-plus/es/components/input-number/index.mjs";
|
|
40
|
-
import { VxeToolbar } from "../../../../../node_modules/vxe-table/es/toolbar/index.mjs";
|
|
41
40
|
const _hoisted_1 = { class: "dynamic-mode-config" };
|
|
42
41
|
const _hoisted_2 = { class: "dynamic-row" };
|
|
43
42
|
const _hoisted_3 = {
|
|
@@ -6,7 +6,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { ref, getCurrentInstance, computed, reactive, watch, onMounted, onUnmounted, createBlock, openBlock, normalizeClass, withCtx, createElementBlock, createCommentVNode, normalizeStyle, createElementVNode, Fragment, createVNode, unref, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
9
|
-
import "
|
|
9
|
+
import { VxeTable } from "vxe-table";
|
|
10
10
|
import XEUtils from "xe-utils";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { createDataSource } from "../../utils/datasource.mjs";
|
|
@@ -42,7 +42,6 @@ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
42
42
|
import getJsonAsyncUtil from "../../utils/getJsonAsyncUtil.mjs";
|
|
43
43
|
/* empty css */
|
|
44
44
|
import { ElContainer } from "../../../../../node_modules/element-plus/es/components/container/index.mjs";
|
|
45
|
-
import { VxeTable } from "../../../../../node_modules/vxe-table/es/table/index.mjs";
|
|
46
45
|
import { ElMessage } from "../../../../../node_modules/element-plus/es/components/message/index.mjs";
|
|
47
46
|
const _hoisted_1 = { class: "fec-vxe-table" };
|
|
48
47
|
const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
@@ -641,9 +640,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
641
640
|
};
|
|
642
641
|
});
|
|
643
642
|
const radioConfig = reactive({
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
643
|
+
strict: true,
|
|
644
|
+
trigger: "row",
|
|
645
|
+
highlight: true
|
|
647
646
|
});
|
|
648
647
|
const checkboxConfig = reactive({
|
|
649
648
|
showHeader: true,
|
|
@@ -915,7 +914,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
915
914
|
};
|
|
916
915
|
}
|
|
917
916
|
});
|
|
918
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
917
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3f15ca0e"]]);
|
|
919
918
|
export {
|
|
920
919
|
_Table as default
|
|
921
920
|
};
|
|
@@ -3,7 +3,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { getCurrentInstance, computed, createElementBlock, openBlock, createBlock, createCommentVNode, unref, Fragment, renderList, withCtx, renderSlot, toDisplayString, createTextVNode, createVNode } from "vue";
|
|
6
|
-
import "
|
|
6
|
+
import { VxeColumn } from "vxe-table";
|
|
7
7
|
import { CopyDocument as copy_document_default } from "../../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
8
8
|
import { checkFilterMatch } from "../../utils/parseFilterConfig.mjs";
|
|
9
9
|
import { removeEmptyValues } from "../../utils/common.mjs";
|
|
@@ -30,7 +30,6 @@ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
30
30
|
/* empty css */
|
|
31
31
|
import { Decimal } from "../../../../../node_modules/decimal.js/decimal.mjs";
|
|
32
32
|
/* empty css */
|
|
33
|
-
import { VxeColumn } from "../../../../../node_modules/vxe-table/es/column/index.mjs";
|
|
34
33
|
import { ElLink } from "../../../../../node_modules/element-plus/es/components/link/index.mjs";
|
|
35
34
|
import { ElIcon } from "../../../../../node_modules/element-plus/es/components/icon/index.mjs";
|
|
36
35
|
import { ElButton } from "../../../../../node_modules/element-plus/es/components/button/index.mjs";
|
|
@@ -352,7 +351,6 @@ const _sfc_main = {
|
|
|
352
351
|
!__props.readonly && __props.selectMode === "single" ? (openBlock(), createBlock(unref(VxeColumn), {
|
|
353
352
|
key: 1,
|
|
354
353
|
type: "radio",
|
|
355
|
-
title: " ",
|
|
356
354
|
width: 50,
|
|
357
355
|
align: "center",
|
|
358
356
|
fixed: "left"
|
|
@@ -446,7 +444,7 @@ const _sfc_main = {
|
|
|
446
444
|
};
|
|
447
445
|
}
|
|
448
446
|
};
|
|
449
|
-
const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
447
|
+
const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5138d230"]]);
|
|
450
448
|
export {
|
|
451
449
|
TableColumn as default
|
|
452
450
|
};
|
package/lib/designer.css
CHANGED
|
@@ -6011,10 +6011,10 @@ body,
|
|
|
6011
6011
|
border-radius: 5px;
|
|
6012
6012
|
margin-right: 12px;
|
|
6013
6013
|
margin-top: 2px;
|
|
6014
|
-
}.cell-content .cell-text[data-v-
|
|
6014
|
+
}.cell-content .cell-text[data-v-5138d230] {
|
|
6015
6015
|
display: inline-block;
|
|
6016
6016
|
}
|
|
6017
|
-
.cell-content .copy-icon[data-v-
|
|
6017
|
+
.cell-content .copy-icon[data-v-5138d230] {
|
|
6018
6018
|
cursor: pointer;
|
|
6019
6019
|
color: #909399;
|
|
6020
6020
|
font-size: 14px;
|
|
@@ -6022,7 +6022,7 @@ body,
|
|
|
6022
6022
|
top: 4px;
|
|
6023
6023
|
margin-left: 4px;
|
|
6024
6024
|
}
|
|
6025
|
-
.cell-content .copy-icon[data-v-
|
|
6025
|
+
.cell-content .copy-icon[data-v-5138d230]:hover {
|
|
6026
6026
|
color: #409eff;
|
|
6027
6027
|
}.fec-table-filter[data-v-9c6e8c47] {
|
|
6028
6028
|
display: flex;
|
|
@@ -6309,12 +6309,12 @@ body,
|
|
|
6309
6309
|
}
|
|
6310
6310
|
[data-v-e95c842d] .el-checkbox-group .el-checkbox-button__inner {
|
|
6311
6311
|
border-radius: 4px;
|
|
6312
|
-
}.fec-table[data-v-
|
|
6312
|
+
}.fec-table[data-v-3f15ca0e] {
|
|
6313
6313
|
height: 100%;
|
|
6314
6314
|
flex-grow: 1;
|
|
6315
6315
|
padding: 0 16px;
|
|
6316
6316
|
}
|
|
6317
|
-
.fec-table-container[data-v-
|
|
6317
|
+
.fec-table-container[data-v-3f15ca0e] {
|
|
6318
6318
|
width: 100%;
|
|
6319
6319
|
background: #fff;
|
|
6320
6320
|
box-sizing: border-box;
|
|
@@ -6324,87 +6324,87 @@ body,
|
|
|
6324
6324
|
overflow: hidden;
|
|
6325
6325
|
flex-grow: 1;
|
|
6326
6326
|
}
|
|
6327
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
6327
|
+
.fec-table-container .fec-vxe-table[data-v-3f15ca0e] {
|
|
6328
6328
|
flex: 1;
|
|
6329
6329
|
min-height: 0;
|
|
6330
6330
|
overflow: hidden;
|
|
6331
6331
|
margin-bottom: 16px;
|
|
6332
6332
|
}
|
|
6333
|
-
.fec-table-container[data-v-
|
|
6333
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table {
|
|
6334
6334
|
font-size: 14px;
|
|
6335
6335
|
font-family: inherit;
|
|
6336
6336
|
}
|
|
6337
|
-
.fec-table-container[data-v-
|
|
6338
|
-
.fec-table-container[data-v-
|
|
6337
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-sort--asc-btn,
|
|
6338
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-sort--desc-btn {
|
|
6339
6339
|
color: #dcdcdc;
|
|
6340
6340
|
}
|
|
6341
|
-
.fec-table-container[data-v-
|
|
6342
|
-
.fec-table-container[data-v-
|
|
6341
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .serverSort .vxe-sort--asc-btn,
|
|
6342
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .serverSort .vxe-sort--desc-btn {
|
|
6343
6343
|
color: #d3edf9;
|
|
6344
6344
|
}
|
|
6345
|
-
.fec-table-container[data-v-
|
|
6345
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .serverSort .sort--active {
|
|
6346
6346
|
color: var(--el-color-primary);
|
|
6347
6347
|
}
|
|
6348
|
-
.fec-table-container[data-v-
|
|
6348
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .sort--active {
|
|
6349
6349
|
color: var(--el-color-primary);
|
|
6350
6350
|
}
|
|
6351
|
-
.fec-table-container[data-v-
|
|
6351
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--body-wrapper {
|
|
6352
6352
|
overflow: auto;
|
|
6353
6353
|
}
|
|
6354
|
-
.fec-table-container[data-v-
|
|
6355
|
-
.fec-table-container[data-v-
|
|
6356
|
-
.fec-table-container[data-v-
|
|
6354
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--body,
|
|
6355
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--header,
|
|
6356
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--footer {
|
|
6357
6357
|
width: 100% !important;
|
|
6358
6358
|
}
|
|
6359
|
-
.fec-table-container[data-v-
|
|
6359
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-header--column {
|
|
6360
6360
|
background-color: #fff;
|
|
6361
6361
|
}
|
|
6362
|
-
.fec-table-container[data-v-
|
|
6362
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-header--column .vxe-cell {
|
|
6363
6363
|
height: 40px !important;
|
|
6364
6364
|
min-height: 40px !important;
|
|
6365
6365
|
color: #333;
|
|
6366
6366
|
}
|
|
6367
|
-
.fec-table-container[data-v-
|
|
6367
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--header-inner-wrapper {
|
|
6368
6368
|
height: 40px !important;
|
|
6369
6369
|
}
|
|
6370
|
-
.fec-table-container[data-v-
|
|
6370
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-body--column .vxe-cell {
|
|
6371
6371
|
padding: 6px !important;
|
|
6372
6372
|
min-height: 32px !important;
|
|
6373
6373
|
color: #666;
|
|
6374
6374
|
font-size: 13px;
|
|
6375
6375
|
}
|
|
6376
|
-
.fec-table-container[data-v-
|
|
6377
|
-
.fec-table-container[data-v-
|
|
6376
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-body--column .c--tooltip,
|
|
6377
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-body--column .c--title {
|
|
6378
6378
|
height: 32px !important;
|
|
6379
6379
|
min-height: 32px !important;
|
|
6380
6380
|
}
|
|
6381
|
-
.fec-table-container[data-v-
|
|
6381
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--border-line {
|
|
6382
6382
|
border: none;
|
|
6383
6383
|
border-bottom: 1px solid #ebeef5;
|
|
6384
6384
|
border-top: 1px solid #ebeef5;
|
|
6385
6385
|
}
|
|
6386
|
-
.fec-table-container[data-v-
|
|
6387
|
-
.fec-table-container[data-v-
|
|
6386
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--scroll-y-handle-appearance,
|
|
6387
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--scroll-y-wrapper:after {
|
|
6388
6388
|
border: none !important;
|
|
6389
6389
|
}
|
|
6390
|
-
.fec-table-container[data-v-
|
|
6390
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-table--scroll-y-top-corner {
|
|
6391
6391
|
display: none !important;
|
|
6392
6392
|
}
|
|
6393
|
-
.fec-table-container[data-v-
|
|
6393
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-cell--sort {
|
|
6394
6394
|
font-size: 14px;
|
|
6395
6395
|
}
|
|
6396
|
-
.fec-table-container[data-v-
|
|
6397
|
-
.fec-table-container[data-v-
|
|
6398
|
-
.fec-table-container[data-v-
|
|
6399
|
-
.fec-table-container[data-v-
|
|
6400
|
-
.fec-table-container[data-v-
|
|
6401
|
-
.fec-table-container[data-v-
|
|
6396
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-body--column,
|
|
6397
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-footer--column,
|
|
6398
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-header--column,
|
|
6399
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-body--column,
|
|
6400
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-footer--column,
|
|
6401
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .vxe-header--column {
|
|
6402
6402
|
background-image: linear-gradient(#ebeef5, #ebeef5) !important;
|
|
6403
6403
|
}
|
|
6404
|
-
.fec-table-container[data-v-
|
|
6404
|
+
.fec-table-container[data-v-3f15ca0e] .vxe-table .el-button.is-disabled {
|
|
6405
6405
|
color: #ccc !important;
|
|
6406
6406
|
}
|
|
6407
|
-
.fec-table-sub[data-v-
|
|
6407
|
+
.fec-table-sub[data-v-3f15ca0e] .vxe-table .vxe-table--border-line {
|
|
6408
6408
|
border-top: none;
|
|
6409
6409
|
}
|
|
6410
6410
|
.fec-layout-card[data-v-c90689d4] {
|
|
@@ -5,7 +5,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
5
5
|
;/* empty css */
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const vue = require("vue");
|
|
8
|
-
require("
|
|
8
|
+
const vxeTable = require("vxe-table");
|
|
9
9
|
const dataSourceUtil = require("../../../utils/dataSourceUtil.js");
|
|
10
10
|
;/* empty css */
|
|
11
11
|
const formatterUtil = require("../../../utils/formatterUtil.js");
|
|
@@ -19,7 +19,6 @@ const formatterUtil = require("../../../utils/formatterUtil.js");
|
|
|
19
19
|
;/* empty css */
|
|
20
20
|
;/* empty css */
|
|
21
21
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
22
|
-
const index$4 = require("../../../../../../node_modules/vxe-table/es/grid/index.js");
|
|
23
22
|
const index = require("../../../../node_modules/vant/es/swipe-cell/index.js");
|
|
24
23
|
const index$1 = require("../../../../node_modules/vant/es/button/index.js");
|
|
25
24
|
const functionCall = require("../../../../node_modules/vant/es/dialog/function-call.js");
|
|
@@ -456,7 +455,7 @@ const _sfc_main = {
|
|
|
456
455
|
onLoad
|
|
457
456
|
}, {
|
|
458
457
|
default: vue.withCtx(() => [
|
|
459
|
-
vue.createVNode(vue.unref(
|
|
458
|
+
vue.createVNode(vue.unref(vxeTable.VxeGrid), {
|
|
460
459
|
ref_key: "gridRef",
|
|
461
460
|
ref: gridRef,
|
|
462
461
|
class: "fec-table",
|
|
@@ -4,7 +4,7 @@ const all = require("./src/components/all.js");
|
|
|
4
4
|
const index$u = require("../mobile/index.js");
|
|
5
5
|
const zhCn = require("../../node_modules/element-plus/es/locale/lang/zh-cn.js");
|
|
6
6
|
const index$v = require("../../node_modules/element-plus/es/index.js");
|
|
7
|
-
const
|
|
7
|
+
const VxeUIBase = require("vxe-pc-ui");
|
|
8
8
|
;/* empty css */
|
|
9
9
|
;/* empty css */
|
|
10
10
|
const layout = require("./src/directive/layout.js");
|
|
@@ -22,7 +22,7 @@ const fecVue = {
|
|
|
22
22
|
app.use(index$v.default, {
|
|
23
23
|
locale: zhCn.default
|
|
24
24
|
});
|
|
25
|
-
app.use(
|
|
25
|
+
app.use(VxeUIBase);
|
|
26
26
|
app.use(layout.default);
|
|
27
27
|
app.use(auth.default);
|
|
28
28
|
}
|
|
@@ -4,15 +4,14 @@ require("../../../../../node_modules/element-plus/es/index.js");
|
|
|
4
4
|
;/* empty css */
|
|
5
5
|
;/* empty css */
|
|
6
6
|
const vue = require("vue");
|
|
7
|
-
require("
|
|
7
|
+
const vxeTable = require("vxe-table");
|
|
8
8
|
const index$1 = require("../../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
9
9
|
const getInstance = require("../../utils/getInstance.js");
|
|
10
10
|
const parseFilterConfig = require("../../utils/parseFilterConfig.js");
|
|
11
11
|
;/* empty css */
|
|
12
12
|
const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
13
13
|
const index = require("../../../../../node_modules/element-plus/es/components/icon/index.js");
|
|
14
|
-
const index$2 = require("../../../../../node_modules/
|
|
15
|
-
const index$3 = require("../../../../../node_modules/element-plus/es/components/button/index.js");
|
|
14
|
+
const index$2 = require("../../../../../node_modules/element-plus/es/components/button/index.js");
|
|
16
15
|
const _hoisted_1 = { class: "custom-buttons" };
|
|
17
16
|
const _hoisted_2 = {
|
|
18
17
|
key: 1,
|
|
@@ -110,7 +109,7 @@ const _sfc_main = {
|
|
|
110
109
|
}
|
|
111
110
|
return (_ctx, _cache) => {
|
|
112
111
|
const _component_el_icon = index.ElIcon;
|
|
113
|
-
const _component_el_button = index$
|
|
112
|
+
const _component_el_button = index$2.ElButton;
|
|
114
113
|
const _directive_fec_auth = vue.resolveDirective("fec-auth");
|
|
115
114
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
116
115
|
__props.localConfig.showReturn ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -129,7 +128,7 @@ const _sfc_main = {
|
|
|
129
128
|
_cache[0] || (_cache[0] = vue.createElementVNode("div", { class: "template-name-line" }, null, -1)),
|
|
130
129
|
vue.createTextVNode(" " + vue.toDisplayString(__props.localConfig.templateName), 1)
|
|
131
130
|
])) : vue.createCommentVNode("", true),
|
|
132
|
-
!__props.readOnly && !__props.isSubTable && hasButtons.value ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
131
|
+
!__props.readOnly && !__props.isSubTable && hasButtons.value ? (vue.openBlock(), vue.createBlock(vue.unref(vxeTable.VxeToolbar), {
|
|
133
132
|
key: 2,
|
|
134
133
|
ref: "toolbarRef",
|
|
135
134
|
style: { "flex": "1", "margin-bottom": "0", "padding": "0" }
|
|
@@ -19,12 +19,12 @@ require("../../../../../node_modules/element-plus/theme-chalk/el-date-picker.css
|
|
|
19
19
|
require("../../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
|
|
20
20
|
const vue = require("vue");
|
|
21
21
|
const index$1 = require("../../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
22
|
-
require("
|
|
23
|
-
const index$
|
|
24
|
-
const index$
|
|
25
|
-
const index$
|
|
26
|
-
const index$
|
|
27
|
-
const index$
|
|
22
|
+
const vxeTable = require("vxe-table");
|
|
23
|
+
const index$e = require("../forms/text/index.js");
|
|
24
|
+
const index$a = require("../forms/select/index.js");
|
|
25
|
+
const index$b = require("../forms/multipleSelection/index.js");
|
|
26
|
+
const index$d = require("../forms/date/index.js");
|
|
27
|
+
const index$c = require("../forms/number/index.js");
|
|
28
28
|
const common = require("../../utils/common.js");
|
|
29
29
|
const parseFilterConfig = require("../../utils/parseFilterConfig.js");
|
|
30
30
|
const getInstance = require("../../utils/getInstance.js");
|
|
@@ -34,12 +34,11 @@ const index = require("../../../../../node_modules/element-plus/es/components/ic
|
|
|
34
34
|
const index$2 = require("../../../../../node_modules/element-plus/es/components/tabs/index.js");
|
|
35
35
|
const index$3 = require("../../../../../node_modules/element-plus/es/components/input/index.js");
|
|
36
36
|
const index$4 = require("../../../../../node_modules/element-plus/es/components/button/index.js");
|
|
37
|
-
const index$
|
|
38
|
-
const index$
|
|
39
|
-
const index$
|
|
40
|
-
const index$
|
|
41
|
-
const index$
|
|
42
|
-
const index$5 = require("../../../../../node_modules/vxe-table/es/toolbar/index.js");
|
|
37
|
+
const index$5 = require("../../../../../node_modules/element-plus/es/components/collapse-transition/index.js");
|
|
38
|
+
const index$6 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
|
|
39
|
+
const index$7 = require("../../../../../node_modules/element-plus/es/components/checkbox/index.js");
|
|
40
|
+
const index$8 = require("../../../../../node_modules/element-plus/es/components/date-picker/index.js");
|
|
41
|
+
const index$9 = require("../../../../../node_modules/element-plus/es/components/input-number/index.js");
|
|
43
42
|
const _hoisted_1 = { class: "dynamic-mode-config" };
|
|
44
43
|
const _hoisted_2 = { class: "dynamic-row" };
|
|
45
44
|
const _hoisted_3 = {
|
|
@@ -237,14 +236,14 @@ const _sfc_main = {
|
|
|
237
236
|
);
|
|
238
237
|
const getFilterComponent = (fieldType) => {
|
|
239
238
|
const componentMap = {
|
|
240
|
-
text: index$
|
|
241
|
-
select: index$
|
|
242
|
-
date: index$
|
|
243
|
-
number: index$
|
|
244
|
-
multipleSelection: index$
|
|
245
|
-
switch: index$
|
|
239
|
+
text: index$e.Text,
|
|
240
|
+
select: index$a.Select,
|
|
241
|
+
date: index$d.Date,
|
|
242
|
+
number: index$c.Number,
|
|
243
|
+
multipleSelection: index$b.MultipleSelection,
|
|
244
|
+
switch: index$a.Select
|
|
246
245
|
};
|
|
247
|
-
return componentMap[fieldType] || index$
|
|
246
|
+
return componentMap[fieldType] || index$e.Text;
|
|
248
247
|
};
|
|
249
248
|
const getComponentConfig = (field) => {
|
|
250
249
|
return { ...field };
|
|
@@ -275,13 +274,13 @@ const _sfc_main = {
|
|
|
275
274
|
const _component_el_tabs = index$2.ElTabs;
|
|
276
275
|
const _component_el_button = index$4.ElButton;
|
|
277
276
|
const _component_el_input = index$3.ElInput;
|
|
278
|
-
const _component_el_checkbox_button = index$
|
|
279
|
-
const _component_el_checkbox_group = index$
|
|
280
|
-
const _component_el_date_picker = index$
|
|
281
|
-
const _component_el_input_number = index$
|
|
282
|
-
const _component_el_form_item = index$
|
|
283
|
-
const _component_el_form = index$
|
|
284
|
-
const _component_el_collapse_transition = index$
|
|
277
|
+
const _component_el_checkbox_button = index$7.ElCheckboxButton;
|
|
278
|
+
const _component_el_checkbox_group = index$7.ElCheckboxGroup;
|
|
279
|
+
const _component_el_date_picker = index$8.ElDatePicker;
|
|
280
|
+
const _component_el_input_number = index$9.ElInputNumber;
|
|
281
|
+
const _component_el_form_item = index$6.ElFormItem;
|
|
282
|
+
const _component_el_form = index$6.ElForm;
|
|
283
|
+
const _component_el_collapse_transition = index$5.ElCollapseTransition;
|
|
285
284
|
const _directive_fec_auth = vue.resolveDirective("fec-auth");
|
|
286
285
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
287
286
|
vue.createElementVNode("div", _hoisted_2, [
|
|
@@ -355,7 +354,7 @@ const _sfc_main = {
|
|
|
355
354
|
} : void 0
|
|
356
355
|
]), 1032, ["modelValue"])
|
|
357
356
|
])) : vue.createCommentVNode("", true),
|
|
358
|
-
!__props.readOnly && !__props.isSubTable && rightButtons.value.length > 0 ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
357
|
+
!__props.readOnly && !__props.isSubTable && rightButtons.value.length > 0 ? (vue.openBlock(), vue.createBlock(vue.unref(vxeTable.VxeToolbar), {
|
|
359
358
|
key: 1,
|
|
360
359
|
ref: "toolbarRef"
|
|
361
360
|
}, {
|
|
@@ -8,7 +8,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
|
|
|
8
8
|
;/* empty css */
|
|
9
9
|
;/* empty css */
|
|
10
10
|
const vue = require("vue");
|
|
11
|
-
require("
|
|
11
|
+
const vxeTable = require("vxe-table");
|
|
12
12
|
const XEUtils = require("xe-utils");
|
|
13
13
|
;/* empty css */
|
|
14
14
|
const datasource = require("../../utils/datasource.js");
|
|
@@ -44,8 +44,7 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
44
44
|
const getJsonAsyncUtil = require("../../utils/getJsonAsyncUtil.js");
|
|
45
45
|
;/* empty css */
|
|
46
46
|
const index = require("../../../../../node_modules/element-plus/es/components/container/index.js");
|
|
47
|
-
const index$1 = require("../../../../../node_modules/
|
|
48
|
-
const index$2 = require("../../../../../node_modules/element-plus/es/components/message/index.js");
|
|
47
|
+
const index$1 = require("../../../../../node_modules/element-plus/es/components/message/index.js");
|
|
49
48
|
const _hoisted_1 = { class: "fec-vxe-table" };
|
|
50
49
|
const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
51
50
|
inheritAttrs: false
|
|
@@ -643,9 +642,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
643
642
|
};
|
|
644
643
|
});
|
|
645
644
|
const radioConfig = vue.reactive({
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
645
|
+
strict: true,
|
|
646
|
+
trigger: "row",
|
|
647
|
+
highlight: true
|
|
649
648
|
});
|
|
650
649
|
const checkboxConfig = vue.reactive({
|
|
651
650
|
showHeader: true,
|
|
@@ -745,7 +744,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
745
744
|
emit("loaded", option);
|
|
746
745
|
} catch (error) {
|
|
747
746
|
console.error("加载配置失败:", error);
|
|
748
|
-
index$
|
|
747
|
+
index$1.ElMessage.error("加载配置失败");
|
|
749
748
|
} finally {
|
|
750
749
|
configLoading.value = false;
|
|
751
750
|
}
|
|
@@ -848,7 +847,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
848
847
|
hiddenFormData: hiddenFormData.value
|
|
849
848
|
}, null, 8, ["readonly", "isSubTable", "localConfig", "fields-data", "isCache", "hiddenFormData"])) : vue.createCommentVNode("", true),
|
|
850
849
|
vue.createElementVNode("div", _hoisted_1, [
|
|
851
|
-
vue.createVNode(vue.unref(
|
|
850
|
+
vue.createVNode(vue.unref(vxeTable.VxeTable), {
|
|
852
851
|
ref_key: "tableRef",
|
|
853
852
|
ref: tableRef,
|
|
854
853
|
"show-header": "",
|
|
@@ -917,5 +916,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
917
916
|
};
|
|
918
917
|
}
|
|
919
918
|
});
|
|
920
|
-
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
919
|
+
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-3f15ca0e"]]);
|
|
921
920
|
exports.default = _Table;
|
|
@@ -5,8 +5,8 @@ require("../../../../../node_modules/element-plus/es/index.js");
|
|
|
5
5
|
;/* empty css */
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const vue = require("vue");
|
|
8
|
-
require("
|
|
9
|
-
const index$
|
|
8
|
+
const vxeTable = require("vxe-table");
|
|
9
|
+
const index$2 = require("../../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
10
10
|
const parseFilterConfig = require("../../utils/parseFilterConfig.js");
|
|
11
11
|
const common = require("../../utils/common.js");
|
|
12
12
|
;/* empty css */
|
|
@@ -32,11 +32,10 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
32
32
|
;/* empty css */
|
|
33
33
|
const decimal = require("../../../../../node_modules/decimal.js/decimal.js");
|
|
34
34
|
;/* empty css */
|
|
35
|
-
const index = require("../../../../../node_modules/
|
|
36
|
-
const index$1 = require("../../../../../node_modules/element-plus/es/components/
|
|
37
|
-
const index$
|
|
38
|
-
const index$4 = require("../../../../../node_modules/element-plus/es/components/
|
|
39
|
-
const index$5 = require("../../../../../node_modules/element-plus/es/components/message/index.js");
|
|
35
|
+
const index = require("../../../../../node_modules/element-plus/es/components/link/index.js");
|
|
36
|
+
const index$1 = require("../../../../../node_modules/element-plus/es/components/icon/index.js");
|
|
37
|
+
const index$3 = require("../../../../../node_modules/element-plus/es/components/button/index.js");
|
|
38
|
+
const index$4 = require("../../../../../node_modules/element-plus/es/components/message/index.js");
|
|
40
39
|
const _hoisted_1 = { class: "table-column-manager" };
|
|
41
40
|
const _hoisted_2 = {
|
|
42
41
|
key: 0,
|
|
@@ -254,7 +253,7 @@ const _sfc_main = {
|
|
|
254
253
|
const handleCopy = (row, field) => {
|
|
255
254
|
const value = row[field.fieldName];
|
|
256
255
|
navigator.clipboard.writeText(value).then(() => {
|
|
257
|
-
index$
|
|
256
|
+
index$4.ElMessage.success("复制成功");
|
|
258
257
|
});
|
|
259
258
|
};
|
|
260
259
|
const getVisibleOptBtns = (row) => {
|
|
@@ -340,26 +339,25 @@ const _sfc_main = {
|
|
|
340
339
|
}
|
|
341
340
|
}
|
|
342
341
|
return (_ctx, _cache) => {
|
|
343
|
-
const _component_el_link = index
|
|
344
|
-
const _component_el_icon = index$
|
|
345
|
-
const _component_el_button = index$
|
|
342
|
+
const _component_el_link = index.ElLink;
|
|
343
|
+
const _component_el_icon = index$1.ElIcon;
|
|
344
|
+
const _component_el_button = index$3.ElButton;
|
|
346
345
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
347
|
-
!__props.readonly && __props.selectMode === "multiple" ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
346
|
+
!__props.readonly && __props.selectMode === "multiple" ? (vue.openBlock(), vue.createBlock(vue.unref(vxeTable.VxeColumn), {
|
|
348
347
|
key: 0,
|
|
349
348
|
type: "checkbox",
|
|
350
349
|
width: 50,
|
|
351
350
|
fixed: "left",
|
|
352
351
|
align: "center"
|
|
353
352
|
})) : vue.createCommentVNode("", true),
|
|
354
|
-
!__props.readonly && __props.selectMode === "single" ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
353
|
+
!__props.readonly && __props.selectMode === "single" ? (vue.openBlock(), vue.createBlock(vue.unref(vxeTable.VxeColumn), {
|
|
355
354
|
key: 1,
|
|
356
355
|
type: "radio",
|
|
357
|
-
title: " ",
|
|
358
356
|
width: 50,
|
|
359
357
|
align: "center",
|
|
360
358
|
fixed: "left"
|
|
361
359
|
})) : vue.createCommentVNode("", true),
|
|
362
|
-
__props.showIndex ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
360
|
+
__props.showIndex ? (vue.openBlock(), vue.createBlock(vue.unref(vxeTable.VxeColumn), {
|
|
363
361
|
key: 2,
|
|
364
362
|
type: "seq",
|
|
365
363
|
title: "序号",
|
|
@@ -368,7 +366,7 @@ const _sfc_main = {
|
|
|
368
366
|
fixed: "left"
|
|
369
367
|
})) : vue.createCommentVNode("", true),
|
|
370
368
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(visibleFields.value, (field) => {
|
|
371
|
-
return vue.openBlock(), vue.createBlock(vue.unref(
|
|
369
|
+
return vue.openBlock(), vue.createBlock(vue.unref(vxeTable.VxeColumn), {
|
|
372
370
|
key: field.id,
|
|
373
371
|
field: field.fieldName,
|
|
374
372
|
title: field.label,
|
|
@@ -410,7 +408,7 @@ const _sfc_main = {
|
|
|
410
408
|
onClick: ($event) => handleCopy(row, field)
|
|
411
409
|
}, {
|
|
412
410
|
default: vue.withCtx(() => [
|
|
413
|
-
vue.createVNode(vue.unref(index$
|
|
411
|
+
vue.createVNode(vue.unref(index$2.CopyDocument))
|
|
414
412
|
]),
|
|
415
413
|
_: 2
|
|
416
414
|
}, 1032, ["onClick"])) : vue.createCommentVNode("", true)
|
|
@@ -419,7 +417,7 @@ const _sfc_main = {
|
|
|
419
417
|
_: 2
|
|
420
418
|
}, 1032, ["field", "title", "width", "min-width", "fixed", "align", "header-align", "sortable", "show-overflow", "header-class-name"]);
|
|
421
419
|
}), 128)),
|
|
422
|
-
!__props.readonly && shouldShowOptColumn.value ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
420
|
+
!__props.readonly && shouldShowOptColumn.value ? (vue.openBlock(), vue.createBlock(vue.unref(vxeTable.VxeColumn), {
|
|
423
421
|
key: 3,
|
|
424
422
|
title: "操作",
|
|
425
423
|
width: optColumnWidth.value,
|
|
@@ -448,5 +446,5 @@ const _sfc_main = {
|
|
|
448
446
|
};
|
|
449
447
|
}
|
|
450
448
|
};
|
|
451
|
-
const TableColumn = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
449
|
+
const TableColumn = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-5138d230"]]);
|
|
452
450
|
exports.default = TableColumn;
|