sun-biz 0.0.3-beta.23 → 0.0.3-beta.24
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/dist/components/index.js +49 -15
- package/dist/components/static/css/index.css +3 -3
- package/dist/index.js +49 -15
- package/dist/static/css/index.css +3 -3
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -563,7 +563,6 @@ function useTableConfigColumn(changeInputSort, length, disabledDraggable) {
|
|
|
563
563
|
minWidth: 170,
|
|
564
564
|
render: (row)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElInputNumber, {
|
|
565
565
|
maxLength: 16,
|
|
566
|
-
'controls-position': 'right',
|
|
567
566
|
min: 0,
|
|
568
567
|
modelValue: row.minWidth,
|
|
569
568
|
'onUpdate:modelValue': (value)=>row.minWidth = value,
|
|
@@ -578,7 +577,6 @@ function useTableConfigColumn(changeInputSort, length, disabledDraggable) {
|
|
|
578
577
|
render: (row, index)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElInputNumber, {
|
|
579
578
|
max: length,
|
|
580
579
|
min: 0,
|
|
581
|
-
'controls-position': 'right',
|
|
582
580
|
modelValue: row.sort,
|
|
583
581
|
disabled: disabledDraggable.value,
|
|
584
582
|
'onUpdate:modelValue': (value)=>row.sort = value,
|
|
@@ -751,6 +749,10 @@ const _hoisted_2 = {
|
|
|
751
749
|
type: Boolean,
|
|
752
750
|
default: false
|
|
753
751
|
},
|
|
752
|
+
closeOnClickModal: {
|
|
753
|
+
type: Boolean,
|
|
754
|
+
default: false
|
|
755
|
+
},
|
|
754
756
|
includeFooter: {
|
|
755
757
|
type: Boolean,
|
|
756
758
|
default: true
|
|
@@ -792,16 +794,16 @@ const _hoisted_2 = {
|
|
|
792
794
|
// 纯关闭弹窗,不执行其他操作,用于左上角X
|
|
793
795
|
const justCloseDialog = ()=>{
|
|
794
796
|
closeDialog();
|
|
795
|
-
emits(
|
|
797
|
+
emits('close');
|
|
796
798
|
};
|
|
797
799
|
// 处理常规关闭,支持before-close钩子
|
|
798
800
|
const handleClose = ()=>{
|
|
799
|
-
if (attrs?.[
|
|
801
|
+
if (attrs?.['before-close']) (attrs?.['before-close'])(closeDialog);
|
|
800
802
|
else closeDialog();
|
|
801
803
|
};
|
|
802
804
|
// 处理取消按钮点击
|
|
803
805
|
const handleCancel = ()=>{
|
|
804
|
-
emits(
|
|
806
|
+
emits('cancel');
|
|
805
807
|
if (__props.closeOnCancel) handleClose();
|
|
806
808
|
};
|
|
807
809
|
const handleConfirm = async ()=>{
|
|
@@ -812,7 +814,7 @@ const _hoisted_2 = {
|
|
|
812
814
|
loading.value = false;
|
|
813
815
|
if (!err) {
|
|
814
816
|
handleClose();
|
|
815
|
-
emits(
|
|
817
|
+
emits('success');
|
|
816
818
|
}
|
|
817
819
|
} catch {
|
|
818
820
|
loading.value = false;
|
|
@@ -820,7 +822,7 @@ const _hoisted_2 = {
|
|
|
820
822
|
}
|
|
821
823
|
};
|
|
822
824
|
const changeScreen = async (flag)=>{
|
|
823
|
-
emits(
|
|
825
|
+
emits('changeScreen', flag);
|
|
824
826
|
};
|
|
825
827
|
__expose({
|
|
826
828
|
ref: dialogRef,
|
|
@@ -835,6 +837,7 @@ const _hoisted_2 = {
|
|
|
835
837
|
ref_key: "dialogRef",
|
|
836
838
|
ref: dialogRef
|
|
837
839
|
}, _ctx.$attrs, {
|
|
840
|
+
"close-on-click-modal": _ctx.closeOnClickModal,
|
|
838
841
|
modelValue: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(visible),
|
|
839
842
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.isRef)(visible) ? visible.value = $event : null),
|
|
840
843
|
onClose: justCloseDialog
|
|
@@ -921,6 +924,7 @@ const _hoisted_2 = {
|
|
|
921
924
|
key: "0"
|
|
922
925
|
} : void 0
|
|
923
926
|
]), 1040, [
|
|
927
|
+
"close-on-click-modal",
|
|
924
928
|
"modelValue"
|
|
925
929
|
]),
|
|
926
930
|
_ctx.includeButton ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot)(_ctx.$slots, "button", {
|
|
@@ -934,7 +938,7 @@ const _hoisted_2 = {
|
|
|
934
938
|
onClick: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(openDialog)
|
|
935
939
|
}, {
|
|
936
940
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
937
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(__WEBPACK_EXTERNAL_MODULE_vue__.unref(attrs)?.[
|
|
941
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(__WEBPACK_EXTERNAL_MODULE_vue__.unref(attrs)?.['button-text']), 1)
|
|
938
942
|
]),
|
|
939
943
|
_: 1
|
|
940
944
|
}, 8, [
|
|
@@ -1218,6 +1222,7 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1218
1222
|
dbgridTableConfigRef?.value?.tableRef?.setCurrentRow(sourceData.value[findIndex]);
|
|
1219
1223
|
};
|
|
1220
1224
|
function handleScrollChange(value) {
|
|
1225
|
+
if (!value) return;
|
|
1221
1226
|
scrollToColumn(value);
|
|
1222
1227
|
scrollToRow(value);
|
|
1223
1228
|
}
|
|
@@ -1394,6 +1399,7 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1394
1399
|
filterable: true,
|
|
1395
1400
|
modelValue: scrollKeyWord.value,
|
|
1396
1401
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event)=>scrollKeyWord.value = $event),
|
|
1402
|
+
clearable: true,
|
|
1397
1403
|
placeholder: "\n 选择后可自动定位到对应的属性\n ",
|
|
1398
1404
|
class: "w-64"
|
|
1399
1405
|
}, {
|
|
@@ -1444,7 +1450,7 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1444
1450
|
const dbgrid_component_setting_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(dbgrid_component_settingvue_type_script_setup_true_lang_tsx, [
|
|
1445
1451
|
[
|
|
1446
1452
|
'__scopeId',
|
|
1447
|
-
"data-v-
|
|
1453
|
+
"data-v-71f309b8"
|
|
1448
1454
|
]
|
|
1449
1455
|
]);
|
|
1450
1456
|
/* ESM default export */ const dbgrid_component_setting = dbgrid_component_setting_exports_;
|
|
@@ -1489,7 +1495,8 @@ const EXPORT_FILE = 'export-file';
|
|
|
1489
1495
|
columns: {},
|
|
1490
1496
|
componentNo: {},
|
|
1491
1497
|
columnsSetting: {},
|
|
1492
|
-
exportFileFlag: {}
|
|
1498
|
+
exportFileFlag: {},
|
|
1499
|
+
componentDesc: {}
|
|
1493
1500
|
},
|
|
1494
1501
|
emits: [
|
|
1495
1502
|
'success'
|
|
@@ -1533,7 +1540,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1533
1540
|
let [, res] = await exportData2File({
|
|
1534
1541
|
fileTypeCode: value,
|
|
1535
1542
|
dataSource: JSON.stringify({
|
|
1536
|
-
columnList: props.columns.filter((cur)=>cur.prop && cur.label && cur.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.
|
|
1543
|
+
columnList: props.columns.filter((cur)=>cur.prop && cur.label && cur.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES).map((item)=>({
|
|
1537
1544
|
columnIndex: item.prop,
|
|
1538
1545
|
columnTitle: item.label
|
|
1539
1546
|
})),
|
|
@@ -1548,7 +1555,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1548
1555
|
});
|
|
1549
1556
|
if (res?.success) {
|
|
1550
1557
|
(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.downloadFile)({
|
|
1551
|
-
fileName:
|
|
1558
|
+
fileName: `${props.componentDesc}.xlsx`,
|
|
1552
1559
|
data: res?.data?.fileString
|
|
1553
1560
|
});
|
|
1554
1561
|
__WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success('导出成功');
|
|
@@ -1664,7 +1671,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1664
1671
|
const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(TableSettingButtonvue_type_script_setup_true_lang_tsx, [
|
|
1665
1672
|
[
|
|
1666
1673
|
'__scopeId',
|
|
1667
|
-
"data-v-
|
|
1674
|
+
"data-v-51d84f56"
|
|
1668
1675
|
]
|
|
1669
1676
|
]);
|
|
1670
1677
|
/* ESM default export */ const TableSettingButton = TableSettingButton_exports_;
|
|
@@ -1676,6 +1683,7 @@ const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(T
|
|
|
1676
1683
|
type: Boolean
|
|
1677
1684
|
},
|
|
1678
1685
|
exportFileFlag: {},
|
|
1686
|
+
componentDesc: {},
|
|
1679
1687
|
draggable: {
|
|
1680
1688
|
type: Boolean
|
|
1681
1689
|
},
|
|
@@ -1703,6 +1711,7 @@ const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(T
|
|
|
1703
1711
|
props.componentNo ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(TableSettingButton, {
|
|
1704
1712
|
key: 0,
|
|
1705
1713
|
"table-data": selectedData.value,
|
|
1714
|
+
componentDesc: props.componentDesc,
|
|
1706
1715
|
"export-file-flag": props.exportFileFlag,
|
|
1707
1716
|
"component-no": props.componentNo,
|
|
1708
1717
|
"columns-setting": props.columnsSetting,
|
|
@@ -1711,6 +1720,7 @@ const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(T
|
|
|
1711
1720
|
onSuccess: _cache[0] || (_cache[0] = ($event)=>emits('success'))
|
|
1712
1721
|
}, null, 8, [
|
|
1713
1722
|
"table-data",
|
|
1723
|
+
"componentDesc",
|
|
1714
1724
|
"export-file-flag",
|
|
1715
1725
|
"component-no",
|
|
1716
1726
|
"columns-setting",
|
|
@@ -1927,6 +1937,7 @@ const SELECTION = 'selection';
|
|
|
1927
1937
|
setup (__props, { expose: __expose, emit: __emit }) {
|
|
1928
1938
|
const props = __props;
|
|
1929
1939
|
const exportFileFlag = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO);
|
|
1940
|
+
const componentDesc = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)('文件');
|
|
1930
1941
|
let state = (0, __WEBPACK_EXTERNAL_MODULE_vue__.reactive)({
|
|
1931
1942
|
// 表格数据
|
|
1932
1943
|
tableData: props.data,
|
|
@@ -2035,6 +2046,7 @@ const SELECTION = 'selection';
|
|
|
2035
2046
|
});
|
|
2036
2047
|
if (result?.success) {
|
|
2037
2048
|
exportFileFlag.value = result.data.exportFileFlag;
|
|
2049
|
+
componentDesc.value = result.data.componentDesc;
|
|
2038
2050
|
try {
|
|
2039
2051
|
let column = result.data.dbgridSettingValue && JSON.parse(result.data.dbgridSettingValue) || [];
|
|
2040
2052
|
serveColumns.value = column;
|
|
@@ -2205,6 +2217,7 @@ const SELECTION = 'selection';
|
|
|
2205
2217
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(Table, (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
2206
2218
|
id: uuid.value,
|
|
2207
2219
|
"export-file-flag": exportFileFlag.value,
|
|
2220
|
+
componentDesc: componentDesc.value,
|
|
2208
2221
|
"common-columns": commonColumns.value,
|
|
2209
2222
|
"component-no": props.componentNo,
|
|
2210
2223
|
"columns-setting": props.columnsSetting,
|
|
@@ -2220,6 +2233,7 @@ const SELECTION = 'selection';
|
|
|
2220
2233
|
}), null, 16, [
|
|
2221
2234
|
"id",
|
|
2222
2235
|
"export-file-flag",
|
|
2236
|
+
"componentDesc",
|
|
2223
2237
|
"common-columns",
|
|
2224
2238
|
"component-no",
|
|
2225
2239
|
"columns-setting",
|
|
@@ -2269,6 +2283,7 @@ const Tablevue_type_script_setup_true_lang_tsx_name_Table_hoisted_1 = {
|
|
|
2269
2283
|
draggable: {
|
|
2270
2284
|
type: Boolean
|
|
2271
2285
|
},
|
|
2286
|
+
componentDesc: {},
|
|
2272
2287
|
data: {},
|
|
2273
2288
|
componentNo: {},
|
|
2274
2289
|
rowKey: {},
|
|
@@ -2293,6 +2308,7 @@ const Tablevue_type_script_setup_true_lang_tsx_name_Table_hoisted_1 = {
|
|
|
2293
2308
|
props.componentNo ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(TableSettingButton, {
|
|
2294
2309
|
key: 0,
|
|
2295
2310
|
"table-data": selectedData.value,
|
|
2311
|
+
componentDesc: props.componentDesc,
|
|
2296
2312
|
"export-file-flag": props.exportFileFlag,
|
|
2297
2313
|
"component-no": props.componentNo,
|
|
2298
2314
|
"columns-setting": props.columnsSetting,
|
|
@@ -2301,6 +2317,7 @@ const Tablevue_type_script_setup_true_lang_tsx_name_Table_hoisted_1 = {
|
|
|
2301
2317
|
onSuccess: _cache[0] || (_cache[0] = ($event)=>emits('success'))
|
|
2302
2318
|
}, null, 8, [
|
|
2303
2319
|
"table-data",
|
|
2320
|
+
"componentDesc",
|
|
2304
2321
|
"export-file-flag",
|
|
2305
2322
|
"component-no",
|
|
2306
2323
|
"columns-setting",
|
|
@@ -2512,6 +2529,7 @@ const pro_table_v2vue_type_script_lang_tsx_setup_true_name_ProTable_SELECTION =
|
|
|
2512
2529
|
setup (__props, { expose: __expose, emit: __emit }) {
|
|
2513
2530
|
const props = __props;
|
|
2514
2531
|
const exportFileFlag = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO);
|
|
2532
|
+
const componentDesc = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)('文件');
|
|
2515
2533
|
let state = (0, __WEBPACK_EXTERNAL_MODULE_vue__.reactive)({
|
|
2516
2534
|
tableData: props.data,
|
|
2517
2535
|
loading: false,
|
|
@@ -2611,6 +2629,7 @@ const pro_table_v2vue_type_script_lang_tsx_setup_true_name_ProTable_SELECTION =
|
|
|
2611
2629
|
});
|
|
2612
2630
|
if (result?.success) {
|
|
2613
2631
|
exportFileFlag.value = result.data.exportFileFlag;
|
|
2632
|
+
componentDesc.value = result.data.componentDesc;
|
|
2614
2633
|
try {
|
|
2615
2634
|
let column = result.data.dbgridSettingValue && JSON.parse(result.data.dbgridSettingValue) || [];
|
|
2616
2635
|
serveColumns.value = column;
|
|
@@ -2825,6 +2844,7 @@ const pro_table_v2vue_type_script_lang_tsx_setup_true_name_ProTable_SELECTION =
|
|
|
2825
2844
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(composables_Table, (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
2826
2845
|
id: uuid.value,
|
|
2827
2846
|
"export-file-flag": exportFileFlag.value,
|
|
2847
|
+
componentDesc: componentDesc.value,
|
|
2828
2848
|
"component-no": props.componentNo,
|
|
2829
2849
|
"columns-setting": props.columnsSetting,
|
|
2830
2850
|
loading: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(state).loading || props.loading,
|
|
@@ -2840,6 +2860,7 @@ const pro_table_v2vue_type_script_lang_tsx_setup_true_name_ProTable_SELECTION =
|
|
|
2840
2860
|
}), null, 16, [
|
|
2841
2861
|
"id",
|
|
2842
2862
|
"export-file-flag",
|
|
2863
|
+
"componentDesc",
|
|
2843
2864
|
"component-no",
|
|
2844
2865
|
"columns-setting",
|
|
2845
2866
|
"loading",
|
|
@@ -5473,7 +5494,7 @@ const DICT_SELECT = 'dictSelect';
|
|
|
5473
5494
|
clearable: ""
|
|
5474
5495
|
}, {
|
|
5475
5496
|
...(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs)
|
|
5476
|
-
}), null, 16)) : 'checkbox' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component || 'radio-group' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(`el-${(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component}`), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
5497
|
+
}), null, 16)) : 'checkbox' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component || 'checkbox-group' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component || 'radio-group' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(`el-${(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component}`), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
5477
5498
|
key: 5,
|
|
5478
5499
|
ref_key: "componentRef",
|
|
5479
5500
|
ref: componentRef,
|
|
@@ -5495,8 +5516,21 @@ const DICT_SELECT = 'dictSelect';
|
|
|
5495
5516
|
}, 1032, [
|
|
5496
5517
|
"value"
|
|
5497
5518
|
]))), 128)) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
|
|
5498
|
-
'checkbox' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, {
|
|
5519
|
+
'checkbox-group' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, {
|
|
5499
5520
|
key: 1
|
|
5521
|
+
}, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).options, (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)('el-checkbox'), {
|
|
5522
|
+
key: item.value,
|
|
5523
|
+
value: item.value
|
|
5524
|
+
}, {
|
|
5525
|
+
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
5526
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.label), 1)
|
|
5527
|
+
]),
|
|
5528
|
+
_: 2
|
|
5529
|
+
}, 1032, [
|
|
5530
|
+
"value"
|
|
5531
|
+
]))), 128)) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
|
|
5532
|
+
'checkbox' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, {
|
|
5533
|
+
key: 2
|
|
5500
5534
|
}, [
|
|
5501
5535
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).label), 1)
|
|
5502
5536
|
], 64)) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
[data-v-
|
|
9
|
+
[data-v-51d84f56] .el-menu-item {
|
|
10
10
|
height: 48px;
|
|
11
11
|
line-height: 48px;
|
|
12
12
|
}
|
|
13
|
-
[data-v-
|
|
13
|
+
[data-v-51d84f56] .el-sub-menu__title {
|
|
14
14
|
height: 48px;
|
|
15
15
|
line-height: 48px;
|
|
16
16
|
}
|
|
17
|
-
[data-v-
|
|
17
|
+
[data-v-51d84f56] .el-menu-item.is-active {
|
|
18
18
|
color: inherit !important;
|
|
19
19
|
background-color: #0000 !important;
|
|
20
20
|
}
|
package/dist/index.js
CHANGED
|
@@ -564,7 +564,6 @@ function useTableConfigColumn(changeInputSort, length, disabledDraggable) {
|
|
|
564
564
|
minWidth: 170,
|
|
565
565
|
render: (row)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElInputNumber, {
|
|
566
566
|
maxLength: 16,
|
|
567
|
-
'controls-position': 'right',
|
|
568
567
|
min: 0,
|
|
569
568
|
modelValue: row.minWidth,
|
|
570
569
|
'onUpdate:modelValue': (value)=>row.minWidth = value,
|
|
@@ -579,7 +578,6 @@ function useTableConfigColumn(changeInputSort, length, disabledDraggable) {
|
|
|
579
578
|
render: (row, index)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElInputNumber, {
|
|
580
579
|
max: length,
|
|
581
580
|
min: 0,
|
|
582
|
-
'controls-position': 'right',
|
|
583
581
|
modelValue: row.sort,
|
|
584
582
|
disabled: disabledDraggable.value,
|
|
585
583
|
'onUpdate:modelValue': (value)=>row.sort = value,
|
|
@@ -752,6 +750,10 @@ const _hoisted_2 = {
|
|
|
752
750
|
type: Boolean,
|
|
753
751
|
default: false
|
|
754
752
|
},
|
|
753
|
+
closeOnClickModal: {
|
|
754
|
+
type: Boolean,
|
|
755
|
+
default: false
|
|
756
|
+
},
|
|
755
757
|
includeFooter: {
|
|
756
758
|
type: Boolean,
|
|
757
759
|
default: true
|
|
@@ -793,16 +795,16 @@ const _hoisted_2 = {
|
|
|
793
795
|
// 纯关闭弹窗,不执行其他操作,用于左上角X
|
|
794
796
|
const justCloseDialog = ()=>{
|
|
795
797
|
closeDialog();
|
|
796
|
-
emits(
|
|
798
|
+
emits('close');
|
|
797
799
|
};
|
|
798
800
|
// 处理常规关闭,支持before-close钩子
|
|
799
801
|
const handleClose = ()=>{
|
|
800
|
-
if (attrs?.[
|
|
802
|
+
if (attrs?.['before-close']) (attrs?.['before-close'])(closeDialog);
|
|
801
803
|
else closeDialog();
|
|
802
804
|
};
|
|
803
805
|
// 处理取消按钮点击
|
|
804
806
|
const handleCancel = ()=>{
|
|
805
|
-
emits(
|
|
807
|
+
emits('cancel');
|
|
806
808
|
if (__props.closeOnCancel) handleClose();
|
|
807
809
|
};
|
|
808
810
|
const handleConfirm = async ()=>{
|
|
@@ -813,7 +815,7 @@ const _hoisted_2 = {
|
|
|
813
815
|
loading.value = false;
|
|
814
816
|
if (!err) {
|
|
815
817
|
handleClose();
|
|
816
|
-
emits(
|
|
818
|
+
emits('success');
|
|
817
819
|
}
|
|
818
820
|
} catch {
|
|
819
821
|
loading.value = false;
|
|
@@ -821,7 +823,7 @@ const _hoisted_2 = {
|
|
|
821
823
|
}
|
|
822
824
|
};
|
|
823
825
|
const changeScreen = async (flag)=>{
|
|
824
|
-
emits(
|
|
826
|
+
emits('changeScreen', flag);
|
|
825
827
|
};
|
|
826
828
|
__expose({
|
|
827
829
|
ref: dialogRef,
|
|
@@ -836,6 +838,7 @@ const _hoisted_2 = {
|
|
|
836
838
|
ref_key: "dialogRef",
|
|
837
839
|
ref: dialogRef
|
|
838
840
|
}, _ctx.$attrs, {
|
|
841
|
+
"close-on-click-modal": _ctx.closeOnClickModal,
|
|
839
842
|
modelValue: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(visible),
|
|
840
843
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.isRef)(visible) ? visible.value = $event : null),
|
|
841
844
|
onClose: justCloseDialog
|
|
@@ -922,6 +925,7 @@ const _hoisted_2 = {
|
|
|
922
925
|
key: "0"
|
|
923
926
|
} : void 0
|
|
924
927
|
]), 1040, [
|
|
928
|
+
"close-on-click-modal",
|
|
925
929
|
"modelValue"
|
|
926
930
|
]),
|
|
927
931
|
_ctx.includeButton ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot)(_ctx.$slots, "button", {
|
|
@@ -935,7 +939,7 @@ const _hoisted_2 = {
|
|
|
935
939
|
onClick: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(openDialog)
|
|
936
940
|
}, {
|
|
937
941
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
938
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(__WEBPACK_EXTERNAL_MODULE_vue__.unref(attrs)?.[
|
|
942
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(__WEBPACK_EXTERNAL_MODULE_vue__.unref(attrs)?.['button-text']), 1)
|
|
939
943
|
]),
|
|
940
944
|
_: 1
|
|
941
945
|
}, 8, [
|
|
@@ -1219,6 +1223,7 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1219
1223
|
dbgridTableConfigRef?.value?.tableRef?.setCurrentRow(sourceData.value[findIndex]);
|
|
1220
1224
|
};
|
|
1221
1225
|
function handleScrollChange(value) {
|
|
1226
|
+
if (!value) return;
|
|
1222
1227
|
scrollToColumn(value);
|
|
1223
1228
|
scrollToRow(value);
|
|
1224
1229
|
}
|
|
@@ -1395,6 +1400,7 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1395
1400
|
filterable: true,
|
|
1396
1401
|
modelValue: scrollKeyWord.value,
|
|
1397
1402
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event)=>scrollKeyWord.value = $event),
|
|
1403
|
+
clearable: true,
|
|
1398
1404
|
placeholder: "\n 选择后可自动定位到对应的属性\n ",
|
|
1399
1405
|
class: "w-64"
|
|
1400
1406
|
}, {
|
|
@@ -1445,7 +1451,7 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1445
1451
|
const dbgrid_component_setting_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(dbgrid_component_settingvue_type_script_setup_true_lang_tsx, [
|
|
1446
1452
|
[
|
|
1447
1453
|
'__scopeId',
|
|
1448
|
-
"data-v-
|
|
1454
|
+
"data-v-71f309b8"
|
|
1449
1455
|
]
|
|
1450
1456
|
]);
|
|
1451
1457
|
/* ESM default export */ const dbgrid_component_setting = dbgrid_component_setting_exports_;
|
|
@@ -1490,7 +1496,8 @@ const EXPORT_FILE = 'export-file';
|
|
|
1490
1496
|
columns: {},
|
|
1491
1497
|
componentNo: {},
|
|
1492
1498
|
columnsSetting: {},
|
|
1493
|
-
exportFileFlag: {}
|
|
1499
|
+
exportFileFlag: {},
|
|
1500
|
+
componentDesc: {}
|
|
1494
1501
|
},
|
|
1495
1502
|
emits: [
|
|
1496
1503
|
'success'
|
|
@@ -1534,7 +1541,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1534
1541
|
let [, res] = await exportData2File({
|
|
1535
1542
|
fileTypeCode: value,
|
|
1536
1543
|
dataSource: JSON.stringify({
|
|
1537
|
-
columnList: props.columns.filter((cur)=>cur.prop && cur.label && cur.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.
|
|
1544
|
+
columnList: props.columns.filter((cur)=>cur.prop && cur.label && cur.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES).map((item)=>({
|
|
1538
1545
|
columnIndex: item.prop,
|
|
1539
1546
|
columnTitle: item.label
|
|
1540
1547
|
})),
|
|
@@ -1549,7 +1556,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1549
1556
|
});
|
|
1550
1557
|
if (res?.success) {
|
|
1551
1558
|
(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.downloadFile)({
|
|
1552
|
-
fileName:
|
|
1559
|
+
fileName: `${props.componentDesc}.xlsx`,
|
|
1553
1560
|
data: res?.data?.fileString
|
|
1554
1561
|
});
|
|
1555
1562
|
__WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success('导出成功');
|
|
@@ -1665,7 +1672,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1665
1672
|
const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(TableSettingButtonvue_type_script_setup_true_lang_tsx, [
|
|
1666
1673
|
[
|
|
1667
1674
|
'__scopeId',
|
|
1668
|
-
"data-v-
|
|
1675
|
+
"data-v-51d84f56"
|
|
1669
1676
|
]
|
|
1670
1677
|
]);
|
|
1671
1678
|
/* ESM default export */ const TableSettingButton = TableSettingButton_exports_;
|
|
@@ -1677,6 +1684,7 @@ const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(T
|
|
|
1677
1684
|
type: Boolean
|
|
1678
1685
|
},
|
|
1679
1686
|
exportFileFlag: {},
|
|
1687
|
+
componentDesc: {},
|
|
1680
1688
|
draggable: {
|
|
1681
1689
|
type: Boolean
|
|
1682
1690
|
},
|
|
@@ -1704,6 +1712,7 @@ const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(T
|
|
|
1704
1712
|
props.componentNo ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(TableSettingButton, {
|
|
1705
1713
|
key: 0,
|
|
1706
1714
|
"table-data": selectedData.value,
|
|
1715
|
+
componentDesc: props.componentDesc,
|
|
1707
1716
|
"export-file-flag": props.exportFileFlag,
|
|
1708
1717
|
"component-no": props.componentNo,
|
|
1709
1718
|
"columns-setting": props.columnsSetting,
|
|
@@ -1712,6 +1721,7 @@ const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(T
|
|
|
1712
1721
|
onSuccess: _cache[0] || (_cache[0] = ($event)=>emits('success'))
|
|
1713
1722
|
}, null, 8, [
|
|
1714
1723
|
"table-data",
|
|
1724
|
+
"componentDesc",
|
|
1715
1725
|
"export-file-flag",
|
|
1716
1726
|
"component-no",
|
|
1717
1727
|
"columns-setting",
|
|
@@ -1928,6 +1938,7 @@ const SELECTION = 'selection';
|
|
|
1928
1938
|
setup (__props, { expose: __expose, emit: __emit }) {
|
|
1929
1939
|
const props = __props;
|
|
1930
1940
|
const exportFileFlag = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO);
|
|
1941
|
+
const componentDesc = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)('文件');
|
|
1931
1942
|
let state = (0, __WEBPACK_EXTERNAL_MODULE_vue__.reactive)({
|
|
1932
1943
|
// 表格数据
|
|
1933
1944
|
tableData: props.data,
|
|
@@ -2036,6 +2047,7 @@ const SELECTION = 'selection';
|
|
|
2036
2047
|
});
|
|
2037
2048
|
if (result?.success) {
|
|
2038
2049
|
exportFileFlag.value = result.data.exportFileFlag;
|
|
2050
|
+
componentDesc.value = result.data.componentDesc;
|
|
2039
2051
|
try {
|
|
2040
2052
|
let column = result.data.dbgridSettingValue && JSON.parse(result.data.dbgridSettingValue) || [];
|
|
2041
2053
|
serveColumns.value = column;
|
|
@@ -2206,6 +2218,7 @@ const SELECTION = 'selection';
|
|
|
2206
2218
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(Table, (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
2207
2219
|
id: uuid.value,
|
|
2208
2220
|
"export-file-flag": exportFileFlag.value,
|
|
2221
|
+
componentDesc: componentDesc.value,
|
|
2209
2222
|
"common-columns": commonColumns.value,
|
|
2210
2223
|
"component-no": props.componentNo,
|
|
2211
2224
|
"columns-setting": props.columnsSetting,
|
|
@@ -2221,6 +2234,7 @@ const SELECTION = 'selection';
|
|
|
2221
2234
|
}), null, 16, [
|
|
2222
2235
|
"id",
|
|
2223
2236
|
"export-file-flag",
|
|
2237
|
+
"componentDesc",
|
|
2224
2238
|
"common-columns",
|
|
2225
2239
|
"component-no",
|
|
2226
2240
|
"columns-setting",
|
|
@@ -2270,6 +2284,7 @@ const Tablevue_type_script_setup_true_lang_tsx_name_Table_hoisted_1 = {
|
|
|
2270
2284
|
draggable: {
|
|
2271
2285
|
type: Boolean
|
|
2272
2286
|
},
|
|
2287
|
+
componentDesc: {},
|
|
2273
2288
|
data: {},
|
|
2274
2289
|
componentNo: {},
|
|
2275
2290
|
rowKey: {},
|
|
@@ -2294,6 +2309,7 @@ const Tablevue_type_script_setup_true_lang_tsx_name_Table_hoisted_1 = {
|
|
|
2294
2309
|
props.componentNo ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(TableSettingButton, {
|
|
2295
2310
|
key: 0,
|
|
2296
2311
|
"table-data": selectedData.value,
|
|
2312
|
+
componentDesc: props.componentDesc,
|
|
2297
2313
|
"export-file-flag": props.exportFileFlag,
|
|
2298
2314
|
"component-no": props.componentNo,
|
|
2299
2315
|
"columns-setting": props.columnsSetting,
|
|
@@ -2302,6 +2318,7 @@ const Tablevue_type_script_setup_true_lang_tsx_name_Table_hoisted_1 = {
|
|
|
2302
2318
|
onSuccess: _cache[0] || (_cache[0] = ($event)=>emits('success'))
|
|
2303
2319
|
}, null, 8, [
|
|
2304
2320
|
"table-data",
|
|
2321
|
+
"componentDesc",
|
|
2305
2322
|
"export-file-flag",
|
|
2306
2323
|
"component-no",
|
|
2307
2324
|
"columns-setting",
|
|
@@ -2513,6 +2530,7 @@ const pro_table_v2vue_type_script_lang_tsx_setup_true_name_ProTable_SELECTION =
|
|
|
2513
2530
|
setup (__props, { expose: __expose, emit: __emit }) {
|
|
2514
2531
|
const props = __props;
|
|
2515
2532
|
const exportFileFlag = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO);
|
|
2533
|
+
const componentDesc = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)('文件');
|
|
2516
2534
|
let state = (0, __WEBPACK_EXTERNAL_MODULE_vue__.reactive)({
|
|
2517
2535
|
tableData: props.data,
|
|
2518
2536
|
loading: false,
|
|
@@ -2612,6 +2630,7 @@ const pro_table_v2vue_type_script_lang_tsx_setup_true_name_ProTable_SELECTION =
|
|
|
2612
2630
|
});
|
|
2613
2631
|
if (result?.success) {
|
|
2614
2632
|
exportFileFlag.value = result.data.exportFileFlag;
|
|
2633
|
+
componentDesc.value = result.data.componentDesc;
|
|
2615
2634
|
try {
|
|
2616
2635
|
let column = result.data.dbgridSettingValue && JSON.parse(result.data.dbgridSettingValue) || [];
|
|
2617
2636
|
serveColumns.value = column;
|
|
@@ -2826,6 +2845,7 @@ const pro_table_v2vue_type_script_lang_tsx_setup_true_name_ProTable_SELECTION =
|
|
|
2826
2845
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(composables_Table, (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
2827
2846
|
id: uuid.value,
|
|
2828
2847
|
"export-file-flag": exportFileFlag.value,
|
|
2848
|
+
componentDesc: componentDesc.value,
|
|
2829
2849
|
"component-no": props.componentNo,
|
|
2830
2850
|
"columns-setting": props.columnsSetting,
|
|
2831
2851
|
loading: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(state).loading || props.loading,
|
|
@@ -2841,6 +2861,7 @@ const pro_table_v2vue_type_script_lang_tsx_setup_true_name_ProTable_SELECTION =
|
|
|
2841
2861
|
}), null, 16, [
|
|
2842
2862
|
"id",
|
|
2843
2863
|
"export-file-flag",
|
|
2864
|
+
"componentDesc",
|
|
2844
2865
|
"component-no",
|
|
2845
2866
|
"columns-setting",
|
|
2846
2867
|
"loading",
|
|
@@ -6087,7 +6108,7 @@ const DICT_SELECT = 'dictSelect';
|
|
|
6087
6108
|
clearable: ""
|
|
6088
6109
|
}, {
|
|
6089
6110
|
...(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs)
|
|
6090
|
-
}), null, 16)) : 'checkbox' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component || 'radio-group' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(`el-${(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component}`), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
6111
|
+
}), null, 16)) : 'checkbox' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component || 'checkbox-group' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component || 'radio-group' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(`el-${(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component}`), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
6091
6112
|
key: 5,
|
|
6092
6113
|
ref_key: "componentRef",
|
|
6093
6114
|
ref: componentRef,
|
|
@@ -6109,8 +6130,21 @@ const DICT_SELECT = 'dictSelect';
|
|
|
6109
6130
|
}, 1032, [
|
|
6110
6131
|
"value"
|
|
6111
6132
|
]))), 128)) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
|
|
6112
|
-
'checkbox' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, {
|
|
6133
|
+
'checkbox-group' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, {
|
|
6113
6134
|
key: 1
|
|
6135
|
+
}, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).options, (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)('el-checkbox'), {
|
|
6136
|
+
key: item.value,
|
|
6137
|
+
value: item.value
|
|
6138
|
+
}, {
|
|
6139
|
+
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
6140
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.label), 1)
|
|
6141
|
+
]),
|
|
6142
|
+
_: 2
|
|
6143
|
+
}, 1032, [
|
|
6144
|
+
"value"
|
|
6145
|
+
]))), 128)) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
|
|
6146
|
+
'checkbox' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, {
|
|
6147
|
+
key: 2
|
|
6114
6148
|
}, [
|
|
6115
6149
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).label), 1)
|
|
6116
6150
|
], 64)) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
[data-v-
|
|
9
|
+
[data-v-51d84f56] .el-menu-item {
|
|
10
10
|
height: 48px;
|
|
11
11
|
line-height: 48px;
|
|
12
12
|
}
|
|
13
|
-
[data-v-
|
|
13
|
+
[data-v-51d84f56] .el-sub-menu__title {
|
|
14
14
|
height: 48px;
|
|
15
15
|
line-height: 48px;
|
|
16
16
|
}
|
|
17
|
-
[data-v-
|
|
17
|
+
[data-v-51d84f56] .el-menu-item.is-active {
|
|
18
18
|
color: inherit !important;
|
|
19
19
|
background-color: #0000 !important;
|
|
20
20
|
}
|