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