@fmdeui/fmui 1.0.138 → 1.0.140
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 +4 -1
- package/es/components/fm-autocomplete/component/supplierUserSelectDialog.vue.d.ts +72 -0
- package/es/components/fm-autocomplete/index.d.ts +100 -2
- package/es/components/fm-autocomplete/index.vue.d.ts +100 -2
- package/es/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.mjs +4 -2
- package/es/packages/components/fm-autocomplete/component/supplierUserSelectDialog.vue.mjs +5 -0
- package/es/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.mjs +335 -0
- package/es/packages/components/fm-autocomplete/index2.vue.mjs +40 -11
- package/index.js +463 -104
- package/index.min.js +7 -7
- package/index.min.mjs +6 -6
- package/index.mjs +463 -104
- package/lib/components/fm-autocomplete/component/supplierSelectDialog.vue.d.ts +4 -1
- package/lib/components/fm-autocomplete/component/supplierUserSelectDialog.vue.d.ts +72 -0
- package/lib/components/fm-autocomplete/index.d.ts +100 -2
- package/lib/components/fm-autocomplete/index.vue.d.ts +100 -2
- package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.js +4 -2
- package/lib/packages/components/fm-autocomplete/component/supplierUserSelectDialog.vue.js +9 -0
- package/lib/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.js +339 -0
- package/lib/packages/components/fm-autocomplete/index2.vue.js +36 -7
- 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/{component.css → version.css} +0 -0
- /package/lib/{component.css → make-installer.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.140 */
|
|
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';
|
|
@@ -20414,7 +20414,7 @@ const setupVXETable = (app) => {
|
|
|
20414
20414
|
app.use(VxeUITable);
|
|
20415
20415
|
};
|
|
20416
20416
|
|
|
20417
|
-
var _sfc_main$
|
|
20417
|
+
var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
20418
20418
|
...{
|
|
20419
20419
|
name: "FButton"
|
|
20420
20420
|
},
|
|
@@ -20484,7 +20484,7 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
20484
20484
|
}
|
|
20485
20485
|
});
|
|
20486
20486
|
|
|
20487
|
-
const FButton = _sfc_main$
|
|
20487
|
+
const FButton = _sfc_main$R;
|
|
20488
20488
|
|
|
20489
20489
|
const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
|
|
20490
20490
|
const translate = (path, option, locale) => get(locale, path, path).replace(
|
|
@@ -21208,9 +21208,9 @@ function getPageSetting(field, defaultValue = "", flag = "main") {
|
|
|
21208
21208
|
return setting;
|
|
21209
21209
|
}
|
|
21210
21210
|
|
|
21211
|
-
const _hoisted_1$
|
|
21212
|
-
const _hoisted_2$
|
|
21213
|
-
var _sfc_main$
|
|
21211
|
+
const _hoisted_1$A = { key: 0 };
|
|
21212
|
+
const _hoisted_2$o = { key: 0 };
|
|
21213
|
+
var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
21214
21214
|
...{
|
|
21215
21215
|
name: "FInput"
|
|
21216
21216
|
},
|
|
@@ -21417,7 +21417,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
21417
21417
|
fn: withCtx(() => [
|
|
21418
21418
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21419
21419
|
"span",
|
|
21420
|
-
_hoisted_1$
|
|
21420
|
+
_hoisted_1$A,
|
|
21421
21421
|
toDisplayString(appendTitleText.value),
|
|
21422
21422
|
1
|
|
21423
21423
|
/* TEXT */
|
|
@@ -21450,7 +21450,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
21450
21450
|
fn: withCtx(() => [
|
|
21451
21451
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21452
21452
|
"span",
|
|
21453
|
-
_hoisted_2$
|
|
21453
|
+
_hoisted_2$o,
|
|
21454
21454
|
toDisplayString(appendTitleText.value),
|
|
21455
21455
|
1
|
|
21456
21456
|
/* TEXT */
|
|
@@ -21463,13 +21463,13 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
21463
21463
|
}
|
|
21464
21464
|
});
|
|
21465
21465
|
|
|
21466
|
-
const FInput = _sfc_main$
|
|
21466
|
+
const FInput = _sfc_main$Q;
|
|
21467
21467
|
|
|
21468
|
-
const _hoisted_1$
|
|
21468
|
+
const _hoisted_1$z = {
|
|
21469
21469
|
key: 0,
|
|
21470
21470
|
class: "back_to_top"
|
|
21471
21471
|
};
|
|
21472
|
-
var _sfc_main$
|
|
21472
|
+
var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
21473
21473
|
...{
|
|
21474
21474
|
name: "FLayoutPage"
|
|
21475
21475
|
},
|
|
@@ -21531,7 +21531,7 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
21531
21531
|
},
|
|
21532
21532
|
[
|
|
21533
21533
|
renderSlot(_ctx.$slots, "default"),
|
|
21534
|
-
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21534
|
+
__props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
21535
21535
|
isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
|
|
21536
21536
|
key: 0,
|
|
21537
21537
|
onClick: backToTop
|
|
@@ -21559,9 +21559,9 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
21559
21559
|
}
|
|
21560
21560
|
});
|
|
21561
21561
|
|
|
21562
|
-
const FLayoutPage = _sfc_main$
|
|
21562
|
+
const FLayoutPage = _sfc_main$P;
|
|
21563
21563
|
|
|
21564
|
-
var _sfc_main$
|
|
21564
|
+
var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
21565
21565
|
...{
|
|
21566
21566
|
name: "FLayoutPageItem"
|
|
21567
21567
|
},
|
|
@@ -21589,7 +21589,7 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
21589
21589
|
}
|
|
21590
21590
|
});
|
|
21591
21591
|
|
|
21592
|
-
const FLayoutPageItem = _sfc_main$
|
|
21592
|
+
const FLayoutPageItem = _sfc_main$O;
|
|
21593
21593
|
|
|
21594
21594
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21595
21595
|
let timer = null;
|
|
@@ -21632,8 +21632,8 @@ function toLine(name) {
|
|
|
21632
21632
|
return name.replace(/([A-Z])/g, "_$1").toLowerCase();
|
|
21633
21633
|
}
|
|
21634
21634
|
|
|
21635
|
-
const _hoisted_1$
|
|
21636
|
-
var _sfc_main$
|
|
21635
|
+
const _hoisted_1$y = ["id"];
|
|
21636
|
+
var _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
21637
21637
|
...{
|
|
21638
21638
|
name: "FChart"
|
|
21639
21639
|
},
|
|
@@ -21717,7 +21717,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
21717
21717
|
id: __props.id,
|
|
21718
21718
|
ref_key: "echartRef",
|
|
21719
21719
|
ref: echartRef
|
|
21720
|
-
}, null, 8, _hoisted_1$
|
|
21720
|
+
}, null, 8, _hoisted_1$y), [
|
|
21721
21721
|
[vShow, !formatEmpty.value]
|
|
21722
21722
|
]),
|
|
21723
21723
|
formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -21732,13 +21732,13 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
21732
21732
|
}
|
|
21733
21733
|
});
|
|
21734
21734
|
|
|
21735
|
-
const FChart = _sfc_main$
|
|
21735
|
+
const FChart = _sfc_main$N;
|
|
21736
21736
|
|
|
21737
|
-
const _hoisted_1$
|
|
21737
|
+
const _hoisted_1$x = {
|
|
21738
21738
|
key: 1,
|
|
21739
21739
|
class: "f_select__pagination"
|
|
21740
21740
|
};
|
|
21741
|
-
var _sfc_main$
|
|
21741
|
+
var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
21742
21742
|
...{
|
|
21743
21743
|
name: "FSelect"
|
|
21744
21744
|
},
|
|
@@ -21951,7 +21951,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
21951
21951
|
128
|
|
21952
21952
|
/* KEYED_FRAGMENT */
|
|
21953
21953
|
)),
|
|
21954
|
-
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
21954
|
+
__props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
21955
21955
|
createVNode(_component_el_pagination, mergeProps({
|
|
21956
21956
|
"current-page": __props.paginationOption.currentPage,
|
|
21957
21957
|
"onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
|
|
@@ -21989,9 +21989,9 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
21989
21989
|
}
|
|
21990
21990
|
});
|
|
21991
21991
|
|
|
21992
|
-
const FSelect = _sfc_main$
|
|
21992
|
+
const FSelect = _sfc_main$M;
|
|
21993
21993
|
|
|
21994
|
-
var _sfc_main$
|
|
21994
|
+
var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
21995
21995
|
...{
|
|
21996
21996
|
name: "RenderComp"
|
|
21997
21997
|
},
|
|
@@ -22011,12 +22011,12 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
22011
22011
|
}
|
|
22012
22012
|
});
|
|
22013
22013
|
|
|
22014
|
-
const _hoisted_1$
|
|
22015
|
-
const _hoisted_2$
|
|
22016
|
-
const _hoisted_3$
|
|
22014
|
+
const _hoisted_1$w = { class: "inside_box" };
|
|
22015
|
+
const _hoisted_2$n = { class: "inside_box_title" };
|
|
22016
|
+
const _hoisted_3$f = { class: "check-box" };
|
|
22017
22017
|
const _hoisted_4$9 = { class: "more_dropdown_icon" };
|
|
22018
22018
|
const _hoisted_5$8 = { class: "out_box" };
|
|
22019
|
-
var _sfc_main$
|
|
22019
|
+
var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
22020
22020
|
...{
|
|
22021
22021
|
name: "MoreChoose"
|
|
22022
22022
|
},
|
|
@@ -22154,8 +22154,8 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
22154
22154
|
])
|
|
22155
22155
|
]),
|
|
22156
22156
|
default: withCtx(() => [
|
|
22157
|
-
createElementVNode("div", _hoisted_1$
|
|
22158
|
-
createElementVNode("div", _hoisted_2$
|
|
22157
|
+
createElementVNode("div", _hoisted_1$w, [
|
|
22158
|
+
createElementVNode("div", _hoisted_2$n, [
|
|
22159
22159
|
createElementVNode(
|
|
22160
22160
|
"div",
|
|
22161
22161
|
null,
|
|
@@ -22163,7 +22163,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
22163
22163
|
1
|
|
22164
22164
|
/* TEXT */
|
|
22165
22165
|
),
|
|
22166
|
-
createElementVNode("div", _hoisted_3$
|
|
22166
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
22167
22167
|
createVNode(_component_el_button, {
|
|
22168
22168
|
size: "small",
|
|
22169
22169
|
link: "",
|
|
@@ -22331,7 +22331,7 @@ function useComputed() {
|
|
|
22331
22331
|
};
|
|
22332
22332
|
}
|
|
22333
22333
|
|
|
22334
|
-
var _sfc_main$
|
|
22334
|
+
var _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
22335
22335
|
...{
|
|
22336
22336
|
name: "FQueryCondition"
|
|
22337
22337
|
},
|
|
@@ -22750,7 +22750,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
22750
22750
|
opt.labelRender ? {
|
|
22751
22751
|
name: "label",
|
|
22752
22752
|
fn: withCtx(() => [
|
|
22753
|
-
createVNode(_sfc_main$
|
|
22753
|
+
createVNode(_sfc_main$L, {
|
|
22754
22754
|
form: unref(queryState).form,
|
|
22755
22755
|
render: opt.labelRender
|
|
22756
22756
|
}, null, 8, ["form", "render"])
|
|
@@ -22846,7 +22846,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
22846
22846
|
_: 1
|
|
22847
22847
|
/* STABLE */
|
|
22848
22848
|
})) : createCommentVNode("v-if", true),
|
|
22849
|
-
createVNode(_sfc_main$
|
|
22849
|
+
createVNode(_sfc_main$K, {
|
|
22850
22850
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22851
22851
|
moreCheckList: __props.moreCheckList,
|
|
22852
22852
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22872,7 +22872,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
22872
22872
|
}
|
|
22873
22873
|
});
|
|
22874
22874
|
|
|
22875
|
-
var _sfc_main$
|
|
22875
|
+
var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
22876
22876
|
...{
|
|
22877
22877
|
name: "RenderCol"
|
|
22878
22878
|
},
|
|
@@ -23028,17 +23028,17 @@ function useVirtualized() {
|
|
|
23028
23028
|
};
|
|
23029
23029
|
}
|
|
23030
23030
|
|
|
23031
|
-
const _hoisted_1$
|
|
23031
|
+
const _hoisted_1$v = {
|
|
23032
23032
|
key: 0,
|
|
23033
23033
|
class: "table_query_condition"
|
|
23034
23034
|
};
|
|
23035
|
-
const _hoisted_2$
|
|
23036
|
-
const _hoisted_3$
|
|
23035
|
+
const _hoisted_2$m = ["element-loading-text"];
|
|
23036
|
+
const _hoisted_3$e = { key: 2 };
|
|
23037
23037
|
const _hoisted_4$8 = {
|
|
23038
23038
|
key: 0,
|
|
23039
23039
|
class: "f-table-select__page"
|
|
23040
23040
|
};
|
|
23041
|
-
var _sfc_main$
|
|
23041
|
+
var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
23042
23042
|
...{
|
|
23043
23043
|
name: "FSelectTable"
|
|
23044
23044
|
},
|
|
@@ -23660,9 +23660,9 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
23660
23660
|
style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
|
|
23661
23661
|
},
|
|
23662
23662
|
[
|
|
23663
|
-
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23663
|
+
__props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
23664
23664
|
createVNode(
|
|
23665
|
-
_sfc_main$
|
|
23665
|
+
_sfc_main$J,
|
|
23666
23666
|
mergeProps({
|
|
23667
23667
|
ref_key: "fQueryConditionRef",
|
|
23668
23668
|
ref: fQueryConditionRef,
|
|
@@ -23788,7 +23788,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
23788
23788
|
fixed: item.fixed
|
|
23789
23789
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23790
23790
|
default: withCtx((scope) => [
|
|
23791
|
-
item.render ? (openBlock(), createBlock(_sfc_main$
|
|
23791
|
+
item.render ? (openBlock(), createBlock(_sfc_main$I, {
|
|
23792
23792
|
key: 0,
|
|
23793
23793
|
column: item,
|
|
23794
23794
|
row: scope.row,
|
|
@@ -23799,7 +23799,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
23799
23799
|
key: 1,
|
|
23800
23800
|
scope
|
|
23801
23801
|
}) : createCommentVNode("v-if", true),
|
|
23802
|
-
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
23802
|
+
!item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$e, [
|
|
23803
23803
|
createElementVNode(
|
|
23804
23804
|
"span",
|
|
23805
23805
|
null,
|
|
@@ -23833,7 +23833,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
23833
23833
|
total: __props.table.total
|
|
23834
23834
|
}, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
|
|
23835
23835
|
])) : createCommentVNode("v-if", true)
|
|
23836
|
-
], 8, _hoisted_2$
|
|
23836
|
+
], 8, _hoisted_2$m)), [
|
|
23837
23837
|
[_directive_loading, __props.tableLoading]
|
|
23838
23838
|
]),
|
|
23839
23839
|
renderSlot(_ctx.$slots, "footer")
|
|
@@ -23851,11 +23851,11 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
23851
23851
|
}
|
|
23852
23852
|
});
|
|
23853
23853
|
|
|
23854
|
-
const FSelectTable = _sfc_main$
|
|
23854
|
+
const FSelectTable = _sfc_main$H;
|
|
23855
23855
|
|
|
23856
|
-
const FQueryCondition = _sfc_main$
|
|
23856
|
+
const FQueryCondition = _sfc_main$J;
|
|
23857
23857
|
|
|
23858
|
-
var _sfc_main$
|
|
23858
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
23859
23859
|
...{
|
|
23860
23860
|
name: "RenderComp"
|
|
23861
23861
|
},
|
|
@@ -23875,7 +23875,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
23875
23875
|
}
|
|
23876
23876
|
});
|
|
23877
23877
|
|
|
23878
|
-
var _sfc_main$
|
|
23878
|
+
var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
23879
23879
|
...{
|
|
23880
23880
|
name: "RenderBtn"
|
|
23881
23881
|
},
|
|
@@ -23895,12 +23895,12 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
23895
23895
|
}
|
|
23896
23896
|
});
|
|
23897
23897
|
|
|
23898
|
-
const _hoisted_1$
|
|
23898
|
+
const _hoisted_1$u = {
|
|
23899
23899
|
key: 1,
|
|
23900
23900
|
class: "text_show"
|
|
23901
23901
|
};
|
|
23902
|
-
const _hoisted_2$
|
|
23903
|
-
var _sfc_main$
|
|
23902
|
+
const _hoisted_2$l = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23903
|
+
var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
23904
23904
|
...{
|
|
23905
23905
|
name: "FForm"
|
|
23906
23906
|
},
|
|
@@ -24151,7 +24151,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
24151
24151
|
}) : createCommentVNode("v-if", true),
|
|
24152
24152
|
item.textShow ? (openBlock(), createElementBlock(
|
|
24153
24153
|
"span",
|
|
24154
|
-
_hoisted_1$
|
|
24154
|
+
_hoisted_1$u,
|
|
24155
24155
|
toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
24156
24156
|
1
|
|
24157
24157
|
/* TEXT */
|
|
@@ -24271,7 +24271,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
24271
24271
|
item.labelSlotName || item.labelRender ? {
|
|
24272
24272
|
name: "label",
|
|
24273
24273
|
fn: withCtx(() => [
|
|
24274
|
-
item.labelRender ? (openBlock(), createBlock(_sfc_main$
|
|
24274
|
+
item.labelRender ? (openBlock(), createBlock(_sfc_main$G, {
|
|
24275
24275
|
key: 0,
|
|
24276
24276
|
render: item.labelRender,
|
|
24277
24277
|
item
|
|
@@ -24293,7 +24293,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
24293
24293
|
/* UNKEYED_FRAGMENT */
|
|
24294
24294
|
)),
|
|
24295
24295
|
createCommentVNode(" \u6309\u94AE "),
|
|
24296
|
-
createElementVNode("div", _hoisted_2$
|
|
24296
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
24297
24297
|
__props.formOpts.btnSlotName ? renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : createCommentVNode("v-if", true),
|
|
24298
24298
|
!__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (openBlock(true), createElementBlock(
|
|
24299
24299
|
Fragment,
|
|
@@ -24303,7 +24303,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
24303
24303
|
Fragment,
|
|
24304
24304
|
null,
|
|
24305
24305
|
[
|
|
24306
|
-
val.render ? (openBlock(), createBlock(_sfc_main$
|
|
24306
|
+
val.render ? (openBlock(), createBlock(_sfc_main$F, {
|
|
24307
24307
|
key: index,
|
|
24308
24308
|
item: val,
|
|
24309
24309
|
render: val.render
|
|
@@ -24350,10 +24350,10 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
24350
24350
|
}
|
|
24351
24351
|
});
|
|
24352
24352
|
|
|
24353
|
-
const FForm = _sfc_main$
|
|
24353
|
+
const FForm = _sfc_main$E;
|
|
24354
24354
|
|
|
24355
|
-
const _hoisted_1$
|
|
24356
|
-
var _sfc_main$
|
|
24355
|
+
const _hoisted_1$t = ["src"];
|
|
24356
|
+
var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
24357
24357
|
...{
|
|
24358
24358
|
name: "svgIcon"
|
|
24359
24359
|
},
|
|
@@ -24424,7 +24424,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
24424
24424
|
createElementVNode("img", {
|
|
24425
24425
|
src: getIconName.value,
|
|
24426
24426
|
style: normalizeStyle(setIconSvgInsStyle.value)
|
|
24427
|
-
}, null, 12, _hoisted_1$
|
|
24427
|
+
}, null, 12, _hoisted_1$t)
|
|
24428
24428
|
],
|
|
24429
24429
|
4
|
|
24430
24430
|
/* STYLE */
|
|
@@ -24451,13 +24451,13 @@ function elSvg(app) {
|
|
|
24451
24451
|
}
|
|
24452
24452
|
}
|
|
24453
24453
|
if (!app._context.components[`SvgIcon`]) {
|
|
24454
|
-
app.component("SvgIcon", _sfc_main$
|
|
24454
|
+
app.component("SvgIcon", _sfc_main$D);
|
|
24455
24455
|
}
|
|
24456
24456
|
}
|
|
24457
24457
|
|
|
24458
24458
|
const emitter = mitt();
|
|
24459
24459
|
|
|
24460
|
-
var _sfc_main$
|
|
24460
|
+
var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
24461
24461
|
...{
|
|
24462
24462
|
name: "FLayout"
|
|
24463
24463
|
},
|
|
@@ -24543,7 +24543,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
24543
24543
|
}
|
|
24544
24544
|
});
|
|
24545
24545
|
|
|
24546
|
-
const FLayout = _sfc_main$
|
|
24546
|
+
const FLayout = _sfc_main$C;
|
|
24547
24547
|
|
|
24548
24548
|
function commonFunction() {
|
|
24549
24549
|
const { copy, isSupported } = useClipboard();
|
|
@@ -24820,9 +24820,9 @@ const other = {
|
|
|
24820
24820
|
// },
|
|
24821
24821
|
};
|
|
24822
24822
|
|
|
24823
|
-
const _hoisted_1$
|
|
24824
|
-
const _hoisted_2$
|
|
24825
|
-
const _hoisted_3$
|
|
24823
|
+
const _hoisted_1$s = { class: "layout-breadcrumb-seting" };
|
|
24824
|
+
const _hoisted_2$k = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24825
|
+
const _hoisted_3$d = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24826
24826
|
const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
24827
24827
|
const _hoisted_5$7 = { style: { "margin": "10px 0" } };
|
|
24828
24828
|
const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
|
|
@@ -24945,7 +24945,7 @@ const _hoisted_119 = {
|
|
|
24945
24945
|
class: "traditionalColors-chines",
|
|
24946
24946
|
style: { "cursor": "grab", "color": "gray" }
|
|
24947
24947
|
};
|
|
24948
|
-
var _sfc_main$
|
|
24948
|
+
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
24949
24949
|
...{
|
|
24950
24950
|
name: "FSettings"
|
|
24951
24951
|
},
|
|
@@ -25209,7 +25209,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
25209
25209
|
const _component_el_col = resolveComponent("el-col");
|
|
25210
25210
|
const _component_el_row = resolveComponent("el-row");
|
|
25211
25211
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
25212
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25212
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
25213
25213
|
createVNode(_component_el_drawer, {
|
|
25214
25214
|
title: _ctx.$t("message.layout.configTitle"),
|
|
25215
25215
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -25234,10 +25234,10 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
25234
25234
|
_: 1
|
|
25235
25235
|
/* STABLE */
|
|
25236
25236
|
}),
|
|
25237
|
-
createElementVNode("div", _hoisted_2$
|
|
25237
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
25238
25238
|
createElementVNode(
|
|
25239
25239
|
"div",
|
|
25240
|
-
_hoisted_3$
|
|
25240
|
+
_hoisted_3$d,
|
|
25241
25241
|
toDisplayString(_ctx.$t("message.layout.themeColors")),
|
|
25242
25242
|
1
|
|
25243
25243
|
/* TEXT */
|
|
@@ -26708,9 +26708,9 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
26708
26708
|
}
|
|
26709
26709
|
});
|
|
26710
26710
|
|
|
26711
|
-
const FSettings = _sfc_main$
|
|
26711
|
+
const FSettings = _sfc_main$B;
|
|
26712
26712
|
|
|
26713
|
-
var _sfc_main$
|
|
26713
|
+
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
26714
26714
|
...{
|
|
26715
26715
|
name: "FModifyRecord"
|
|
26716
26716
|
},
|
|
@@ -26973,10 +26973,10 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
26973
26973
|
}
|
|
26974
26974
|
});
|
|
26975
26975
|
|
|
26976
|
-
const FModifyRecord = _sfc_main$
|
|
26976
|
+
const FModifyRecord = _sfc_main$A;
|
|
26977
26977
|
|
|
26978
|
-
const _hoisted_1$
|
|
26979
|
-
var _sfc_main$
|
|
26978
|
+
const _hoisted_1$r = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
|
|
26979
|
+
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
26980
26980
|
...{
|
|
26981
26981
|
name: "FmSelect"
|
|
26982
26982
|
},
|
|
@@ -27135,7 +27135,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27135
27135
|
onClear: handelClear
|
|
27136
27136
|
}, {
|
|
27137
27137
|
header: withCtx(() => [
|
|
27138
|
-
createElementVNode("div", _hoisted_1$
|
|
27138
|
+
createElementVNode("div", _hoisted_1$r, [
|
|
27139
27139
|
createVNode(_component_el_icon, {
|
|
27140
27140
|
color: "#13c2c2",
|
|
27141
27141
|
size: __props.freshSize,
|
|
@@ -27177,9 +27177,9 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27177
27177
|
}
|
|
27178
27178
|
});
|
|
27179
27179
|
|
|
27180
|
-
const FmSelect = _sfc_main$
|
|
27180
|
+
const FmSelect = _sfc_main$z;
|
|
27181
27181
|
|
|
27182
|
-
var _sfc_main$
|
|
27182
|
+
var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
27183
27183
|
...{
|
|
27184
27184
|
name: "Fminputdropdown"
|
|
27185
27185
|
},
|
|
@@ -27377,9 +27377,9 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27377
27377
|
}
|
|
27378
27378
|
});
|
|
27379
27379
|
|
|
27380
|
-
const Fminputdropdown = _sfc_main$
|
|
27380
|
+
const Fminputdropdown = _sfc_main$y;
|
|
27381
27381
|
|
|
27382
|
-
var _sfc_main$
|
|
27382
|
+
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
27383
27383
|
...{ name: "FmInputNumber" },
|
|
27384
27384
|
__name: "index",
|
|
27385
27385
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -27495,14 +27495,14 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
27495
27495
|
}
|
|
27496
27496
|
});
|
|
27497
27497
|
|
|
27498
|
-
const FmInputNumber = _sfc_main$
|
|
27498
|
+
const FmInputNumber = _sfc_main$x;
|
|
27499
27499
|
|
|
27500
|
-
const _hoisted_1$
|
|
27501
|
-
const _hoisted_2$
|
|
27502
|
-
const _hoisted_3$
|
|
27500
|
+
const _hoisted_1$q = { style: { "color": "#fff" } };
|
|
27501
|
+
const _hoisted_2$j = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27502
|
+
const _hoisted_3$c = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27503
27503
|
const _hoisted_4$6 = { style: { "margin-top": "10px" } };
|
|
27504
27504
|
const _hoisted_5$6 = { class: "dialog-footer" };
|
|
27505
|
-
var _sfc_main$
|
|
27505
|
+
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
27506
27506
|
__name: "userSelectDialog",
|
|
27507
27507
|
props: {
|
|
27508
27508
|
visible: {
|
|
@@ -27639,7 +27639,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
27639
27639
|
"close-on-click-modal": false
|
|
27640
27640
|
}, {
|
|
27641
27641
|
header: withCtx(() => [
|
|
27642
|
-
createElementVNode("div", _hoisted_1$
|
|
27642
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
27643
27643
|
createVNode(_component_el_icon, {
|
|
27644
27644
|
size: "16",
|
|
27645
27645
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -27685,7 +27685,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
27685
27685
|
default: withCtx(() => [
|
|
27686
27686
|
createElementVNode(
|
|
27687
27687
|
"p",
|
|
27688
|
-
_hoisted_2$
|
|
27688
|
+
_hoisted_2$j,
|
|
27689
27689
|
toDisplayString(_ctx.$t("\u673A\u6784")),
|
|
27690
27690
|
1
|
|
27691
27691
|
/* TEXT */
|
|
@@ -27707,7 +27707,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
27707
27707
|
default: withCtx(() => [
|
|
27708
27708
|
createElementVNode(
|
|
27709
27709
|
"p",
|
|
27710
|
-
_hoisted_3$
|
|
27710
|
+
_hoisted_3$c,
|
|
27711
27711
|
toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
|
|
27712
27712
|
1
|
|
27713
27713
|
/* TEXT */
|
|
@@ -27891,10 +27891,10 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
27891
27891
|
}
|
|
27892
27892
|
});
|
|
27893
27893
|
|
|
27894
|
-
const _hoisted_1$
|
|
27895
|
-
const _hoisted_2$
|
|
27896
|
-
const _hoisted_3$
|
|
27897
|
-
var _sfc_main$
|
|
27894
|
+
const _hoisted_1$p = { style: { "color": "#fff" } };
|
|
27895
|
+
const _hoisted_2$i = { style: { "margin-top": "10px" } };
|
|
27896
|
+
const _hoisted_3$b = { class: "dialog-footer" };
|
|
27897
|
+
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
27898
27898
|
__name: "supplierSelectDialog",
|
|
27899
27899
|
props: {
|
|
27900
27900
|
visible: {
|
|
@@ -27924,7 +27924,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27924
27924
|
}
|
|
27925
27925
|
},
|
|
27926
27926
|
emits: ["update:visible", "change"],
|
|
27927
|
-
setup(__props, { emit: __emit }) {
|
|
27927
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
27928
27928
|
let emits = __emit;
|
|
27929
27929
|
const props = __props;
|
|
27930
27930
|
const userList = ref([]);
|
|
@@ -27965,7 +27965,6 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27965
27965
|
}
|
|
27966
27966
|
function handleSelectUser(row) {
|
|
27967
27967
|
if (!row || row.id == "") return;
|
|
27968
|
-
if (row.pid == 0) state.pdata = null;
|
|
27969
27968
|
emits("change", { id: row.id, name: row.supplierName, supplierType: row.supplierType, pdata: state.pdata, data: row });
|
|
27970
27969
|
}
|
|
27971
27970
|
const handledbclick = (row) => {
|
|
@@ -27990,6 +27989,9 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27990
27989
|
checkedUsersList.value = [];
|
|
27991
27990
|
emits("update:visible", false);
|
|
27992
27991
|
};
|
|
27992
|
+
__expose({
|
|
27993
|
+
handleQuery
|
|
27994
|
+
});
|
|
27993
27995
|
return (_ctx, _cache) => {
|
|
27994
27996
|
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
27995
27997
|
const _component_el_icon = resolveComponent("el-icon");
|
|
@@ -28015,7 +28017,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28015
28017
|
"close-on-click-modal": false
|
|
28016
28018
|
}, {
|
|
28017
28019
|
header: withCtx(() => [
|
|
28018
|
-
createElementVNode("div", _hoisted_1$
|
|
28020
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
28019
28021
|
createVNode(_component_el_icon, {
|
|
28020
28022
|
size: "16",
|
|
28021
28023
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28036,7 +28038,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28036
28038
|
])
|
|
28037
28039
|
]),
|
|
28038
28040
|
footer: withCtx(() => [
|
|
28039
|
-
createElementVNode("div", _hoisted_3$
|
|
28041
|
+
createElementVNode("div", _hoisted_3$b, [
|
|
28040
28042
|
createVNode(_component_el_button, {
|
|
28041
28043
|
icon: "ele-CircleCloseFilled",
|
|
28042
28044
|
onClick: closeDialog
|
|
@@ -28059,7 +28061,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28059
28061
|
default: withCtx(() => [
|
|
28060
28062
|
createVNode(_component_el_col, { span: 24 }, {
|
|
28061
28063
|
default: withCtx(() => [
|
|
28062
|
-
createElementVNode("div", _hoisted_2$
|
|
28064
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
28063
28065
|
createVNode(_component_el_form, {
|
|
28064
28066
|
model: state.queryParams,
|
|
28065
28067
|
ref: "queryRef",
|
|
@@ -28269,6 +28271,336 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28269
28271
|
}
|
|
28270
28272
|
});
|
|
28271
28273
|
|
|
28274
|
+
const _hoisted_1$o = { style: { "color": "#fff" } };
|
|
28275
|
+
const _hoisted_2$h = { style: { "margin-top": "10px" } };
|
|
28276
|
+
const _hoisted_3$a = { class: "dialog-footer" };
|
|
28277
|
+
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
28278
|
+
__name: "supplierUserSelectDialog",
|
|
28279
|
+
props: {
|
|
28280
|
+
visible: {
|
|
28281
|
+
type: Boolean,
|
|
28282
|
+
default: false
|
|
28283
|
+
},
|
|
28284
|
+
title: {
|
|
28285
|
+
type: String,
|
|
28286
|
+
default: ""
|
|
28287
|
+
},
|
|
28288
|
+
data: {
|
|
28289
|
+
type: Array,
|
|
28290
|
+
default: () => []
|
|
28291
|
+
},
|
|
28292
|
+
userService: {
|
|
28293
|
+
type: String,
|
|
28294
|
+
default: "autoRes"
|
|
28295
|
+
},
|
|
28296
|
+
userAction: {
|
|
28297
|
+
type: String,
|
|
28298
|
+
default: "supplierUserTable"
|
|
28299
|
+
},
|
|
28300
|
+
userParams: {
|
|
28301
|
+
type: Object,
|
|
28302
|
+
default: () => {
|
|
28303
|
+
}
|
|
28304
|
+
}
|
|
28305
|
+
},
|
|
28306
|
+
emits: ["update:visible", "change"],
|
|
28307
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
28308
|
+
let emits = __emit;
|
|
28309
|
+
const props = __props;
|
|
28310
|
+
const userList = ref([]);
|
|
28311
|
+
let checkedUsersList = ref([]);
|
|
28312
|
+
const state = reactive({
|
|
28313
|
+
total: 0,
|
|
28314
|
+
pdata: null,
|
|
28315
|
+
queryParams: {
|
|
28316
|
+
orgId: -1,
|
|
28317
|
+
page: 1,
|
|
28318
|
+
pageSize: 50
|
|
28319
|
+
}
|
|
28320
|
+
});
|
|
28321
|
+
let visibleDialog = computed({
|
|
28322
|
+
get() {
|
|
28323
|
+
return props.visible;
|
|
28324
|
+
},
|
|
28325
|
+
set() {
|
|
28326
|
+
closeDialog();
|
|
28327
|
+
}
|
|
28328
|
+
});
|
|
28329
|
+
onMounted(async () => {
|
|
28330
|
+
await getUserList();
|
|
28331
|
+
});
|
|
28332
|
+
const resetQuery = () => {
|
|
28333
|
+
state.queryParams = {};
|
|
28334
|
+
handleQuery();
|
|
28335
|
+
};
|
|
28336
|
+
const getUserList = async () => {
|
|
28337
|
+
var _a, _b, _c, _d;
|
|
28338
|
+
let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
|
|
28339
|
+
userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
|
|
28340
|
+
state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
|
|
28341
|
+
};
|
|
28342
|
+
async function handleQuery() {
|
|
28343
|
+
state.queryParams.pageNum = 1;
|
|
28344
|
+
await getUserList();
|
|
28345
|
+
}
|
|
28346
|
+
function handleSelectUser(row) {
|
|
28347
|
+
if (!row || row.id == "") return;
|
|
28348
|
+
emits("change", row);
|
|
28349
|
+
}
|
|
28350
|
+
const handledbclick = (row) => {
|
|
28351
|
+
handleSelectUser(row);
|
|
28352
|
+
};
|
|
28353
|
+
const handleSizeChange = (val) => {
|
|
28354
|
+
state.queryParams.pageSize = val;
|
|
28355
|
+
handleQuery();
|
|
28356
|
+
};
|
|
28357
|
+
const handleCurrentChange = (val) => {
|
|
28358
|
+
state.queryParams.page = val;
|
|
28359
|
+
handleQuery();
|
|
28360
|
+
};
|
|
28361
|
+
const closeDialog = () => {
|
|
28362
|
+
checkedUsersList.value = [];
|
|
28363
|
+
emits("update:visible", false);
|
|
28364
|
+
};
|
|
28365
|
+
__expose({
|
|
28366
|
+
handleQuery
|
|
28367
|
+
});
|
|
28368
|
+
return (_ctx, _cache) => {
|
|
28369
|
+
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
28370
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
28371
|
+
const _component_el_input = resolveComponent("el-input");
|
|
28372
|
+
const _component_el_form_item = resolveComponent("el-form-item");
|
|
28373
|
+
const _component_el_button = resolveComponent("el-button");
|
|
28374
|
+
const _component_el_button_group = resolveComponent("el-button-group");
|
|
28375
|
+
const _component_el_form = resolveComponent("el-form");
|
|
28376
|
+
const _component_el_table_column = resolveComponent("el-table-column");
|
|
28377
|
+
const _component_ele_Plus = resolveComponent("ele-Plus");
|
|
28378
|
+
const _component_el_table = resolveComponent("el-table");
|
|
28379
|
+
const _component_el_pagination = resolveComponent("el-pagination");
|
|
28380
|
+
const _component_el_card = resolveComponent("el-card");
|
|
28381
|
+
const _component_el_col = resolveComponent("el-col");
|
|
28382
|
+
const _component_el_row = resolveComponent("el-row");
|
|
28383
|
+
const _component_el_dialog = resolveComponent("el-dialog");
|
|
28384
|
+
return openBlock(), createBlock(_component_el_dialog, {
|
|
28385
|
+
modelValue: unref(visibleDialog),
|
|
28386
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
|
|
28387
|
+
style: { "width": "70vw" },
|
|
28388
|
+
"append-to-body": "",
|
|
28389
|
+
draggable: "",
|
|
28390
|
+
"close-on-click-modal": false
|
|
28391
|
+
}, {
|
|
28392
|
+
header: withCtx(() => [
|
|
28393
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
28394
|
+
createVNode(_component_el_icon, {
|
|
28395
|
+
size: "16",
|
|
28396
|
+
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
28397
|
+
}, {
|
|
28398
|
+
default: withCtx(() => [
|
|
28399
|
+
createVNode(_component_ele_Edit)
|
|
28400
|
+
]),
|
|
28401
|
+
_: 1
|
|
28402
|
+
/* STABLE */
|
|
28403
|
+
}),
|
|
28404
|
+
createElementVNode(
|
|
28405
|
+
"span",
|
|
28406
|
+
null,
|
|
28407
|
+
toDisplayString(_ctx.$t("\u9009\u62E9")) + toDisplayString(_ctx.$t(__props.title)),
|
|
28408
|
+
1
|
|
28409
|
+
/* TEXT */
|
|
28410
|
+
)
|
|
28411
|
+
])
|
|
28412
|
+
]),
|
|
28413
|
+
footer: withCtx(() => [
|
|
28414
|
+
createElementVNode("div", _hoisted_3$a, [
|
|
28415
|
+
createVNode(_component_el_button, {
|
|
28416
|
+
icon: "ele-CircleCloseFilled",
|
|
28417
|
+
onClick: closeDialog
|
|
28418
|
+
}, {
|
|
28419
|
+
default: withCtx(() => [
|
|
28420
|
+
createTextVNode(
|
|
28421
|
+
toDisplayString(_ctx.$t("\u53D6\u6D88")),
|
|
28422
|
+
1
|
|
28423
|
+
/* TEXT */
|
|
28424
|
+
)
|
|
28425
|
+
]),
|
|
28426
|
+
_: 1
|
|
28427
|
+
/* STABLE */
|
|
28428
|
+
}),
|
|
28429
|
+
createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
|
|
28430
|
+
])
|
|
28431
|
+
]),
|
|
28432
|
+
default: withCtx(() => [
|
|
28433
|
+
createVNode(_component_el_row, { gutter: 10 }, {
|
|
28434
|
+
default: withCtx(() => [
|
|
28435
|
+
createVNode(_component_el_col, { span: 24 }, {
|
|
28436
|
+
default: withCtx(() => [
|
|
28437
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
28438
|
+
createVNode(_component_el_form, {
|
|
28439
|
+
model: state.queryParams,
|
|
28440
|
+
ref: "queryRef",
|
|
28441
|
+
inline: true
|
|
28442
|
+
}, {
|
|
28443
|
+
default: withCtx(() => [
|
|
28444
|
+
createVNode(_component_el_form_item, {
|
|
28445
|
+
label: _ctx.$t("\u5173\u952E\u5B57")
|
|
28446
|
+
}, {
|
|
28447
|
+
default: withCtx(() => [
|
|
28448
|
+
createVNode(_component_el_input, {
|
|
28449
|
+
modelValue: state.queryParams.keyword,
|
|
28450
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
|
|
28451
|
+
clearable: "",
|
|
28452
|
+
style: { "width": "150px" },
|
|
28453
|
+
onKeyup: withKeys(handleQuery, ["enter"])
|
|
28454
|
+
}, null, 8, ["modelValue"])
|
|
28455
|
+
]),
|
|
28456
|
+
_: 1
|
|
28457
|
+
/* STABLE */
|
|
28458
|
+
}, 8, ["label"]),
|
|
28459
|
+
createVNode(_component_el_form_item, null, {
|
|
28460
|
+
default: withCtx(() => [
|
|
28461
|
+
createVNode(_component_el_button_group, null, {
|
|
28462
|
+
default: withCtx(() => [
|
|
28463
|
+
createVNode(_component_el_button, {
|
|
28464
|
+
type: "primary",
|
|
28465
|
+
icon: "ele-Search",
|
|
28466
|
+
onClick: handleQuery
|
|
28467
|
+
}, {
|
|
28468
|
+
default: withCtx(() => [
|
|
28469
|
+
createTextVNode(
|
|
28470
|
+
toDisplayString(_ctx.$t("\u67E5\u8BE2")),
|
|
28471
|
+
1
|
|
28472
|
+
/* TEXT */
|
|
28473
|
+
)
|
|
28474
|
+
]),
|
|
28475
|
+
_: 1
|
|
28476
|
+
/* STABLE */
|
|
28477
|
+
}),
|
|
28478
|
+
createVNode(_component_el_button, {
|
|
28479
|
+
icon: "ele-Refresh",
|
|
28480
|
+
onClick: resetQuery
|
|
28481
|
+
}, {
|
|
28482
|
+
default: withCtx(() => [
|
|
28483
|
+
createTextVNode(
|
|
28484
|
+
toDisplayString(_ctx.$t("\u91CD\u7F6E")),
|
|
28485
|
+
1
|
|
28486
|
+
/* TEXT */
|
|
28487
|
+
)
|
|
28488
|
+
]),
|
|
28489
|
+
_: 1
|
|
28490
|
+
/* STABLE */
|
|
28491
|
+
})
|
|
28492
|
+
]),
|
|
28493
|
+
_: 1
|
|
28494
|
+
/* STABLE */
|
|
28495
|
+
}),
|
|
28496
|
+
createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
|
|
28497
|
+
]),
|
|
28498
|
+
_: 1
|
|
28499
|
+
/* STABLE */
|
|
28500
|
+
})
|
|
28501
|
+
]),
|
|
28502
|
+
_: 1
|
|
28503
|
+
/* STABLE */
|
|
28504
|
+
}, 8, ["model"]),
|
|
28505
|
+
createVNode(_component_el_card, {
|
|
28506
|
+
class: "full-table",
|
|
28507
|
+
shadow: "hover"
|
|
28508
|
+
}, {
|
|
28509
|
+
default: withCtx(() => [
|
|
28510
|
+
createVNode(_component_el_table, {
|
|
28511
|
+
ref: "refTable",
|
|
28512
|
+
data: userList.value,
|
|
28513
|
+
style: { "height": "calc(70vh - 96px)" },
|
|
28514
|
+
onRowDblclick: handledbclick
|
|
28515
|
+
}, {
|
|
28516
|
+
default: withCtx(() => [
|
|
28517
|
+
createVNode(_component_el_table_column, {
|
|
28518
|
+
label: _ctx.$t("\u540D\u79F0"),
|
|
28519
|
+
prop: "name",
|
|
28520
|
+
align: "center",
|
|
28521
|
+
"show-overflow-tooltip": true
|
|
28522
|
+
}, null, 8, ["label"]),
|
|
28523
|
+
createVNode(_component_el_table_column, {
|
|
28524
|
+
label: _ctx.$t("\u7535\u8BDD"),
|
|
28525
|
+
prop: "tel",
|
|
28526
|
+
align: "center",
|
|
28527
|
+
"show-overflow-tooltip": true
|
|
28528
|
+
}, null, 8, ["label"]),
|
|
28529
|
+
createVNode(_component_el_table_column, {
|
|
28530
|
+
label: _ctx.$t("\u4F20\u771F"),
|
|
28531
|
+
prop: "fax",
|
|
28532
|
+
align: "center",
|
|
28533
|
+
"show-overflow-tooltip": true
|
|
28534
|
+
}, null, 8, ["label"]),
|
|
28535
|
+
createVNode(_component_el_table_column, {
|
|
28536
|
+
label: _ctx.$t("\u5FAE\u4FE1\u53F7"),
|
|
28537
|
+
prop: "wxNumber",
|
|
28538
|
+
align: "center",
|
|
28539
|
+
"show-overflow-tooltip": true
|
|
28540
|
+
}, null, 8, ["label"]),
|
|
28541
|
+
createVNode(_component_el_table_column, {
|
|
28542
|
+
label: "\u64CD\u4F5C",
|
|
28543
|
+
width: "60",
|
|
28544
|
+
align: "center"
|
|
28545
|
+
}, {
|
|
28546
|
+
default: withCtx((scope) => [
|
|
28547
|
+
createVNode(_component_el_button, {
|
|
28548
|
+
link: "",
|
|
28549
|
+
type: "primary",
|
|
28550
|
+
onClick: ($event) => handleSelectUser(scope.row)
|
|
28551
|
+
}, {
|
|
28552
|
+
default: withCtx(() => [
|
|
28553
|
+
createVNode(_component_el_icon, null, {
|
|
28554
|
+
default: withCtx(() => [
|
|
28555
|
+
createVNode(_component_ele_Plus)
|
|
28556
|
+
]),
|
|
28557
|
+
_: 1
|
|
28558
|
+
/* STABLE */
|
|
28559
|
+
})
|
|
28560
|
+
]),
|
|
28561
|
+
_: 1
|
|
28562
|
+
/* STABLE */
|
|
28563
|
+
}, 8, ["onClick"])
|
|
28564
|
+
]),
|
|
28565
|
+
_: 1
|
|
28566
|
+
/* STABLE */
|
|
28567
|
+
})
|
|
28568
|
+
]),
|
|
28569
|
+
_: 1
|
|
28570
|
+
/* STABLE */
|
|
28571
|
+
}, 8, ["data"]),
|
|
28572
|
+
createVNode(_component_el_pagination, {
|
|
28573
|
+
currentPage: state.queryParams.page,
|
|
28574
|
+
"page-size": state.queryParams.pageSize,
|
|
28575
|
+
total: state.queryParams.total,
|
|
28576
|
+
"page-sizes": [10, 20, 50, 100],
|
|
28577
|
+
background: "",
|
|
28578
|
+
onSizeChange: handleSizeChange,
|
|
28579
|
+
onCurrentChange: handleCurrentChange,
|
|
28580
|
+
layout: "total, sizes, prev, pager, next, jumper",
|
|
28581
|
+
style: { "padding-bottom": "8px" }
|
|
28582
|
+
}, null, 8, ["currentPage", "page-size", "total"])
|
|
28583
|
+
]),
|
|
28584
|
+
_: 1
|
|
28585
|
+
/* STABLE */
|
|
28586
|
+
})
|
|
28587
|
+
])
|
|
28588
|
+
]),
|
|
28589
|
+
_: 1
|
|
28590
|
+
/* STABLE */
|
|
28591
|
+
})
|
|
28592
|
+
]),
|
|
28593
|
+
_: 1
|
|
28594
|
+
/* STABLE */
|
|
28595
|
+
})
|
|
28596
|
+
]),
|
|
28597
|
+
_: 1
|
|
28598
|
+
/* STABLE */
|
|
28599
|
+
}, 8, ["modelValue"]);
|
|
28600
|
+
};
|
|
28601
|
+
}
|
|
28602
|
+
});
|
|
28603
|
+
|
|
28272
28604
|
const _hoisted_1$n = { style: { "color": "#fff" } };
|
|
28273
28605
|
const _hoisted_2$g = { style: { "margin-top": "10px" } };
|
|
28274
28606
|
const _hoisted_3$9 = { class: "dialog-footer" };
|
|
@@ -29021,6 +29353,10 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29021
29353
|
accountAction: {
|
|
29022
29354
|
type: String,
|
|
29023
29355
|
default: "accountTable"
|
|
29356
|
+
},
|
|
29357
|
+
refresh: {
|
|
29358
|
+
type: Boolean,
|
|
29359
|
+
default: false
|
|
29024
29360
|
}
|
|
29025
29361
|
}, {
|
|
29026
29362
|
"name": {
|
|
@@ -29040,6 +29376,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29040
29376
|
const autoId = useModel(__props, "id");
|
|
29041
29377
|
const props = __props;
|
|
29042
29378
|
const visibleopenDialog = ref(false);
|
|
29379
|
+
const tableDialogRef = ref();
|
|
29043
29380
|
const emit = __emit;
|
|
29044
29381
|
const querySearchAsync = async (queryString, cb) => {
|
|
29045
29382
|
var _a;
|
|
@@ -29073,12 +29410,17 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29073
29410
|
autoId.value = value.id;
|
|
29074
29411
|
emit("select", value);
|
|
29075
29412
|
};
|
|
29413
|
+
const handleRefresh = () => {
|
|
29414
|
+
if (tableDialogRef.value) {
|
|
29415
|
+
tableDialogRef.value.handleQuery();
|
|
29416
|
+
}
|
|
29417
|
+
};
|
|
29076
29418
|
return (_ctx, _cache) => {
|
|
29077
29419
|
const _component_el_icon = resolveComponent("el-icon");
|
|
29078
29420
|
const _component_el_autocomplete = resolveComponent("el-autocomplete");
|
|
29079
29421
|
return openBlock(), createBlock(_component_el_autocomplete, {
|
|
29080
29422
|
modelValue: autoName.value,
|
|
29081
|
-
"onUpdate:modelValue": _cache[
|
|
29423
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => autoName.value = $event),
|
|
29082
29424
|
debounce: 500,
|
|
29083
29425
|
"fetch-suggestions": querySearchAsync,
|
|
29084
29426
|
placeholder: props.placeholder,
|
|
@@ -29104,7 +29446,12 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29104
29446
|
createVNode(_component_el_icon, {
|
|
29105
29447
|
color: "#E6A23C",
|
|
29106
29448
|
size: __props.searchsize,
|
|
29107
|
-
onClick: _cache[0] || (_cache[0] = withModifiers(() =>
|
|
29449
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
29450
|
+
visibleopenDialog.value = true;
|
|
29451
|
+
if (props.refresh) {
|
|
29452
|
+
handleRefresh();
|
|
29453
|
+
}
|
|
29454
|
+
}, ["stop"]))
|
|
29108
29455
|
}, {
|
|
29109
29456
|
default: withCtx(() => [
|
|
29110
29457
|
createVNode(unref(Search))
|
|
@@ -29112,7 +29459,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29112
29459
|
_: 1
|
|
29113
29460
|
/* STABLE */
|
|
29114
29461
|
}, 8, ["size"]),
|
|
29115
|
-
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$
|
|
29462
|
+
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$w, {
|
|
29116
29463
|
key: 0,
|
|
29117
29464
|
visible: visibleopenDialog.value,
|
|
29118
29465
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
@@ -29125,7 +29472,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29125
29472
|
userParams: __props.params,
|
|
29126
29473
|
onChange: handleSelectDialogChange
|
|
29127
29474
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29128
|
-
__props.openType ==
|
|
29475
|
+
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$u, {
|
|
29129
29476
|
key: 1,
|
|
29130
29477
|
visible: visibleopenDialog.value,
|
|
29131
29478
|
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
|
|
@@ -29135,12 +29482,24 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29135
29482
|
userParams: __props.params,
|
|
29136
29483
|
onChange: handleSelectDialogChange
|
|
29137
29484
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29138
|
-
|
|
29139
|
-
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$t, {
|
|
29485
|
+
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$v, {
|
|
29140
29486
|
key: 2,
|
|
29487
|
+
ref_key: "tableDialogRef",
|
|
29488
|
+
ref: tableDialogRef,
|
|
29141
29489
|
visible: visibleopenDialog.value,
|
|
29142
29490
|
"onUpdate:visible": _cache[3] || (_cache[3] = ($event) => visibleopenDialog.value = $event),
|
|
29143
29491
|
title: __props.title,
|
|
29492
|
+
userService: __props.userService,
|
|
29493
|
+
userAction: __props.userAction,
|
|
29494
|
+
userParams: __props.params,
|
|
29495
|
+
onChange: handleSelectDialogChange
|
|
29496
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29497
|
+
createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
29498
|
+
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$t, {
|
|
29499
|
+
key: 3,
|
|
29500
|
+
visible: visibleopenDialog.value,
|
|
29501
|
+
"onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visibleopenDialog.value = $event),
|
|
29502
|
+
title: __props.title,
|
|
29144
29503
|
userService: __props.accountService,
|
|
29145
29504
|
userAction: __props.accountAction,
|
|
29146
29505
|
userParams: __props.params,
|
|
@@ -29148,9 +29507,9 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29148
29507
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29149
29508
|
createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
29150
29509
|
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$s, {
|
|
29151
|
-
key:
|
|
29510
|
+
key: 4,
|
|
29152
29511
|
visible: visibleopenDialog.value,
|
|
29153
|
-
"onUpdate:visible": _cache[
|
|
29512
|
+
"onUpdate:visible": _cache[5] || (_cache[5] = ($event) => visibleopenDialog.value = $event),
|
|
29154
29513
|
title: __props.title,
|
|
29155
29514
|
subjectService: __props.subjectService,
|
|
29156
29515
|
subjectAction: __props.subjectAction,
|