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