@fmdeui/fmui 1.0.91 → 1.0.93
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 +3 -1
- package/es/components/fm-autocomplete/component/userSelectDialog.vue.d.ts +34 -0
- package/es/components/fm-autocomplete/index.d.ts +223 -0
- package/es/components/fm-autocomplete/index.vue.d.ts +181 -0
- package/es/components/index.d.ts +1 -0
- package/es/packages/components/fm-autocomplete/component/userSelectDialog.vue.mjs +5 -0
- package/es/packages/components/fm-autocomplete/component/userSelectDialog.vue2.mjs +356 -0
- package/es/packages/components/fm-autocomplete/index.mjs +6 -0
- package/es/packages/components/fm-autocomplete/index.vue.mjs +5 -0
- package/es/packages/components/fm-autocomplete/index.vue2.mjs +178 -0
- package/es/packages/components/fm-inputnumber/index.vue2.mjs +4 -3
- package/es/packages/components/index.mjs +1 -0
- package/index.js +605 -80
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +606 -81
- package/lib/component.js +3 -1
- package/lib/components/fm-autocomplete/component/userSelectDialog.vue.d.ts +34 -0
- package/lib/components/fm-autocomplete/index.d.ts +223 -0
- package/lib/components/fm-autocomplete/index.vue.d.ts +181 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/packages/components/fm-autocomplete/component/userSelectDialog.vue.js +9 -0
- package/lib/packages/components/fm-autocomplete/component/userSelectDialog.vue2.js +360 -0
- package/lib/packages/components/fm-autocomplete/index.js +8 -0
- package/lib/packages/components/fm-autocomplete/index.vue.js +9 -0
- package/lib/packages/components/fm-autocomplete/index.vue2.js +182 -0
- package/lib/packages/components/fm-inputnumber/index.vue2.js +4 -3
- package/lib/packages/components/index.js +8 -6
- 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 → make-installer.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.93 */
|
|
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';
|
|
@@ -6,7 +6,7 @@ import VxeUI from 'vxe-pc-ui';
|
|
|
6
6
|
import ExcelJS from 'exceljs';
|
|
7
7
|
import * as svg from '@element-plus/icons-vue';
|
|
8
8
|
import { CaretTop, ArrowDown, ArrowUp, RefreshLeft, Search, MoreFilled, Avatar, Loading, Lock, CircleCloseFilled } from '@element-plus/icons-vue';
|
|
9
|
-
import { isRef, unref, watch, nextTick, computed, reactive, defineComponent, ref, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createVNode, renderSlot, inject, withDirectives, resolveDirective, 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';
|
|
9
|
+
import { isRef, unref, watch, nextTick, computed, reactive, defineComponent, ref, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createVNode, renderSlot, inject, withDirectives, resolveDirective, 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, withKeys, 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';
|
|
@@ -20165,7 +20165,7 @@ const setupVXETable = (app) => {
|
|
|
20165
20165
|
app.use(VxeUITable);
|
|
20166
20166
|
};
|
|
20167
20167
|
|
|
20168
|
-
var _sfc_main$
|
|
20168
|
+
var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
20169
20169
|
...{
|
|
20170
20170
|
name: "FButton"
|
|
20171
20171
|
},
|
|
@@ -20235,7 +20235,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
20235
20235
|
}
|
|
20236
20236
|
});
|
|
20237
20237
|
|
|
20238
|
-
const FButton = _sfc_main$
|
|
20238
|
+
const FButton = _sfc_main$K;
|
|
20239
20239
|
|
|
20240
20240
|
const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
|
|
20241
20241
|
const translate = (path, option, locale) => get(locale, path, path).replace(
|
|
@@ -20880,9 +20880,9 @@ function showTabelColumn(field) {
|
|
|
20880
20880
|
return true;
|
|
20881
20881
|
}
|
|
20882
20882
|
|
|
20883
|
-
const _hoisted_1$
|
|
20884
|
-
const _hoisted_2$
|
|
20885
|
-
var _sfc_main$
|
|
20883
|
+
const _hoisted_1$u = { key: 0 };
|
|
20884
|
+
const _hoisted_2$j = { key: 0 };
|
|
20885
|
+
var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
20886
20886
|
...{
|
|
20887
20887
|
name: "FInput"
|
|
20888
20888
|
},
|
|
@@ -21089,7 +21089,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21089
21089
|
fn: withCtx(() => [
|
|
21090
21090
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21091
21091
|
"span",
|
|
21092
|
-
_hoisted_1$
|
|
21092
|
+
_hoisted_1$u,
|
|
21093
21093
|
toDisplayString(appendTitleText.value),
|
|
21094
21094
|
1
|
|
21095
21095
|
/* TEXT */
|
|
@@ -21122,7 +21122,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21122
21122
|
fn: withCtx(() => [
|
|
21123
21123
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21124
21124
|
"span",
|
|
21125
|
-
_hoisted_2$
|
|
21125
|
+
_hoisted_2$j,
|
|
21126
21126
|
toDisplayString(appendTitleText.value),
|
|
21127
21127
|
1
|
|
21128
21128
|
/* TEXT */
|
|
@@ -21135,13 +21135,13 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21135
21135
|
}
|
|
21136
21136
|
});
|
|
21137
21137
|
|
|
21138
|
-
const FInput = _sfc_main$
|
|
21138
|
+
const FInput = _sfc_main$J;
|
|
21139
21139
|
|
|
21140
|
-
const _hoisted_1$
|
|
21140
|
+
const _hoisted_1$t = {
|
|
21141
21141
|
key: 0,
|
|
21142
21142
|
class: "back_to_top"
|
|
21143
21143
|
};
|
|
21144
|
-
var _sfc_main$
|
|
21144
|
+
var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
21145
21145
|
...{
|
|
21146
21146
|
name: "FLayoutPage"
|
|
21147
21147
|
},
|
|
@@ -21203,7 +21203,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21203
21203
|
},
|
|
21204
21204
|
[
|
|
21205
21205
|
renderSlot(_ctx.$slots, "default"),
|
|
21206
|
-
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21206
|
+
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
21207
21207
|
isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
|
|
21208
21208
|
key: 0,
|
|
21209
21209
|
onClick: backToTop
|
|
@@ -21231,9 +21231,9 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21231
21231
|
}
|
|
21232
21232
|
});
|
|
21233
21233
|
|
|
21234
|
-
const FLayoutPage = _sfc_main$
|
|
21234
|
+
const FLayoutPage = _sfc_main$I;
|
|
21235
21235
|
|
|
21236
|
-
var _sfc_main$
|
|
21236
|
+
var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
21237
21237
|
...{
|
|
21238
21238
|
name: "FLayoutPageItem"
|
|
21239
21239
|
},
|
|
@@ -21261,7 +21261,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21261
21261
|
}
|
|
21262
21262
|
});
|
|
21263
21263
|
|
|
21264
|
-
const FLayoutPageItem = _sfc_main$
|
|
21264
|
+
const FLayoutPageItem = _sfc_main$H;
|
|
21265
21265
|
|
|
21266
21266
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21267
21267
|
let timer = null;
|
|
@@ -21304,8 +21304,8 @@ function toLine(name) {
|
|
|
21304
21304
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
21305
21305
|
}
|
|
21306
21306
|
|
|
21307
|
-
const _hoisted_1$
|
|
21308
|
-
var _sfc_main$
|
|
21307
|
+
const _hoisted_1$s = ["id"];
|
|
21308
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
21309
21309
|
...{
|
|
21310
21310
|
name: "FChart"
|
|
21311
21311
|
},
|
|
@@ -21389,7 +21389,7 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
21389
21389
|
id: __props.id,
|
|
21390
21390
|
ref_key: "echartRef",
|
|
21391
21391
|
ref: echartRef
|
|
21392
|
-
}, null, 8, _hoisted_1$
|
|
21392
|
+
}, null, 8, _hoisted_1$s), [
|
|
21393
21393
|
[vShow, !formatEmpty.value]
|
|
21394
21394
|
]),
|
|
21395
21395
|
formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -21404,13 +21404,13 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
21404
21404
|
}
|
|
21405
21405
|
});
|
|
21406
21406
|
|
|
21407
|
-
const FChart = _sfc_main$
|
|
21407
|
+
const FChart = _sfc_main$G;
|
|
21408
21408
|
|
|
21409
|
-
const _hoisted_1$
|
|
21409
|
+
const _hoisted_1$r = {
|
|
21410
21410
|
key: 1,
|
|
21411
21411
|
class: "f_select__pagination"
|
|
21412
21412
|
};
|
|
21413
|
-
var _sfc_main$
|
|
21413
|
+
var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
21414
21414
|
...{
|
|
21415
21415
|
name: "FSelect"
|
|
21416
21416
|
},
|
|
@@ -21623,7 +21623,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
21623
21623
|
128
|
|
21624
21624
|
/* KEYED_FRAGMENT */
|
|
21625
21625
|
)),
|
|
21626
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21626
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
21627
21627
|
createVNode(_component_el_pagination, mergeProps({
|
|
21628
21628
|
"current-page": __props.paginationOption.currentPage,
|
|
21629
21629
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -21661,9 +21661,9 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
21661
21661
|
}
|
|
21662
21662
|
});
|
|
21663
21663
|
|
|
21664
|
-
const FSelect = _sfc_main$
|
|
21664
|
+
const FSelect = _sfc_main$F;
|
|
21665
21665
|
|
|
21666
|
-
var _sfc_main$
|
|
21666
|
+
var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
21667
21667
|
...{
|
|
21668
21668
|
name: "RenderComp"
|
|
21669
21669
|
},
|
|
@@ -21683,12 +21683,12 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
21683
21683
|
}
|
|
21684
21684
|
});
|
|
21685
21685
|
|
|
21686
|
-
const _hoisted_1$
|
|
21687
|
-
const _hoisted_2$
|
|
21688
|
-
const _hoisted_3$
|
|
21686
|
+
const _hoisted_1$q = { class: "inside_box" };
|
|
21687
|
+
const _hoisted_2$i = { class: "inside_box_title" };
|
|
21688
|
+
const _hoisted_3$b = { class: "check-box" };
|
|
21689
21689
|
const _hoisted_4$7 = { class: "more_dropdown_icon" };
|
|
21690
21690
|
const _hoisted_5$6 = { class: "out_box" };
|
|
21691
|
-
var _sfc_main$
|
|
21691
|
+
var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
21692
21692
|
...{
|
|
21693
21693
|
name: "MoreChoose"
|
|
21694
21694
|
},
|
|
@@ -21826,8 +21826,8 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
21826
21826
|
])
|
|
21827
21827
|
]),
|
|
21828
21828
|
default: withCtx(() => [
|
|
21829
|
-
createElementVNode("div", _hoisted_1$
|
|
21830
|
-
createElementVNode("div", _hoisted_2$
|
|
21829
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
21830
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
21831
21831
|
createElementVNode(
|
|
21832
21832
|
"div",
|
|
21833
21833
|
null,
|
|
@@ -21835,7 +21835,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
21835
21835
|
1
|
|
21836
21836
|
/* TEXT */
|
|
21837
21837
|
),
|
|
21838
|
-
createElementVNode("div", _hoisted_3$
|
|
21838
|
+
createElementVNode("div", _hoisted_3$b, [
|
|
21839
21839
|
createVNode(_component_el_button, {
|
|
21840
21840
|
size: "small",
|
|
21841
21841
|
link: "",
|
|
@@ -22003,7 +22003,7 @@ function useComputed() {
|
|
|
22003
22003
|
};
|
|
22004
22004
|
}
|
|
22005
22005
|
|
|
22006
|
-
var _sfc_main$
|
|
22006
|
+
var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
22007
22007
|
...{
|
|
22008
22008
|
name: "FQueryCondition"
|
|
22009
22009
|
},
|
|
@@ -22422,7 +22422,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
22422
22422
|
opt.labelRender ? {
|
|
22423
22423
|
name: "label",
|
|
22424
22424
|
fn: withCtx(() => [
|
|
22425
|
-
createVNode(_sfc_main$
|
|
22425
|
+
createVNode(_sfc_main$E, {
|
|
22426
22426
|
form: unref(queryState).form,
|
|
22427
22427
|
render: opt.labelRender
|
|
22428
22428
|
}, null, 8, ["form", "render"])
|
|
@@ -22518,7 +22518,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
22518
22518
|
_: 1
|
|
22519
22519
|
/* STABLE */
|
|
22520
22520
|
})) : createCommentVNode("v-if", true),
|
|
22521
|
-
createVNode(_sfc_main$
|
|
22521
|
+
createVNode(_sfc_main$D, {
|
|
22522
22522
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22523
22523
|
moreCheckList: __props.moreCheckList,
|
|
22524
22524
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22544,7 +22544,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
22544
22544
|
}
|
|
22545
22545
|
});
|
|
22546
22546
|
|
|
22547
|
-
var _sfc_main$
|
|
22547
|
+
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
22548
22548
|
...{
|
|
22549
22549
|
name: "RenderCol"
|
|
22550
22550
|
},
|
|
@@ -22700,17 +22700,17 @@ function useVirtualized() {
|
|
|
22700
22700
|
};
|
|
22701
22701
|
}
|
|
22702
22702
|
|
|
22703
|
-
const _hoisted_1$
|
|
22703
|
+
const _hoisted_1$p = {
|
|
22704
22704
|
key: 0,
|
|
22705
22705
|
class: "table_query_condition"
|
|
22706
22706
|
};
|
|
22707
|
-
const _hoisted_2$
|
|
22708
|
-
const _hoisted_3$
|
|
22707
|
+
const _hoisted_2$h = ["element-loading-text"];
|
|
22708
|
+
const _hoisted_3$a = { key: 2 };
|
|
22709
22709
|
const _hoisted_4$6 = {
|
|
22710
22710
|
key: 0,
|
|
22711
22711
|
class: "f-table-select__page"
|
|
22712
22712
|
};
|
|
22713
|
-
var _sfc_main$
|
|
22713
|
+
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
22714
22714
|
...{
|
|
22715
22715
|
name: "FSelectTable"
|
|
22716
22716
|
},
|
|
@@ -23332,9 +23332,9 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
23332
23332
|
style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
23333
23333
|
},
|
|
23334
23334
|
[
|
|
23335
|
-
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23335
|
+
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
23336
23336
|
createVNode(
|
|
23337
|
-
_sfc_main$
|
|
23337
|
+
_sfc_main$C,
|
|
23338
23338
|
mergeProps({
|
|
23339
23339
|
ref_key: "fQueryConditionRef",
|
|
23340
23340
|
ref: fQueryConditionRef,
|
|
@@ -23460,7 +23460,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
23460
23460
|
fixed: item.fixed
|
|
23461
23461
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23462
23462
|
default: withCtx((scope) => [
|
|
23463
|
-
item.render ? (openBlock(), createBlock(_sfc_main$
|
|
23463
|
+
item.render ? (openBlock(), createBlock(_sfc_main$B, {
|
|
23464
23464
|
key: 0,
|
|
23465
23465
|
column: item,
|
|
23466
23466
|
row: scope.row,
|
|
@@ -23471,7 +23471,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
23471
23471
|
key: 1,
|
|
23472
23472
|
scope
|
|
23473
23473
|
}) : createCommentVNode("v-if", true),
|
|
23474
|
-
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
23474
|
+
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
|
|
23475
23475
|
createElementVNode(
|
|
23476
23476
|
"span",
|
|
23477
23477
|
null,
|
|
@@ -23505,7 +23505,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
23505
23505
|
total: __props.table.total
|
|
23506
23506
|
}, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
|
|
23507
23507
|
])) : createCommentVNode("v-if", true)
|
|
23508
|
-
], 8, _hoisted_2$
|
|
23508
|
+
], 8, _hoisted_2$h)), [
|
|
23509
23509
|
[_directive_loading, __props.tableLoading]
|
|
23510
23510
|
]),
|
|
23511
23511
|
renderSlot(_ctx.$slots, "footer")
|
|
@@ -23523,11 +23523,11 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
23523
23523
|
}
|
|
23524
23524
|
});
|
|
23525
23525
|
|
|
23526
|
-
const FSelectTable = _sfc_main$
|
|
23526
|
+
const FSelectTable = _sfc_main$A;
|
|
23527
23527
|
|
|
23528
|
-
const FQueryCondition = _sfc_main$
|
|
23528
|
+
const FQueryCondition = _sfc_main$C;
|
|
23529
23529
|
|
|
23530
|
-
var _sfc_main$
|
|
23530
|
+
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
23531
23531
|
...{
|
|
23532
23532
|
name: "RenderComp"
|
|
23533
23533
|
},
|
|
@@ -23547,7 +23547,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23547
23547
|
}
|
|
23548
23548
|
});
|
|
23549
23549
|
|
|
23550
|
-
var _sfc_main$
|
|
23550
|
+
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
23551
23551
|
...{
|
|
23552
23552
|
name: "RenderBtn"
|
|
23553
23553
|
},
|
|
@@ -23567,12 +23567,12 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
23567
23567
|
}
|
|
23568
23568
|
});
|
|
23569
23569
|
|
|
23570
|
-
const _hoisted_1$
|
|
23570
|
+
const _hoisted_1$o = {
|
|
23571
23571
|
key: 1,
|
|
23572
23572
|
class: "text_show"
|
|
23573
23573
|
};
|
|
23574
|
-
const _hoisted_2$
|
|
23575
|
-
var _sfc_main$
|
|
23574
|
+
const _hoisted_2$g = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23575
|
+
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
23576
23576
|
...{
|
|
23577
23577
|
name: "FForm"
|
|
23578
23578
|
},
|
|
@@ -23823,7 +23823,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
23823
23823
|
}) : createCommentVNode("v-if", true),
|
|
23824
23824
|
item.textShow ? (openBlock(), createElementBlock(
|
|
23825
23825
|
"span",
|
|
23826
|
-
_hoisted_1$
|
|
23826
|
+
_hoisted_1$o,
|
|
23827
23827
|
toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
23828
23828
|
1
|
|
23829
23829
|
/* TEXT */
|
|
@@ -23943,7 +23943,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
23943
23943
|
item.labelSlotName || item.labelRender ? {
|
|
23944
23944
|
name: "label",
|
|
23945
23945
|
fn: withCtx(() => [
|
|
23946
|
-
item.labelRender ? (openBlock(), createBlock(_sfc_main$
|
|
23946
|
+
item.labelRender ? (openBlock(), createBlock(_sfc_main$z, {
|
|
23947
23947
|
key: 0,
|
|
23948
23948
|
render: item.labelRender,
|
|
23949
23949
|
item
|
|
@@ -23965,7 +23965,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
23965
23965
|
/* UNKEYED_FRAGMENT */
|
|
23966
23966
|
)),
|
|
23967
23967
|
createCommentVNode(" \u6309\u94AE "),
|
|
23968
|
-
createElementVNode("div", _hoisted_2$
|
|
23968
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
23969
23969
|
__props.formOpts.btnSlotName ? renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : createCommentVNode("v-if", true),
|
|
23970
23970
|
!__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (openBlock(true), createElementBlock(
|
|
23971
23971
|
Fragment,
|
|
@@ -23975,7 +23975,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
23975
23975
|
Fragment,
|
|
23976
23976
|
null,
|
|
23977
23977
|
[
|
|
23978
|
-
val.render ? (openBlock(), createBlock(_sfc_main$
|
|
23978
|
+
val.render ? (openBlock(), createBlock(_sfc_main$y, {
|
|
23979
23979
|
key: index,
|
|
23980
23980
|
item: val,
|
|
23981
23981
|
render: val.render
|
|
@@ -24022,10 +24022,10 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
24022
24022
|
}
|
|
24023
24023
|
});
|
|
24024
24024
|
|
|
24025
|
-
const FForm = _sfc_main$
|
|
24025
|
+
const FForm = _sfc_main$x;
|
|
24026
24026
|
|
|
24027
|
-
const _hoisted_1$
|
|
24028
|
-
var _sfc_main$
|
|
24027
|
+
const _hoisted_1$n = ["src"];
|
|
24028
|
+
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
24029
24029
|
...{
|
|
24030
24030
|
name: "svgIcon"
|
|
24031
24031
|
},
|
|
@@ -24096,7 +24096,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
24096
24096
|
createElementVNode("img", {
|
|
24097
24097
|
src: getIconName.value,
|
|
24098
24098
|
style: normalizeStyle(setIconSvgInsStyle.value)
|
|
24099
|
-
}, null, 12, _hoisted_1$
|
|
24099
|
+
}, null, 12, _hoisted_1$n)
|
|
24100
24100
|
],
|
|
24101
24101
|
4
|
|
24102
24102
|
/* STYLE */
|
|
@@ -24123,13 +24123,13 @@ function elSvg(app) {
|
|
|
24123
24123
|
}
|
|
24124
24124
|
}
|
|
24125
24125
|
if (!app._context.components[`SvgIcon`]) {
|
|
24126
|
-
app.component("SvgIcon", _sfc_main$
|
|
24126
|
+
app.component("SvgIcon", _sfc_main$w);
|
|
24127
24127
|
}
|
|
24128
24128
|
}
|
|
24129
24129
|
|
|
24130
24130
|
const emitter = mitt();
|
|
24131
24131
|
|
|
24132
|
-
var _sfc_main$
|
|
24132
|
+
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
24133
24133
|
...{
|
|
24134
24134
|
name: "FLayout"
|
|
24135
24135
|
},
|
|
@@ -24215,7 +24215,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
24215
24215
|
}
|
|
24216
24216
|
});
|
|
24217
24217
|
|
|
24218
|
-
const FLayout = _sfc_main$
|
|
24218
|
+
const FLayout = _sfc_main$v;
|
|
24219
24219
|
|
|
24220
24220
|
function commonFunction() {
|
|
24221
24221
|
const { copy, isSupported } = useClipboard();
|
|
@@ -24492,9 +24492,9 @@ const other = {
|
|
|
24492
24492
|
// },
|
|
24493
24493
|
};
|
|
24494
24494
|
|
|
24495
|
-
const _hoisted_1$
|
|
24496
|
-
const _hoisted_2$
|
|
24497
|
-
const _hoisted_3$
|
|
24495
|
+
const _hoisted_1$m = { class: "layout-breadcrumb-seting" };
|
|
24496
|
+
const _hoisted_2$f = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24497
|
+
const _hoisted_3$9 = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24498
24498
|
const _hoisted_4$5 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
24499
24499
|
const _hoisted_5$5 = { style: { "margin": "10px 0" } };
|
|
24500
24500
|
const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
|
|
@@ -24617,7 +24617,7 @@ const _hoisted_119 = {
|
|
|
24617
24617
|
class: "traditionalColors-chines",
|
|
24618
24618
|
style: { "cursor": "grab", "color": "gray" }
|
|
24619
24619
|
};
|
|
24620
|
-
var _sfc_main$
|
|
24620
|
+
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
24621
24621
|
...{
|
|
24622
24622
|
name: "FSettings"
|
|
24623
24623
|
},
|
|
@@ -24881,7 +24881,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
24881
24881
|
const _component_el_col = resolveComponent("el-col");
|
|
24882
24882
|
const _component_el_row = resolveComponent("el-row");
|
|
24883
24883
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
24884
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24884
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
24885
24885
|
createVNode(_component_el_drawer, {
|
|
24886
24886
|
title: _ctx.$t("message.layout.configTitle"),
|
|
24887
24887
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -24906,10 +24906,10 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
24906
24906
|
_: 1
|
|
24907
24907
|
/* STABLE */
|
|
24908
24908
|
}),
|
|
24909
|
-
createElementVNode("div", _hoisted_2$
|
|
24909
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
24910
24910
|
createElementVNode(
|
|
24911
24911
|
"div",
|
|
24912
|
-
_hoisted_3$
|
|
24912
|
+
_hoisted_3$9,
|
|
24913
24913
|
toDisplayString(_ctx.$t("message.layout.themeColors")),
|
|
24914
24914
|
1
|
|
24915
24915
|
/* TEXT */
|
|
@@ -26380,9 +26380,9 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
26380
26380
|
}
|
|
26381
26381
|
});
|
|
26382
26382
|
|
|
26383
|
-
const FSettings = _sfc_main$
|
|
26383
|
+
const FSettings = _sfc_main$u;
|
|
26384
26384
|
|
|
26385
|
-
var _sfc_main$
|
|
26385
|
+
var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
26386
26386
|
...{
|
|
26387
26387
|
name: "FModifyRecord"
|
|
26388
26388
|
},
|
|
@@ -26645,9 +26645,9 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
26645
26645
|
}
|
|
26646
26646
|
});
|
|
26647
26647
|
|
|
26648
|
-
const FModifyRecord = _sfc_main$
|
|
26648
|
+
const FModifyRecord = _sfc_main$t;
|
|
26649
26649
|
|
|
26650
|
-
var _sfc_main$
|
|
26650
|
+
var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
26651
26651
|
...{
|
|
26652
26652
|
name: "Fminputdropdown"
|
|
26653
26653
|
},
|
|
@@ -26839,9 +26839,9 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
26839
26839
|
}
|
|
26840
26840
|
});
|
|
26841
26841
|
|
|
26842
|
-
const Fminputdropdown = _sfc_main$
|
|
26842
|
+
const Fminputdropdown = _sfc_main$s;
|
|
26843
26843
|
|
|
26844
|
-
var _sfc_main$
|
|
26844
|
+
var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
26845
26845
|
...{ name: "FmInputNumber" },
|
|
26846
26846
|
__name: "index",
|
|
26847
26847
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -26866,12 +26866,13 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
26866
26866
|
const modelValue = useModel(__props, "modelValue");
|
|
26867
26867
|
const props = __props;
|
|
26868
26868
|
const handleInput = (val) => {
|
|
26869
|
-
if (val
|
|
26870
|
-
modelValue.value = props.defaultValue;
|
|
26869
|
+
if (val === "" || val === null || val === void 0) {
|
|
26870
|
+
modelValue.value = props.defaultValue !== -1 ? props.defaultValue : 0;
|
|
26871
26871
|
return;
|
|
26872
26872
|
}
|
|
26873
26873
|
if (props.bType == "number") {
|
|
26874
|
-
|
|
26874
|
+
const num = parseInt(val, 10);
|
|
26875
|
+
modelValue.value = Number.isNaN(num) ? props.defaultValue : num;
|
|
26875
26876
|
return;
|
|
26876
26877
|
}
|
|
26877
26878
|
let cleaned = String(val).replace(/[^\d.]/g, "");
|
|
@@ -26942,7 +26943,530 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
26942
26943
|
}
|
|
26943
26944
|
});
|
|
26944
26945
|
|
|
26945
|
-
const FmInputNumber = _sfc_main$
|
|
26946
|
+
const FmInputNumber = _sfc_main$r;
|
|
26947
|
+
|
|
26948
|
+
const _hoisted_1$l = { style: { "color": "#fff" } };
|
|
26949
|
+
const _hoisted_2$e = { style: { "margin-top": "10px" } };
|
|
26950
|
+
const _hoisted_3$8 = { class: "dialog-footer" };
|
|
26951
|
+
var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
26952
|
+
__name: "userSelectDialog",
|
|
26953
|
+
props: {
|
|
26954
|
+
visible: {
|
|
26955
|
+
type: Boolean,
|
|
26956
|
+
default: false
|
|
26957
|
+
},
|
|
26958
|
+
data: {
|
|
26959
|
+
type: Array,
|
|
26960
|
+
default: () => []
|
|
26961
|
+
}
|
|
26962
|
+
},
|
|
26963
|
+
emits: ["update:visible", "change"],
|
|
26964
|
+
setup(__props, { emit: __emit }) {
|
|
26965
|
+
let emits = __emit;
|
|
26966
|
+
const props = __props;
|
|
26967
|
+
const userList = ref([]);
|
|
26968
|
+
let checkedUsersList = ref([]);
|
|
26969
|
+
const state = reactive({
|
|
26970
|
+
total: 0,
|
|
26971
|
+
queryParams: {
|
|
26972
|
+
orgId: -1,
|
|
26973
|
+
page: 1,
|
|
26974
|
+
pageSize: 50
|
|
26975
|
+
}
|
|
26976
|
+
});
|
|
26977
|
+
let visibleDialog = computed({
|
|
26978
|
+
get() {
|
|
26979
|
+
return props.visible;
|
|
26980
|
+
},
|
|
26981
|
+
set() {
|
|
26982
|
+
closeDialog();
|
|
26983
|
+
}
|
|
26984
|
+
});
|
|
26985
|
+
onMounted(async () => {
|
|
26986
|
+
await getUserList();
|
|
26987
|
+
});
|
|
26988
|
+
const resetQuery = () => {
|
|
26989
|
+
state.queryParams = {};
|
|
26990
|
+
handleQuery();
|
|
26991
|
+
};
|
|
26992
|
+
const handleNodeChange = async (node) => {
|
|
26993
|
+
state.queryParams.orgId = node.id;
|
|
26994
|
+
await handleQuery();
|
|
26995
|
+
};
|
|
26996
|
+
const getUserList = async () => {
|
|
26997
|
+
var _a, _b, _c, _d;
|
|
26998
|
+
let res = await useBaseApi("sysUser").page(state.queryParams);
|
|
26999
|
+
userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
27000
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
27001
|
+
};
|
|
27002
|
+
async function handleQuery() {
|
|
27003
|
+
state.queryParams.pageNum = 1;
|
|
27004
|
+
await getUserList();
|
|
27005
|
+
}
|
|
27006
|
+
function handleSelectUser(row) {
|
|
27007
|
+
if (!row || row.id == "") return;
|
|
27008
|
+
emits("change", { id: row.id, name: row.realName, data: row });
|
|
27009
|
+
}
|
|
27010
|
+
const handleSizeChange = (val) => {
|
|
27011
|
+
state.queryParams.pageSize = val;
|
|
27012
|
+
handleQuery();
|
|
27013
|
+
};
|
|
27014
|
+
const handleCurrentChange = (val) => {
|
|
27015
|
+
state.queryParams.page = val;
|
|
27016
|
+
handleQuery();
|
|
27017
|
+
};
|
|
27018
|
+
const closeDialog = () => {
|
|
27019
|
+
checkedUsersList.value = [];
|
|
27020
|
+
emits("update:visible", false);
|
|
27021
|
+
};
|
|
27022
|
+
return (_ctx, _cache) => {
|
|
27023
|
+
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
27024
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
27025
|
+
const _component_FmTree = resolveComponent("FmTree");
|
|
27026
|
+
const _component_el_col = resolveComponent("el-col");
|
|
27027
|
+
const _component_el_input = resolveComponent("el-input");
|
|
27028
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
27029
|
+
const _component_el_button = resolveComponent("el-button");
|
|
27030
|
+
const _component_el_button_group = resolveComponent("el-button-group");
|
|
27031
|
+
const _component_el_form = resolveComponent("el-form");
|
|
27032
|
+
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
27033
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
27034
|
+
const _component_el_table = resolveComponent("el-table");
|
|
27035
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
27036
|
+
const _component_el_card = resolveComponent("el-card");
|
|
27037
|
+
const _component_el_row = resolveComponent("el-row");
|
|
27038
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
27039
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
27040
|
+
modelValue: unref(visibleDialog),
|
|
27041
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
27042
|
+
style: { "width": "70vw" },
|
|
27043
|
+
"append-to-body": "",
|
|
27044
|
+
draggable: "",
|
|
27045
|
+
"close-on-click-modal": false
|
|
27046
|
+
}, {
|
|
27047
|
+
header: withCtx(() => [
|
|
27048
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
27049
|
+
createVNode(_component_el_icon, {
|
|
27050
|
+
size: "16",
|
|
27051
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
27052
|
+
}, {
|
|
27053
|
+
default: withCtx(() => [
|
|
27054
|
+
createVNode(_component_ele_Edit)
|
|
27055
|
+
]),
|
|
27056
|
+
_: 1
|
|
27057
|
+
/* STABLE */
|
|
27058
|
+
}),
|
|
27059
|
+
_cache[2] || (_cache[2] = createElementVNode(
|
|
27060
|
+
"span",
|
|
27061
|
+
null,
|
|
27062
|
+
" \u9009\u62E9\u8D26\u53F7 ",
|
|
27063
|
+
-1
|
|
27064
|
+
/* CACHED */
|
|
27065
|
+
))
|
|
27066
|
+
])
|
|
27067
|
+
]),
|
|
27068
|
+
footer: withCtx(() => [
|
|
27069
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
27070
|
+
createVNode(_component_el_button, {
|
|
27071
|
+
icon: "ele-CircleCloseFilled",
|
|
27072
|
+
onClick: closeDialog
|
|
27073
|
+
}, {
|
|
27074
|
+
default: withCtx(() => [..._cache[7] || (_cache[7] = [
|
|
27075
|
+
createTextVNode(
|
|
27076
|
+
"\u53D6\u6D88",
|
|
27077
|
+
-1
|
|
27078
|
+
/* CACHED */
|
|
27079
|
+
)
|
|
27080
|
+
])]),
|
|
27081
|
+
_: 1
|
|
27082
|
+
/* STABLE */
|
|
27083
|
+
}),
|
|
27084
|
+
createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
27085
|
+
])
|
|
27086
|
+
]),
|
|
27087
|
+
default: withCtx(() => [
|
|
27088
|
+
createVNode(_component_el_row, { gutter: 10 }, {
|
|
27089
|
+
default: withCtx(() => [
|
|
27090
|
+
createVNode(_component_el_col, { span: 6 }, {
|
|
27091
|
+
default: withCtx(() => [
|
|
27092
|
+
_cache[3] || (_cache[3] = createElementVNode(
|
|
27093
|
+
"p",
|
|
27094
|
+
{ style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } },
|
|
27095
|
+
"\u673A\u6784",
|
|
27096
|
+
-1
|
|
27097
|
+
/* CACHED */
|
|
27098
|
+
)),
|
|
27099
|
+
createVNode(
|
|
27100
|
+
_component_FmTree,
|
|
27101
|
+
{
|
|
27102
|
+
ref: "orgTreeRef",
|
|
27103
|
+
onNodeClick: handleNodeChange,
|
|
27104
|
+
style: { "height": "calc(100% - 40px)", "overflow-y": "scroll", "overflow-x": "hidden" }
|
|
27105
|
+
},
|
|
27106
|
+
null,
|
|
27107
|
+
512
|
|
27108
|
+
/* NEED_PATCH */
|
|
27109
|
+
)
|
|
27110
|
+
]),
|
|
27111
|
+
_: 1
|
|
27112
|
+
/* STABLE */
|
|
27113
|
+
}),
|
|
27114
|
+
createVNode(_component_el_col, { span: 18 }, {
|
|
27115
|
+
default: withCtx(() => [
|
|
27116
|
+
_cache[6] || (_cache[6] = createElementVNode(
|
|
27117
|
+
"p",
|
|
27118
|
+
{ style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } },
|
|
27119
|
+
"\u7528\u6237\u5217\u8868",
|
|
27120
|
+
-1
|
|
27121
|
+
/* CACHED */
|
|
27122
|
+
)),
|
|
27123
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
27124
|
+
createVNode(_component_el_form, {
|
|
27125
|
+
model: state.queryParams,
|
|
27126
|
+
ref: "queryRef",
|
|
27127
|
+
inline: true
|
|
27128
|
+
}, {
|
|
27129
|
+
default: withCtx(() => [
|
|
27130
|
+
createVNode(_component_el_form_item, { label: "\u5173\u952E\u5B57" }, {
|
|
27131
|
+
default: withCtx(() => [
|
|
27132
|
+
createVNode(_component_el_input, {
|
|
27133
|
+
modelValue: state.queryParams.keyword,
|
|
27134
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
27135
|
+
clearable: "",
|
|
27136
|
+
style: { "width": "150px" },
|
|
27137
|
+
onKeyup: withKeys(handleQuery, ["enter"])
|
|
27138
|
+
}, null, 8, ["modelValue"])
|
|
27139
|
+
]),
|
|
27140
|
+
_: 1
|
|
27141
|
+
/* STABLE */
|
|
27142
|
+
}),
|
|
27143
|
+
createVNode(_component_el_form_item, null, {
|
|
27144
|
+
default: withCtx(() => [
|
|
27145
|
+
createVNode(_component_el_button_group, null, {
|
|
27146
|
+
default: withCtx(() => [
|
|
27147
|
+
createVNode(_component_el_button, {
|
|
27148
|
+
type: "primary",
|
|
27149
|
+
icon: "ele-Search",
|
|
27150
|
+
onClick: handleQuery
|
|
27151
|
+
}, {
|
|
27152
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
27153
|
+
createTextVNode(
|
|
27154
|
+
" \u67E5\u8BE2 ",
|
|
27155
|
+
-1
|
|
27156
|
+
/* CACHED */
|
|
27157
|
+
)
|
|
27158
|
+
])]),
|
|
27159
|
+
_: 1
|
|
27160
|
+
/* STABLE */
|
|
27161
|
+
}),
|
|
27162
|
+
createVNode(_component_el_button, {
|
|
27163
|
+
icon: "ele-Refresh",
|
|
27164
|
+
onClick: resetQuery
|
|
27165
|
+
}, {
|
|
27166
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
27167
|
+
createTextVNode(
|
|
27168
|
+
" \u91CD\u7F6E ",
|
|
27169
|
+
-1
|
|
27170
|
+
/* CACHED */
|
|
27171
|
+
)
|
|
27172
|
+
])]),
|
|
27173
|
+
_: 1
|
|
27174
|
+
/* STABLE */
|
|
27175
|
+
})
|
|
27176
|
+
]),
|
|
27177
|
+
_: 1
|
|
27178
|
+
/* STABLE */
|
|
27179
|
+
}),
|
|
27180
|
+
createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
27181
|
+
]),
|
|
27182
|
+
_: 1
|
|
27183
|
+
/* STABLE */
|
|
27184
|
+
})
|
|
27185
|
+
]),
|
|
27186
|
+
_: 1
|
|
27187
|
+
/* STABLE */
|
|
27188
|
+
}, 8, ["model"]),
|
|
27189
|
+
createVNode(_component_el_card, {
|
|
27190
|
+
class: "full-table",
|
|
27191
|
+
shadow: "hover"
|
|
27192
|
+
}, {
|
|
27193
|
+
default: withCtx(() => [
|
|
27194
|
+
createVNode(_component_el_table, {
|
|
27195
|
+
ref: "refTable",
|
|
27196
|
+
data: userList.value,
|
|
27197
|
+
style: { "height": "calc(70vh - 96px)" }
|
|
27198
|
+
}, {
|
|
27199
|
+
default: withCtx(() => [
|
|
27200
|
+
createVNode(_component_el_table_column, {
|
|
27201
|
+
label: "\u64CD\u4F5C",
|
|
27202
|
+
width: "60",
|
|
27203
|
+
align: "center"
|
|
27204
|
+
}, {
|
|
27205
|
+
default: withCtx((scope) => [
|
|
27206
|
+
createVNode(_component_el_button, {
|
|
27207
|
+
link: "",
|
|
27208
|
+
type: "primary",
|
|
27209
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
27210
|
+
}, {
|
|
27211
|
+
default: withCtx(() => [
|
|
27212
|
+
createVNode(_component_el_icon, null, {
|
|
27213
|
+
default: withCtx(() => [
|
|
27214
|
+
createVNode(_component_ele_Plus)
|
|
27215
|
+
]),
|
|
27216
|
+
_: 1
|
|
27217
|
+
/* STABLE */
|
|
27218
|
+
})
|
|
27219
|
+
]),
|
|
27220
|
+
_: 1
|
|
27221
|
+
/* STABLE */
|
|
27222
|
+
}, 8, ["onClick"])
|
|
27223
|
+
]),
|
|
27224
|
+
_: 1
|
|
27225
|
+
/* STABLE */
|
|
27226
|
+
}),
|
|
27227
|
+
createVNode(_component_el_table_column, {
|
|
27228
|
+
label: "\u8D26\u53F7\u540D\u79F0",
|
|
27229
|
+
prop: "account",
|
|
27230
|
+
align: "center",
|
|
27231
|
+
"show-overflow-tooltip": true
|
|
27232
|
+
}),
|
|
27233
|
+
createVNode(_component_el_table_column, {
|
|
27234
|
+
label: "\u771F\u5B9E\u59D3\u540D",
|
|
27235
|
+
prop: "realName",
|
|
27236
|
+
align: "center",
|
|
27237
|
+
"show-overflow-tooltip": true
|
|
27238
|
+
}),
|
|
27239
|
+
createVNode(_component_el_table_column, {
|
|
27240
|
+
label: "\u8054\u7CFB\u65B9\u5F0F",
|
|
27241
|
+
prop: "phone",
|
|
27242
|
+
align: "center",
|
|
27243
|
+
"show-overflow-tooltip": true
|
|
27244
|
+
}),
|
|
27245
|
+
createVNode(_component_el_table_column, {
|
|
27246
|
+
label: "\u5C97\u4F4D",
|
|
27247
|
+
prop: "posName",
|
|
27248
|
+
align: "center",
|
|
27249
|
+
"show-overflow-tooltip": true
|
|
27250
|
+
}),
|
|
27251
|
+
createVNode(_component_el_table_column, {
|
|
27252
|
+
label: "\u5DE5\u53F7",
|
|
27253
|
+
prop: "jobNum",
|
|
27254
|
+
align: "center",
|
|
27255
|
+
"show-overflow-tooltip": true
|
|
27256
|
+
}),
|
|
27257
|
+
createVNode(_component_el_table_column, {
|
|
27258
|
+
label: "\u6240\u5C5E\u673A\u6784",
|
|
27259
|
+
prop: "orgName",
|
|
27260
|
+
align: "center",
|
|
27261
|
+
"show-overflow-tooltip": true
|
|
27262
|
+
})
|
|
27263
|
+
]),
|
|
27264
|
+
_: 1
|
|
27265
|
+
/* STABLE */
|
|
27266
|
+
}, 8, ["data"]),
|
|
27267
|
+
createVNode(_component_el_pagination, {
|
|
27268
|
+
currentPage: state.queryParams.page,
|
|
27269
|
+
"page-size": state.queryParams.pageSize,
|
|
27270
|
+
total: state.queryParams.total,
|
|
27271
|
+
"page-sizes": [10, 20, 50, 100],
|
|
27272
|
+
background: "",
|
|
27273
|
+
onSizeChange: handleSizeChange,
|
|
27274
|
+
onCurrentChange: handleCurrentChange,
|
|
27275
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
27276
|
+
style: { "padding-bottom": "8px" }
|
|
27277
|
+
}, null, 8, ["currentPage", "page-size", "total"])
|
|
27278
|
+
]),
|
|
27279
|
+
_: 1
|
|
27280
|
+
/* STABLE */
|
|
27281
|
+
})
|
|
27282
|
+
])
|
|
27283
|
+
]),
|
|
27284
|
+
_: 1
|
|
27285
|
+
/* STABLE */
|
|
27286
|
+
})
|
|
27287
|
+
]),
|
|
27288
|
+
_: 1
|
|
27289
|
+
/* STABLE */
|
|
27290
|
+
})
|
|
27291
|
+
]),
|
|
27292
|
+
_: 1
|
|
27293
|
+
/* STABLE */
|
|
27294
|
+
}, 8, ["modelValue"]);
|
|
27295
|
+
};
|
|
27296
|
+
}
|
|
27297
|
+
});
|
|
27298
|
+
|
|
27299
|
+
const _hoisted_1$k = { style: { "font-size": "14px", "line-height": "30px" } };
|
|
27300
|
+
var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
27301
|
+
...{
|
|
27302
|
+
name: "FmAutocomplete"
|
|
27303
|
+
},
|
|
27304
|
+
__name: "index",
|
|
27305
|
+
props: /* @__PURE__ */ mergeModels({
|
|
27306
|
+
placeholder: {
|
|
27307
|
+
type: String,
|
|
27308
|
+
default: "\u8BF7\u8F93\u5165\u5FEB\u901F\u641C\u7D22\u9009\u62E9"
|
|
27309
|
+
},
|
|
27310
|
+
/**
|
|
27311
|
+
* ato service name
|
|
27312
|
+
*/
|
|
27313
|
+
atoService: {
|
|
27314
|
+
type: String,
|
|
27315
|
+
default: "planOrder"
|
|
27316
|
+
},
|
|
27317
|
+
/**
|
|
27318
|
+
* ato service 下的方法
|
|
27319
|
+
*/
|
|
27320
|
+
atoAction: {
|
|
27321
|
+
type: String,
|
|
27322
|
+
default: "autoQuerySearch"
|
|
27323
|
+
},
|
|
27324
|
+
top: {
|
|
27325
|
+
type: Number,
|
|
27326
|
+
default: 15
|
|
27327
|
+
},
|
|
27328
|
+
/**
|
|
27329
|
+
* 值的属性值
|
|
27330
|
+
*/
|
|
27331
|
+
vId: {
|
|
27332
|
+
type: String,
|
|
27333
|
+
default: "id"
|
|
27334
|
+
},
|
|
27335
|
+
/**
|
|
27336
|
+
* 值的属性标签
|
|
27337
|
+
*/
|
|
27338
|
+
vName: {
|
|
27339
|
+
type: String,
|
|
27340
|
+
default: "name"
|
|
27341
|
+
},
|
|
27342
|
+
/**
|
|
27343
|
+
* 查询业务表ID
|
|
27344
|
+
*/
|
|
27345
|
+
qId: {
|
|
27346
|
+
type: Number,
|
|
27347
|
+
default: 0
|
|
27348
|
+
},
|
|
27349
|
+
params: {
|
|
27350
|
+
type: Object,
|
|
27351
|
+
default: () => {
|
|
27352
|
+
}
|
|
27353
|
+
},
|
|
27354
|
+
/**
|
|
27355
|
+
* 打开类型 1 用户 2 单位
|
|
27356
|
+
* @default 1
|
|
27357
|
+
*/
|
|
27358
|
+
openType: {
|
|
27359
|
+
type: Number,
|
|
27360
|
+
default: 1
|
|
27361
|
+
},
|
|
27362
|
+
/**
|
|
27363
|
+
* 打开参数
|
|
27364
|
+
*/
|
|
27365
|
+
openParams: {
|
|
27366
|
+
type: Object,
|
|
27367
|
+
default: () => {
|
|
27368
|
+
}
|
|
27369
|
+
}
|
|
27370
|
+
}, {
|
|
27371
|
+
"name": {
|
|
27372
|
+
required: true,
|
|
27373
|
+
default: ""
|
|
27374
|
+
},
|
|
27375
|
+
"nameModifiers": {},
|
|
27376
|
+
"id": {
|
|
27377
|
+
required: true,
|
|
27378
|
+
default: 0
|
|
27379
|
+
},
|
|
27380
|
+
"idModifiers": {}
|
|
27381
|
+
}),
|
|
27382
|
+
emits: /* @__PURE__ */ mergeModels(["select", "reset"], ["update:name", "update:id"]),
|
|
27383
|
+
setup(__props, { emit: __emit }) {
|
|
27384
|
+
const autoName = useModel(__props, "name");
|
|
27385
|
+
const autoId = useModel(__props, "id");
|
|
27386
|
+
const props = __props;
|
|
27387
|
+
const visibleopenDialog = ref(false);
|
|
27388
|
+
const emit = __emit;
|
|
27389
|
+
const querySearchAsync = async (queryString, cb) => {
|
|
27390
|
+
var _a;
|
|
27391
|
+
resetValue();
|
|
27392
|
+
const postdata = { keywork: queryString, id: props.qId, ...props.params };
|
|
27393
|
+
const res = await useBaseApi(props.atoService).post(postdata, props.atoAction);
|
|
27394
|
+
const data = (_a = res.data.result) != null ? _a : [];
|
|
27395
|
+
if (data.length === 0) {
|
|
27396
|
+
return cb([]);
|
|
27397
|
+
}
|
|
27398
|
+
const results = data.map((item) => ({
|
|
27399
|
+
...item,
|
|
27400
|
+
displayText: `${item[props.vName]}`
|
|
27401
|
+
// 自定义展示格式
|
|
27402
|
+
//fullData: item // 保留原始对象
|
|
27403
|
+
}));
|
|
27404
|
+
cb(results);
|
|
27405
|
+
};
|
|
27406
|
+
const handleSelect = (item) => {
|
|
27407
|
+
autoName.value = item[props.vName];
|
|
27408
|
+
autoId.value = item[props.vId];
|
|
27409
|
+
emit("select", item);
|
|
27410
|
+
};
|
|
27411
|
+
const resetValue = () => {
|
|
27412
|
+
autoId.value = 0;
|
|
27413
|
+
emit("reset");
|
|
27414
|
+
};
|
|
27415
|
+
const handleSelectDialogChange = (value) => {
|
|
27416
|
+
visibleopenDialog.value = false;
|
|
27417
|
+
autoName.value = value.name;
|
|
27418
|
+
autoId.value = value.id;
|
|
27419
|
+
emit("select", value);
|
|
27420
|
+
};
|
|
27421
|
+
return (_ctx, _cache) => {
|
|
27422
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
27423
|
+
const _component_el_autocomplete = resolveComponent("el-autocomplete");
|
|
27424
|
+
return openBlock(), createBlock(_component_el_autocomplete, {
|
|
27425
|
+
modelValue: autoName.value,
|
|
27426
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => autoName.value = $event),
|
|
27427
|
+
debounce: 500,
|
|
27428
|
+
"fetch-suggestions": querySearchAsync,
|
|
27429
|
+
placeholder: props.placeholder,
|
|
27430
|
+
"trigger-on-focus": false,
|
|
27431
|
+
onSelect: handleSelect,
|
|
27432
|
+
style: { "margin-top": "-2px" }
|
|
27433
|
+
}, {
|
|
27434
|
+
default: withCtx(({ item }) => [
|
|
27435
|
+
createElementVNode(
|
|
27436
|
+
"div",
|
|
27437
|
+
_hoisted_1$k,
|
|
27438
|
+
toDisplayString(item[__props.vName]),
|
|
27439
|
+
1
|
|
27440
|
+
/* TEXT */
|
|
27441
|
+
)
|
|
27442
|
+
]),
|
|
27443
|
+
append: withCtx(() => [
|
|
27444
|
+
renderSlot(_ctx.$slots, "append", {}, () => [
|
|
27445
|
+
createVNode(_component_el_icon, {
|
|
27446
|
+
color: "#E6A23C",
|
|
27447
|
+
onClick: _cache[0] || (_cache[0] = () => visibleopenDialog.value = true)
|
|
27448
|
+
}, {
|
|
27449
|
+
default: withCtx(() => [
|
|
27450
|
+
createVNode(unref(Search))
|
|
27451
|
+
]),
|
|
27452
|
+
_: 1
|
|
27453
|
+
/* STABLE */
|
|
27454
|
+
}),
|
|
27455
|
+
createVNode(_sfc_main$q, {
|
|
27456
|
+
visible: visibleopenDialog.value,
|
|
27457
|
+
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
27458
|
+
onChange: handleSelectDialogChange
|
|
27459
|
+
}, null, 8, ["visible"])
|
|
27460
|
+
])
|
|
27461
|
+
]),
|
|
27462
|
+
_: 3
|
|
27463
|
+
/* FORWARDED */
|
|
27464
|
+
}, 8, ["modelValue", "placeholder"]);
|
|
27465
|
+
};
|
|
27466
|
+
}
|
|
27467
|
+
});
|
|
27468
|
+
|
|
27469
|
+
const FmAutocomplete = _sfc_main$p;
|
|
26946
27470
|
|
|
26947
27471
|
const makeInstaller = (components = []) => {
|
|
26948
27472
|
const install = (app) => {
|
|
@@ -27447,7 +27971,8 @@ const plugins = [
|
|
|
27447
27971
|
FModifyRecord,
|
|
27448
27972
|
FmTree,
|
|
27449
27973
|
FmCascader,
|
|
27450
|
-
FmInputNumber
|
|
27974
|
+
FmInputNumber,
|
|
27975
|
+
FmAutocomplete
|
|
27451
27976
|
];
|
|
27452
27977
|
|
|
27453
27978
|
var installer = makeInstaller([...plugins]);
|