@fmdeui/fmui 1.0.61 → 1.0.63
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/component.mjs +5 -1
- package/es/components/fmtree/index.d.ts +93 -0
- package/es/components/fmtree/index.vue.d.ts +106 -0
- package/es/components/index.d.ts +1 -0
- package/es/components/modifyRecord/index.d.ts +6 -0
- package/es/components/modifyRecord/index.vue.d.ts +6 -0
- package/es/packages/components/fmtree/index.mjs +6 -0
- package/es/packages/components/fmtree/index.vue.mjs +5 -0
- package/es/packages/components/fmtree/index.vue2.mjs +274 -0
- package/es/packages/components/index.mjs +1 -0
- package/es/packages/components/modifyRecord/index.mjs +6 -0
- package/es/packages/components/modifyRecord/index.vue.mjs +5 -0
- package/es/packages/components/modifyRecord/index.vue2.mjs +267 -0
- package/index.js +618 -81
- package/index.min.js +6 -5
- package/index.min.mjs +7 -6
- package/index.mjs +620 -83
- package/lib/component.js +5 -1
- package/lib/components/fmtree/index.d.ts +93 -0
- package/lib/components/fmtree/index.vue.d.ts +106 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/modifyRecord/index.d.ts +6 -0
- package/lib/components/modifyRecord/index.vue.d.ts +6 -0
- package/lib/packages/components/fmtree/index.js +8 -0
- package/lib/packages/components/fmtree/index.vue.js +9 -0
- package/lib/packages/components/fmtree/index.vue2.js +278 -0
- package/lib/packages/components/index.js +12 -10
- package/lib/packages/components/modifyRecord/index.js +8 -0
- package/lib/packages/components/modifyRecord/index.vue.js +9 -0
- package/lib/packages/components/modifyRecord/index.vue2.js +271 -0
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- /package/es/{index.css → component.css} +0 -0
- /package/lib/{index.css → defaults.css} +0 -0
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.63 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('vue-router'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'vue-router', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
|
|
@@ -19740,7 +19740,7 @@
|
|
|
19740
19740
|
app.use(VxeUITable);
|
|
19741
19741
|
};
|
|
19742
19742
|
|
|
19743
|
-
var _sfc_main$
|
|
19743
|
+
var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
19744
19744
|
...{
|
|
19745
19745
|
name: "FButton"
|
|
19746
19746
|
},
|
|
@@ -19810,7 +19810,7 @@
|
|
|
19810
19810
|
}
|
|
19811
19811
|
});
|
|
19812
19812
|
|
|
19813
|
-
const FButton = _sfc_main$
|
|
19813
|
+
const FButton = _sfc_main$F;
|
|
19814
19814
|
|
|
19815
19815
|
const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
|
|
19816
19816
|
const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
|
|
@@ -20371,9 +20371,9 @@
|
|
|
20371
20371
|
// 开发环境严格检查
|
|
20372
20372
|
});
|
|
20373
20373
|
|
|
20374
|
-
const _hoisted_1$
|
|
20375
|
-
const _hoisted_2$
|
|
20376
|
-
var _sfc_main$
|
|
20374
|
+
const _hoisted_1$r = { key: 0 };
|
|
20375
|
+
const _hoisted_2$i = { key: 0 };
|
|
20376
|
+
var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
20377
20377
|
...{
|
|
20378
20378
|
name: "FInput"
|
|
20379
20379
|
},
|
|
@@ -20577,7 +20577,7 @@
|
|
|
20577
20577
|
fn: vue.withCtx(() => [
|
|
20578
20578
|
__props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
|
|
20579
20579
|
"span",
|
|
20580
|
-
_hoisted_1$
|
|
20580
|
+
_hoisted_1$r,
|
|
20581
20581
|
vue.toDisplayString(appendTitleText.value),
|
|
20582
20582
|
1
|
|
20583
20583
|
/* TEXT */
|
|
@@ -20610,7 +20610,7 @@
|
|
|
20610
20610
|
fn: vue.withCtx(() => [
|
|
20611
20611
|
__props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
|
|
20612
20612
|
"span",
|
|
20613
|
-
_hoisted_2$
|
|
20613
|
+
_hoisted_2$i,
|
|
20614
20614
|
vue.toDisplayString(appendTitleText.value),
|
|
20615
20615
|
1
|
|
20616
20616
|
/* TEXT */
|
|
@@ -20623,13 +20623,13 @@
|
|
|
20623
20623
|
}
|
|
20624
20624
|
});
|
|
20625
20625
|
|
|
20626
|
-
const FInput = _sfc_main$
|
|
20626
|
+
const FInput = _sfc_main$E;
|
|
20627
20627
|
|
|
20628
|
-
const _hoisted_1$
|
|
20628
|
+
const _hoisted_1$q = {
|
|
20629
20629
|
key: 0,
|
|
20630
20630
|
class: "back_to_top"
|
|
20631
20631
|
};
|
|
20632
|
-
var _sfc_main$
|
|
20632
|
+
var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
20633
20633
|
...{
|
|
20634
20634
|
name: "FLayoutPage"
|
|
20635
20635
|
},
|
|
@@ -20691,7 +20691,7 @@
|
|
|
20691
20691
|
},
|
|
20692
20692
|
[
|
|
20693
20693
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
20694
|
-
__props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
20694
|
+
__props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
|
|
20695
20695
|
isShowGoTopButton.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
20696
20696
|
key: 0,
|
|
20697
20697
|
onClick: backToTop
|
|
@@ -20719,9 +20719,9 @@
|
|
|
20719
20719
|
}
|
|
20720
20720
|
});
|
|
20721
20721
|
|
|
20722
|
-
const FLayoutPage = _sfc_main$
|
|
20722
|
+
const FLayoutPage = _sfc_main$D;
|
|
20723
20723
|
|
|
20724
|
-
var _sfc_main$
|
|
20724
|
+
var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
20725
20725
|
...{
|
|
20726
20726
|
name: "FLayoutPageItem"
|
|
20727
20727
|
},
|
|
@@ -20749,7 +20749,7 @@
|
|
|
20749
20749
|
}
|
|
20750
20750
|
});
|
|
20751
20751
|
|
|
20752
|
-
const FLayoutPageItem = _sfc_main$
|
|
20752
|
+
const FLayoutPageItem = _sfc_main$C;
|
|
20753
20753
|
|
|
20754
20754
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
20755
20755
|
let timer = null;
|
|
@@ -20792,8 +20792,8 @@
|
|
|
20792
20792
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
20793
20793
|
}
|
|
20794
20794
|
|
|
20795
|
-
const _hoisted_1$
|
|
20796
|
-
var _sfc_main$
|
|
20795
|
+
const _hoisted_1$p = ["id"];
|
|
20796
|
+
var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
20797
20797
|
...{
|
|
20798
20798
|
name: "FChart"
|
|
20799
20799
|
},
|
|
@@ -20877,7 +20877,7 @@
|
|
|
20877
20877
|
id: __props.id,
|
|
20878
20878
|
ref_key: "echartRef",
|
|
20879
20879
|
ref: echartRef
|
|
20880
|
-
}, null, 8, _hoisted_1$
|
|
20880
|
+
}, null, 8, _hoisted_1$p), [
|
|
20881
20881
|
[vue.vShow, !formatEmpty.value]
|
|
20882
20882
|
]),
|
|
20883
20883
|
formatEmpty.value ? vue.renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -20892,13 +20892,13 @@
|
|
|
20892
20892
|
}
|
|
20893
20893
|
});
|
|
20894
20894
|
|
|
20895
|
-
const FChart = _sfc_main$
|
|
20895
|
+
const FChart = _sfc_main$B;
|
|
20896
20896
|
|
|
20897
|
-
const _hoisted_1$
|
|
20897
|
+
const _hoisted_1$o = {
|
|
20898
20898
|
key: 1,
|
|
20899
20899
|
class: "f_select__pagination"
|
|
20900
20900
|
};
|
|
20901
|
-
var _sfc_main$
|
|
20901
|
+
var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
20902
20902
|
...{
|
|
20903
20903
|
name: "FSelect"
|
|
20904
20904
|
},
|
|
@@ -21111,7 +21111,7 @@
|
|
|
21111
21111
|
128
|
|
21112
21112
|
/* KEYED_FRAGMENT */
|
|
21113
21113
|
)),
|
|
21114
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21114
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
|
|
21115
21115
|
vue.createVNode(_component_el_pagination, vue.mergeProps({
|
|
21116
21116
|
"current-page": __props.paginationOption.currentPage,
|
|
21117
21117
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -21149,9 +21149,9 @@
|
|
|
21149
21149
|
}
|
|
21150
21150
|
});
|
|
21151
21151
|
|
|
21152
|
-
const FSelect = _sfc_main$
|
|
21152
|
+
const FSelect = _sfc_main$A;
|
|
21153
21153
|
|
|
21154
|
-
var _sfc_main$
|
|
21154
|
+
var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
21155
21155
|
...{
|
|
21156
21156
|
name: "RenderComp"
|
|
21157
21157
|
},
|
|
@@ -21171,12 +21171,12 @@
|
|
|
21171
21171
|
}
|
|
21172
21172
|
});
|
|
21173
21173
|
|
|
21174
|
-
const _hoisted_1$
|
|
21175
|
-
const _hoisted_2$
|
|
21176
|
-
const _hoisted_3$
|
|
21177
|
-
const _hoisted_4$
|
|
21178
|
-
const _hoisted_5$
|
|
21179
|
-
var _sfc_main$
|
|
21174
|
+
const _hoisted_1$n = { class: "inside_box" };
|
|
21175
|
+
const _hoisted_2$h = { class: "inside_box_title" };
|
|
21176
|
+
const _hoisted_3$a = { class: "check-box" };
|
|
21177
|
+
const _hoisted_4$7 = { class: "more_dropdown_icon" };
|
|
21178
|
+
const _hoisted_5$6 = { class: "out_box" };
|
|
21179
|
+
var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
21180
21180
|
...{
|
|
21181
21181
|
name: "MoreChoose"
|
|
21182
21182
|
},
|
|
@@ -21296,10 +21296,10 @@
|
|
|
21296
21296
|
ref: "popover"
|
|
21297
21297
|
}, {
|
|
21298
21298
|
reference: vue.withCtx(() => [
|
|
21299
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
21299
|
+
vue.createElementVNode("div", _hoisted_4$7, [
|
|
21300
21300
|
vue.createElementVNode(
|
|
21301
21301
|
"span",
|
|
21302
|
-
_hoisted_5$
|
|
21302
|
+
_hoisted_5$6,
|
|
21303
21303
|
vue.toDisplayString(__props.popoverAttrsBind.showTxt),
|
|
21304
21304
|
1
|
|
21305
21305
|
/* TEXT */
|
|
@@ -21314,8 +21314,8 @@
|
|
|
21314
21314
|
])
|
|
21315
21315
|
]),
|
|
21316
21316
|
default: vue.withCtx(() => [
|
|
21317
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
21318
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
21317
|
+
vue.createElementVNode("div", _hoisted_1$n, [
|
|
21318
|
+
vue.createElementVNode("div", _hoisted_2$h, [
|
|
21319
21319
|
vue.createElementVNode(
|
|
21320
21320
|
"div",
|
|
21321
21321
|
null,
|
|
@@ -21323,7 +21323,7 @@
|
|
|
21323
21323
|
1
|
|
21324
21324
|
/* TEXT */
|
|
21325
21325
|
),
|
|
21326
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
21326
|
+
vue.createElementVNode("div", _hoisted_3$a, [
|
|
21327
21327
|
vue.createVNode(_component_el_button, {
|
|
21328
21328
|
size: "small",
|
|
21329
21329
|
link: "",
|
|
@@ -21491,7 +21491,7 @@
|
|
|
21491
21491
|
};
|
|
21492
21492
|
}
|
|
21493
21493
|
|
|
21494
|
-
var _sfc_main$
|
|
21494
|
+
var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
21495
21495
|
...{
|
|
21496
21496
|
name: "FQueryCondition"
|
|
21497
21497
|
},
|
|
@@ -21910,7 +21910,7 @@
|
|
|
21910
21910
|
opt.labelRender ? {
|
|
21911
21911
|
name: "label",
|
|
21912
21912
|
fn: vue.withCtx(() => [
|
|
21913
|
-
vue.createVNode(_sfc_main$
|
|
21913
|
+
vue.createVNode(_sfc_main$z, {
|
|
21914
21914
|
form: vue.unref(queryState).form,
|
|
21915
21915
|
render: opt.labelRender
|
|
21916
21916
|
}, null, 8, ["form", "render"])
|
|
@@ -22006,7 +22006,7 @@
|
|
|
22006
22006
|
_: 1
|
|
22007
22007
|
/* STABLE */
|
|
22008
22008
|
})) : vue.createCommentVNode("v-if", true),
|
|
22009
|
-
vue.createVNode(_sfc_main$
|
|
22009
|
+
vue.createVNode(_sfc_main$y, {
|
|
22010
22010
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22011
22011
|
moreCheckList: __props.moreCheckList,
|
|
22012
22012
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22032,7 +22032,7 @@
|
|
|
22032
22032
|
}
|
|
22033
22033
|
});
|
|
22034
22034
|
|
|
22035
|
-
var _sfc_main$
|
|
22035
|
+
var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
22036
22036
|
...{
|
|
22037
22037
|
name: "RenderCol"
|
|
22038
22038
|
},
|
|
@@ -22188,17 +22188,17 @@
|
|
|
22188
22188
|
};
|
|
22189
22189
|
}
|
|
22190
22190
|
|
|
22191
|
-
const _hoisted_1$
|
|
22191
|
+
const _hoisted_1$m = {
|
|
22192
22192
|
key: 0,
|
|
22193
22193
|
class: "table_query_condition"
|
|
22194
22194
|
};
|
|
22195
|
-
const _hoisted_2$
|
|
22196
|
-
const _hoisted_3$
|
|
22197
|
-
const _hoisted_4$
|
|
22195
|
+
const _hoisted_2$g = ["element-loading-text"];
|
|
22196
|
+
const _hoisted_3$9 = { key: 2 };
|
|
22197
|
+
const _hoisted_4$6 = {
|
|
22198
22198
|
key: 0,
|
|
22199
22199
|
class: "f-table-select__page"
|
|
22200
22200
|
};
|
|
22201
|
-
var _sfc_main$
|
|
22201
|
+
var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
22202
22202
|
...{
|
|
22203
22203
|
name: "FSelectTable"
|
|
22204
22204
|
},
|
|
@@ -22820,9 +22820,9 @@
|
|
|
22820
22820
|
style: vue.normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
22821
22821
|
},
|
|
22822
22822
|
[
|
|
22823
|
-
__props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
22823
|
+
__props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
|
|
22824
22824
|
vue.createVNode(
|
|
22825
|
-
_sfc_main$
|
|
22825
|
+
_sfc_main$x,
|
|
22826
22826
|
vue.mergeProps({
|
|
22827
22827
|
ref_key: "fQueryConditionRef",
|
|
22828
22828
|
ref: fQueryConditionRef,
|
|
@@ -22948,7 +22948,7 @@
|
|
|
22948
22948
|
fixed: item.fixed
|
|
22949
22949
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
22950
22950
|
default: vue.withCtx((scope) => [
|
|
22951
|
-
item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
22951
|
+
item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
|
|
22952
22952
|
key: 0,
|
|
22953
22953
|
column: item,
|
|
22954
22954
|
row: scope.row,
|
|
@@ -22959,7 +22959,7 @@
|
|
|
22959
22959
|
key: 1,
|
|
22960
22960
|
scope
|
|
22961
22961
|
}) : vue.createCommentVNode("v-if", true),
|
|
22962
|
-
!item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
22962
|
+
!item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$9, [
|
|
22963
22963
|
vue.createElementVNode(
|
|
22964
22964
|
"span",
|
|
22965
22965
|
null,
|
|
@@ -22981,7 +22981,7 @@
|
|
|
22981
22981
|
_: 3
|
|
22982
22982
|
/* FORWARDED */
|
|
22983
22983
|
}, 16, ["data", "class"]),
|
|
22984
|
-
__props.isShowPagination ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
22984
|
+
__props.isShowPagination ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$6, [
|
|
22985
22985
|
vue.createVNode(_component_el_pagination, vue.mergeProps({
|
|
22986
22986
|
"current-page": __props.table.currentPage,
|
|
22987
22987
|
"onUpdate:currentPage": _cache[6] || (_cache[6] = ($event) => __props.table.currentPage = $event),
|
|
@@ -22993,7 +22993,7 @@
|
|
|
22993
22993
|
total: __props.table.total
|
|
22994
22994
|
}, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
|
|
22995
22995
|
])) : vue.createCommentVNode("v-if", true)
|
|
22996
|
-
], 8, _hoisted_2$
|
|
22996
|
+
], 8, _hoisted_2$g)), [
|
|
22997
22997
|
[_directive_loading, __props.tableLoading]
|
|
22998
22998
|
]),
|
|
22999
22999
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
@@ -23011,11 +23011,11 @@
|
|
|
23011
23011
|
}
|
|
23012
23012
|
});
|
|
23013
23013
|
|
|
23014
|
-
const FSelectTable = _sfc_main$
|
|
23014
|
+
const FSelectTable = _sfc_main$v;
|
|
23015
23015
|
|
|
23016
|
-
const FQueryCondition = _sfc_main$
|
|
23016
|
+
const FQueryCondition = _sfc_main$x;
|
|
23017
23017
|
|
|
23018
|
-
var _sfc_main$
|
|
23018
|
+
var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
23019
23019
|
...{
|
|
23020
23020
|
name: "RenderComp"
|
|
23021
23021
|
},
|
|
@@ -23035,7 +23035,7 @@
|
|
|
23035
23035
|
}
|
|
23036
23036
|
});
|
|
23037
23037
|
|
|
23038
|
-
var _sfc_main$
|
|
23038
|
+
var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
23039
23039
|
...{
|
|
23040
23040
|
name: "RenderBtn"
|
|
23041
23041
|
},
|
|
@@ -23055,12 +23055,12 @@
|
|
|
23055
23055
|
}
|
|
23056
23056
|
});
|
|
23057
23057
|
|
|
23058
|
-
const _hoisted_1$
|
|
23058
|
+
const _hoisted_1$l = {
|
|
23059
23059
|
key: 1,
|
|
23060
23060
|
class: "text_show"
|
|
23061
23061
|
};
|
|
23062
|
-
const _hoisted_2$
|
|
23063
|
-
var _sfc_main$
|
|
23062
|
+
const _hoisted_2$f = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23063
|
+
var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
23064
23064
|
...{
|
|
23065
23065
|
name: "FForm"
|
|
23066
23066
|
},
|
|
@@ -23311,7 +23311,7 @@
|
|
|
23311
23311
|
}) : vue.createCommentVNode("v-if", true),
|
|
23312
23312
|
item.textShow ? (vue.openBlock(), vue.createElementBlock(
|
|
23313
23313
|
"span",
|
|
23314
|
-
_hoisted_1$
|
|
23314
|
+
_hoisted_1$l,
|
|
23315
23315
|
vue.toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
23316
23316
|
1
|
|
23317
23317
|
/* TEXT */
|
|
@@ -23431,7 +23431,7 @@
|
|
|
23431
23431
|
item.labelSlotName || item.labelRender ? {
|
|
23432
23432
|
name: "label",
|
|
23433
23433
|
fn: vue.withCtx(() => [
|
|
23434
|
-
item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
23434
|
+
item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
|
|
23435
23435
|
key: 0,
|
|
23436
23436
|
render: item.labelRender,
|
|
23437
23437
|
item
|
|
@@ -23453,7 +23453,7 @@
|
|
|
23453
23453
|
/* UNKEYED_FRAGMENT */
|
|
23454
23454
|
)),
|
|
23455
23455
|
vue.createCommentVNode(" \u6309\u94AE "),
|
|
23456
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
23456
|
+
vue.createElementVNode("div", _hoisted_2$f, [
|
|
23457
23457
|
__props.formOpts.btnSlotName ? vue.renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : vue.createCommentVNode("v-if", true),
|
|
23458
23458
|
!__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (vue.openBlock(true), vue.createElementBlock(
|
|
23459
23459
|
vue.Fragment,
|
|
@@ -23463,7 +23463,7 @@
|
|
|
23463
23463
|
vue.Fragment,
|
|
23464
23464
|
null,
|
|
23465
23465
|
[
|
|
23466
|
-
val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
23466
|
+
val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
|
|
23467
23467
|
key: index,
|
|
23468
23468
|
item: val,
|
|
23469
23469
|
render: val.render
|
|
@@ -23510,10 +23510,10 @@
|
|
|
23510
23510
|
}
|
|
23511
23511
|
});
|
|
23512
23512
|
|
|
23513
|
-
const FForm = _sfc_main$
|
|
23513
|
+
const FForm = _sfc_main$s;
|
|
23514
23514
|
|
|
23515
|
-
const _hoisted_1$
|
|
23516
|
-
var _sfc_main$
|
|
23515
|
+
const _hoisted_1$k = ["src"];
|
|
23516
|
+
var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
23517
23517
|
...{
|
|
23518
23518
|
name: "svgIcon"
|
|
23519
23519
|
},
|
|
@@ -23584,7 +23584,7 @@
|
|
|
23584
23584
|
vue.createElementVNode("img", {
|
|
23585
23585
|
src: getIconName.value,
|
|
23586
23586
|
style: vue.normalizeStyle(setIconSvgInsStyle.value)
|
|
23587
|
-
}, null, 12, _hoisted_1$
|
|
23587
|
+
}, null, 12, _hoisted_1$k)
|
|
23588
23588
|
],
|
|
23589
23589
|
4
|
|
23590
23590
|
/* STYLE */
|
|
@@ -23611,13 +23611,13 @@
|
|
|
23611
23611
|
}
|
|
23612
23612
|
}
|
|
23613
23613
|
if (!app._context.components[`SvgIcon`]) {
|
|
23614
|
-
app.component("SvgIcon", _sfc_main$
|
|
23614
|
+
app.component("SvgIcon", _sfc_main$r);
|
|
23615
23615
|
}
|
|
23616
23616
|
}
|
|
23617
23617
|
|
|
23618
23618
|
const emitter = mitt();
|
|
23619
23619
|
|
|
23620
|
-
var _sfc_main$
|
|
23620
|
+
var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
23621
23621
|
...{
|
|
23622
23622
|
name: "FLayout"
|
|
23623
23623
|
},
|
|
@@ -23703,7 +23703,7 @@
|
|
|
23703
23703
|
}
|
|
23704
23704
|
});
|
|
23705
23705
|
|
|
23706
|
-
const FLayout = _sfc_main$
|
|
23706
|
+
const FLayout = _sfc_main$q;
|
|
23707
23707
|
|
|
23708
23708
|
function commonFunction() {
|
|
23709
23709
|
const { copy, isSupported } = core.useClipboard();
|
|
@@ -23980,11 +23980,11 @@
|
|
|
23980
23980
|
// },
|
|
23981
23981
|
};
|
|
23982
23982
|
|
|
23983
|
-
const _hoisted_1$
|
|
23984
|
-
const _hoisted_2$
|
|
23985
|
-
const _hoisted_3$
|
|
23986
|
-
const _hoisted_4$
|
|
23987
|
-
const _hoisted_5$
|
|
23983
|
+
const _hoisted_1$j = { class: "layout-breadcrumb-seting" };
|
|
23984
|
+
const _hoisted_2$e = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
23985
|
+
const _hoisted_3$8 = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
23986
|
+
const _hoisted_4$5 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
23987
|
+
const _hoisted_5$5 = { style: { "margin": "10px 0" } };
|
|
23988
23988
|
const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
|
|
23989
23989
|
const _hoisted_7$3 = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
23990
23990
|
const _hoisted_8$2 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
@@ -24105,7 +24105,7 @@
|
|
|
24105
24105
|
class: "traditionalColors-chines",
|
|
24106
24106
|
style: { "cursor": "grab", "color": "gray" }
|
|
24107
24107
|
};
|
|
24108
|
-
var _sfc_main$
|
|
24108
|
+
var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
24109
24109
|
...{
|
|
24110
24110
|
name: "FSettings"
|
|
24111
24111
|
},
|
|
@@ -24369,7 +24369,7 @@
|
|
|
24369
24369
|
const _component_el_col = vue.resolveComponent("el-col");
|
|
24370
24370
|
const _component_el_row = vue.resolveComponent("el-row");
|
|
24371
24371
|
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
24372
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
24372
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
|
|
24373
24373
|
vue.createVNode(_component_el_drawer, {
|
|
24374
24374
|
title: _ctx.$t("message.layout.configTitle"),
|
|
24375
24375
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -24394,15 +24394,15 @@
|
|
|
24394
24394
|
_: 1
|
|
24395
24395
|
/* STABLE */
|
|
24396
24396
|
}),
|
|
24397
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
24397
|
+
vue.createElementVNode("div", _hoisted_2$e, [
|
|
24398
24398
|
vue.createElementVNode(
|
|
24399
24399
|
"div",
|
|
24400
|
-
_hoisted_3$
|
|
24400
|
+
_hoisted_3$8,
|
|
24401
24401
|
vue.toDisplayString(_ctx.$t("message.layout.themeColors")),
|
|
24402
24402
|
1
|
|
24403
24403
|
/* TEXT */
|
|
24404
24404
|
),
|
|
24405
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
24405
|
+
vue.createElementVNode("div", _hoisted_4$5, [
|
|
24406
24406
|
vue.createVNode(_component_el_color_picker, {
|
|
24407
24407
|
modelValue: getThemeConfig.value.primary,
|
|
24408
24408
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => getThemeConfig.value.primary = $event),
|
|
@@ -24411,7 +24411,7 @@
|
|
|
24411
24411
|
}, null, 8, ["modelValue"])
|
|
24412
24412
|
])
|
|
24413
24413
|
]),
|
|
24414
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
24414
|
+
vue.createElementVNode("div", _hoisted_5$5, [
|
|
24415
24415
|
vue.createVNode(
|
|
24416
24416
|
_component_el_button,
|
|
24417
24417
|
{
|
|
@@ -25868,7 +25868,272 @@
|
|
|
25868
25868
|
}
|
|
25869
25869
|
});
|
|
25870
25870
|
|
|
25871
|
-
const FSettings = _sfc_main$
|
|
25871
|
+
const FSettings = _sfc_main$p;
|
|
25872
|
+
|
|
25873
|
+
var _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
25874
|
+
...{
|
|
25875
|
+
name: "FModifyRecord"
|
|
25876
|
+
},
|
|
25877
|
+
__name: "index",
|
|
25878
|
+
props: {
|
|
25879
|
+
data: {}
|
|
25880
|
+
},
|
|
25881
|
+
setup(__props) {
|
|
25882
|
+
const { t } = vueI18n.useI18n();
|
|
25883
|
+
const props = __props;
|
|
25884
|
+
return (_ctx, _cache) => {
|
|
25885
|
+
const _component_ele_InfoFilled = vue.resolveComponent("ele-InfoFilled");
|
|
25886
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
25887
|
+
const _component_el_text = vue.resolveComponent("el-text");
|
|
25888
|
+
const _component_ele_UserFilled = vue.resolveComponent("ele-UserFilled");
|
|
25889
|
+
const _component_el_tag = vue.resolveComponent("el-tag");
|
|
25890
|
+
const _component_el_descriptions_item = vue.resolveComponent("el-descriptions-item");
|
|
25891
|
+
const _component_ele_Calendar = vue.resolveComponent("ele-Calendar");
|
|
25892
|
+
const _component_ele_Tickets = vue.resolveComponent("ele-Tickets");
|
|
25893
|
+
const _component_el_descriptions = vue.resolveComponent("el-descriptions");
|
|
25894
|
+
const _component_el_popover = vue.resolveComponent("el-popover");
|
|
25895
|
+
return vue.openBlock(), vue.createBlock(_component_el_popover, {
|
|
25896
|
+
placement: "bottom",
|
|
25897
|
+
width: "300",
|
|
25898
|
+
trigger: "hover"
|
|
25899
|
+
}, {
|
|
25900
|
+
reference: vue.withCtx(() => [
|
|
25901
|
+
vue.createVNode(_component_el_text, {
|
|
25902
|
+
type: "primary",
|
|
25903
|
+
class: "cursor-default"
|
|
25904
|
+
}, {
|
|
25905
|
+
default: vue.withCtx(() => [
|
|
25906
|
+
vue.createVNode(_component_el_icon, null, {
|
|
25907
|
+
default: vue.withCtx(() => [
|
|
25908
|
+
vue.createVNode(_component_ele_InfoFilled)
|
|
25909
|
+
]),
|
|
25910
|
+
_: 1
|
|
25911
|
+
/* STABLE */
|
|
25912
|
+
}),
|
|
25913
|
+
vue.createTextVNode(
|
|
25914
|
+
vue.toDisplayString(vue.unref(t)("message.list.detail")),
|
|
25915
|
+
1
|
|
25916
|
+
/* TEXT */
|
|
25917
|
+
)
|
|
25918
|
+
]),
|
|
25919
|
+
_: 1
|
|
25920
|
+
/* STABLE */
|
|
25921
|
+
})
|
|
25922
|
+
]),
|
|
25923
|
+
default: vue.withCtx(() => [
|
|
25924
|
+
vue.createVNode(_component_el_descriptions, {
|
|
25925
|
+
direction: "vertical",
|
|
25926
|
+
column: 2,
|
|
25927
|
+
border: ""
|
|
25928
|
+
}, {
|
|
25929
|
+
default: vue.withCtx(() => [
|
|
25930
|
+
vue.createVNode(_component_el_descriptions_item, { width: "140" }, {
|
|
25931
|
+
label: vue.withCtx(() => [
|
|
25932
|
+
vue.createVNode(_component_el_text, null, {
|
|
25933
|
+
default: vue.withCtx(() => [
|
|
25934
|
+
vue.createVNode(_component_el_icon, null, {
|
|
25935
|
+
default: vue.withCtx(() => [
|
|
25936
|
+
vue.createVNode(_component_ele_UserFilled)
|
|
25937
|
+
]),
|
|
25938
|
+
_: 1
|
|
25939
|
+
/* STABLE */
|
|
25940
|
+
}),
|
|
25941
|
+
vue.createTextVNode(
|
|
25942
|
+
vue.toDisplayString(vue.unref(t)("message.list.creator")),
|
|
25943
|
+
1
|
|
25944
|
+
/* TEXT */
|
|
25945
|
+
)
|
|
25946
|
+
]),
|
|
25947
|
+
_: 1
|
|
25948
|
+
/* STABLE */
|
|
25949
|
+
})
|
|
25950
|
+
]),
|
|
25951
|
+
default: vue.withCtx(() => [
|
|
25952
|
+
vue.createVNode(_component_el_tag, null, {
|
|
25953
|
+
default: vue.withCtx(() => {
|
|
25954
|
+
var _a;
|
|
25955
|
+
return [
|
|
25956
|
+
vue.createTextVNode(
|
|
25957
|
+
vue.toDisplayString((_a = props.data.createUserName) != null ? _a : vue.unref(t)("message.list.none")),
|
|
25958
|
+
1
|
|
25959
|
+
/* TEXT */
|
|
25960
|
+
)
|
|
25961
|
+
];
|
|
25962
|
+
}),
|
|
25963
|
+
_: 1
|
|
25964
|
+
/* STABLE */
|
|
25965
|
+
})
|
|
25966
|
+
]),
|
|
25967
|
+
_: 1
|
|
25968
|
+
/* STABLE */
|
|
25969
|
+
}),
|
|
25970
|
+
vue.createVNode(_component_el_descriptions_item, null, {
|
|
25971
|
+
label: vue.withCtx(() => [
|
|
25972
|
+
vue.createVNode(_component_el_text, null, {
|
|
25973
|
+
default: vue.withCtx(() => [
|
|
25974
|
+
vue.createVNode(_component_el_icon, null, {
|
|
25975
|
+
default: vue.withCtx(() => [
|
|
25976
|
+
vue.createVNode(_component_ele_Calendar)
|
|
25977
|
+
]),
|
|
25978
|
+
_: 1
|
|
25979
|
+
/* STABLE */
|
|
25980
|
+
}),
|
|
25981
|
+
vue.createTextVNode(
|
|
25982
|
+
vue.toDisplayString(vue.unref(t)("message.list.createTime")),
|
|
25983
|
+
1
|
|
25984
|
+
/* TEXT */
|
|
25985
|
+
)
|
|
25986
|
+
]),
|
|
25987
|
+
_: 1
|
|
25988
|
+
/* STABLE */
|
|
25989
|
+
})
|
|
25990
|
+
]),
|
|
25991
|
+
default: vue.withCtx(() => [
|
|
25992
|
+
vue.createVNode(_component_el_tag, null, {
|
|
25993
|
+
default: vue.withCtx(() => {
|
|
25994
|
+
var _a;
|
|
25995
|
+
return [
|
|
25996
|
+
vue.createTextVNode(
|
|
25997
|
+
vue.toDisplayString((_a = props.data.createTime) != null ? _a : vue.unref(t)("message.list.none")),
|
|
25998
|
+
1
|
|
25999
|
+
/* TEXT */
|
|
26000
|
+
)
|
|
26001
|
+
];
|
|
26002
|
+
}),
|
|
26003
|
+
_: 1
|
|
26004
|
+
/* STABLE */
|
|
26005
|
+
})
|
|
26006
|
+
]),
|
|
26007
|
+
_: 1
|
|
26008
|
+
/* STABLE */
|
|
26009
|
+
}),
|
|
26010
|
+
vue.createVNode(_component_el_descriptions_item, null, {
|
|
26011
|
+
label: vue.withCtx(() => [
|
|
26012
|
+
vue.createVNode(_component_el_text, null, {
|
|
26013
|
+
default: vue.withCtx(() => [
|
|
26014
|
+
vue.createVNode(_component_el_icon, null, {
|
|
26015
|
+
default: vue.withCtx(() => [
|
|
26016
|
+
vue.createVNode(_component_ele_UserFilled)
|
|
26017
|
+
]),
|
|
26018
|
+
_: 1
|
|
26019
|
+
/* STABLE */
|
|
26020
|
+
}),
|
|
26021
|
+
vue.createTextVNode(
|
|
26022
|
+
vue.toDisplayString(vue.unref(t)("message.list.modifier")),
|
|
26023
|
+
1
|
|
26024
|
+
/* TEXT */
|
|
26025
|
+
)
|
|
26026
|
+
]),
|
|
26027
|
+
_: 1
|
|
26028
|
+
/* STABLE */
|
|
26029
|
+
})
|
|
26030
|
+
]),
|
|
26031
|
+
default: vue.withCtx(() => [
|
|
26032
|
+
vue.createVNode(_component_el_tag, null, {
|
|
26033
|
+
default: vue.withCtx(() => {
|
|
26034
|
+
var _a;
|
|
26035
|
+
return [
|
|
26036
|
+
vue.createTextVNode(
|
|
26037
|
+
vue.toDisplayString((_a = props.data.updateUserName) != null ? _a : vue.unref(t)("message.list.none")),
|
|
26038
|
+
1
|
|
26039
|
+
/* TEXT */
|
|
26040
|
+
)
|
|
26041
|
+
];
|
|
26042
|
+
}),
|
|
26043
|
+
_: 1
|
|
26044
|
+
/* STABLE */
|
|
26045
|
+
})
|
|
26046
|
+
]),
|
|
26047
|
+
_: 1
|
|
26048
|
+
/* STABLE */
|
|
26049
|
+
}),
|
|
26050
|
+
vue.createVNode(_component_el_descriptions_item, null, {
|
|
26051
|
+
label: vue.withCtx(() => [
|
|
26052
|
+
vue.createVNode(_component_el_text, null, {
|
|
26053
|
+
default: vue.withCtx(() => [
|
|
26054
|
+
vue.createVNode(_component_el_icon, null, {
|
|
26055
|
+
default: vue.withCtx(() => [
|
|
26056
|
+
vue.createVNode(_component_ele_Calendar)
|
|
26057
|
+
]),
|
|
26058
|
+
_: 1
|
|
26059
|
+
/* STABLE */
|
|
26060
|
+
}),
|
|
26061
|
+
vue.createTextVNode(
|
|
26062
|
+
vue.toDisplayString(vue.unref(t)("message.list.modifyTime")),
|
|
26063
|
+
1
|
|
26064
|
+
/* TEXT */
|
|
26065
|
+
)
|
|
26066
|
+
]),
|
|
26067
|
+
_: 1
|
|
26068
|
+
/* STABLE */
|
|
26069
|
+
})
|
|
26070
|
+
]),
|
|
26071
|
+
default: vue.withCtx(() => [
|
|
26072
|
+
vue.createVNode(_component_el_tag, null, {
|
|
26073
|
+
default: vue.withCtx(() => {
|
|
26074
|
+
var _a;
|
|
26075
|
+
return [
|
|
26076
|
+
vue.createTextVNode(
|
|
26077
|
+
vue.toDisplayString((_a = props.data.updateTime) != null ? _a : vue.unref(t)("message.list.none")),
|
|
26078
|
+
1
|
|
26079
|
+
/* TEXT */
|
|
26080
|
+
)
|
|
26081
|
+
];
|
|
26082
|
+
}),
|
|
26083
|
+
_: 1
|
|
26084
|
+
/* STABLE */
|
|
26085
|
+
})
|
|
26086
|
+
]),
|
|
26087
|
+
_: 1
|
|
26088
|
+
/* STABLE */
|
|
26089
|
+
}),
|
|
26090
|
+
"remark" in props.data ? (vue.openBlock(), vue.createBlock(_component_el_descriptions_item, { key: 0 }, {
|
|
26091
|
+
label: vue.withCtx(() => [
|
|
26092
|
+
vue.createVNode(_component_el_text, null, {
|
|
26093
|
+
default: vue.withCtx(() => [
|
|
26094
|
+
vue.createVNode(_component_el_icon, null, {
|
|
26095
|
+
default: vue.withCtx(() => [
|
|
26096
|
+
vue.createVNode(_component_ele_Tickets)
|
|
26097
|
+
]),
|
|
26098
|
+
_: 1
|
|
26099
|
+
/* STABLE */
|
|
26100
|
+
}),
|
|
26101
|
+
vue.createTextVNode(
|
|
26102
|
+
vue.toDisplayString(vue.unref(t)("message.list.remark")),
|
|
26103
|
+
1
|
|
26104
|
+
/* TEXT */
|
|
26105
|
+
)
|
|
26106
|
+
]),
|
|
26107
|
+
_: 1
|
|
26108
|
+
/* STABLE */
|
|
26109
|
+
})
|
|
26110
|
+
]),
|
|
26111
|
+
default: vue.withCtx(() => {
|
|
26112
|
+
var _a;
|
|
26113
|
+
return [
|
|
26114
|
+
vue.createTextVNode(
|
|
26115
|
+
" " + vue.toDisplayString((_a = props.data.remark) != null ? _a : vue.unref(t)("message.list.none")),
|
|
26116
|
+
1
|
|
26117
|
+
/* TEXT */
|
|
26118
|
+
)
|
|
26119
|
+
];
|
|
26120
|
+
}),
|
|
26121
|
+
_: 1
|
|
26122
|
+
/* STABLE */
|
|
26123
|
+
})) : vue.createCommentVNode("v-if", true)
|
|
26124
|
+
]),
|
|
26125
|
+
_: 1
|
|
26126
|
+
/* STABLE */
|
|
26127
|
+
})
|
|
26128
|
+
]),
|
|
26129
|
+
_: 1
|
|
26130
|
+
/* STABLE */
|
|
26131
|
+
});
|
|
26132
|
+
};
|
|
26133
|
+
}
|
|
26134
|
+
});
|
|
26135
|
+
|
|
26136
|
+
const FModifyRecord = _sfc_main$o;
|
|
25872
26137
|
|
|
25873
26138
|
const makeInstaller = (components = []) => {
|
|
25874
26139
|
const install = (app) => {
|
|
@@ -25889,6 +26154,276 @@
|
|
|
25889
26154
|
};
|
|
25890
26155
|
};
|
|
25891
26156
|
|
|
26157
|
+
const _hoisted_1$i = { style: { "padding": "5px" } };
|
|
26158
|
+
const _hoisted_2$d = { style: { "display": "flex", "align-items": "center", "gap": "8px", "flex-wrap": "nowrap", "overflow": "hidden" } };
|
|
26159
|
+
const _hoisted_3$7 = { style: { "flex": "1 1 200px", "min-width": "0", "overflow": "hidden" } };
|
|
26160
|
+
const _hoisted_4$4 = { style: { "display": "flex", "align-items": "center", "flex-shrink": "0", "white-space": "nowrap" } };
|
|
26161
|
+
const _hoisted_5$4 = { style: { "margin-bottom": "45px" } };
|
|
26162
|
+
var _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
26163
|
+
...{
|
|
26164
|
+
name: "FmTree"
|
|
26165
|
+
},
|
|
26166
|
+
__name: "index",
|
|
26167
|
+
props: /* @__PURE__ */ vue.mergeModels({
|
|
26168
|
+
checkStrictly: { type: Boolean, default: true },
|
|
26169
|
+
/**
|
|
26170
|
+
* api service name
|
|
26171
|
+
*/
|
|
26172
|
+
apiService: {
|
|
26173
|
+
type: String,
|
|
26174
|
+
default: "planOrder"
|
|
26175
|
+
},
|
|
26176
|
+
/**
|
|
26177
|
+
* api service 下的方法
|
|
26178
|
+
*/
|
|
26179
|
+
apiAction: {
|
|
26180
|
+
type: String,
|
|
26181
|
+
default: "autoQuerySearch"
|
|
26182
|
+
},
|
|
26183
|
+
paras: {
|
|
26184
|
+
type: Object,
|
|
26185
|
+
default: null
|
|
26186
|
+
},
|
|
26187
|
+
nodeKey: {
|
|
26188
|
+
type: String,
|
|
26189
|
+
default: "id"
|
|
26190
|
+
},
|
|
26191
|
+
defaultProps: {
|
|
26192
|
+
type: Object,
|
|
26193
|
+
default: { children: "children", label: "name" }
|
|
26194
|
+
},
|
|
26195
|
+
placeholder: {
|
|
26196
|
+
type: String,
|
|
26197
|
+
default: "\u7C7B\u578B\u540D\u79F0"
|
|
26198
|
+
}
|
|
26199
|
+
}, {
|
|
26200
|
+
"modelValue": {},
|
|
26201
|
+
"modelModifiers": {}
|
|
26202
|
+
}),
|
|
26203
|
+
emits: /* @__PURE__ */ vue.mergeModels(["node-click"], ["update:modelValue"]),
|
|
26204
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
26205
|
+
const props = __props;
|
|
26206
|
+
const modeValue = vue.useModel(__props, "modelValue");
|
|
26207
|
+
const filterText = vue.ref("");
|
|
26208
|
+
const treeRef = vue.ref();
|
|
26209
|
+
const state = vue.reactive({
|
|
26210
|
+
loading: false,
|
|
26211
|
+
folderData: [],
|
|
26212
|
+
isShowCheckbox: false,
|
|
26213
|
+
strictly: false
|
|
26214
|
+
});
|
|
26215
|
+
vue.onMounted(async () => {
|
|
26216
|
+
await fetchTreeData();
|
|
26217
|
+
});
|
|
26218
|
+
vue.watch(filterText, (val) => {
|
|
26219
|
+
treeRef.value.filter(val);
|
|
26220
|
+
});
|
|
26221
|
+
const fetchTreeData = async (showLoading = true) => {
|
|
26222
|
+
var _a, _b;
|
|
26223
|
+
if (showLoading) state.loading = true;
|
|
26224
|
+
var res = await useBaseApi(props.apiService).get(props.paras, props.apiAction);
|
|
26225
|
+
state.folderData = (_a = res.data.result) != null ? _a : [];
|
|
26226
|
+
if (showLoading) state.loading = false;
|
|
26227
|
+
const rtreeData = (_b = res.data.result) != null ? _b : [];
|
|
26228
|
+
modeValue.value = rtreeData.length > 0 ? rtreeData[0] : { id: 0, name: "", code: "" };
|
|
26229
|
+
return rtreeData;
|
|
26230
|
+
};
|
|
26231
|
+
const getCheckedKeys = () => {
|
|
26232
|
+
return treeRef.value.getCheckedKeys();
|
|
26233
|
+
};
|
|
26234
|
+
const filterNode = (value, data) => {
|
|
26235
|
+
if (!value) return true;
|
|
26236
|
+
return data.name.includes(value);
|
|
26237
|
+
};
|
|
26238
|
+
const handleCommand = async (command) => {
|
|
26239
|
+
var _a;
|
|
26240
|
+
if ("expandAll" == command) {
|
|
26241
|
+
for (let i = 0; i < treeRef.value.store._getAllNodes().length; i++) {
|
|
26242
|
+
treeRef.value.store._getAllNodes()[i].expanded = true;
|
|
26243
|
+
}
|
|
26244
|
+
} else if ("collapseAll" == command) {
|
|
26245
|
+
for (let i = 0; i < treeRef.value.store._getAllNodes().length; i++) {
|
|
26246
|
+
treeRef.value.store._getAllNodes()[i].expanded = false;
|
|
26247
|
+
}
|
|
26248
|
+
} else if ("refresh" == command) {
|
|
26249
|
+
fetchTreeData();
|
|
26250
|
+
} else if ("rootNode" == command) {
|
|
26251
|
+
(_a = treeRef.value) == null ? void 0 : _a.setCurrentKey();
|
|
26252
|
+
modeValue.value = { id: 0, name: "", code: "" };
|
|
26253
|
+
emit("node-click", { id: 0, name: "", code: "" });
|
|
26254
|
+
}
|
|
26255
|
+
};
|
|
26256
|
+
const emit = __emit;
|
|
26257
|
+
const nodeClick = (node, data) => {
|
|
26258
|
+
var _a, _b;
|
|
26259
|
+
modeValue.value = { id: node.id, name: node.name, code: data ? (_a = data.code) != null ? _a : "" : "" };
|
|
26260
|
+
emit("node-click", { id: node.id, name: node.name, code: data ? (_b = data.code) != null ? _b : "" : "" });
|
|
26261
|
+
};
|
|
26262
|
+
const setCurrentKey = (key, shouldAutoExpandParent) => {
|
|
26263
|
+
var _a;
|
|
26264
|
+
(_a = treeRef.value) == null ? void 0 : _a.setCurrentKey(key, shouldAutoExpandParent);
|
|
26265
|
+
};
|
|
26266
|
+
__expose({ fetchTreeData, getCheckedKeys, setCurrentKey });
|
|
26267
|
+
return (_ctx, _cache) => {
|
|
26268
|
+
const _component_el_input = vue.resolveComponent("el-input");
|
|
26269
|
+
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
26270
|
+
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
26271
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
26272
|
+
const _component_el_dropdown_item = vue.resolveComponent("el-dropdown-item");
|
|
26273
|
+
const _component_el_dropdown_menu = vue.resolveComponent("el-dropdown-menu");
|
|
26274
|
+
const _component_el_dropdown = vue.resolveComponent("el-dropdown");
|
|
26275
|
+
const _component_el_tree = vue.resolveComponent("el-tree");
|
|
26276
|
+
const _component_el_scrollbar = vue.resolveComponent("el-scrollbar");
|
|
26277
|
+
const _component_el_card = vue.resolveComponent("el-card");
|
|
26278
|
+
const _directive_loading = vue.resolveDirective("loading");
|
|
26279
|
+
return vue.openBlock(), vue.createBlock(_component_el_card, {
|
|
26280
|
+
shadow: "hover",
|
|
26281
|
+
"body-style": "height:100%;overflow:auto;padding:5px;width:100%;",
|
|
26282
|
+
style: { "height": "100%" }
|
|
26283
|
+
}, {
|
|
26284
|
+
header: vue.withCtx(() => [
|
|
26285
|
+
vue.createElementVNode("div", _hoisted_1$i, [
|
|
26286
|
+
vue.createElementVNode("div", _hoisted_2$d, [
|
|
26287
|
+
vue.createElementVNode("div", _hoisted_3$7, [
|
|
26288
|
+
vue.createVNode(_component_el_input, {
|
|
26289
|
+
"prefix-icon": vue.unref(svg.Search),
|
|
26290
|
+
modelValue: filterText.value,
|
|
26291
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterText.value = $event),
|
|
26292
|
+
modelModifiers: { lazy: true },
|
|
26293
|
+
clearable: "",
|
|
26294
|
+
placeholder: __props.placeholder
|
|
26295
|
+
}, null, 8, ["prefix-icon", "modelValue", "placeholder"])
|
|
26296
|
+
]),
|
|
26297
|
+
vue.createElementVNode("div", _hoisted_4$4, [
|
|
26298
|
+
!props.checkStrictly && state.isShowCheckbox ? (vue.openBlock(), vue.createBlock(_component_el_checkbox, {
|
|
26299
|
+
key: 0,
|
|
26300
|
+
modelValue: state.strictly,
|
|
26301
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.strictly = $event),
|
|
26302
|
+
label: "\u8054\u52A8",
|
|
26303
|
+
style: { "margin-left": "8px" },
|
|
26304
|
+
border: ""
|
|
26305
|
+
}, null, 8, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
26306
|
+
vue.createVNode(_component_el_dropdown, { onCommand: handleCommand }, {
|
|
26307
|
+
dropdown: vue.withCtx(() => [
|
|
26308
|
+
vue.createVNode(_component_el_dropdown_menu, null, {
|
|
26309
|
+
default: vue.withCtx(() => [
|
|
26310
|
+
vue.createVNode(_component_el_dropdown_item, { command: "expandAll" }, {
|
|
26311
|
+
default: vue.withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
26312
|
+
vue.createTextVNode(
|
|
26313
|
+
"\u5168\u90E8\u5C55\u5F00",
|
|
26314
|
+
-1
|
|
26315
|
+
/* CACHED */
|
|
26316
|
+
)
|
|
26317
|
+
])]),
|
|
26318
|
+
_: 1
|
|
26319
|
+
/* STABLE */
|
|
26320
|
+
}),
|
|
26321
|
+
vue.createVNode(_component_el_dropdown_item, { command: "collapseAll" }, {
|
|
26322
|
+
default: vue.withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
26323
|
+
vue.createTextVNode(
|
|
26324
|
+
"\u5168\u90E8\u6298\u53E0",
|
|
26325
|
+
-1
|
|
26326
|
+
/* CACHED */
|
|
26327
|
+
)
|
|
26328
|
+
])]),
|
|
26329
|
+
_: 1
|
|
26330
|
+
/* STABLE */
|
|
26331
|
+
}),
|
|
26332
|
+
vue.createVNode(_component_el_dropdown_item, { command: "rootNode" }, {
|
|
26333
|
+
default: vue.withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
26334
|
+
vue.createTextVNode(
|
|
26335
|
+
"\u6839\u8282\u70B9",
|
|
26336
|
+
-1
|
|
26337
|
+
/* CACHED */
|
|
26338
|
+
)
|
|
26339
|
+
])]),
|
|
26340
|
+
_: 1
|
|
26341
|
+
/* STABLE */
|
|
26342
|
+
}),
|
|
26343
|
+
vue.createVNode(_component_el_dropdown_item, { command: "refresh" }, {
|
|
26344
|
+
default: vue.withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
26345
|
+
vue.createTextVNode(
|
|
26346
|
+
"\u5237\u65B0",
|
|
26347
|
+
-1
|
|
26348
|
+
/* CACHED */
|
|
26349
|
+
)
|
|
26350
|
+
])]),
|
|
26351
|
+
_: 1
|
|
26352
|
+
/* STABLE */
|
|
26353
|
+
})
|
|
26354
|
+
]),
|
|
26355
|
+
_: 1
|
|
26356
|
+
/* STABLE */
|
|
26357
|
+
})
|
|
26358
|
+
]),
|
|
26359
|
+
default: vue.withCtx(() => [
|
|
26360
|
+
vue.createVNode(_component_el_button, { style: { "margin-left": "8px", "width": "34px" } }, {
|
|
26361
|
+
default: vue.withCtx(() => [
|
|
26362
|
+
vue.createVNode(_component_el_icon, { class: "el-icon--center" }, {
|
|
26363
|
+
default: vue.withCtx(() => [
|
|
26364
|
+
vue.createVNode(vue.unref(svg.MoreFilled))
|
|
26365
|
+
]),
|
|
26366
|
+
_: 1
|
|
26367
|
+
/* STABLE */
|
|
26368
|
+
})
|
|
26369
|
+
]),
|
|
26370
|
+
_: 1
|
|
26371
|
+
/* STABLE */
|
|
26372
|
+
})
|
|
26373
|
+
]),
|
|
26374
|
+
_: 1
|
|
26375
|
+
/* STABLE */
|
|
26376
|
+
})
|
|
26377
|
+
])
|
|
26378
|
+
])
|
|
26379
|
+
])
|
|
26380
|
+
]),
|
|
26381
|
+
default: vue.withCtx(() => [
|
|
26382
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [
|
|
26383
|
+
vue.createVNode(_component_el_scrollbar, null, {
|
|
26384
|
+
default: vue.withCtx(() => [
|
|
26385
|
+
vue.createVNode(_component_el_tree, {
|
|
26386
|
+
ref_key: "treeRef",
|
|
26387
|
+
ref: treeRef,
|
|
26388
|
+
class: "filter-tree",
|
|
26389
|
+
data: state.folderData,
|
|
26390
|
+
"node-key": __props.nodeKey,
|
|
26391
|
+
props: __props.defaultProps,
|
|
26392
|
+
"filter-node-method": filterNode,
|
|
26393
|
+
onNodeClick: nodeClick,
|
|
26394
|
+
"show-checkbox": state.isShowCheckbox,
|
|
26395
|
+
"default-expand-all": "",
|
|
26396
|
+
"highlight-current": "",
|
|
26397
|
+
"check-strictly": !state.strictly
|
|
26398
|
+
}, {
|
|
26399
|
+
default: vue.withCtx(({ node }) => [
|
|
26400
|
+
vue.createCommentVNode(' <el-icon v-if="node.level < 4" size="16" style="margin-right: 3px; display: inline; vertical-align: middle"><ele-FolderOpened /></el-icon>\r\n <el-icon v-else size="16" style="margin-right: 3px; display: inline; vertical-align: middle"><ele-Folder /></el-icon> '),
|
|
26401
|
+
vue.createTextVNode(
|
|
26402
|
+
" " + vue.toDisplayString(node.label),
|
|
26403
|
+
1
|
|
26404
|
+
/* TEXT */
|
|
26405
|
+
)
|
|
26406
|
+
]),
|
|
26407
|
+
_: 1
|
|
26408
|
+
/* STABLE */
|
|
26409
|
+
}, 8, ["data", "node-key", "props", "show-checkbox", "check-strictly"])
|
|
26410
|
+
]),
|
|
26411
|
+
_: 1
|
|
26412
|
+
/* STABLE */
|
|
26413
|
+
})
|
|
26414
|
+
])), [
|
|
26415
|
+
[_directive_loading, state.loading]
|
|
26416
|
+
])
|
|
26417
|
+
]),
|
|
26418
|
+
_: 1
|
|
26419
|
+
/* STABLE */
|
|
26420
|
+
});
|
|
26421
|
+
};
|
|
26422
|
+
}
|
|
26423
|
+
});
|
|
26424
|
+
|
|
26425
|
+
const FmTree = _sfc_main$n;
|
|
26426
|
+
|
|
25892
26427
|
const plugins = [
|
|
25893
26428
|
FButton,
|
|
25894
26429
|
FInput,
|
|
@@ -25900,7 +26435,9 @@
|
|
|
25900
26435
|
FChart,
|
|
25901
26436
|
FForm,
|
|
25902
26437
|
FLayout,
|
|
25903
|
-
FSettings
|
|
26438
|
+
FSettings,
|
|
26439
|
+
FModifyRecord,
|
|
26440
|
+
FmTree
|
|
25904
26441
|
];
|
|
25905
26442
|
|
|
25906
26443
|
var installer = makeInstaller([...plugins]);
|