@fmdeui/fmui 1.0.141 → 1.0.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/component.mjs +2 -1
- package/es/components/fm-autocomplete/autoext.vue.d.ts +362 -0
- package/es/components/fm-autocomplete/component/accountSelectDialog.vue.d.ts +4 -1
- package/es/components/fm-autocomplete/component/subjectSelectDialog.vue.d.ts +4 -1
- package/es/components/fm-autocomplete/component/userSelectDialog.vue.d.ts +4 -1
- package/es/components/fm-autocomplete/index.d.ts +322 -0
- package/es/packages/components/fm-autocomplete/autoext.vue.mjs +5 -0
- package/es/packages/components/fm-autocomplete/autoext2.vue.mjs +320 -0
- package/es/packages/components/fm-autocomplete/component/accountSelectDialog2.vue.mjs +4 -2
- package/es/packages/components/fm-autocomplete/component/linSelectDialog2.vue.mjs +0 -1
- package/es/packages/components/fm-autocomplete/component/subjectSelectDialog2.vue.mjs +4 -2
- package/es/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.mjs +0 -1
- package/es/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.mjs +0 -1
- package/es/packages/components/fm-autocomplete/component/userSelectDialog2.vue.mjs +5 -3
- package/es/packages/components/fm-autocomplete/index.mjs +4 -1
- package/es/packages/components/fm-autocomplete/index2.vue.mjs +1 -1
- package/es/packages/components/index.mjs +1 -1
- package/index.js +409 -102
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +409 -102
- package/lib/component.js +1 -0
- package/lib/components/fm-autocomplete/autoext.vue.d.ts +362 -0
- package/lib/components/fm-autocomplete/component/accountSelectDialog.vue.d.ts +4 -1
- package/lib/components/fm-autocomplete/component/subjectSelectDialog.vue.d.ts +4 -1
- package/lib/components/fm-autocomplete/component/userSelectDialog.vue.d.ts +4 -1
- package/lib/components/fm-autocomplete/index.d.ts +322 -0
- package/lib/packages/components/fm-autocomplete/autoext.vue.js +9 -0
- package/lib/packages/components/fm-autocomplete/autoext2.vue.js +324 -0
- package/lib/packages/components/fm-autocomplete/component/accountSelectDialog2.vue.js +4 -2
- package/lib/packages/components/fm-autocomplete/component/linSelectDialog2.vue.js +0 -1
- package/lib/packages/components/fm-autocomplete/component/subjectSelectDialog2.vue.js +4 -2
- package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.js +0 -1
- package/lib/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.js +0 -1
- package/lib/packages/components/fm-autocomplete/component/userSelectDialog2.vue.js +5 -3
- package/lib/packages/components/fm-autocomplete/index.js +4 -0
- package/lib/packages/components/fm-autocomplete/index2.vue.js +1 -1
- package/lib/packages/components/index.js +1 -0
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- /package/lib/{defaults.css → component.css} +0 -0
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.143 */
|
|
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$T = /* @__PURE__ */ defineComponent({
|
|
20418
20418
|
...{
|
|
20419
20419
|
name: "FButton"
|
|
20420
20420
|
},
|
|
@@ -20484,7 +20484,7 @@ var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
20484
20484
|
}
|
|
20485
20485
|
});
|
|
20486
20486
|
|
|
20487
|
-
const FButton = _sfc_main$
|
|
20487
|
+
const FButton = _sfc_main$T;
|
|
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$
|
|
21211
|
+
const _hoisted_1$C = { key: 0 };
|
|
21212
21212
|
const _hoisted_2$p = { key: 0 };
|
|
21213
|
-
var _sfc_main$
|
|
21213
|
+
var _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
21214
21214
|
...{
|
|
21215
21215
|
name: "FInput"
|
|
21216
21216
|
},
|
|
@@ -21417,7 +21417,7 @@ var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
21417
21417
|
fn: withCtx(() => [
|
|
21418
21418
|
__props.inputType === "amount" ? (openBlock(), createElementBlock(
|
|
21419
21419
|
"span",
|
|
21420
|
-
_hoisted_1$
|
|
21420
|
+
_hoisted_1$C,
|
|
21421
21421
|
toDisplayString(appendTitleText.value),
|
|
21422
21422
|
1
|
|
21423
21423
|
/* TEXT */
|
|
@@ -21463,13 +21463,13 @@ var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
21463
21463
|
}
|
|
21464
21464
|
});
|
|
21465
21465
|
|
|
21466
|
-
const FInput = _sfc_main$
|
|
21466
|
+
const FInput = _sfc_main$S;
|
|
21467
21467
|
|
|
21468
|
-
const _hoisted_1$
|
|
21468
|
+
const _hoisted_1$B = {
|
|
21469
21469
|
key: 0,
|
|
21470
21470
|
class: "back_to_top"
|
|
21471
21471
|
};
|
|
21472
|
-
var _sfc_main$
|
|
21472
|
+
var _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
21473
21473
|
...{
|
|
21474
21474
|
name: "FLayoutPage"
|
|
21475
21475
|
},
|
|
@@ -21531,7 +21531,7 @@ var _sfc_main$Q = /* @__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$B, [
|
|
21535
21535
|
isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
|
|
21536
21536
|
key: 0,
|
|
21537
21537
|
onClick: backToTop
|
|
@@ -21559,9 +21559,9 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
21559
21559
|
}
|
|
21560
21560
|
});
|
|
21561
21561
|
|
|
21562
|
-
const FLayoutPage = _sfc_main$
|
|
21562
|
+
const FLayoutPage = _sfc_main$R;
|
|
21563
21563
|
|
|
21564
|
-
var _sfc_main$
|
|
21564
|
+
var _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
21565
21565
|
...{
|
|
21566
21566
|
name: "FLayoutPageItem"
|
|
21567
21567
|
},
|
|
@@ -21589,7 +21589,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
21589
21589
|
}
|
|
21590
21590
|
});
|
|
21591
21591
|
|
|
21592
|
-
const FLayoutPageItem = _sfc_main$
|
|
21592
|
+
const FLayoutPageItem = _sfc_main$Q;
|
|
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$A = ["id"];
|
|
21636
|
+
var _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
21637
21637
|
...{
|
|
21638
21638
|
name: "FChart"
|
|
21639
21639
|
},
|
|
@@ -21717,7 +21717,7 @@ var _sfc_main$O = /* @__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$A), [
|
|
21721
21721
|
[vShow, !formatEmpty.value]
|
|
21722
21722
|
]),
|
|
21723
21723
|
formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
|
|
@@ -21732,13 +21732,13 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
21732
21732
|
}
|
|
21733
21733
|
});
|
|
21734
21734
|
|
|
21735
|
-
const FChart = _sfc_main$
|
|
21735
|
+
const FChart = _sfc_main$P;
|
|
21736
21736
|
|
|
21737
|
-
const _hoisted_1$
|
|
21737
|
+
const _hoisted_1$z = {
|
|
21738
21738
|
key: 1,
|
|
21739
21739
|
class: "f_select__pagination"
|
|
21740
21740
|
};
|
|
21741
|
-
var _sfc_main$
|
|
21741
|
+
var _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
21742
21742
|
...{
|
|
21743
21743
|
name: "FSelect"
|
|
21744
21744
|
},
|
|
@@ -21951,7 +21951,7 @@ var _sfc_main$N = /* @__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$z, [
|
|
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$N = /* @__PURE__ */ defineComponent({
|
|
|
21989
21989
|
}
|
|
21990
21990
|
});
|
|
21991
21991
|
|
|
21992
|
-
const FSelect = _sfc_main$
|
|
21992
|
+
const FSelect = _sfc_main$O;
|
|
21993
21993
|
|
|
21994
|
-
var _sfc_main$
|
|
21994
|
+
var _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
21995
21995
|
...{
|
|
21996
21996
|
name: "RenderComp"
|
|
21997
21997
|
},
|
|
@@ -22011,12 +22011,12 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
22011
22011
|
}
|
|
22012
22012
|
});
|
|
22013
22013
|
|
|
22014
|
-
const _hoisted_1$
|
|
22014
|
+
const _hoisted_1$y = { class: "inside_box" };
|
|
22015
22015
|
const _hoisted_2$o = { class: "inside_box_title" };
|
|
22016
22016
|
const _hoisted_3$g = { 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$M = /* @__PURE__ */ defineComponent({
|
|
22020
22020
|
...{
|
|
22021
22021
|
name: "MoreChoose"
|
|
22022
22022
|
},
|
|
@@ -22154,7 +22154,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
22154
22154
|
])
|
|
22155
22155
|
]),
|
|
22156
22156
|
default: withCtx(() => [
|
|
22157
|
-
createElementVNode("div", _hoisted_1$
|
|
22157
|
+
createElementVNode("div", _hoisted_1$y, [
|
|
22158
22158
|
createElementVNode("div", _hoisted_2$o, [
|
|
22159
22159
|
createElementVNode(
|
|
22160
22160
|
"div",
|
|
@@ -22331,7 +22331,7 @@ function useComputed() {
|
|
|
22331
22331
|
};
|
|
22332
22332
|
}
|
|
22333
22333
|
|
|
22334
|
-
var _sfc_main$
|
|
22334
|
+
var _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
22335
22335
|
...{
|
|
22336
22336
|
name: "FQueryCondition"
|
|
22337
22337
|
},
|
|
@@ -22750,7 +22750,7 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
22750
22750
|
opt.labelRender ? {
|
|
22751
22751
|
name: "label",
|
|
22752
22752
|
fn: withCtx(() => [
|
|
22753
|
-
createVNode(_sfc_main$
|
|
22753
|
+
createVNode(_sfc_main$N, {
|
|
22754
22754
|
form: unref(queryState).form,
|
|
22755
22755
|
render: opt.labelRender
|
|
22756
22756
|
}, null, 8, ["form", "render"])
|
|
@@ -22846,7 +22846,7 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
22846
22846
|
_: 1
|
|
22847
22847
|
/* STABLE */
|
|
22848
22848
|
})) : createCommentVNode("v-if", true),
|
|
22849
|
-
createVNode(_sfc_main$
|
|
22849
|
+
createVNode(_sfc_main$M, {
|
|
22850
22850
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22851
22851
|
moreCheckList: __props.moreCheckList,
|
|
22852
22852
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22872,7 +22872,7 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
22872
22872
|
}
|
|
22873
22873
|
});
|
|
22874
22874
|
|
|
22875
|
-
var _sfc_main$
|
|
22875
|
+
var _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
22876
22876
|
...{
|
|
22877
22877
|
name: "RenderCol"
|
|
22878
22878
|
},
|
|
@@ -23028,7 +23028,7 @@ function useVirtualized() {
|
|
|
23028
23028
|
};
|
|
23029
23029
|
}
|
|
23030
23030
|
|
|
23031
|
-
const _hoisted_1$
|
|
23031
|
+
const _hoisted_1$x = {
|
|
23032
23032
|
key: 0,
|
|
23033
23033
|
class: "table_query_condition"
|
|
23034
23034
|
};
|
|
@@ -23038,7 +23038,7 @@ 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$J = /* @__PURE__ */ defineComponent({
|
|
23042
23042
|
...{
|
|
23043
23043
|
name: "FSelectTable"
|
|
23044
23044
|
},
|
|
@@ -23660,9 +23660,9 @@ var _sfc_main$I = /* @__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$x, [
|
|
23664
23664
|
createVNode(
|
|
23665
|
-
_sfc_main$
|
|
23665
|
+
_sfc_main$L,
|
|
23666
23666
|
mergeProps({
|
|
23667
23667
|
ref_key: "fQueryConditionRef",
|
|
23668
23668
|
ref: fQueryConditionRef,
|
|
@@ -23788,7 +23788,7 @@ var _sfc_main$I = /* @__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$K, {
|
|
23792
23792
|
key: 0,
|
|
23793
23793
|
column: item,
|
|
23794
23794
|
row: scope.row,
|
|
@@ -23851,11 +23851,11 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
23851
23851
|
}
|
|
23852
23852
|
});
|
|
23853
23853
|
|
|
23854
|
-
const FSelectTable = _sfc_main$
|
|
23854
|
+
const FSelectTable = _sfc_main$J;
|
|
23855
23855
|
|
|
23856
|
-
const FQueryCondition = _sfc_main$
|
|
23856
|
+
const FQueryCondition = _sfc_main$L;
|
|
23857
23857
|
|
|
23858
|
-
var _sfc_main$
|
|
23858
|
+
var _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
23859
23859
|
...{
|
|
23860
23860
|
name: "RenderComp"
|
|
23861
23861
|
},
|
|
@@ -23875,7 +23875,7 @@ var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
23875
23875
|
}
|
|
23876
23876
|
});
|
|
23877
23877
|
|
|
23878
|
-
var _sfc_main$
|
|
23878
|
+
var _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
23879
23879
|
...{
|
|
23880
23880
|
name: "RenderBtn"
|
|
23881
23881
|
},
|
|
@@ -23895,12 +23895,12 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
23895
23895
|
}
|
|
23896
23896
|
});
|
|
23897
23897
|
|
|
23898
|
-
const _hoisted_1$
|
|
23898
|
+
const _hoisted_1$w = {
|
|
23899
23899
|
key: 1,
|
|
23900
23900
|
class: "text_show"
|
|
23901
23901
|
};
|
|
23902
23902
|
const _hoisted_2$m = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23903
|
-
var _sfc_main$
|
|
23903
|
+
var _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
23904
23904
|
...{
|
|
23905
23905
|
name: "FForm"
|
|
23906
23906
|
},
|
|
@@ -24151,7 +24151,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
24151
24151
|
}) : createCommentVNode("v-if", true),
|
|
24152
24152
|
item.textShow ? (openBlock(), createElementBlock(
|
|
24153
24153
|
"span",
|
|
24154
|
-
_hoisted_1$
|
|
24154
|
+
_hoisted_1$w,
|
|
24155
24155
|
toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
|
|
24156
24156
|
1
|
|
24157
24157
|
/* TEXT */
|
|
@@ -24271,7 +24271,7 @@ var _sfc_main$F = /* @__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$I, {
|
|
24275
24275
|
key: 0,
|
|
24276
24276
|
render: item.labelRender,
|
|
24277
24277
|
item
|
|
@@ -24303,7 +24303,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
24303
24303
|
Fragment,
|
|
24304
24304
|
null,
|
|
24305
24305
|
[
|
|
24306
|
-
val.render ? (openBlock(), createBlock(_sfc_main$
|
|
24306
|
+
val.render ? (openBlock(), createBlock(_sfc_main$H, {
|
|
24307
24307
|
key: index,
|
|
24308
24308
|
item: val,
|
|
24309
24309
|
render: val.render
|
|
@@ -24350,10 +24350,10 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
24350
24350
|
}
|
|
24351
24351
|
});
|
|
24352
24352
|
|
|
24353
|
-
const FForm = _sfc_main$
|
|
24353
|
+
const FForm = _sfc_main$G;
|
|
24354
24354
|
|
|
24355
|
-
const _hoisted_1$
|
|
24356
|
-
var _sfc_main$
|
|
24355
|
+
const _hoisted_1$v = ["src"];
|
|
24356
|
+
var _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
24357
24357
|
...{
|
|
24358
24358
|
name: "svgIcon"
|
|
24359
24359
|
},
|
|
@@ -24424,7 +24424,7 @@ var _sfc_main$E = /* @__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$v)
|
|
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$F);
|
|
24455
24455
|
}
|
|
24456
24456
|
}
|
|
24457
24457
|
|
|
24458
24458
|
const emitter = mitt();
|
|
24459
24459
|
|
|
24460
|
-
var _sfc_main$
|
|
24460
|
+
var _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
24461
24461
|
...{
|
|
24462
24462
|
name: "FLayout"
|
|
24463
24463
|
},
|
|
@@ -24543,7 +24543,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
24543
24543
|
}
|
|
24544
24544
|
});
|
|
24545
24545
|
|
|
24546
|
-
const FLayout = _sfc_main$
|
|
24546
|
+
const FLayout = _sfc_main$E;
|
|
24547
24547
|
|
|
24548
24548
|
function commonFunction() {
|
|
24549
24549
|
const { copy, isSupported } = useClipboard();
|
|
@@ -24820,7 +24820,7 @@ const other = {
|
|
|
24820
24820
|
// },
|
|
24821
24821
|
};
|
|
24822
24822
|
|
|
24823
|
-
const _hoisted_1$
|
|
24823
|
+
const _hoisted_1$u = { class: "layout-breadcrumb-seting" };
|
|
24824
24824
|
const _hoisted_2$l = { class: "layout-breadcrumb-seting-bar-flex" };
|
|
24825
24825
|
const _hoisted_3$e = { class: "layout-breadcrumb-seting-bar-flex-label" };
|
|
24826
24826
|
const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
|
|
@@ -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$D = /* @__PURE__ */ defineComponent({
|
|
24949
24949
|
...{
|
|
24950
24950
|
name: "FSettings"
|
|
24951
24951
|
},
|
|
@@ -25209,7 +25209,7 @@ var _sfc_main$C = /* @__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$u, [
|
|
25213
25213
|
createVNode(_component_el_drawer, {
|
|
25214
25214
|
title: _ctx.$t("message.layout.configTitle"),
|
|
25215
25215
|
modelValue: getThemeConfig.value.isDrawer,
|
|
@@ -26708,9 +26708,9 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
26708
26708
|
}
|
|
26709
26709
|
});
|
|
26710
26710
|
|
|
26711
|
-
const FSettings = _sfc_main$
|
|
26711
|
+
const FSettings = _sfc_main$D;
|
|
26712
26712
|
|
|
26713
|
-
var _sfc_main$
|
|
26713
|
+
var _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
26714
26714
|
...{
|
|
26715
26715
|
name: "FModifyRecord"
|
|
26716
26716
|
},
|
|
@@ -26973,10 +26973,10 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
26973
26973
|
}
|
|
26974
26974
|
});
|
|
26975
26975
|
|
|
26976
|
-
const FModifyRecord = _sfc_main$
|
|
26976
|
+
const FModifyRecord = _sfc_main$C;
|
|
26977
26977
|
|
|
26978
|
-
const _hoisted_1$
|
|
26979
|
-
var _sfc_main$
|
|
26978
|
+
const _hoisted_1$t = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
|
|
26979
|
+
var _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
26980
26980
|
...{
|
|
26981
26981
|
name: "FmSelect"
|
|
26982
26982
|
},
|
|
@@ -27135,7 +27135,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
27135
27135
|
onClear: handelClear
|
|
27136
27136
|
}, {
|
|
27137
27137
|
header: withCtx(() => [
|
|
27138
|
-
createElementVNode("div", _hoisted_1$
|
|
27138
|
+
createElementVNode("div", _hoisted_1$t, [
|
|
27139
27139
|
createVNode(_component_el_icon, {
|
|
27140
27140
|
color: "#13c2c2",
|
|
27141
27141
|
size: __props.freshSize,
|
|
@@ -27177,9 +27177,9 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
27177
27177
|
}
|
|
27178
27178
|
});
|
|
27179
27179
|
|
|
27180
|
-
const FmSelect = _sfc_main$
|
|
27180
|
+
const FmSelect = _sfc_main$B;
|
|
27181
27181
|
|
|
27182
|
-
var _sfc_main$
|
|
27182
|
+
var _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
27183
27183
|
...{
|
|
27184
27184
|
name: "Fminputdropdown"
|
|
27185
27185
|
},
|
|
@@ -27377,9 +27377,9 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
27377
27377
|
}
|
|
27378
27378
|
});
|
|
27379
27379
|
|
|
27380
|
-
const Fminputdropdown = _sfc_main$
|
|
27380
|
+
const Fminputdropdown = _sfc_main$A;
|
|
27381
27381
|
|
|
27382
|
-
var _sfc_main$
|
|
27382
|
+
var _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
27383
27383
|
...{ name: "FmInputNumber" },
|
|
27384
27384
|
__name: "index",
|
|
27385
27385
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -27495,14 +27495,14 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
27495
27495
|
}
|
|
27496
27496
|
});
|
|
27497
27497
|
|
|
27498
|
-
const FmInputNumber = _sfc_main$
|
|
27498
|
+
const FmInputNumber = _sfc_main$z;
|
|
27499
27499
|
|
|
27500
|
-
const _hoisted_1$
|
|
27500
|
+
const _hoisted_1$s = { style: { "color": "#fff" } };
|
|
27501
27501
|
const _hoisted_2$k = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27502
27502
|
const _hoisted_3$d = { 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$y = /* @__PURE__ */ defineComponent({
|
|
27506
27506
|
__name: "userSelectDialog",
|
|
27507
27507
|
props: {
|
|
27508
27508
|
visible: {
|
|
@@ -27548,7 +27548,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27548
27548
|
}
|
|
27549
27549
|
},
|
|
27550
27550
|
emits: ["update:visible", "change"],
|
|
27551
|
-
setup(__props, { emit: __emit }) {
|
|
27551
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
27552
27552
|
let emits = __emit;
|
|
27553
27553
|
const props = __props;
|
|
27554
27554
|
const userList = ref([]);
|
|
@@ -27570,7 +27570,6 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27570
27570
|
}
|
|
27571
27571
|
});
|
|
27572
27572
|
onMounted(async () => {
|
|
27573
|
-
await getUserList();
|
|
27574
27573
|
});
|
|
27575
27574
|
const resetQuery = () => {
|
|
27576
27575
|
state.queryParams = {};
|
|
@@ -27596,7 +27595,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27596
27595
|
}
|
|
27597
27596
|
function handleSelectUser(row) {
|
|
27598
27597
|
if (!row || row.id == "") return;
|
|
27599
|
-
emits("change",
|
|
27598
|
+
emits("change", row);
|
|
27600
27599
|
}
|
|
27601
27600
|
const handledbclick = (row) => {
|
|
27602
27601
|
handleSelectUser(row);
|
|
@@ -27613,6 +27612,9 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27613
27612
|
checkedUsersList.value = [];
|
|
27614
27613
|
emits("update:visible", false);
|
|
27615
27614
|
};
|
|
27615
|
+
__expose({
|
|
27616
|
+
handleQuery
|
|
27617
|
+
});
|
|
27616
27618
|
return (_ctx, _cache) => {
|
|
27617
27619
|
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
27618
27620
|
const _component_el_icon = resolveComponent("el-icon");
|
|
@@ -27639,7 +27641,7 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27639
27641
|
"close-on-click-modal": false
|
|
27640
27642
|
}, {
|
|
27641
27643
|
header: withCtx(() => [
|
|
27642
|
-
createElementVNode("div", _hoisted_1$
|
|
27644
|
+
createElementVNode("div", _hoisted_1$s, [
|
|
27643
27645
|
createVNode(_component_el_icon, {
|
|
27644
27646
|
size: "16",
|
|
27645
27647
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -27891,10 +27893,10 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27891
27893
|
}
|
|
27892
27894
|
});
|
|
27893
27895
|
|
|
27894
|
-
const _hoisted_1$
|
|
27896
|
+
const _hoisted_1$r = { style: { "color": "#fff" } };
|
|
27895
27897
|
const _hoisted_2$j = { style: { "margin-top": "10px" } };
|
|
27896
27898
|
const _hoisted_3$c = { class: "dialog-footer" };
|
|
27897
|
-
var _sfc_main$
|
|
27899
|
+
var _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
27898
27900
|
__name: "supplierSelectDialog",
|
|
27899
27901
|
props: {
|
|
27900
27902
|
visible: {
|
|
@@ -27947,7 +27949,6 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
27947
27949
|
}
|
|
27948
27950
|
});
|
|
27949
27951
|
onMounted(async () => {
|
|
27950
|
-
await getUserList();
|
|
27951
27952
|
});
|
|
27952
27953
|
const resetQuery = () => {
|
|
27953
27954
|
state.queryParams = {};
|
|
@@ -28017,7 +28018,7 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28017
28018
|
"close-on-click-modal": false
|
|
28018
28019
|
}, {
|
|
28019
28020
|
header: withCtx(() => [
|
|
28020
|
-
createElementVNode("div", _hoisted_1$
|
|
28021
|
+
createElementVNode("div", _hoisted_1$r, [
|
|
28021
28022
|
createVNode(_component_el_icon, {
|
|
28022
28023
|
size: "16",
|
|
28023
28024
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28271,10 +28272,10 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
28271
28272
|
}
|
|
28272
28273
|
});
|
|
28273
28274
|
|
|
28274
|
-
const _hoisted_1$
|
|
28275
|
+
const _hoisted_1$q = { style: { "color": "#fff" } };
|
|
28275
28276
|
const _hoisted_2$i = { style: { "margin-top": "10px" } };
|
|
28276
28277
|
const _hoisted_3$b = { class: "dialog-footer" };
|
|
28277
|
-
var _sfc_main$
|
|
28278
|
+
var _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
28278
28279
|
__name: "supplierUserSelectDialog",
|
|
28279
28280
|
props: {
|
|
28280
28281
|
visible: {
|
|
@@ -28327,7 +28328,6 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28327
28328
|
}
|
|
28328
28329
|
});
|
|
28329
28330
|
onMounted(async () => {
|
|
28330
|
-
await getUserList();
|
|
28331
28331
|
});
|
|
28332
28332
|
const resetQuery = () => {
|
|
28333
28333
|
state.queryParams = {};
|
|
@@ -28390,7 +28390,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28390
28390
|
"close-on-click-modal": false
|
|
28391
28391
|
}, {
|
|
28392
28392
|
header: withCtx(() => [
|
|
28393
|
-
createElementVNode("div", _hoisted_1$
|
|
28393
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
28394
28394
|
createVNode(_component_el_icon, {
|
|
28395
28395
|
size: "16",
|
|
28396
28396
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28601,10 +28601,10 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
28601
28601
|
}
|
|
28602
28602
|
});
|
|
28603
28603
|
|
|
28604
|
-
const _hoisted_1$
|
|
28604
|
+
const _hoisted_1$p = { style: { "color": "#fff" } };
|
|
28605
28605
|
const _hoisted_2$h = { style: { "margin-top": "10px" } };
|
|
28606
28606
|
const _hoisted_3$a = { class: "dialog-footer" };
|
|
28607
|
-
var _sfc_main$
|
|
28607
|
+
var _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
28608
28608
|
__name: "accountSelectDialog",
|
|
28609
28609
|
props: {
|
|
28610
28610
|
visible: {
|
|
@@ -28634,7 +28634,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28634
28634
|
}
|
|
28635
28635
|
},
|
|
28636
28636
|
emits: ["update:visible", "change"],
|
|
28637
|
-
setup(__props, { emit: __emit }) {
|
|
28637
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
28638
28638
|
let emits = __emit;
|
|
28639
28639
|
const props = __props;
|
|
28640
28640
|
const userList = ref([]);
|
|
@@ -28655,7 +28655,6 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28655
28655
|
}
|
|
28656
28656
|
});
|
|
28657
28657
|
onMounted(async () => {
|
|
28658
|
-
await getUserList();
|
|
28659
28658
|
});
|
|
28660
28659
|
const resetQuery = () => {
|
|
28661
28660
|
state.queryParams = {};
|
|
@@ -28690,6 +28689,9 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28690
28689
|
checkedUsersList.value = [];
|
|
28691
28690
|
emits("update:visible", false);
|
|
28692
28691
|
};
|
|
28692
|
+
__expose({
|
|
28693
|
+
handleQuery
|
|
28694
|
+
});
|
|
28693
28695
|
return (_ctx, _cache) => {
|
|
28694
28696
|
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
28695
28697
|
const _component_el_icon = resolveComponent("el-icon");
|
|
@@ -28715,7 +28717,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28715
28717
|
"close-on-click-modal": false
|
|
28716
28718
|
}, {
|
|
28717
28719
|
header: withCtx(() => [
|
|
28718
|
-
createElementVNode("div", _hoisted_1$
|
|
28720
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
28719
28721
|
createVNode(_component_el_icon, {
|
|
28720
28722
|
size: "16",
|
|
28721
28723
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -28920,12 +28922,12 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28920
28922
|
}
|
|
28921
28923
|
});
|
|
28922
28924
|
|
|
28923
|
-
const _hoisted_1$
|
|
28925
|
+
const _hoisted_1$o = { style: { "color": "#fff" } };
|
|
28924
28926
|
const _hoisted_2$g = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
28925
28927
|
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" } };
|
|
28926
28928
|
const _hoisted_4$5 = { style: { "margin-top": "10px" } };
|
|
28927
28929
|
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
28928
|
-
var _sfc_main$
|
|
28930
|
+
var _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
28929
28931
|
__name: "subjectSelectDialog",
|
|
28930
28932
|
props: {
|
|
28931
28933
|
visible: {
|
|
@@ -28955,7 +28957,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
28955
28957
|
}
|
|
28956
28958
|
},
|
|
28957
28959
|
emits: ["update:visible", "change"],
|
|
28958
|
-
setup(__props, { emit: __emit }) {
|
|
28960
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
28959
28961
|
let emits = __emit;
|
|
28960
28962
|
const props = __props;
|
|
28961
28963
|
let visibleDialog = computed({
|
|
@@ -28975,7 +28977,6 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
28975
28977
|
});
|
|
28976
28978
|
const tableList = ref([]);
|
|
28977
28979
|
onMounted(async () => {
|
|
28978
|
-
await getTableList();
|
|
28979
28980
|
state.treeData = [{ id: 1, name: "\u8D44\u4EA7", code: "" }, { id: 2, name: "\u8D1F\u503A", code: "" }, { id: 3, name: "\u6743\u76CA", code: "" }, { id: 4, name: "\u6210\u672C", code: "" }, { id: 5, name: "\u635F\u76CA", code: "" }];
|
|
28980
28981
|
});
|
|
28981
28982
|
const getTableList = async () => {
|
|
@@ -29004,6 +29005,9 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29004
29005
|
const closeDialog = () => {
|
|
29005
29006
|
emits("update:visible", false);
|
|
29006
29007
|
};
|
|
29008
|
+
__expose({
|
|
29009
|
+
handleQuery
|
|
29010
|
+
});
|
|
29007
29011
|
return (_ctx, _cache) => {
|
|
29008
29012
|
const _component_ele_Edit = resolveComponent("ele-Edit");
|
|
29009
29013
|
const _component_el_icon = resolveComponent("el-icon");
|
|
@@ -29029,7 +29033,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29029
29033
|
"close-on-click-modal": false
|
|
29030
29034
|
}, {
|
|
29031
29035
|
header: withCtx(() => [
|
|
29032
|
-
createElementVNode("div", _hoisted_1$
|
|
29036
|
+
createElementVNode("div", _hoisted_1$o, [
|
|
29033
29037
|
createVNode(_component_el_icon, {
|
|
29034
29038
|
size: "16",
|
|
29035
29039
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -29244,10 +29248,10 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
29244
29248
|
}
|
|
29245
29249
|
});
|
|
29246
29250
|
|
|
29247
|
-
const _hoisted_1$
|
|
29251
|
+
const _hoisted_1$n = { style: { "color": "#fff" } };
|
|
29248
29252
|
const _hoisted_2$f = { style: { "margin-top": "10px" } };
|
|
29249
29253
|
const _hoisted_3$8 = { class: "dialog-footer" };
|
|
29250
|
-
var _sfc_main$
|
|
29254
|
+
var _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
29251
29255
|
__name: "linSelectDialog",
|
|
29252
29256
|
props: {
|
|
29253
29257
|
visible: {
|
|
@@ -29300,7 +29304,6 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29300
29304
|
}
|
|
29301
29305
|
});
|
|
29302
29306
|
onMounted(async () => {
|
|
29303
|
-
await getUserList();
|
|
29304
29307
|
});
|
|
29305
29308
|
const resetQuery = () => {
|
|
29306
29309
|
state.queryParams = {};
|
|
@@ -29363,7 +29366,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29363
29366
|
"close-on-click-modal": false
|
|
29364
29367
|
}, {
|
|
29365
29368
|
header: withCtx(() => [
|
|
29366
|
-
createElementVNode("div", _hoisted_1$
|
|
29369
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
29367
29370
|
createVNode(_component_el_icon, {
|
|
29368
29371
|
size: "16",
|
|
29369
29372
|
style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
|
|
@@ -29586,8 +29589,8 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
29586
29589
|
}
|
|
29587
29590
|
});
|
|
29588
29591
|
|
|
29589
|
-
const _hoisted_1$
|
|
29590
|
-
var _sfc_main$
|
|
29592
|
+
const _hoisted_1$m = { style: { "font-size": "14px", "line-height": "30px" } };
|
|
29593
|
+
var _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
29591
29594
|
...{
|
|
29592
29595
|
name: "FmAutocomplete"
|
|
29593
29596
|
},
|
|
@@ -29698,7 +29701,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29698
29701
|
},
|
|
29699
29702
|
refresh: {
|
|
29700
29703
|
type: Boolean,
|
|
29701
|
-
default:
|
|
29704
|
+
default: true
|
|
29702
29705
|
}
|
|
29703
29706
|
}, {
|
|
29704
29707
|
"name": {
|
|
@@ -29769,6 +29772,298 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29769
29772
|
"trigger-on-focus": false,
|
|
29770
29773
|
onSelect: handleSelect,
|
|
29771
29774
|
style: { "margin-top": "-2px" }
|
|
29775
|
+
}, createSlots({
|
|
29776
|
+
default: withCtx(({ item }) => [
|
|
29777
|
+
createElementVNode(
|
|
29778
|
+
"div",
|
|
29779
|
+
_hoisted_1$m,
|
|
29780
|
+
toDisplayString(item[__props.vName]) + " " + toDisplayString(__props.vLabel != "" ? "(" + item[__props.vLabel] + ")" : ""),
|
|
29781
|
+
1
|
|
29782
|
+
/* TEXT */
|
|
29783
|
+
)
|
|
29784
|
+
]),
|
|
29785
|
+
_: 2
|
|
29786
|
+
/* DYNAMIC */
|
|
29787
|
+
}, [
|
|
29788
|
+
__props.openType > -1 ? {
|
|
29789
|
+
name: "suffix",
|
|
29790
|
+
fn: withCtx(() => [
|
|
29791
|
+
createVNode(_component_el_icon, {
|
|
29792
|
+
color: "#E6A23C",
|
|
29793
|
+
size: __props.searchsize,
|
|
29794
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
29795
|
+
visibleopenDialog.value = true;
|
|
29796
|
+
if (props.refresh) {
|
|
29797
|
+
handleRefresh();
|
|
29798
|
+
}
|
|
29799
|
+
}, ["stop"]))
|
|
29800
|
+
}, {
|
|
29801
|
+
default: withCtx(() => [
|
|
29802
|
+
createVNode(unref(Search))
|
|
29803
|
+
]),
|
|
29804
|
+
_: 1
|
|
29805
|
+
/* STABLE */
|
|
29806
|
+
}, 8, ["size"]),
|
|
29807
|
+
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
29808
|
+
key: 0,
|
|
29809
|
+
visible: visibleopenDialog.value,
|
|
29810
|
+
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
29811
|
+
orgService: __props.orgService,
|
|
29812
|
+
orgAction: __props.orgAction,
|
|
29813
|
+
orgparas: __props.params,
|
|
29814
|
+
title: __props.title,
|
|
29815
|
+
userService: __props.userService,
|
|
29816
|
+
userAction: __props.userAction,
|
|
29817
|
+
userParams: __props.params,
|
|
29818
|
+
onChange: handleSelectDialogChange
|
|
29819
|
+
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29820
|
+
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$w, {
|
|
29821
|
+
key: 1,
|
|
29822
|
+
visible: visibleopenDialog.value,
|
|
29823
|
+
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
|
|
29824
|
+
title: __props.title,
|
|
29825
|
+
userService: __props.userService,
|
|
29826
|
+
userAction: __props.userAction,
|
|
29827
|
+
userParams: __props.params,
|
|
29828
|
+
onChange: handleSelectDialogChange
|
|
29829
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29830
|
+
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$x, {
|
|
29831
|
+
key: 2,
|
|
29832
|
+
ref_key: "tableDialogRef",
|
|
29833
|
+
ref: tableDialogRef,
|
|
29834
|
+
visible: visibleopenDialog.value,
|
|
29835
|
+
"onUpdate:visible": _cache[3] || (_cache[3] = ($event) => visibleopenDialog.value = $event),
|
|
29836
|
+
title: __props.title,
|
|
29837
|
+
userService: __props.userService,
|
|
29838
|
+
userAction: __props.userAction,
|
|
29839
|
+
userParams: __props.params,
|
|
29840
|
+
onChange: handleSelectDialogChange
|
|
29841
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29842
|
+
createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
29843
|
+
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$v, {
|
|
29844
|
+
key: 3,
|
|
29845
|
+
visible: visibleopenDialog.value,
|
|
29846
|
+
"onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visibleopenDialog.value = $event),
|
|
29847
|
+
title: __props.title,
|
|
29848
|
+
userService: __props.accountService,
|
|
29849
|
+
userAction: __props.accountAction,
|
|
29850
|
+
userParams: __props.params,
|
|
29851
|
+
onChange: handleSelectDialogChange
|
|
29852
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29853
|
+
createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
29854
|
+
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$u, {
|
|
29855
|
+
key: 4,
|
|
29856
|
+
visible: visibleopenDialog.value,
|
|
29857
|
+
"onUpdate:visible": _cache[5] || (_cache[5] = ($event) => visibleopenDialog.value = $event),
|
|
29858
|
+
title: __props.title,
|
|
29859
|
+
subjectService: __props.subjectService,
|
|
29860
|
+
subjectAction: __props.subjectAction,
|
|
29861
|
+
subjectParams: __props.params,
|
|
29862
|
+
onChange: handleSelectDialogChange
|
|
29863
|
+
}, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : createCommentVNode("v-if", true),
|
|
29864
|
+
createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
29865
|
+
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$t, {
|
|
29866
|
+
key: 5,
|
|
29867
|
+
visible: visibleopenDialog.value,
|
|
29868
|
+
"onUpdate:visible": _cache[6] || (_cache[6] = ($event) => visibleopenDialog.value = $event),
|
|
29869
|
+
title: __props.title,
|
|
29870
|
+
userService: __props.userService,
|
|
29871
|
+
userAction: __props.userAction,
|
|
29872
|
+
userParams: __props.params,
|
|
29873
|
+
onChange: handleSelectDialogChange
|
|
29874
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true)
|
|
29875
|
+
]),
|
|
29876
|
+
key: "0"
|
|
29877
|
+
} : void 0
|
|
29878
|
+
]), 1032, ["modelValue", "placeholder"]);
|
|
29879
|
+
};
|
|
29880
|
+
}
|
|
29881
|
+
});
|
|
29882
|
+
|
|
29883
|
+
const _hoisted_1$l = { style: { "font-size": "14px", "line-height": "30px" } };
|
|
29884
|
+
var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
29885
|
+
...{
|
|
29886
|
+
name: "FmAutocompleteExt"
|
|
29887
|
+
},
|
|
29888
|
+
__name: "autoext",
|
|
29889
|
+
props: /* @__PURE__ */ mergeModels({
|
|
29890
|
+
placeholder: {
|
|
29891
|
+
type: String,
|
|
29892
|
+
default: "\u8BF7\u8F93\u5165\u5FEB\u901F\u641C\u7D22\u9009\u62E9"
|
|
29893
|
+
},
|
|
29894
|
+
/**
|
|
29895
|
+
* ato service name
|
|
29896
|
+
*/
|
|
29897
|
+
atoService: {
|
|
29898
|
+
type: String,
|
|
29899
|
+
default: "autoRes"
|
|
29900
|
+
},
|
|
29901
|
+
/**
|
|
29902
|
+
* ato service 下的方法
|
|
29903
|
+
*/
|
|
29904
|
+
atoAction: {
|
|
29905
|
+
type: String,
|
|
29906
|
+
default: "autoUser"
|
|
29907
|
+
},
|
|
29908
|
+
top: {
|
|
29909
|
+
type: Number,
|
|
29910
|
+
default: 15
|
|
29911
|
+
},
|
|
29912
|
+
searchsize: {
|
|
29913
|
+
type: Number,
|
|
29914
|
+
default: 22
|
|
29915
|
+
},
|
|
29916
|
+
/**
|
|
29917
|
+
* 值的属性标签
|
|
29918
|
+
*/
|
|
29919
|
+
vName: {
|
|
29920
|
+
type: String,
|
|
29921
|
+
default: "name"
|
|
29922
|
+
},
|
|
29923
|
+
vGroup: {
|
|
29924
|
+
type: Array,
|
|
29925
|
+
default: () => []
|
|
29926
|
+
},
|
|
29927
|
+
/**
|
|
29928
|
+
* 过滤出来显示的名称 加上属性标签
|
|
29929
|
+
*/
|
|
29930
|
+
vLabel: {
|
|
29931
|
+
type: String,
|
|
29932
|
+
default: ""
|
|
29933
|
+
},
|
|
29934
|
+
/**
|
|
29935
|
+
* 查询业务表ID
|
|
29936
|
+
*/
|
|
29937
|
+
qId: {
|
|
29938
|
+
type: Number,
|
|
29939
|
+
default: 0
|
|
29940
|
+
},
|
|
29941
|
+
title: {
|
|
29942
|
+
type: String,
|
|
29943
|
+
default: ""
|
|
29944
|
+
},
|
|
29945
|
+
params: {
|
|
29946
|
+
type: Object,
|
|
29947
|
+
default: () => {
|
|
29948
|
+
}
|
|
29949
|
+
},
|
|
29950
|
+
/**
|
|
29951
|
+
* 打开类型 0--用户加机构 1-- 联系人 2-- 供应商单位 3-- 银行账户 4--科目 5--线路
|
|
29952
|
+
* @default 0
|
|
29953
|
+
*/
|
|
29954
|
+
openType: {
|
|
29955
|
+
type: Number,
|
|
29956
|
+
default: 0
|
|
29957
|
+
},
|
|
29958
|
+
orgService: {
|
|
29959
|
+
type: String,
|
|
29960
|
+
default: "autoRes"
|
|
29961
|
+
},
|
|
29962
|
+
orgAction: {
|
|
29963
|
+
type: String,
|
|
29964
|
+
default: "userOrgList"
|
|
29965
|
+
},
|
|
29966
|
+
userService: {
|
|
29967
|
+
type: String,
|
|
29968
|
+
default: "autoRes"
|
|
29969
|
+
},
|
|
29970
|
+
userAction: {
|
|
29971
|
+
type: String,
|
|
29972
|
+
default: "UserTable"
|
|
29973
|
+
},
|
|
29974
|
+
subjectService: {
|
|
29975
|
+
type: String,
|
|
29976
|
+
default: "autoRes"
|
|
29977
|
+
},
|
|
29978
|
+
subjectAction: {
|
|
29979
|
+
type: String,
|
|
29980
|
+
default: "subjectTable"
|
|
29981
|
+
},
|
|
29982
|
+
accountService: {
|
|
29983
|
+
type: String,
|
|
29984
|
+
default: "autoRes"
|
|
29985
|
+
},
|
|
29986
|
+
accountAction: {
|
|
29987
|
+
type: String,
|
|
29988
|
+
default: "accountTable"
|
|
29989
|
+
},
|
|
29990
|
+
refresh: {
|
|
29991
|
+
type: Boolean,
|
|
29992
|
+
default: true
|
|
29993
|
+
}
|
|
29994
|
+
}, {
|
|
29995
|
+
"modelValue": {},
|
|
29996
|
+
"modelModifiers": {}
|
|
29997
|
+
}),
|
|
29998
|
+
emits: /* @__PURE__ */ mergeModels(["select", "reset"], ["update:modelValue"]),
|
|
29999
|
+
setup(__props, { emit: __emit }) {
|
|
30000
|
+
const modelValue = useModel(__props, "modelValue");
|
|
30001
|
+
const props = __props;
|
|
30002
|
+
const visibleopenDialog = ref(false);
|
|
30003
|
+
const tableDialogRef = ref();
|
|
30004
|
+
const emit = __emit;
|
|
30005
|
+
const querySearchAsync = async (queryString, cb) => {
|
|
30006
|
+
var _a;
|
|
30007
|
+
resetValue();
|
|
30008
|
+
const postdata = { keywork: queryString, id: props.qId, ...props.params };
|
|
30009
|
+
const res = await useBaseApi(props.atoService).post(postdata, props.atoAction);
|
|
30010
|
+
const data = (_a = res.data.result) != null ? _a : [];
|
|
30011
|
+
if (data.length === 0) {
|
|
30012
|
+
return cb([]);
|
|
30013
|
+
}
|
|
30014
|
+
const results = data.map((item) => ({
|
|
30015
|
+
...item,
|
|
30016
|
+
displayText: `${item[props.vName]}`
|
|
30017
|
+
// 自定义展示格式
|
|
30018
|
+
//fullData: item // 保留原始对象
|
|
30019
|
+
}));
|
|
30020
|
+
cb(results);
|
|
30021
|
+
};
|
|
30022
|
+
const handleSelect = (item) => {
|
|
30023
|
+
for (let keyitem of props.vGroup) {
|
|
30024
|
+
if (!item[keyitem.key]) {
|
|
30025
|
+
continue;
|
|
30026
|
+
}
|
|
30027
|
+
modelValue.value[keyitem.key] = item[keyitem.key];
|
|
30028
|
+
}
|
|
30029
|
+
emit("select", item);
|
|
30030
|
+
};
|
|
30031
|
+
const resetValue = () => {
|
|
30032
|
+
for (let item of props.vGroup) {
|
|
30033
|
+
if (!item.key || item.key === "name") {
|
|
30034
|
+
continue;
|
|
30035
|
+
}
|
|
30036
|
+
modelValue.value[item.key] = item.value;
|
|
30037
|
+
}
|
|
30038
|
+
emit("reset");
|
|
30039
|
+
};
|
|
30040
|
+
const handleSelectDialogChange = (item) => {
|
|
30041
|
+
visibleopenDialog.value = false;
|
|
30042
|
+
for (let keyitem of props.vGroup) {
|
|
30043
|
+
if (!item[keyitem.key]) {
|
|
30044
|
+
continue;
|
|
30045
|
+
}
|
|
30046
|
+
modelValue.value[keyitem.key] = item[keyitem.key];
|
|
30047
|
+
}
|
|
30048
|
+
emit("select", item);
|
|
30049
|
+
};
|
|
30050
|
+
const handleRefresh = () => {
|
|
30051
|
+
if (tableDialogRef.value) {
|
|
30052
|
+
tableDialogRef.value.handleQuery();
|
|
30053
|
+
}
|
|
30054
|
+
};
|
|
30055
|
+
return (_ctx, _cache) => {
|
|
30056
|
+
const _component_el_icon = resolveComponent("el-icon");
|
|
30057
|
+
const _component_el_autocomplete = resolveComponent("el-autocomplete");
|
|
30058
|
+
return openBlock(), createBlock(_component_el_autocomplete, {
|
|
30059
|
+
modelValue: modelValue.value.name,
|
|
30060
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => modelValue.value.name = $event),
|
|
30061
|
+
debounce: 500,
|
|
30062
|
+
"fetch-suggestions": querySearchAsync,
|
|
30063
|
+
placeholder: props.placeholder,
|
|
30064
|
+
"trigger-on-focus": false,
|
|
30065
|
+
onSelect: handleSelect,
|
|
30066
|
+
style: { "margin-top": "-2px" }
|
|
29772
30067
|
}, createSlots({
|
|
29773
30068
|
default: withCtx(({ item }) => [
|
|
29774
30069
|
createElementVNode(
|
|
@@ -29801,8 +30096,10 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29801
30096
|
_: 1
|
|
29802
30097
|
/* STABLE */
|
|
29803
30098
|
}, 8, ["size"]),
|
|
29804
|
-
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$
|
|
30099
|
+
__props.openType == 0 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
29805
30100
|
key: 0,
|
|
30101
|
+
ref_key: "tableDialogRef",
|
|
30102
|
+
ref: tableDialogRef,
|
|
29806
30103
|
visible: visibleopenDialog.value,
|
|
29807
30104
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
29808
30105
|
orgService: __props.orgService,
|
|
@@ -29814,8 +30111,10 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29814
30111
|
userParams: __props.params,
|
|
29815
30112
|
onChange: handleSelectDialogChange
|
|
29816
30113
|
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29817
|
-
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$
|
|
30114
|
+
__props.openType == 1 ? (openBlock(), createBlock(_sfc_main$w, {
|
|
29818
30115
|
key: 1,
|
|
30116
|
+
ref_key: "tableDialogRef",
|
|
30117
|
+
ref: tableDialogRef,
|
|
29819
30118
|
visible: visibleopenDialog.value,
|
|
29820
30119
|
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
|
|
29821
30120
|
title: __props.title,
|
|
@@ -29824,7 +30123,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29824
30123
|
userParams: __props.params,
|
|
29825
30124
|
onChange: handleSelectDialogChange
|
|
29826
30125
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29827
|
-
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$
|
|
30126
|
+
__props.openType == 2 ? (openBlock(), createBlock(_sfc_main$x, {
|
|
29828
30127
|
key: 2,
|
|
29829
30128
|
ref_key: "tableDialogRef",
|
|
29830
30129
|
ref: tableDialogRef,
|
|
@@ -29837,8 +30136,10 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29837
30136
|
onChange: handleSelectDialogChange
|
|
29838
30137
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29839
30138
|
createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
|
|
29840
|
-
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$
|
|
30139
|
+
__props.openType == 3 ? (openBlock(), createBlock(_sfc_main$v, {
|
|
29841
30140
|
key: 3,
|
|
30141
|
+
ref_key: "tableDialogRef",
|
|
30142
|
+
ref: tableDialogRef,
|
|
29842
30143
|
visible: visibleopenDialog.value,
|
|
29843
30144
|
"onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visibleopenDialog.value = $event),
|
|
29844
30145
|
title: __props.title,
|
|
@@ -29848,8 +30149,10 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29848
30149
|
onChange: handleSelectDialogChange
|
|
29849
30150
|
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
|
|
29850
30151
|
createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
|
|
29851
|
-
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$
|
|
30152
|
+
__props.openType == 4 ? (openBlock(), createBlock(_sfc_main$u, {
|
|
29852
30153
|
key: 4,
|
|
30154
|
+
ref_key: "tableDialogRef",
|
|
30155
|
+
ref: tableDialogRef,
|
|
29853
30156
|
visible: visibleopenDialog.value,
|
|
29854
30157
|
"onUpdate:visible": _cache[5] || (_cache[5] = ($event) => visibleopenDialog.value = $event),
|
|
29855
30158
|
title: __props.title,
|
|
@@ -29859,8 +30162,10 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29859
30162
|
onChange: handleSelectDialogChange
|
|
29860
30163
|
}, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : createCommentVNode("v-if", true),
|
|
29861
30164
|
createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
|
|
29862
|
-
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$
|
|
30165
|
+
__props.openType == 5 ? (openBlock(), createBlock(_sfc_main$t, {
|
|
29863
30166
|
key: 5,
|
|
30167
|
+
ref_key: "tableDialogRef",
|
|
30168
|
+
ref: tableDialogRef,
|
|
29864
30169
|
visible: visibleopenDialog.value,
|
|
29865
30170
|
"onUpdate:visible": _cache[6] || (_cache[6] = ($event) => visibleopenDialog.value = $event),
|
|
29866
30171
|
title: __props.title,
|
|
@@ -29877,7 +30182,8 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29877
30182
|
}
|
|
29878
30183
|
});
|
|
29879
30184
|
|
|
29880
|
-
const FmAutocomplete = _sfc_main$
|
|
30185
|
+
const FmAutocomplete = _sfc_main$s;
|
|
30186
|
+
const FmAutocompleteExt = _sfc_main$r;
|
|
29881
30187
|
|
|
29882
30188
|
var _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
29883
30189
|
...{
|
|
@@ -30690,6 +30996,7 @@ const plugins = [
|
|
|
30690
30996
|
FmCascader,
|
|
30691
30997
|
FmInputNumber,
|
|
30692
30998
|
FmAutocomplete,
|
|
30999
|
+
FmAutocompleteExt,
|
|
30693
31000
|
FmSelect,
|
|
30694
31001
|
Fmdatepicker,
|
|
30695
31002
|
FmPeriod
|