@fmdeui/fmui 1.0.106 → 1.0.108
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/components/fm-autocomplete/component/supplierSelectDialog.vue.d.ts +69 -0
- package/es/components/fm-autocomplete/index.vue.d.ts +2 -2
- package/es/hooks/limitsFunction.d.ts +1 -0
- package/es/index.mjs +1 -1
- package/es/packages/components/fm-autocomplete/component/supplierSelectDialog.vue.mjs +5 -0
- package/es/packages/components/fm-autocomplete/component/supplierSelectDialog.vue2.mjs +378 -0
- package/es/packages/components/fm-autocomplete/index.vue2.mjs +19 -6
- package/es/packages/components/fm-inputnumber/index.vue2.mjs +2 -1
- package/es/packages/hooks/index.mjs +1 -1
- package/es/packages/hooks/limitsFunction.mjs +14 -1
- package/index.js +496 -97
- package/index.min.js +6 -6
- package/index.min.mjs +6 -6
- package/index.mjs +496 -98
- package/lib/components/fm-autocomplete/component/supplierSelectDialog.vue.d.ts +69 -0
- package/lib/components/fm-autocomplete/index.vue.d.ts +2 -2
- package/lib/hooks/limitsFunction.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog.vue.js +9 -0
- package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog.vue2.js +382 -0
- package/lib/packages/components/fm-autocomplete/index.vue2.js +18 -5
- package/lib/packages/components/fm-inputnumber/index.vue2.js +2 -1
- package/lib/packages/hooks/index.js +1 -0
- package/lib/packages/hooks/limitsFunction.js +14 -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/{version.css → component.css} +0 -0
- /package/lib/{version.css → component.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.108 */
|
|
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';
|
|
@@ -20159,7 +20159,7 @@ const setupVXETable = (app) => {
|
|
|
20159
20159
|
app.use(VxeUITable);
|
|
20160
20160
|
};
|
|
20161
20161
|
|
|
20162
|
-
var _sfc_main$
|
|
20162
|
+
var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
20163
20163
|
...{
|
|
20164
20164
|
name: "FButton"
|
|
20165
20165
|
},
|
|
@@ -20229,7 +20229,7 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
20229
20229
|
}
|
|
20230
20230
|
});
|
|
20231
20231
|
|
|
20232
|
-
const FButton = _sfc_main$
|
|
20232
|
+
const FButton = _sfc_main$L;
|
|
20233
20233
|
|
|
20234
20234
|
const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
|
|
20235
20235
|
const translate = (path, option, locale) => get(locale, path, path).replace(
|
|
@@ -20888,10 +20888,23 @@ function getShowColumn(flag, field) {
|
|
|
20888
20888
|
}
|
|
20889
20889
|
return true;
|
|
20890
20890
|
}
|
|
20891
|
+
function getShowColumnWidth(flag, field, defaultValue = "", isJson = false) {
|
|
20892
|
+
var _a, _b, _c, _d;
|
|
20893
|
+
const stores = useUserInfo();
|
|
20894
|
+
const route = useRoute();
|
|
20895
|
+
const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === flag)) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === field);
|
|
20896
|
+
let width = defaultValue;
|
|
20897
|
+
if (ItemField) {
|
|
20898
|
+
if (ItemField.width && ItemField.width != "" && ItemField.width > 0) {
|
|
20899
|
+
width = ItemField.width + ItemField.widthUnit;
|
|
20900
|
+
}
|
|
20901
|
+
}
|
|
20902
|
+
return isJson ? width != "" ? { width } : "" : width;
|
|
20903
|
+
}
|
|
20891
20904
|
|
|
20892
|
-
const _hoisted_1$
|
|
20893
|
-
const _hoisted_2$
|
|
20894
|
-
var _sfc_main$
|
|
20905
|
+
const _hoisted_1$v = { key: 0 };
|
|
20906
|
+
const _hoisted_2$k = { key: 0 };
|
|
20907
|
+
var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
20895
20908
|
...{
|
|
20896
20909
|
name: "FInput"
|
|
20897
20910
|
},
|
|
@@ -21098,7 +21111,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
21098
21111
|
fn: withCtx(() => [
|
|
21099
21112
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21100
21113
|
"span",
|
|
21101
|
-
_hoisted_1$
|
|
21114
|
+
_hoisted_1$v,
|
|
21102
21115
|
toDisplayString(appendTitleText.value),
|
|
21103
21116
|
1
|
|
21104
21117
|
/* TEXT */
|
|
@@ -21131,7 +21144,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
21131
21144
|
fn: withCtx(() => [
|
|
21132
21145
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21133
21146
|
"span",
|
|
21134
|
-
_hoisted_2$
|
|
21147
|
+
_hoisted_2$k,
|
|
21135
21148
|
toDisplayString(appendTitleText.value),
|
|
21136
21149
|
1
|
|
21137
21150
|
/* TEXT */
|
|
@@ -21144,13 +21157,13 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
21144
21157
|
}
|
|
21145
21158
|
});
|
|
21146
21159
|
|
|
21147
|
-
const FInput = _sfc_main$
|
|
21160
|
+
const FInput = _sfc_main$K;
|
|
21148
21161
|
|
|
21149
|
-
const _hoisted_1$
|
|
21162
|
+
const _hoisted_1$u = {
|
|
21150
21163
|
key: 0,
|
|
21151
21164
|
class: "back_to_top"
|
|
21152
21165
|
};
|
|
21153
|
-
var _sfc_main$
|
|
21166
|
+
var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
21154
21167
|
...{
|
|
21155
21168
|
name: "FLayoutPage"
|
|
21156
21169
|
},
|
|
@@ -21212,7 +21225,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
21212
21225
|
},
|
|
21213
21226
|
[
|
|
21214
21227
|
renderSlot(_ctx.$slots, "default"),
|
|
21215
|
-
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21228
|
+
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
21216
21229
|
isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
|
|
21217
21230
|
key: 0,
|
|
21218
21231
|
onClick: backToTop
|
|
@@ -21240,9 +21253,9 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
21240
21253
|
}
|
|
21241
21254
|
});
|
|
21242
21255
|
|
|
21243
|
-
const FLayoutPage = _sfc_main$
|
|
21256
|
+
const FLayoutPage = _sfc_main$J;
|
|
21244
21257
|
|
|
21245
|
-
var _sfc_main$
|
|
21258
|
+
var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
21246
21259
|
...{
|
|
21247
21260
|
name: "FLayoutPageItem"
|
|
21248
21261
|
},
|
|
@@ -21270,7 +21283,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21270
21283
|
}
|
|
21271
21284
|
});
|
|
21272
21285
|
|
|
21273
|
-
const FLayoutPageItem = _sfc_main$
|
|
21286
|
+
const FLayoutPageItem = _sfc_main$I;
|
|
21274
21287
|
|
|
21275
21288
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21276
21289
|
let timer = null;
|
|
@@ -21313,8 +21326,8 @@ function toLine(name) {
|
|
|
21313
21326
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
21314
21327
|
}
|
|
21315
21328
|
|
|
21316
|
-
const _hoisted_1$
|
|
21317
|
-
var _sfc_main$
|
|
21329
|
+
const _hoisted_1$t = ["id"];
|
|
21330
|
+
var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
21318
21331
|
...{
|
|
21319
21332
|
name: "FChart"
|
|
21320
21333
|
},
|
|
@@ -21398,7 +21411,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21398
21411
|
id: __props.id,
|
|
21399
21412
|
ref_key: "echartRef",
|
|
21400
21413
|
ref: echartRef
|
|
21401
|
-
}, null, 8, _hoisted_1$
|
|
21414
|
+
}, null, 8, _hoisted_1$t), [
|
|
21402
21415
|
[vShow, !formatEmpty.value]
|
|
21403
21416
|
]),
|
|
21404
21417
|
formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -21413,13 +21426,13 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21413
21426
|
}
|
|
21414
21427
|
});
|
|
21415
21428
|
|
|
21416
|
-
const FChart = _sfc_main$
|
|
21429
|
+
const FChart = _sfc_main$H;
|
|
21417
21430
|
|
|
21418
|
-
const _hoisted_1$
|
|
21431
|
+
const _hoisted_1$s = {
|
|
21419
21432
|
key: 1,
|
|
21420
21433
|
class: "f_select__pagination"
|
|
21421
21434
|
};
|
|
21422
|
-
var _sfc_main$
|
|
21435
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
21423
21436
|
...{
|
|
21424
21437
|
name: "FSelect"
|
|
21425
21438
|
},
|
|
@@ -21632,7 +21645,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21632
21645
|
128
|
|
21633
21646
|
/* KEYED_FRAGMENT */
|
|
21634
21647
|
)),
|
|
21635
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21648
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
21636
21649
|
createVNode(_component_el_pagination, mergeProps({
|
|
21637
21650
|
"current-page": __props.paginationOption.currentPage,
|
|
21638
21651
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -21670,9 +21683,9 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21670
21683
|
}
|
|
21671
21684
|
});
|
|
21672
21685
|
|
|
21673
|
-
const FSelect = _sfc_main$
|
|
21686
|
+
const FSelect = _sfc_main$G;
|
|
21674
21687
|
|
|
21675
|
-
var _sfc_main$
|
|
21688
|
+
var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
21676
21689
|
...{
|
|
21677
21690
|
name: "RenderComp"
|
|
21678
21691
|
},
|
|
@@ -21692,12 +21705,12 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
21692
21705
|
}
|
|
21693
21706
|
});
|
|
21694
21707
|
|
|
21695
|
-
const _hoisted_1$
|
|
21696
|
-
const _hoisted_2$
|
|
21697
|
-
const _hoisted_3$
|
|
21698
|
-
const _hoisted_4$
|
|
21708
|
+
const _hoisted_1$r = { class: "inside_box" };
|
|
21709
|
+
const _hoisted_2$j = { class: "inside_box_title" };
|
|
21710
|
+
const _hoisted_3$c = { class: "check-box" };
|
|
21711
|
+
const _hoisted_4$9 = { class: "more_dropdown_icon" };
|
|
21699
21712
|
const _hoisted_5$7 = { class: "out_box" };
|
|
21700
|
-
var _sfc_main$
|
|
21713
|
+
var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
21701
21714
|
...{
|
|
21702
21715
|
name: "MoreChoose"
|
|
21703
21716
|
},
|
|
@@ -21817,7 +21830,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
21817
21830
|
ref: "popover"
|
|
21818
21831
|
}, {
|
|
21819
21832
|
reference: withCtx(() => [
|
|
21820
|
-
createElementVNode("div", _hoisted_4$
|
|
21833
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
21821
21834
|
createElementVNode(
|
|
21822
21835
|
"span",
|
|
21823
21836
|
_hoisted_5$7,
|
|
@@ -21835,8 +21848,8 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
21835
21848
|
])
|
|
21836
21849
|
]),
|
|
21837
21850
|
default: withCtx(() => [
|
|
21838
|
-
createElementVNode("div", _hoisted_1$
|
|
21839
|
-
createElementVNode("div", _hoisted_2$
|
|
21851
|
+
createElementVNode("div", _hoisted_1$r, [
|
|
21852
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
21840
21853
|
createElementVNode(
|
|
21841
21854
|
"div",
|
|
21842
21855
|
null,
|
|
@@ -21844,7 +21857,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
21844
21857
|
1
|
|
21845
21858
|
/* TEXT */
|
|
21846
21859
|
),
|
|
21847
|
-
createElementVNode("div", _hoisted_3$
|
|
21860
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
21848
21861
|
createVNode(_component_el_button, {
|
|
21849
21862
|
size: "small",
|
|
21850
21863
|
link: "",
|
|
@@ -22012,7 +22025,7 @@ function useComputed() {
|
|
|
22012
22025
|
};
|
|
22013
22026
|
}
|
|
22014
22027
|
|
|
22015
|
-
var _sfc_main$
|
|
22028
|
+
var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
22016
22029
|
...{
|
|
22017
22030
|
name: "FQueryCondition"
|
|
22018
22031
|
},
|
|
@@ -22431,7 +22444,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
22431
22444
|
opt.labelRender ? {
|
|
22432
22445
|
name: "label",
|
|
22433
22446
|
fn: withCtx(() => [
|
|
22434
|
-
createVNode(_sfc_main$
|
|
22447
|
+
createVNode(_sfc_main$F, {
|
|
22435
22448
|
form: unref(queryState).form,
|
|
22436
22449
|
render: opt.labelRender
|
|
22437
22450
|
}, null, 8, ["form", "render"])
|
|
@@ -22527,7 +22540,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
22527
22540
|
_: 1
|
|
22528
22541
|
/* STABLE */
|
|
22529
22542
|
})) : createCommentVNode("v-if", true),
|
|
22530
|
-
createVNode(_sfc_main$
|
|
22543
|
+
createVNode(_sfc_main$E, {
|
|
22531
22544
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22532
22545
|
moreCheckList: __props.moreCheckList,
|
|
22533
22546
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22553,7 +22566,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
22553
22566
|
}
|
|
22554
22567
|
});
|
|
22555
22568
|
|
|
22556
|
-
var _sfc_main$
|
|
22569
|
+
var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
22557
22570
|
...{
|
|
22558
22571
|
name: "RenderCol"
|
|
22559
22572
|
},
|
|
@@ -22709,17 +22722,17 @@ function useVirtualized() {
|
|
|
22709
22722
|
};
|
|
22710
22723
|
}
|
|
22711
22724
|
|
|
22712
|
-
const _hoisted_1$
|
|
22725
|
+
const _hoisted_1$q = {
|
|
22713
22726
|
key: 0,
|
|
22714
22727
|
class: "table_query_condition"
|
|
22715
22728
|
};
|
|
22716
|
-
const _hoisted_2$
|
|
22717
|
-
const _hoisted_3$
|
|
22718
|
-
const _hoisted_4$
|
|
22729
|
+
const _hoisted_2$i = ["element-loading-text"];
|
|
22730
|
+
const _hoisted_3$b = { key: 2 };
|
|
22731
|
+
const _hoisted_4$8 = {
|
|
22719
22732
|
key: 0,
|
|
22720
22733
|
class: "f-table-select__page"
|
|
22721
22734
|
};
|
|
22722
|
-
var _sfc_main$
|
|
22735
|
+
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
22723
22736
|
...{
|
|
22724
22737
|
name: "FSelectTable"
|
|
22725
22738
|
},
|
|
@@ -23341,9 +23354,9 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23341
23354
|
style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
23342
23355
|
},
|
|
23343
23356
|
[
|
|
23344
|
-
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23357
|
+
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
23345
23358
|
createVNode(
|
|
23346
|
-
_sfc_main$
|
|
23359
|
+
_sfc_main$D,
|
|
23347
23360
|
mergeProps({
|
|
23348
23361
|
ref_key: "fQueryConditionRef",
|
|
23349
23362
|
ref: fQueryConditionRef,
|
|
@@ -23469,7 +23482,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23469
23482
|
fixed: item.fixed
|
|
23470
23483
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23471
23484
|
default: withCtx((scope) => [
|
|
23472
|
-
item.render ? (openBlock(), createBlock(_sfc_main$
|
|
23485
|
+
item.render ? (openBlock(), createBlock(_sfc_main$C, {
|
|
23473
23486
|
key: 0,
|
|
23474
23487
|
column: item,
|
|
23475
23488
|
row: scope.row,
|
|
@@ -23480,7 +23493,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23480
23493
|
key: 1,
|
|
23481
23494
|
scope
|
|
23482
23495
|
}) : createCommentVNode("v-if", true),
|
|
23483
|
-
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
23496
|
+
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
|
|
23484
23497
|
createElementVNode(
|
|
23485
23498
|
"span",
|
|
23486
23499
|
null,
|
|
@@ -23502,7 +23515,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23502
23515
|
_: 3
|
|
23503
23516
|
/* FORWARDED */
|
|
23504
23517
|
}, 16, ["data", "class"]),
|
|
23505
|
-
__props.isShowPagination ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
23518
|
+
__props.isShowPagination ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
23506
23519
|
createVNode(_component_el_pagination, mergeProps({
|
|
23507
23520
|
"current-page": __props.table.currentPage,
|
|
23508
23521
|
"onUpdate:currentPage": _cache[6] || (_cache[6] = ($event) => __props.table.currentPage = $event),
|
|
@@ -23514,7 +23527,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23514
23527
|
total: __props.table.total
|
|
23515
23528
|
}, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
|
|
23516
23529
|
])) : createCommentVNode("v-if", true)
|
|
23517
|
-
], 8, _hoisted_2$
|
|
23530
|
+
], 8, _hoisted_2$i)), [
|
|
23518
23531
|
[_directive_loading, __props.tableLoading]
|
|
23519
23532
|
]),
|
|
23520
23533
|
renderSlot(_ctx.$slots, "footer")
|
|
@@ -23532,11 +23545,11 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23532
23545
|
}
|
|
23533
23546
|
});
|
|
23534
23547
|
|
|
23535
|
-
const FSelectTable = _sfc_main$
|
|
23548
|
+
const FSelectTable = _sfc_main$B;
|
|
23536
23549
|
|
|
23537
|
-
const FQueryCondition = _sfc_main$
|
|
23550
|
+
const FQueryCondition = _sfc_main$D;
|
|
23538
23551
|
|
|
23539
|
-
var _sfc_main$
|
|
23552
|
+
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
23540
23553
|
...{
|
|
23541
23554
|
name: "RenderComp"
|
|
23542
23555
|
},
|
|
@@ -23556,7 +23569,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
23556
23569
|
}
|
|
23557
23570
|
});
|
|
23558
23571
|
|
|
23559
|
-
var _sfc_main$
|
|
23572
|
+
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
23560
23573
|
...{
|
|
23561
23574
|
name: "RenderBtn"
|
|
23562
23575
|
},
|
|
@@ -23576,12 +23589,12 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
23576
23589
|
}
|
|
23577
23590
|
});
|
|
23578
23591
|
|
|
23579
|
-
const _hoisted_1$
|
|
23592
|
+
const _hoisted_1$p = {
|
|
23580
23593
|
key: 1,
|
|
23581
23594
|
class: "text_show"
|
|
23582
23595
|
};
|
|
23583
|
-
const _hoisted_2$
|
|
23584
|
-
var _sfc_main$
|
|
23596
|
+
const _hoisted_2$h = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23597
|
+
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
23585
23598
|
...{
|
|
23586
23599
|
name: "FForm"
|
|
23587
23600
|
},
|
|
@@ -23832,7 +23845,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23832
23845
|
}) : createCommentVNode("v-if", true),
|
|
23833
23846
|
item.textShow ? (openBlock(), createElementBlock(
|
|
23834
23847
|
"span",
|
|
23835
|
-
_hoisted_1$
|
|
23848
|
+
_hoisted_1$p,
|
|
23836
23849
|
toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
23837
23850
|
1
|
|
23838
23851
|
/* TEXT */
|
|
@@ -23952,7 +23965,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23952
23965
|
item.labelSlotName || item.labelRender ? {
|
|
23953
23966
|
name: "label",
|
|
23954
23967
|
fn: withCtx(() => [
|
|
23955
|
-
item.labelRender ? (openBlock(), createBlock(_sfc_main$
|
|
23968
|
+
item.labelRender ? (openBlock(), createBlock(_sfc_main$A, {
|
|
23956
23969
|
key: 0,
|
|
23957
23970
|
render: item.labelRender,
|
|
23958
23971
|
item
|
|
@@ -23974,7 +23987,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23974
23987
|
/* UNKEYED_FRAGMENT */
|
|
23975
23988
|
)),
|
|
23976
23989
|
createCommentVNode(" \u6309\u94AE "),
|
|
23977
|
-
createElementVNode("div", _hoisted_2$
|
|
23990
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
23978
23991
|
__props.formOpts.btnSlotName ? renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : createCommentVNode("v-if", true),
|
|
23979
23992
|
!__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (openBlock(true), createElementBlock(
|
|
23980
23993
|
Fragment,
|
|
@@ -23984,7 +23997,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23984
23997
|
Fragment,
|
|
23985
23998
|
null,
|
|
23986
23999
|
[
|
|
23987
|
-
val.render ? (openBlock(), createBlock(_sfc_main$
|
|
24000
|
+
val.render ? (openBlock(), createBlock(_sfc_main$z, {
|
|
23988
24001
|
key: index,
|
|
23989
24002
|
item: val,
|
|
23990
24003
|
render: val.render
|
|
@@ -24031,10 +24044,10 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
24031
24044
|
}
|
|
24032
24045
|
});
|
|
24033
24046
|
|
|
24034
|
-
const FForm = _sfc_main$
|
|
24047
|
+
const FForm = _sfc_main$y;
|
|
24035
24048
|
|
|
24036
|
-
const _hoisted_1$
|
|
24037
|
-
var _sfc_main$
|
|
24049
|
+
const _hoisted_1$o = ["src"];
|
|
24050
|
+
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
24038
24051
|
...{
|
|
24039
24052
|
name: "svgIcon"
|
|
24040
24053
|
},
|
|
@@ -24105,7 +24118,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
24105
24118
|
createElementVNode("img", {
|
|
24106
24119
|
src: getIconName.value,
|
|
24107
24120
|
style: normalizeStyle(setIconSvgInsStyle.value)
|
|
24108
|
-
}, null, 12, _hoisted_1$
|
|
24121
|
+
}, null, 12, _hoisted_1$o)
|
|
24109
24122
|
],
|
|
24110
24123
|
4
|
|
24111
24124
|
/* STYLE */
|
|
@@ -24132,13 +24145,13 @@ function elSvg(app) {
|
|
|
24132
24145
|
}
|
|
24133
24146
|
}
|
|
24134
24147
|
if (!app._context.components[`SvgIcon`]) {
|
|
24135
|
-
app.component("SvgIcon", _sfc_main$
|
|
24148
|
+
app.component("SvgIcon", _sfc_main$x);
|
|
24136
24149
|
}
|
|
24137
24150
|
}
|
|
24138
24151
|
|
|
24139
24152
|
const emitter = mitt();
|
|
24140
24153
|
|
|
24141
|
-
var _sfc_main$
|
|
24154
|
+
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
24142
24155
|
...{
|
|
24143
24156
|
name: "FLayout"
|
|
24144
24157
|
},
|
|
@@ -24224,7 +24237,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
24224
24237
|
}
|
|
24225
24238
|
});
|
|
24226
24239
|
|
|
24227
|
-
const FLayout = _sfc_main$
|
|
24240
|
+
const FLayout = _sfc_main$w;
|
|
24228
24241
|
|
|
24229
24242
|
function commonFunction() {
|
|
24230
24243
|
const { copy, isSupported } = useClipboard();
|
|
@@ -24501,10 +24514,10 @@ const other = {
|
|
|
24501
24514
|
// },
|
|
24502
24515
|
};
|
|
24503
24516
|
|
|
24504
|
-
const _hoisted_1$
|
|
24505
|
-
const _hoisted_2$
|
|
24506
|
-
const _hoisted_3$
|
|
24507
|
-
const _hoisted_4$
|
|
24517
|
+
const _hoisted_1$n = { class: "layout-breadcrumb-seting" };
|
|
24518
|
+
const _hoisted_2$g = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24519
|
+
const _hoisted_3$a = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24520
|
+
const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
24508
24521
|
const _hoisted_5$6 = { style: { "margin": "10px 0" } };
|
|
24509
24522
|
const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
|
|
24510
24523
|
const _hoisted_7$3 = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
@@ -24626,7 +24639,7 @@ const _hoisted_119 = {
|
|
|
24626
24639
|
class: "traditionalColors-chines",
|
|
24627
24640
|
style: { "cursor": "grab", "color": "gray" }
|
|
24628
24641
|
};
|
|
24629
|
-
var _sfc_main$
|
|
24642
|
+
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
24630
24643
|
...{
|
|
24631
24644
|
name: "FSettings"
|
|
24632
24645
|
},
|
|
@@ -24890,7 +24903,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
24890
24903
|
const _component_el_col = resolveComponent("el-col");
|
|
24891
24904
|
const _component_el_row = resolveComponent("el-row");
|
|
24892
24905
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
24893
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24906
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
24894
24907
|
createVNode(_component_el_drawer, {
|
|
24895
24908
|
title: _ctx.$t("message.layout.configTitle"),
|
|
24896
24909
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -24915,15 +24928,15 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
24915
24928
|
_: 1
|
|
24916
24929
|
/* STABLE */
|
|
24917
24930
|
}),
|
|
24918
|
-
createElementVNode("div", _hoisted_2$
|
|
24931
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
24919
24932
|
createElementVNode(
|
|
24920
24933
|
"div",
|
|
24921
|
-
_hoisted_3$
|
|
24934
|
+
_hoisted_3$a,
|
|
24922
24935
|
toDisplayString(_ctx.$t("message.layout.themeColors")),
|
|
24923
24936
|
1
|
|
24924
24937
|
/* TEXT */
|
|
24925
24938
|
),
|
|
24926
|
-
createElementVNode("div", _hoisted_4$
|
|
24939
|
+
createElementVNode("div", _hoisted_4$7, [
|
|
24927
24940
|
createVNode(_component_el_color_picker, {
|
|
24928
24941
|
modelValue: getThemeConfig.value.primary,
|
|
24929
24942
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => getThemeConfig.value.primary = $event),
|
|
@@ -26389,9 +26402,9 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
26389
26402
|
}
|
|
26390
26403
|
});
|
|
26391
26404
|
|
|
26392
|
-
const FSettings = _sfc_main$
|
|
26405
|
+
const FSettings = _sfc_main$v;
|
|
26393
26406
|
|
|
26394
|
-
var _sfc_main$
|
|
26407
|
+
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
26395
26408
|
...{
|
|
26396
26409
|
name: "FModifyRecord"
|
|
26397
26410
|
},
|
|
@@ -26654,9 +26667,9 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
26654
26667
|
}
|
|
26655
26668
|
});
|
|
26656
26669
|
|
|
26657
|
-
const FModifyRecord = _sfc_main$
|
|
26670
|
+
const FModifyRecord = _sfc_main$u;
|
|
26658
26671
|
|
|
26659
|
-
var _sfc_main$
|
|
26672
|
+
var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
26660
26673
|
...{
|
|
26661
26674
|
name: "Fminputdropdown"
|
|
26662
26675
|
},
|
|
@@ -26853,9 +26866,9 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
26853
26866
|
}
|
|
26854
26867
|
});
|
|
26855
26868
|
|
|
26856
|
-
const Fminputdropdown = _sfc_main$
|
|
26869
|
+
const Fminputdropdown = _sfc_main$t;
|
|
26857
26870
|
|
|
26858
|
-
var _sfc_main$
|
|
26871
|
+
var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
26859
26872
|
...{ name: "FmInputNumber" },
|
|
26860
26873
|
__name: "index",
|
|
26861
26874
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -26888,7 +26901,8 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
26888
26901
|
return;
|
|
26889
26902
|
}
|
|
26890
26903
|
if (props.bType == "number") {
|
|
26891
|
-
|
|
26904
|
+
let trimstr = String(val).replace(/[^\d]/g, "");
|
|
26905
|
+
const num = parseInt(trimstr, 10);
|
|
26892
26906
|
const validNum = Number.isNaN(num) ? props.defaultValue : num;
|
|
26893
26907
|
modelValue.value = validNum;
|
|
26894
26908
|
emit("handleInput", validNum);
|
|
@@ -26963,14 +26977,14 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
26963
26977
|
}
|
|
26964
26978
|
});
|
|
26965
26979
|
|
|
26966
|
-
const FmInputNumber = _sfc_main$
|
|
26980
|
+
const FmInputNumber = _sfc_main$s;
|
|
26967
26981
|
|
|
26968
|
-
const _hoisted_1$
|
|
26969
|
-
const _hoisted_2$
|
|
26970
|
-
const _hoisted_3$
|
|
26971
|
-
const _hoisted_4$
|
|
26982
|
+
const _hoisted_1$m = { style: { "color": "#fff" } };
|
|
26983
|
+
const _hoisted_2$f = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
26984
|
+
const _hoisted_3$9 = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
26985
|
+
const _hoisted_4$6 = { style: { "margin-top": "10px" } };
|
|
26972
26986
|
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
26973
|
-
var _sfc_main$
|
|
26987
|
+
var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
26974
26988
|
__name: "userSelectDialog",
|
|
26975
26989
|
props: {
|
|
26976
26990
|
visible: {
|
|
@@ -27107,7 +27121,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
27107
27121
|
"close-on-click-modal": false
|
|
27108
27122
|
}, {
|
|
27109
27123
|
header: withCtx(() => [
|
|
27110
|
-
createElementVNode("div", _hoisted_1$
|
|
27124
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
27111
27125
|
createVNode(_component_el_icon, {
|
|
27112
27126
|
size: "16",
|
|
27113
27127
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -27153,7 +27167,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
27153
27167
|
default: withCtx(() => [
|
|
27154
27168
|
createElementVNode(
|
|
27155
27169
|
"p",
|
|
27156
|
-
_hoisted_2$
|
|
27170
|
+
_hoisted_2$f,
|
|
27157
27171
|
toDisplayString(_ctx.$t("\u673A\u6784")),
|
|
27158
27172
|
1
|
|
27159
27173
|
/* TEXT */
|
|
@@ -27175,12 +27189,12 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
27175
27189
|
default: withCtx(() => [
|
|
27176
27190
|
createElementVNode(
|
|
27177
27191
|
"p",
|
|
27178
|
-
_hoisted_3$
|
|
27192
|
+
_hoisted_3$9,
|
|
27179
27193
|
toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
27180
27194
|
1
|
|
27181
27195
|
/* TEXT */
|
|
27182
27196
|
),
|
|
27183
|
-
createElementVNode("div", _hoisted_4$
|
|
27197
|
+
createElementVNode("div", _hoisted_4$6, [
|
|
27184
27198
|
createVNode(_component_el_form, {
|
|
27185
27199
|
model: state.queryParams,
|
|
27186
27200
|
ref: "queryRef",
|
|
@@ -27359,6 +27373,379 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
27359
27373
|
}
|
|
27360
27374
|
});
|
|
27361
27375
|
|
|
27376
|
+
const _hoisted_1$l = { style: { "color": "#fff" } };
|
|
27377
|
+
const _hoisted_2$e = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27378
|
+
const _hoisted_3$8 = { style: { "margin-top": "10px" } };
|
|
27379
|
+
const _hoisted_4$5 = { class: "dialog-footer" };
|
|
27380
|
+
var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
27381
|
+
__name: "supplierSelectDialog",
|
|
27382
|
+
props: {
|
|
27383
|
+
visible: {
|
|
27384
|
+
type: Boolean,
|
|
27385
|
+
default: false
|
|
27386
|
+
},
|
|
27387
|
+
title: {
|
|
27388
|
+
type: String,
|
|
27389
|
+
default: ""
|
|
27390
|
+
},
|
|
27391
|
+
data: {
|
|
27392
|
+
type: Array,
|
|
27393
|
+
default: () => []
|
|
27394
|
+
},
|
|
27395
|
+
userService: {
|
|
27396
|
+
type: String,
|
|
27397
|
+
default: "autoRes"
|
|
27398
|
+
},
|
|
27399
|
+
userAction: {
|
|
27400
|
+
type: String,
|
|
27401
|
+
default: "UserTable"
|
|
27402
|
+
},
|
|
27403
|
+
userParams: {
|
|
27404
|
+
type: Object,
|
|
27405
|
+
default: () => {
|
|
27406
|
+
}
|
|
27407
|
+
}
|
|
27408
|
+
},
|
|
27409
|
+
emits: ["update:visible", "change"],
|
|
27410
|
+
setup(__props, { emit: __emit }) {
|
|
27411
|
+
let emits = __emit;
|
|
27412
|
+
const props = __props;
|
|
27413
|
+
const userList = ref([]);
|
|
27414
|
+
let checkedUsersList = ref([]);
|
|
27415
|
+
const state = reactive({
|
|
27416
|
+
total: 0,
|
|
27417
|
+
queryParams: {
|
|
27418
|
+
orgId: -1,
|
|
27419
|
+
page: 1,
|
|
27420
|
+
pageSize: 50
|
|
27421
|
+
}
|
|
27422
|
+
});
|
|
27423
|
+
let visibleDialog = computed({
|
|
27424
|
+
get() {
|
|
27425
|
+
return props.visible;
|
|
27426
|
+
},
|
|
27427
|
+
set() {
|
|
27428
|
+
closeDialog();
|
|
27429
|
+
}
|
|
27430
|
+
});
|
|
27431
|
+
onMounted(async () => {
|
|
27432
|
+
await getUserList();
|
|
27433
|
+
});
|
|
27434
|
+
const resetQuery = () => {
|
|
27435
|
+
state.queryParams = {};
|
|
27436
|
+
handleQuery();
|
|
27437
|
+
};
|
|
27438
|
+
const getUserList = async () => {
|
|
27439
|
+
var _a, _b, _c, _d;
|
|
27440
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
27441
|
+
userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
27442
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
27443
|
+
};
|
|
27444
|
+
async function handleQuery() {
|
|
27445
|
+
state.queryParams.pageNum = 1;
|
|
27446
|
+
await getUserList();
|
|
27447
|
+
}
|
|
27448
|
+
function handleSelectUser(row) {
|
|
27449
|
+
if (!row || row.id == "") return;
|
|
27450
|
+
emits("change", { id: row.id, name: row.supplierName, data: row });
|
|
27451
|
+
}
|
|
27452
|
+
const handledbclick = (row) => {
|
|
27453
|
+
handleSelectUser(row);
|
|
27454
|
+
};
|
|
27455
|
+
const handleSizeChange = (val) => {
|
|
27456
|
+
state.queryParams.pageSize = val;
|
|
27457
|
+
handleQuery();
|
|
27458
|
+
};
|
|
27459
|
+
const handleCurrentChange = (val) => {
|
|
27460
|
+
state.queryParams.page = val;
|
|
27461
|
+
handleQuery();
|
|
27462
|
+
};
|
|
27463
|
+
const closeDialog = () => {
|
|
27464
|
+
checkedUsersList.value = [];
|
|
27465
|
+
emits("update:visible", false);
|
|
27466
|
+
};
|
|
27467
|
+
return (_ctx, _cache) => {
|
|
27468
|
+
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
27469
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
27470
|
+
const _component_el_input = resolveComponent("el-input");
|
|
27471
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
27472
|
+
const _component_el_button = resolveComponent("el-button");
|
|
27473
|
+
const _component_el_button_group = resolveComponent("el-button-group");
|
|
27474
|
+
const _component_el_form = resolveComponent("el-form");
|
|
27475
|
+
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
27476
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
27477
|
+
const _component_el_table = resolveComponent("el-table");
|
|
27478
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
27479
|
+
const _component_el_card = resolveComponent("el-card");
|
|
27480
|
+
const _component_el_col = resolveComponent("el-col");
|
|
27481
|
+
const _component_el_row = resolveComponent("el-row");
|
|
27482
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
27483
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
27484
|
+
modelValue: unref(visibleDialog),
|
|
27485
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
27486
|
+
style: { "width": "70vw" },
|
|
27487
|
+
"append-to-body": "",
|
|
27488
|
+
draggable: "",
|
|
27489
|
+
"close-on-click-modal": false
|
|
27490
|
+
}, {
|
|
27491
|
+
header: withCtx(() => [
|
|
27492
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
27493
|
+
createVNode(_component_el_icon, {
|
|
27494
|
+
size: "16",
|
|
27495
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
27496
|
+
}, {
|
|
27497
|
+
default: withCtx(() => [
|
|
27498
|
+
createVNode(_component_ele_Edit)
|
|
27499
|
+
]),
|
|
27500
|
+
_: 1
|
|
27501
|
+
/* STABLE */
|
|
27502
|
+
}),
|
|
27503
|
+
createElementVNode(
|
|
27504
|
+
"span",
|
|
27505
|
+
null,
|
|
27506
|
+
toDisplayString(_ctx.$t("\u9009\u62E9")) + toDisplayString(_ctx.$t(__props.title)),
|
|
27507
|
+
1
|
|
27508
|
+
/* TEXT */
|
|
27509
|
+
)
|
|
27510
|
+
])
|
|
27511
|
+
]),
|
|
27512
|
+
footer: withCtx(() => [
|
|
27513
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
27514
|
+
createVNode(_component_el_button, {
|
|
27515
|
+
icon: "ele-CircleCloseFilled",
|
|
27516
|
+
onClick: closeDialog
|
|
27517
|
+
}, {
|
|
27518
|
+
default: withCtx(() => [
|
|
27519
|
+
createTextVNode(
|
|
27520
|
+
toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
27521
|
+
1
|
|
27522
|
+
/* TEXT */
|
|
27523
|
+
)
|
|
27524
|
+
]),
|
|
27525
|
+
_: 1
|
|
27526
|
+
/* STABLE */
|
|
27527
|
+
}),
|
|
27528
|
+
createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
27529
|
+
])
|
|
27530
|
+
]),
|
|
27531
|
+
default: withCtx(() => [
|
|
27532
|
+
createVNode(_component_el_row, { gutter: 10 }, {
|
|
27533
|
+
default: withCtx(() => [
|
|
27534
|
+
createVNode(_component_el_col, { span: 18 }, {
|
|
27535
|
+
default: withCtx(() => [
|
|
27536
|
+
createElementVNode(
|
|
27537
|
+
"p",
|
|
27538
|
+
_hoisted_2$e,
|
|
27539
|
+
toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
27540
|
+
1
|
|
27541
|
+
/* TEXT */
|
|
27542
|
+
),
|
|
27543
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
27544
|
+
createVNode(_component_el_form, {
|
|
27545
|
+
model: state.queryParams,
|
|
27546
|
+
ref: "queryRef",
|
|
27547
|
+
inline: true
|
|
27548
|
+
}, {
|
|
27549
|
+
default: withCtx(() => [
|
|
27550
|
+
createVNode(_component_el_form_item, {
|
|
27551
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
27552
|
+
}, {
|
|
27553
|
+
default: withCtx(() => [
|
|
27554
|
+
createVNode(_component_el_input, {
|
|
27555
|
+
modelValue: state.queryParams.keyword,
|
|
27556
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
27557
|
+
clearable: "",
|
|
27558
|
+
style: { "width": "150px" },
|
|
27559
|
+
onKeyup: withKeys(handleQuery, ["enter"])
|
|
27560
|
+
}, null, 8, ["modelValue"])
|
|
27561
|
+
]),
|
|
27562
|
+
_: 1
|
|
27563
|
+
/* STABLE */
|
|
27564
|
+
}, 8, ["label"]),
|
|
27565
|
+
createVNode(_component_el_form_item, null, {
|
|
27566
|
+
default: withCtx(() => [
|
|
27567
|
+
createVNode(_component_el_button_group, null, {
|
|
27568
|
+
default: withCtx(() => [
|
|
27569
|
+
createVNode(_component_el_button, {
|
|
27570
|
+
type: "primary",
|
|
27571
|
+
icon: "ele-Search",
|
|
27572
|
+
onClick: handleQuery
|
|
27573
|
+
}, {
|
|
27574
|
+
default: withCtx(() => [
|
|
27575
|
+
createTextVNode(
|
|
27576
|
+
toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
27577
|
+
1
|
|
27578
|
+
/* TEXT */
|
|
27579
|
+
)
|
|
27580
|
+
]),
|
|
27581
|
+
_: 1
|
|
27582
|
+
/* STABLE */
|
|
27583
|
+
}),
|
|
27584
|
+
createVNode(_component_el_button, {
|
|
27585
|
+
icon: "ele-Refresh",
|
|
27586
|
+
onClick: resetQuery
|
|
27587
|
+
}, {
|
|
27588
|
+
default: withCtx(() => [
|
|
27589
|
+
createTextVNode(
|
|
27590
|
+
toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
27591
|
+
1
|
|
27592
|
+
/* TEXT */
|
|
27593
|
+
)
|
|
27594
|
+
]),
|
|
27595
|
+
_: 1
|
|
27596
|
+
/* STABLE */
|
|
27597
|
+
})
|
|
27598
|
+
]),
|
|
27599
|
+
_: 1
|
|
27600
|
+
/* STABLE */
|
|
27601
|
+
}),
|
|
27602
|
+
createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
27603
|
+
]),
|
|
27604
|
+
_: 1
|
|
27605
|
+
/* STABLE */
|
|
27606
|
+
})
|
|
27607
|
+
]),
|
|
27608
|
+
_: 1
|
|
27609
|
+
/* STABLE */
|
|
27610
|
+
}, 8, ["model"]),
|
|
27611
|
+
createVNode(_component_el_card, {
|
|
27612
|
+
class: "full-table",
|
|
27613
|
+
shadow: "hover"
|
|
27614
|
+
}, {
|
|
27615
|
+
default: withCtx(() => [
|
|
27616
|
+
createVNode(_component_el_table, {
|
|
27617
|
+
ref: "refTable",
|
|
27618
|
+
data: userList.value,
|
|
27619
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
27620
|
+
onRowDblclick: handledbclick
|
|
27621
|
+
}, {
|
|
27622
|
+
default: withCtx(() => [
|
|
27623
|
+
createVNode(_component_el_table_column, {
|
|
27624
|
+
label: "\u64CD\u4F5C",
|
|
27625
|
+
width: "60",
|
|
27626
|
+
align: "center"
|
|
27627
|
+
}, {
|
|
27628
|
+
default: withCtx((scope) => [
|
|
27629
|
+
createVNode(_component_el_button, {
|
|
27630
|
+
link: "",
|
|
27631
|
+
type: "primary",
|
|
27632
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
27633
|
+
}, {
|
|
27634
|
+
default: withCtx(() => [
|
|
27635
|
+
createVNode(_component_el_icon, null, {
|
|
27636
|
+
default: withCtx(() => [
|
|
27637
|
+
createVNode(_component_ele_Plus)
|
|
27638
|
+
]),
|
|
27639
|
+
_: 1
|
|
27640
|
+
/* STABLE */
|
|
27641
|
+
})
|
|
27642
|
+
]),
|
|
27643
|
+
_: 1
|
|
27644
|
+
/* STABLE */
|
|
27645
|
+
}, 8, ["onClick"])
|
|
27646
|
+
]),
|
|
27647
|
+
_: 1
|
|
27648
|
+
/* STABLE */
|
|
27649
|
+
}),
|
|
27650
|
+
createVNode(_component_el_table_column, {
|
|
27651
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
27652
|
+
prop: "supplierName",
|
|
27653
|
+
align: "center",
|
|
27654
|
+
"show-overflow-tooltip": true
|
|
27655
|
+
}, null, 8, ["label"]),
|
|
27656
|
+
createVNode(_component_el_table_column, {
|
|
27657
|
+
label: _ctx.$t("\u8D1F\u8D23\u4EBA"),
|
|
27658
|
+
prop: "mainuser",
|
|
27659
|
+
align: "center",
|
|
27660
|
+
"show-overflow-tooltip": true
|
|
27661
|
+
}, {
|
|
27662
|
+
default: withCtx((scope) => {
|
|
27663
|
+
var _a, _b;
|
|
27664
|
+
return [
|
|
27665
|
+
createTextVNode(
|
|
27666
|
+
toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.Contact),
|
|
27667
|
+
1
|
|
27668
|
+
/* TEXT */
|
|
27669
|
+
)
|
|
27670
|
+
];
|
|
27671
|
+
}),
|
|
27672
|
+
_: 1
|
|
27673
|
+
/* STABLE */
|
|
27674
|
+
}, 8, ["label"]),
|
|
27675
|
+
createVNode(_component_el_table_column, {
|
|
27676
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
27677
|
+
prop: "mainusertel",
|
|
27678
|
+
align: "center",
|
|
27679
|
+
"show-overflow-tooltip": true
|
|
27680
|
+
}, {
|
|
27681
|
+
default: withCtx((scope) => {
|
|
27682
|
+
var _a, _b;
|
|
27683
|
+
return [
|
|
27684
|
+
createTextVNode(
|
|
27685
|
+
toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.tel),
|
|
27686
|
+
1
|
|
27687
|
+
/* TEXT */
|
|
27688
|
+
)
|
|
27689
|
+
];
|
|
27690
|
+
}),
|
|
27691
|
+
_: 1
|
|
27692
|
+
/* STABLE */
|
|
27693
|
+
}, 8, ["label"]),
|
|
27694
|
+
createVNode(_component_el_table_column, {
|
|
27695
|
+
label: _ctx.$t("\u6240\u5728\u533A\u57DF"),
|
|
27696
|
+
prop: "mainusertel",
|
|
27697
|
+
align: "center",
|
|
27698
|
+
"show-overflow-tooltip": true
|
|
27699
|
+
}, {
|
|
27700
|
+
default: withCtx((scope) => {
|
|
27701
|
+
var _a, _b, _c, _d, _e, _f;
|
|
27702
|
+
return [
|
|
27703
|
+
createTextVNode(
|
|
27704
|
+
toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.province) + toDisplayString((_d = (_c = scope.row) == null ? void 0 : _c.mainManager) == null ? void 0 : _d.city) + toDisplayString((_f = (_e = scope.row) == null ? void 0 : _e.mainManager) == null ? void 0 : _f.district),
|
|
27705
|
+
1
|
|
27706
|
+
/* TEXT */
|
|
27707
|
+
)
|
|
27708
|
+
];
|
|
27709
|
+
}),
|
|
27710
|
+
_: 1
|
|
27711
|
+
/* STABLE */
|
|
27712
|
+
}, 8, ["label"])
|
|
27713
|
+
]),
|
|
27714
|
+
_: 1
|
|
27715
|
+
/* STABLE */
|
|
27716
|
+
}, 8, ["data"]),
|
|
27717
|
+
createVNode(_component_el_pagination, {
|
|
27718
|
+
currentPage: state.queryParams.page,
|
|
27719
|
+
"page-size": state.queryParams.pageSize,
|
|
27720
|
+
total: state.queryParams.total,
|
|
27721
|
+
"page-sizes": [10, 20, 50, 100],
|
|
27722
|
+
background: "",
|
|
27723
|
+
onSizeChange: handleSizeChange,
|
|
27724
|
+
onCurrentChange: handleCurrentChange,
|
|
27725
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
27726
|
+
style: { "padding-bottom": "8px" }
|
|
27727
|
+
}, null, 8, ["currentPage", "page-size", "total"])
|
|
27728
|
+
]),
|
|
27729
|
+
_: 1
|
|
27730
|
+
/* STABLE */
|
|
27731
|
+
})
|
|
27732
|
+
])
|
|
27733
|
+
]),
|
|
27734
|
+
_: 1
|
|
27735
|
+
/* STABLE */
|
|
27736
|
+
})
|
|
27737
|
+
]),
|
|
27738
|
+
_: 1
|
|
27739
|
+
/* STABLE */
|
|
27740
|
+
})
|
|
27741
|
+
]),
|
|
27742
|
+
_: 1
|
|
27743
|
+
/* STABLE */
|
|
27744
|
+
}, 8, ["modelValue"]);
|
|
27745
|
+
};
|
|
27746
|
+
}
|
|
27747
|
+
});
|
|
27748
|
+
|
|
27362
27749
|
const _hoisted_1$k = { style: { "font-size": "14px", "line-height": "30px" } };
|
|
27363
27750
|
var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
27364
27751
|
...{
|
|
@@ -27423,12 +27810,12 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
27423
27810
|
}
|
|
27424
27811
|
},
|
|
27425
27812
|
/**
|
|
27426
|
-
* 打开类型 1
|
|
27813
|
+
* 打开类型 0--用户加机构 1 联系人 2 单位
|
|
27427
27814
|
* @default 1
|
|
27428
27815
|
*/
|
|
27429
27816
|
openType: {
|
|
27430
27817
|
type: Number,
|
|
27431
|
-
default:
|
|
27818
|
+
default: 0
|
|
27432
27819
|
},
|
|
27433
27820
|
orgService: {
|
|
27434
27821
|
type: String,
|
|
@@ -27502,7 +27889,7 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
27502
27889
|
const _component_el_autocomplete = resolveComponent("el-autocomplete");
|
|
27503
27890
|
return openBlock(), createBlock(_component_el_autocomplete, {
|
|
27504
27891
|
modelValue: autoName.value,
|
|
27505
|
-
"onUpdate:modelValue": _cache[
|
|
27892
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => autoName.value = $event),
|
|
27506
27893
|
debounce: 500,
|
|
27507
27894
|
"fetch-suggestions": querySearchAsync,
|
|
27508
27895
|
placeholder: props.placeholder,
|
|
@@ -27531,7 +27918,8 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
27531
27918
|
_: 1
|
|
27532
27919
|
/* STABLE */
|
|
27533
27920
|
}, 8, ["size"]),
|
|
27534
|
-
|
|
27921
|
+
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$r, {
|
|
27922
|
+
key: 0,
|
|
27535
27923
|
visible: visibleopenDialog.value,
|
|
27536
27924
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
27537
27925
|
orgService: __props.orgService,
|
|
@@ -27542,7 +27930,17 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
27542
27930
|
userAction: __props.userAction,
|
|
27543
27931
|
userParams: __props.params,
|
|
27544
27932
|
onChange: handleSelectDialogChange
|
|
27545
|
-
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])
|
|
27933
|
+
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
27934
|
+
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$q, {
|
|
27935
|
+
key: 1,
|
|
27936
|
+
visible: visibleopenDialog.value,
|
|
27937
|
+
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
|
|
27938
|
+
title: __props.title,
|
|
27939
|
+
userService: __props.userService,
|
|
27940
|
+
userAction: __props.userAction,
|
|
27941
|
+
userParams: __props.params,
|
|
27942
|
+
onChange: handleSelectDialogChange
|
|
27943
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true)
|
|
27546
27944
|
]),
|
|
27547
27945
|
_: 1
|
|
27548
27946
|
/* STABLE */
|
|
@@ -31952,4 +32350,4 @@ var upgradeInfo = /*#__PURE__*/Object.freeze({
|
|
|
31952
32350
|
default: _sfc_main
|
|
31953
32351
|
});
|
|
31954
32352
|
|
|
31955
|
-
export { AccountTypeEnum, AppSysTypeData, AppSysTypeEnum, HttpMethodEnum, JobCreateTypeEnum, Local, NextLoading, PowerAreaData, Session, StringToObj, watermark as Watermark, accessTokenKey, auth, authAll, auths, axiosInstance, base64ToFile, blobToFile, buildLocaleContext, buildTranslator, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, clone, cmpId, commonFun, commonFunction, dataURLtoBlob, decryptJWT, installer as default, depId, destroyIdleTimeout, downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, en, exportExcel, feature, fileToBase64, flowLoading, formatAxis, formatDate, formatPast, gcj02ToBd09, getCountryCode, getFileName, getFileUrl, getFormItemLabel, getFormItemProp, getHeader, getJWTDate, getOpOrg, getRules, getShowColumn, getSubFormFields, getToken, getWeek, getlimit, getpower, groupId, hAuth, hAuthAll, hAuths, hasPrivilege, hasRoleCode, i18n, initIconfont, initIdleTimeout, install, isAdmin, isMember, isNormalUser, isObjectValueEqual, isSupperAdmin, isTenantAdmin, iso_3166_1_CountryList, judgementIdCard, judgementSameArr, languageList, loadRemoteMessages, loadSysInfo, mergMessage, emitter as mittBus, openWindow, orgId, orgName, other, pinia, posId, posName, powerAuthDel, provideFormEvents, reLoadLoginAccessToken, refreshAccessTokenKey, removeDuplicate, request2, restartSignalR, roles, saulVModel, service, setCssCdn, setIntroduction, setJsCdn, setupI18n, showFileUrl, showTabelColumn, signalR, signatureByKSort, sleep, tansParams, tenantId, translate, updateFavicon, updateIdleTimeout, urlToBase64, useApi, useBaseApi, useChangeColor, useDateTimeShortCust, useFormEvents, useFormRulePresets, useKeepALiveNames, useLocale, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, usefminputdropdownstore, userAccount, userEmail, userFriendName, userId, userName, userPhone, validateFormWithScroll, validateFormWithScrollCallback, verifiyNumberInteger, verifyAccount, verifyAndSpace, verifyCarNum, verifyCnAndSpace, verifyEmail, verifyEnAndSpace, verifyFullName, verifyIPAddress, verifyIdCard, verifyNumberCnUppercase, verifyNumberComma, verifyNumberIntegerAndFloat, verifyNumberPercentage, verifyNumberPercentageFloat, verifyPassword, verifyPasswordPowerful, verifyPasswordStrength, verifyPhone, verifyPostalCode, verifyTelPhone, verifyTextColor, verifyUrl, version, wgs84ToBd09, wgs84ToGcj02, plusZhCn as zhCn };
|
|
32353
|
+
export { AccountTypeEnum, AppSysTypeData, AppSysTypeEnum, HttpMethodEnum, JobCreateTypeEnum, Local, NextLoading, PowerAreaData, Session, StringToObj, watermark as Watermark, accessTokenKey, auth, authAll, auths, axiosInstance, base64ToFile, blobToFile, buildLocaleContext, buildTranslator, cancelAllRequest, cancelRequest, clearAccessTokens, clearTokens, clone, cmpId, commonFun, commonFunction, dataURLtoBlob, decryptJWT, installer as default, depId, destroyIdleTimeout, downloadByBase64, downloadByData, downloadByOnlineUrl, downloadByUrl, downloadStreamFile, en, exportExcel, feature, fileToBase64, flowLoading, formatAxis, formatDate, formatPast, gcj02ToBd09, getCountryCode, getFileName, getFileUrl, getFormItemLabel, getFormItemProp, getHeader, getJWTDate, getOpOrg, getRules, getShowColumn, getShowColumnWidth, getSubFormFields, getToken, getWeek, getlimit, getpower, groupId, hAuth, hAuthAll, hAuths, hasPrivilege, hasRoleCode, i18n, initIconfont, initIdleTimeout, install, isAdmin, isMember, isNormalUser, isObjectValueEqual, isSupperAdmin, isTenantAdmin, iso_3166_1_CountryList, judgementIdCard, judgementSameArr, languageList, loadRemoteMessages, loadSysInfo, mergMessage, emitter as mittBus, openWindow, orgId, orgName, other, pinia, posId, posName, powerAuthDel, provideFormEvents, reLoadLoginAccessToken, refreshAccessTokenKey, removeDuplicate, request2, restartSignalR, roles, saulVModel, service, setCssCdn, setIntroduction, setJsCdn, setupI18n, showFileUrl, showTabelColumn, signalR, signatureByKSort, sleep, tansParams, tenantId, translate, updateFavicon, updateIdleTimeout, urlToBase64, useApi, useBaseApi, useChangeColor, useDateTimeShortCust, useFormEvents, useFormRulePresets, useKeepALiveNames, useLocale, useRequestOldRoutes, useRoutesList, useSysApi, useTagsViewRoutes, useThemeConfig, useUserInfo, useVxeTable, usefminputdropdownstore, userAccount, userEmail, userFriendName, userId, userName, userPhone, validateFormWithScroll, validateFormWithScrollCallback, verifiyNumberInteger, verifyAccount, verifyAndSpace, verifyCarNum, verifyCnAndSpace, verifyEmail, verifyEnAndSpace, verifyFullName, verifyIPAddress, verifyIdCard, verifyNumberCnUppercase, verifyNumberComma, verifyNumberIntegerAndFloat, verifyNumberPercentage, verifyNumberPercentageFloat, verifyPassword, verifyPasswordPowerful, verifyPasswordStrength, verifyPhone, verifyPostalCode, verifyTelPhone, verifyTextColor, verifyUrl, version, wgs84ToBd09, wgs84ToGcj02, plusZhCn as zhCn };
|