@fmdeui/fmui 1.0.107 → 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/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/hooks/limitsFunction.mjs +1 -1
- package/index.js +481 -97
- package/index.min.js +6 -6
- package/index.min.mjs +6 -6
- package/index.mjs +481 -97
- 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/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/hooks/limitsFunction.js +1 -1
- 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/{make-installer.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(
|
|
@@ -20895,16 +20895,16 @@ function getShowColumnWidth(flag, field, defaultValue = "", isJson = false) {
|
|
|
20895
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
20896
|
let width = defaultValue;
|
|
20897
20897
|
if (ItemField) {
|
|
20898
|
-
if (ItemField.width) {
|
|
20898
|
+
if (ItemField.width && ItemField.width != "" && ItemField.width > 0) {
|
|
20899
20899
|
width = ItemField.width + ItemField.widthUnit;
|
|
20900
20900
|
}
|
|
20901
20901
|
}
|
|
20902
20902
|
return isJson ? width != "" ? { width } : "" : width;
|
|
20903
20903
|
}
|
|
20904
20904
|
|
|
20905
|
-
const _hoisted_1$
|
|
20906
|
-
const _hoisted_2$
|
|
20907
|
-
var _sfc_main$
|
|
20905
|
+
const _hoisted_1$v = { key: 0 };
|
|
20906
|
+
const _hoisted_2$k = { key: 0 };
|
|
20907
|
+
var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
20908
20908
|
...{
|
|
20909
20909
|
name: "FInput"
|
|
20910
20910
|
},
|
|
@@ -21111,7 +21111,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
21111
21111
|
fn: withCtx(() => [
|
|
21112
21112
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21113
21113
|
"span",
|
|
21114
|
-
_hoisted_1$
|
|
21114
|
+
_hoisted_1$v,
|
|
21115
21115
|
toDisplayString(appendTitleText.value),
|
|
21116
21116
|
1
|
|
21117
21117
|
/* TEXT */
|
|
@@ -21144,7 +21144,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
21144
21144
|
fn: withCtx(() => [
|
|
21145
21145
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21146
21146
|
"span",
|
|
21147
|
-
_hoisted_2$
|
|
21147
|
+
_hoisted_2$k,
|
|
21148
21148
|
toDisplayString(appendTitleText.value),
|
|
21149
21149
|
1
|
|
21150
21150
|
/* TEXT */
|
|
@@ -21157,13 +21157,13 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
21157
21157
|
}
|
|
21158
21158
|
});
|
|
21159
21159
|
|
|
21160
|
-
const FInput = _sfc_main$
|
|
21160
|
+
const FInput = _sfc_main$K;
|
|
21161
21161
|
|
|
21162
|
-
const _hoisted_1$
|
|
21162
|
+
const _hoisted_1$u = {
|
|
21163
21163
|
key: 0,
|
|
21164
21164
|
class: "back_to_top"
|
|
21165
21165
|
};
|
|
21166
|
-
var _sfc_main$
|
|
21166
|
+
var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
21167
21167
|
...{
|
|
21168
21168
|
name: "FLayoutPage"
|
|
21169
21169
|
},
|
|
@@ -21225,7 +21225,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
21225
21225
|
},
|
|
21226
21226
|
[
|
|
21227
21227
|
renderSlot(_ctx.$slots, "default"),
|
|
21228
|
-
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21228
|
+
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
21229
21229
|
isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
|
|
21230
21230
|
key: 0,
|
|
21231
21231
|
onClick: backToTop
|
|
@@ -21253,9 +21253,9 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
21253
21253
|
}
|
|
21254
21254
|
});
|
|
21255
21255
|
|
|
21256
|
-
const FLayoutPage = _sfc_main$
|
|
21256
|
+
const FLayoutPage = _sfc_main$J;
|
|
21257
21257
|
|
|
21258
|
-
var _sfc_main$
|
|
21258
|
+
var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
21259
21259
|
...{
|
|
21260
21260
|
name: "FLayoutPageItem"
|
|
21261
21261
|
},
|
|
@@ -21283,7 +21283,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21283
21283
|
}
|
|
21284
21284
|
});
|
|
21285
21285
|
|
|
21286
|
-
const FLayoutPageItem = _sfc_main$
|
|
21286
|
+
const FLayoutPageItem = _sfc_main$I;
|
|
21287
21287
|
|
|
21288
21288
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21289
21289
|
let timer = null;
|
|
@@ -21326,8 +21326,8 @@ function toLine(name) {
|
|
|
21326
21326
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
21327
21327
|
}
|
|
21328
21328
|
|
|
21329
|
-
const _hoisted_1$
|
|
21330
|
-
var _sfc_main$
|
|
21329
|
+
const _hoisted_1$t = ["id"];
|
|
21330
|
+
var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
21331
21331
|
...{
|
|
21332
21332
|
name: "FChart"
|
|
21333
21333
|
},
|
|
@@ -21411,7 +21411,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21411
21411
|
id: __props.id,
|
|
21412
21412
|
ref_key: "echartRef",
|
|
21413
21413
|
ref: echartRef
|
|
21414
|
-
}, null, 8, _hoisted_1$
|
|
21414
|
+
}, null, 8, _hoisted_1$t), [
|
|
21415
21415
|
[vShow, !formatEmpty.value]
|
|
21416
21416
|
]),
|
|
21417
21417
|
formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -21426,13 +21426,13 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21426
21426
|
}
|
|
21427
21427
|
});
|
|
21428
21428
|
|
|
21429
|
-
const FChart = _sfc_main$
|
|
21429
|
+
const FChart = _sfc_main$H;
|
|
21430
21430
|
|
|
21431
|
-
const _hoisted_1$
|
|
21431
|
+
const _hoisted_1$s = {
|
|
21432
21432
|
key: 1,
|
|
21433
21433
|
class: "f_select__pagination"
|
|
21434
21434
|
};
|
|
21435
|
-
var _sfc_main$
|
|
21435
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
21436
21436
|
...{
|
|
21437
21437
|
name: "FSelect"
|
|
21438
21438
|
},
|
|
@@ -21645,7 +21645,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21645
21645
|
128
|
|
21646
21646
|
/* KEYED_FRAGMENT */
|
|
21647
21647
|
)),
|
|
21648
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21648
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
21649
21649
|
createVNode(_component_el_pagination, mergeProps({
|
|
21650
21650
|
"current-page": __props.paginationOption.currentPage,
|
|
21651
21651
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -21683,9 +21683,9 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21683
21683
|
}
|
|
21684
21684
|
});
|
|
21685
21685
|
|
|
21686
|
-
const FSelect = _sfc_main$
|
|
21686
|
+
const FSelect = _sfc_main$G;
|
|
21687
21687
|
|
|
21688
|
-
var _sfc_main$
|
|
21688
|
+
var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
21689
21689
|
...{
|
|
21690
21690
|
name: "RenderComp"
|
|
21691
21691
|
},
|
|
@@ -21705,12 +21705,12 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
21705
21705
|
}
|
|
21706
21706
|
});
|
|
21707
21707
|
|
|
21708
|
-
const _hoisted_1$
|
|
21709
|
-
const _hoisted_2$
|
|
21710
|
-
const _hoisted_3$
|
|
21711
|
-
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" };
|
|
21712
21712
|
const _hoisted_5$7 = { class: "out_box" };
|
|
21713
|
-
var _sfc_main$
|
|
21713
|
+
var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
21714
21714
|
...{
|
|
21715
21715
|
name: "MoreChoose"
|
|
21716
21716
|
},
|
|
@@ -21830,7 +21830,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
21830
21830
|
ref: "popover"
|
|
21831
21831
|
}, {
|
|
21832
21832
|
reference: withCtx(() => [
|
|
21833
|
-
createElementVNode("div", _hoisted_4$
|
|
21833
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
21834
21834
|
createElementVNode(
|
|
21835
21835
|
"span",
|
|
21836
21836
|
_hoisted_5$7,
|
|
@@ -21848,8 +21848,8 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
21848
21848
|
])
|
|
21849
21849
|
]),
|
|
21850
21850
|
default: withCtx(() => [
|
|
21851
|
-
createElementVNode("div", _hoisted_1$
|
|
21852
|
-
createElementVNode("div", _hoisted_2$
|
|
21851
|
+
createElementVNode("div", _hoisted_1$r, [
|
|
21852
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
21853
21853
|
createElementVNode(
|
|
21854
21854
|
"div",
|
|
21855
21855
|
null,
|
|
@@ -21857,7 +21857,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
21857
21857
|
1
|
|
21858
21858
|
/* TEXT */
|
|
21859
21859
|
),
|
|
21860
|
-
createElementVNode("div", _hoisted_3$
|
|
21860
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
21861
21861
|
createVNode(_component_el_button, {
|
|
21862
21862
|
size: "small",
|
|
21863
21863
|
link: "",
|
|
@@ -22025,7 +22025,7 @@ function useComputed() {
|
|
|
22025
22025
|
};
|
|
22026
22026
|
}
|
|
22027
22027
|
|
|
22028
|
-
var _sfc_main$
|
|
22028
|
+
var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
22029
22029
|
...{
|
|
22030
22030
|
name: "FQueryCondition"
|
|
22031
22031
|
},
|
|
@@ -22444,7 +22444,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
22444
22444
|
opt.labelRender ? {
|
|
22445
22445
|
name: "label",
|
|
22446
22446
|
fn: withCtx(() => [
|
|
22447
|
-
createVNode(_sfc_main$
|
|
22447
|
+
createVNode(_sfc_main$F, {
|
|
22448
22448
|
form: unref(queryState).form,
|
|
22449
22449
|
render: opt.labelRender
|
|
22450
22450
|
}, null, 8, ["form", "render"])
|
|
@@ -22540,7 +22540,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
22540
22540
|
_: 1
|
|
22541
22541
|
/* STABLE */
|
|
22542
22542
|
})) : createCommentVNode("v-if", true),
|
|
22543
|
-
createVNode(_sfc_main$
|
|
22543
|
+
createVNode(_sfc_main$E, {
|
|
22544
22544
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22545
22545
|
moreCheckList: __props.moreCheckList,
|
|
22546
22546
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22566,7 +22566,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
22566
22566
|
}
|
|
22567
22567
|
});
|
|
22568
22568
|
|
|
22569
|
-
var _sfc_main$
|
|
22569
|
+
var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
22570
22570
|
...{
|
|
22571
22571
|
name: "RenderCol"
|
|
22572
22572
|
},
|
|
@@ -22722,17 +22722,17 @@ function useVirtualized() {
|
|
|
22722
22722
|
};
|
|
22723
22723
|
}
|
|
22724
22724
|
|
|
22725
|
-
const _hoisted_1$
|
|
22725
|
+
const _hoisted_1$q = {
|
|
22726
22726
|
key: 0,
|
|
22727
22727
|
class: "table_query_condition"
|
|
22728
22728
|
};
|
|
22729
|
-
const _hoisted_2$
|
|
22730
|
-
const _hoisted_3$
|
|
22731
|
-
const _hoisted_4$
|
|
22729
|
+
const _hoisted_2$i = ["element-loading-text"];
|
|
22730
|
+
const _hoisted_3$b = { key: 2 };
|
|
22731
|
+
const _hoisted_4$8 = {
|
|
22732
22732
|
key: 0,
|
|
22733
22733
|
class: "f-table-select__page"
|
|
22734
22734
|
};
|
|
22735
|
-
var _sfc_main$
|
|
22735
|
+
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
22736
22736
|
...{
|
|
22737
22737
|
name: "FSelectTable"
|
|
22738
22738
|
},
|
|
@@ -23354,9 +23354,9 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23354
23354
|
style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
23355
23355
|
},
|
|
23356
23356
|
[
|
|
23357
|
-
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23357
|
+
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
23358
23358
|
createVNode(
|
|
23359
|
-
_sfc_main$
|
|
23359
|
+
_sfc_main$D,
|
|
23360
23360
|
mergeProps({
|
|
23361
23361
|
ref_key: "fQueryConditionRef",
|
|
23362
23362
|
ref: fQueryConditionRef,
|
|
@@ -23482,7 +23482,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23482
23482
|
fixed: item.fixed
|
|
23483
23483
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23484
23484
|
default: withCtx((scope) => [
|
|
23485
|
-
item.render ? (openBlock(), createBlock(_sfc_main$
|
|
23485
|
+
item.render ? (openBlock(), createBlock(_sfc_main$C, {
|
|
23486
23486
|
key: 0,
|
|
23487
23487
|
column: item,
|
|
23488
23488
|
row: scope.row,
|
|
@@ -23493,7 +23493,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23493
23493
|
key: 1,
|
|
23494
23494
|
scope
|
|
23495
23495
|
}) : createCommentVNode("v-if", true),
|
|
23496
|
-
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
23496
|
+
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
|
|
23497
23497
|
createElementVNode(
|
|
23498
23498
|
"span",
|
|
23499
23499
|
null,
|
|
@@ -23515,7 +23515,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23515
23515
|
_: 3
|
|
23516
23516
|
/* FORWARDED */
|
|
23517
23517
|
}, 16, ["data", "class"]),
|
|
23518
|
-
__props.isShowPagination ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
23518
|
+
__props.isShowPagination ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
23519
23519
|
createVNode(_component_el_pagination, mergeProps({
|
|
23520
23520
|
"current-page": __props.table.currentPage,
|
|
23521
23521
|
"onUpdate:currentPage": _cache[6] || (_cache[6] = ($event) => __props.table.currentPage = $event),
|
|
@@ -23527,7 +23527,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23527
23527
|
total: __props.table.total
|
|
23528
23528
|
}, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
|
|
23529
23529
|
])) : createCommentVNode("v-if", true)
|
|
23530
|
-
], 8, _hoisted_2$
|
|
23530
|
+
], 8, _hoisted_2$i)), [
|
|
23531
23531
|
[_directive_loading, __props.tableLoading]
|
|
23532
23532
|
]),
|
|
23533
23533
|
renderSlot(_ctx.$slots, "footer")
|
|
@@ -23545,11 +23545,11 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
23545
23545
|
}
|
|
23546
23546
|
});
|
|
23547
23547
|
|
|
23548
|
-
const FSelectTable = _sfc_main$
|
|
23548
|
+
const FSelectTable = _sfc_main$B;
|
|
23549
23549
|
|
|
23550
|
-
const FQueryCondition = _sfc_main$
|
|
23550
|
+
const FQueryCondition = _sfc_main$D;
|
|
23551
23551
|
|
|
23552
|
-
var _sfc_main$
|
|
23552
|
+
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
23553
23553
|
...{
|
|
23554
23554
|
name: "RenderComp"
|
|
23555
23555
|
},
|
|
@@ -23569,7 +23569,7 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
23569
23569
|
}
|
|
23570
23570
|
});
|
|
23571
23571
|
|
|
23572
|
-
var _sfc_main$
|
|
23572
|
+
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
23573
23573
|
...{
|
|
23574
23574
|
name: "RenderBtn"
|
|
23575
23575
|
},
|
|
@@ -23589,12 +23589,12 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
23589
23589
|
}
|
|
23590
23590
|
});
|
|
23591
23591
|
|
|
23592
|
-
const _hoisted_1$
|
|
23592
|
+
const _hoisted_1$p = {
|
|
23593
23593
|
key: 1,
|
|
23594
23594
|
class: "text_show"
|
|
23595
23595
|
};
|
|
23596
|
-
const _hoisted_2$
|
|
23597
|
-
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({
|
|
23598
23598
|
...{
|
|
23599
23599
|
name: "FForm"
|
|
23600
23600
|
},
|
|
@@ -23845,7 +23845,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23845
23845
|
}) : createCommentVNode("v-if", true),
|
|
23846
23846
|
item.textShow ? (openBlock(), createElementBlock(
|
|
23847
23847
|
"span",
|
|
23848
|
-
_hoisted_1$
|
|
23848
|
+
_hoisted_1$p,
|
|
23849
23849
|
toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
23850
23850
|
1
|
|
23851
23851
|
/* TEXT */
|
|
@@ -23965,7 +23965,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23965
23965
|
item.labelSlotName || item.labelRender ? {
|
|
23966
23966
|
name: "label",
|
|
23967
23967
|
fn: withCtx(() => [
|
|
23968
|
-
item.labelRender ? (openBlock(), createBlock(_sfc_main$
|
|
23968
|
+
item.labelRender ? (openBlock(), createBlock(_sfc_main$A, {
|
|
23969
23969
|
key: 0,
|
|
23970
23970
|
render: item.labelRender,
|
|
23971
23971
|
item
|
|
@@ -23987,7 +23987,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23987
23987
|
/* UNKEYED_FRAGMENT */
|
|
23988
23988
|
)),
|
|
23989
23989
|
createCommentVNode(" \u6309\u94AE "),
|
|
23990
|
-
createElementVNode("div", _hoisted_2$
|
|
23990
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
23991
23991
|
__props.formOpts.btnSlotName ? renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : createCommentVNode("v-if", true),
|
|
23992
23992
|
!__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (openBlock(true), createElementBlock(
|
|
23993
23993
|
Fragment,
|
|
@@ -23997,7 +23997,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23997
23997
|
Fragment,
|
|
23998
23998
|
null,
|
|
23999
23999
|
[
|
|
24000
|
-
val.render ? (openBlock(), createBlock(_sfc_main$
|
|
24000
|
+
val.render ? (openBlock(), createBlock(_sfc_main$z, {
|
|
24001
24001
|
key: index,
|
|
24002
24002
|
item: val,
|
|
24003
24003
|
render: val.render
|
|
@@ -24044,10 +24044,10 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
24044
24044
|
}
|
|
24045
24045
|
});
|
|
24046
24046
|
|
|
24047
|
-
const FForm = _sfc_main$
|
|
24047
|
+
const FForm = _sfc_main$y;
|
|
24048
24048
|
|
|
24049
|
-
const _hoisted_1$
|
|
24050
|
-
var _sfc_main$
|
|
24049
|
+
const _hoisted_1$o = ["src"];
|
|
24050
|
+
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
24051
24051
|
...{
|
|
24052
24052
|
name: "svgIcon"
|
|
24053
24053
|
},
|
|
@@ -24118,7 +24118,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
24118
24118
|
createElementVNode("img", {
|
|
24119
24119
|
src: getIconName.value,
|
|
24120
24120
|
style: normalizeStyle(setIconSvgInsStyle.value)
|
|
24121
|
-
}, null, 12, _hoisted_1$
|
|
24121
|
+
}, null, 12, _hoisted_1$o)
|
|
24122
24122
|
],
|
|
24123
24123
|
4
|
|
24124
24124
|
/* STYLE */
|
|
@@ -24145,13 +24145,13 @@ function elSvg(app) {
|
|
|
24145
24145
|
}
|
|
24146
24146
|
}
|
|
24147
24147
|
if (!app._context.components[`SvgIcon`]) {
|
|
24148
|
-
app.component("SvgIcon", _sfc_main$
|
|
24148
|
+
app.component("SvgIcon", _sfc_main$x);
|
|
24149
24149
|
}
|
|
24150
24150
|
}
|
|
24151
24151
|
|
|
24152
24152
|
const emitter = mitt();
|
|
24153
24153
|
|
|
24154
|
-
var _sfc_main$
|
|
24154
|
+
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
24155
24155
|
...{
|
|
24156
24156
|
name: "FLayout"
|
|
24157
24157
|
},
|
|
@@ -24237,7 +24237,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
24237
24237
|
}
|
|
24238
24238
|
});
|
|
24239
24239
|
|
|
24240
|
-
const FLayout = _sfc_main$
|
|
24240
|
+
const FLayout = _sfc_main$w;
|
|
24241
24241
|
|
|
24242
24242
|
function commonFunction() {
|
|
24243
24243
|
const { copy, isSupported } = useClipboard();
|
|
@@ -24514,10 +24514,10 @@ const other = {
|
|
|
24514
24514
|
// },
|
|
24515
24515
|
};
|
|
24516
24516
|
|
|
24517
|
-
const _hoisted_1$
|
|
24518
|
-
const _hoisted_2$
|
|
24519
|
-
const _hoisted_3$
|
|
24520
|
-
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" };
|
|
24521
24521
|
const _hoisted_5$6 = { style: { "margin": "10px 0" } };
|
|
24522
24522
|
const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
|
|
24523
24523
|
const _hoisted_7$3 = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
@@ -24639,7 +24639,7 @@ const _hoisted_119 = {
|
|
|
24639
24639
|
class: "traditionalColors-chines",
|
|
24640
24640
|
style: { "cursor": "grab", "color": "gray" }
|
|
24641
24641
|
};
|
|
24642
|
-
var _sfc_main$
|
|
24642
|
+
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
24643
24643
|
...{
|
|
24644
24644
|
name: "FSettings"
|
|
24645
24645
|
},
|
|
@@ -24903,7 +24903,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
24903
24903
|
const _component_el_col = resolveComponent("el-col");
|
|
24904
24904
|
const _component_el_row = resolveComponent("el-row");
|
|
24905
24905
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
24906
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24906
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
24907
24907
|
createVNode(_component_el_drawer, {
|
|
24908
24908
|
title: _ctx.$t("message.layout.configTitle"),
|
|
24909
24909
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -24928,15 +24928,15 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
24928
24928
|
_: 1
|
|
24929
24929
|
/* STABLE */
|
|
24930
24930
|
}),
|
|
24931
|
-
createElementVNode("div", _hoisted_2$
|
|
24931
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
24932
24932
|
createElementVNode(
|
|
24933
24933
|
"div",
|
|
24934
|
-
_hoisted_3$
|
|
24934
|
+
_hoisted_3$a,
|
|
24935
24935
|
toDisplayString(_ctx.$t("message.layout.themeColors")),
|
|
24936
24936
|
1
|
|
24937
24937
|
/* TEXT */
|
|
24938
24938
|
),
|
|
24939
|
-
createElementVNode("div", _hoisted_4$
|
|
24939
|
+
createElementVNode("div", _hoisted_4$7, [
|
|
24940
24940
|
createVNode(_component_el_color_picker, {
|
|
24941
24941
|
modelValue: getThemeConfig.value.primary,
|
|
24942
24942
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => getThemeConfig.value.primary = $event),
|
|
@@ -26402,9 +26402,9 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
26402
26402
|
}
|
|
26403
26403
|
});
|
|
26404
26404
|
|
|
26405
|
-
const FSettings = _sfc_main$
|
|
26405
|
+
const FSettings = _sfc_main$v;
|
|
26406
26406
|
|
|
26407
|
-
var _sfc_main$
|
|
26407
|
+
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
26408
26408
|
...{
|
|
26409
26409
|
name: "FModifyRecord"
|
|
26410
26410
|
},
|
|
@@ -26667,9 +26667,9 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
26667
26667
|
}
|
|
26668
26668
|
});
|
|
26669
26669
|
|
|
26670
|
-
const FModifyRecord = _sfc_main$
|
|
26670
|
+
const FModifyRecord = _sfc_main$u;
|
|
26671
26671
|
|
|
26672
|
-
var _sfc_main$
|
|
26672
|
+
var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
26673
26673
|
...{
|
|
26674
26674
|
name: "Fminputdropdown"
|
|
26675
26675
|
},
|
|
@@ -26866,9 +26866,9 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
26866
26866
|
}
|
|
26867
26867
|
});
|
|
26868
26868
|
|
|
26869
|
-
const Fminputdropdown = _sfc_main$
|
|
26869
|
+
const Fminputdropdown = _sfc_main$t;
|
|
26870
26870
|
|
|
26871
|
-
var _sfc_main$
|
|
26871
|
+
var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
26872
26872
|
...{ name: "FmInputNumber" },
|
|
26873
26873
|
__name: "index",
|
|
26874
26874
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -26977,14 +26977,14 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
26977
26977
|
}
|
|
26978
26978
|
});
|
|
26979
26979
|
|
|
26980
|
-
const FmInputNumber = _sfc_main$
|
|
26980
|
+
const FmInputNumber = _sfc_main$s;
|
|
26981
26981
|
|
|
26982
|
-
const _hoisted_1$
|
|
26983
|
-
const _hoisted_2$
|
|
26984
|
-
const _hoisted_3$
|
|
26985
|
-
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" } };
|
|
26986
26986
|
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
26987
|
-
var _sfc_main$
|
|
26987
|
+
var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
26988
26988
|
__name: "userSelectDialog",
|
|
26989
26989
|
props: {
|
|
26990
26990
|
visible: {
|
|
@@ -27121,7 +27121,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
27121
27121
|
"close-on-click-modal": false
|
|
27122
27122
|
}, {
|
|
27123
27123
|
header: withCtx(() => [
|
|
27124
|
-
createElementVNode("div", _hoisted_1$
|
|
27124
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
27125
27125
|
createVNode(_component_el_icon, {
|
|
27126
27126
|
size: "16",
|
|
27127
27127
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -27167,7 +27167,7 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
27167
27167
|
default: withCtx(() => [
|
|
27168
27168
|
createElementVNode(
|
|
27169
27169
|
"p",
|
|
27170
|
-
_hoisted_2$
|
|
27170
|
+
_hoisted_2$f,
|
|
27171
27171
|
toDisplayString(_ctx.$t("\u673A\u6784")),
|
|
27172
27172
|
1
|
|
27173
27173
|
/* TEXT */
|
|
@@ -27189,12 +27189,12 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
27189
27189
|
default: withCtx(() => [
|
|
27190
27190
|
createElementVNode(
|
|
27191
27191
|
"p",
|
|
27192
|
-
_hoisted_3$
|
|
27192
|
+
_hoisted_3$9,
|
|
27193
27193
|
toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
27194
27194
|
1
|
|
27195
27195
|
/* TEXT */
|
|
27196
27196
|
),
|
|
27197
|
-
createElementVNode("div", _hoisted_4$
|
|
27197
|
+
createElementVNode("div", _hoisted_4$6, [
|
|
27198
27198
|
createVNode(_component_el_form, {
|
|
27199
27199
|
model: state.queryParams,
|
|
27200
27200
|
ref: "queryRef",
|
|
@@ -27373,6 +27373,379 @@ var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
27373
27373
|
}
|
|
27374
27374
|
});
|
|
27375
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
|
+
|
|
27376
27749
|
const _hoisted_1$k = { style: { "font-size": "14px", "line-height": "30px" } };
|
|
27377
27750
|
var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
27378
27751
|
...{
|
|
@@ -27437,12 +27810,12 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
27437
27810
|
}
|
|
27438
27811
|
},
|
|
27439
27812
|
/**
|
|
27440
|
-
* 打开类型 1
|
|
27813
|
+
* 打开类型 0--用户加机构 1 联系人 2 单位
|
|
27441
27814
|
* @default 1
|
|
27442
27815
|
*/
|
|
27443
27816
|
openType: {
|
|
27444
27817
|
type: Number,
|
|
27445
|
-
default:
|
|
27818
|
+
default: 0
|
|
27446
27819
|
},
|
|
27447
27820
|
orgService: {
|
|
27448
27821
|
type: String,
|
|
@@ -27516,7 +27889,7 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
27516
27889
|
const _component_el_autocomplete = resolveComponent("el-autocomplete");
|
|
27517
27890
|
return openBlock(), createBlock(_component_el_autocomplete, {
|
|
27518
27891
|
modelValue: autoName.value,
|
|
27519
|
-
"onUpdate:modelValue": _cache[
|
|
27892
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => autoName.value = $event),
|
|
27520
27893
|
debounce: 500,
|
|
27521
27894
|
"fetch-suggestions": querySearchAsync,
|
|
27522
27895
|
placeholder: props.placeholder,
|
|
@@ -27545,7 +27918,8 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
27545
27918
|
_: 1
|
|
27546
27919
|
/* STABLE */
|
|
27547
27920
|
}, 8, ["size"]),
|
|
27548
|
-
|
|
27921
|
+
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$r, {
|
|
27922
|
+
key: 0,
|
|
27549
27923
|
visible: visibleopenDialog.value,
|
|
27550
27924
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
27551
27925
|
orgService: __props.orgService,
|
|
@@ -27556,7 +27930,17 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
27556
27930
|
userAction: __props.userAction,
|
|
27557
27931
|
userParams: __props.params,
|
|
27558
27932
|
onChange: handleSelectDialogChange
|
|
27559
|
-
}, 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)
|
|
27560
27944
|
]),
|
|
27561
27945
|
_: 1
|
|
27562
27946
|
/* STABLE */
|