@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.
Files changed (48) hide show
  1. package/es/component.mjs +2 -1
  2. package/es/components/fm-autocomplete/autoext.vue.d.ts +362 -0
  3. package/es/components/fm-autocomplete/component/accountSelectDialog.vue.d.ts +4 -1
  4. package/es/components/fm-autocomplete/component/subjectSelectDialog.vue.d.ts +4 -1
  5. package/es/components/fm-autocomplete/component/userSelectDialog.vue.d.ts +4 -1
  6. package/es/components/fm-autocomplete/index.d.ts +322 -0
  7. package/es/packages/components/fm-autocomplete/autoext.vue.mjs +5 -0
  8. package/es/packages/components/fm-autocomplete/autoext2.vue.mjs +320 -0
  9. package/es/packages/components/fm-autocomplete/component/accountSelectDialog2.vue.mjs +4 -2
  10. package/es/packages/components/fm-autocomplete/component/linSelectDialog2.vue.mjs +0 -1
  11. package/es/packages/components/fm-autocomplete/component/subjectSelectDialog2.vue.mjs +4 -2
  12. package/es/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.mjs +0 -1
  13. package/es/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.mjs +0 -1
  14. package/es/packages/components/fm-autocomplete/component/userSelectDialog2.vue.mjs +5 -3
  15. package/es/packages/components/fm-autocomplete/index.mjs +4 -1
  16. package/es/packages/components/fm-autocomplete/index2.vue.mjs +1 -1
  17. package/es/packages/components/index.mjs +1 -1
  18. package/index.js +409 -102
  19. package/index.min.js +7 -7
  20. package/index.min.mjs +7 -7
  21. package/index.mjs +409 -102
  22. package/lib/component.js +1 -0
  23. package/lib/components/fm-autocomplete/autoext.vue.d.ts +362 -0
  24. package/lib/components/fm-autocomplete/component/accountSelectDialog.vue.d.ts +4 -1
  25. package/lib/components/fm-autocomplete/component/subjectSelectDialog.vue.d.ts +4 -1
  26. package/lib/components/fm-autocomplete/component/userSelectDialog.vue.d.ts +4 -1
  27. package/lib/components/fm-autocomplete/index.d.ts +322 -0
  28. package/lib/packages/components/fm-autocomplete/autoext.vue.js +9 -0
  29. package/lib/packages/components/fm-autocomplete/autoext2.vue.js +324 -0
  30. package/lib/packages/components/fm-autocomplete/component/accountSelectDialog2.vue.js +4 -2
  31. package/lib/packages/components/fm-autocomplete/component/linSelectDialog2.vue.js +0 -1
  32. package/lib/packages/components/fm-autocomplete/component/subjectSelectDialog2.vue.js +4 -2
  33. package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.js +0 -1
  34. package/lib/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.js +0 -1
  35. package/lib/packages/components/fm-autocomplete/component/userSelectDialog2.vue.js +5 -3
  36. package/lib/packages/components/fm-autocomplete/index.js +4 -0
  37. package/lib/packages/components/fm-autocomplete/index2.vue.js +1 -1
  38. package/lib/packages/components/index.js +1 -0
  39. package/locale/en.js +1 -1
  40. package/locale/en.min.js +1 -1
  41. package/locale/en.min.mjs +1 -1
  42. package/locale/en.mjs +1 -1
  43. package/locale/zh-cn.js +1 -1
  44. package/locale/zh-cn.min.js +1 -1
  45. package/locale/zh-cn.min.mjs +1 -1
  46. package/locale/zh-cn.mjs +1 -1
  47. package/package.json +1 -1
  48. /package/lib/{defaults.css → component.css} +0 -0
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.141 */
1
+ /*! fmdeui-fmui v1.0.143 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
@@ -20416,7 +20416,7 @@
20416
20416
  app.use(VxeUITable);
20417
20417
  };
20418
20418
 
20419
- var _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
20419
+ var _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
20420
20420
  ...{
20421
20421
  name: "FButton"
20422
20422
  },
@@ -20486,7 +20486,7 @@
20486
20486
  }
20487
20487
  });
20488
20488
 
20489
- const FButton = _sfc_main$S;
20489
+ const FButton = _sfc_main$T;
20490
20490
 
20491
20491
  const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
20492
20492
  const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
@@ -21210,9 +21210,9 @@
21210
21210
  return setting;
21211
21211
  }
21212
21212
 
21213
- const _hoisted_1$B = { key: 0 };
21213
+ const _hoisted_1$C = { key: 0 };
21214
21214
  const _hoisted_2$p = { key: 0 };
21215
- var _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
21215
+ var _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
21216
21216
  ...{
21217
21217
  name: "FInput"
21218
21218
  },
@@ -21419,7 +21419,7 @@
21419
21419
  fn: vue.withCtx(() => [
21420
21420
  __props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
21421
21421
  "span",
21422
- _hoisted_1$B,
21422
+ _hoisted_1$C,
21423
21423
  vue.toDisplayString(appendTitleText.value),
21424
21424
  1
21425
21425
  /* TEXT */
@@ -21465,13 +21465,13 @@
21465
21465
  }
21466
21466
  });
21467
21467
 
21468
- const FInput = _sfc_main$R;
21468
+ const FInput = _sfc_main$S;
21469
21469
 
21470
- const _hoisted_1$A = {
21470
+ const _hoisted_1$B = {
21471
21471
  key: 0,
21472
21472
  class: "back_to_top"
21473
21473
  };
21474
- var _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
21474
+ var _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
21475
21475
  ...{
21476
21476
  name: "FLayoutPage"
21477
21477
  },
@@ -21533,7 +21533,7 @@
21533
21533
  },
21534
21534
  [
21535
21535
  vue.renderSlot(_ctx.$slots, "default"),
21536
- __props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
21536
+ __props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
21537
21537
  isShowGoTopButton.value ? (vue.openBlock(), vue.createElementBlock("div", {
21538
21538
  key: 0,
21539
21539
  onClick: backToTop
@@ -21561,9 +21561,9 @@
21561
21561
  }
21562
21562
  });
21563
21563
 
21564
- const FLayoutPage = _sfc_main$Q;
21564
+ const FLayoutPage = _sfc_main$R;
21565
21565
 
21566
- var _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
21566
+ var _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
21567
21567
  ...{
21568
21568
  name: "FLayoutPageItem"
21569
21569
  },
@@ -21591,7 +21591,7 @@
21591
21591
  }
21592
21592
  });
21593
21593
 
21594
- const FLayoutPageItem = _sfc_main$P;
21594
+ const FLayoutPageItem = _sfc_main$Q;
21595
21595
 
21596
21596
  function debounce(func, delay = 500, immediate, resultCallback) {
21597
21597
  let timer = null;
@@ -21634,8 +21634,8 @@
21634
21634
  return name.replace(/([A-Z])/g, "_$1").toLowerCase();
21635
21635
  }
21636
21636
 
21637
- const _hoisted_1$z = ["id"];
21638
- var _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
21637
+ const _hoisted_1$A = ["id"];
21638
+ var _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
21639
21639
  ...{
21640
21640
  name: "FChart"
21641
21641
  },
@@ -21719,7 +21719,7 @@
21719
21719
  id: __props.id,
21720
21720
  ref_key: "echartRef",
21721
21721
  ref: echartRef
21722
- }, null, 8, _hoisted_1$z), [
21722
+ }, null, 8, _hoisted_1$A), [
21723
21723
  [vue.vShow, !formatEmpty.value]
21724
21724
  ]),
21725
21725
  formatEmpty.value ? vue.renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
@@ -21734,13 +21734,13 @@
21734
21734
  }
21735
21735
  });
21736
21736
 
21737
- const FChart = _sfc_main$O;
21737
+ const FChart = _sfc_main$P;
21738
21738
 
21739
- const _hoisted_1$y = {
21739
+ const _hoisted_1$z = {
21740
21740
  key: 1,
21741
21741
  class: "f_select__pagination"
21742
21742
  };
21743
- var _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
21743
+ var _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
21744
21744
  ...{
21745
21745
  name: "FSelect"
21746
21746
  },
@@ -21953,7 +21953,7 @@
21953
21953
  128
21954
21954
  /* KEYED_FRAGMENT */
21955
21955
  )),
21956
- __props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
21956
+ __props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
21957
21957
  vue.createVNode(_component_el_pagination, vue.mergeProps({
21958
21958
  "current-page": __props.paginationOption.currentPage,
21959
21959
  "onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
@@ -21991,9 +21991,9 @@
21991
21991
  }
21992
21992
  });
21993
21993
 
21994
- const FSelect = _sfc_main$N;
21994
+ const FSelect = _sfc_main$O;
21995
21995
 
21996
- var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
21996
+ var _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
21997
21997
  ...{
21998
21998
  name: "RenderComp"
21999
21999
  },
@@ -22013,12 +22013,12 @@
22013
22013
  }
22014
22014
  });
22015
22015
 
22016
- const _hoisted_1$x = { class: "inside_box" };
22016
+ const _hoisted_1$y = { class: "inside_box" };
22017
22017
  const _hoisted_2$o = { class: "inside_box_title" };
22018
22018
  const _hoisted_3$g = { class: "check-box" };
22019
22019
  const _hoisted_4$9 = { class: "more_dropdown_icon" };
22020
22020
  const _hoisted_5$8 = { class: "out_box" };
22021
- var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
22021
+ var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
22022
22022
  ...{
22023
22023
  name: "MoreChoose"
22024
22024
  },
@@ -22156,7 +22156,7 @@
22156
22156
  ])
22157
22157
  ]),
22158
22158
  default: vue.withCtx(() => [
22159
- vue.createElementVNode("div", _hoisted_1$x, [
22159
+ vue.createElementVNode("div", _hoisted_1$y, [
22160
22160
  vue.createElementVNode("div", _hoisted_2$o, [
22161
22161
  vue.createElementVNode(
22162
22162
  "div",
@@ -22333,7 +22333,7 @@
22333
22333
  };
22334
22334
  }
22335
22335
 
22336
- var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
22336
+ var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
22337
22337
  ...{
22338
22338
  name: "FQueryCondition"
22339
22339
  },
@@ -22752,7 +22752,7 @@
22752
22752
  opt.labelRender ? {
22753
22753
  name: "label",
22754
22754
  fn: vue.withCtx(() => [
22755
- vue.createVNode(_sfc_main$M, {
22755
+ vue.createVNode(_sfc_main$N, {
22756
22756
  form: vue.unref(queryState).form,
22757
22757
  render: opt.labelRender
22758
22758
  }, null, 8, ["form", "render"])
@@ -22848,7 +22848,7 @@
22848
22848
  _: 1
22849
22849
  /* STABLE */
22850
22850
  })) : vue.createCommentVNode("v-if", true),
22851
- vue.createVNode(_sfc_main$L, {
22851
+ vue.createVNode(_sfc_main$M, {
22852
22852
  isDropDownSelectMore: __props.isDropDownSelectMore,
22853
22853
  moreCheckList: __props.moreCheckList,
22854
22854
  popoverAttrsBind: popoverAttrsBind.value,
@@ -22874,7 +22874,7 @@
22874
22874
  }
22875
22875
  });
22876
22876
 
22877
- var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
22877
+ var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
22878
22878
  ...{
22879
22879
  name: "RenderCol"
22880
22880
  },
@@ -23030,7 +23030,7 @@
23030
23030
  };
23031
23031
  }
23032
23032
 
23033
- const _hoisted_1$w = {
23033
+ const _hoisted_1$x = {
23034
23034
  key: 0,
23035
23035
  class: "table_query_condition"
23036
23036
  };
@@ -23040,7 +23040,7 @@
23040
23040
  key: 0,
23041
23041
  class: "f-table-select__page"
23042
23042
  };
23043
- var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
23043
+ var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
23044
23044
  ...{
23045
23045
  name: "FSelectTable"
23046
23046
  },
@@ -23662,9 +23662,9 @@
23662
23662
  style: vue.normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
23663
23663
  },
23664
23664
  [
23665
- __props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
23665
+ __props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
23666
23666
  vue.createVNode(
23667
- _sfc_main$K,
23667
+ _sfc_main$L,
23668
23668
  vue.mergeProps({
23669
23669
  ref_key: "fQueryConditionRef",
23670
23670
  ref: fQueryConditionRef,
@@ -23790,7 +23790,7 @@
23790
23790
  fixed: item.fixed
23791
23791
  }, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
23792
23792
  default: vue.withCtx((scope) => [
23793
- item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$J, {
23793
+ item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$K, {
23794
23794
  key: 0,
23795
23795
  column: item,
23796
23796
  row: scope.row,
@@ -23853,11 +23853,11 @@
23853
23853
  }
23854
23854
  });
23855
23855
 
23856
- const FSelectTable = _sfc_main$I;
23856
+ const FSelectTable = _sfc_main$J;
23857
23857
 
23858
- const FQueryCondition = _sfc_main$K;
23858
+ const FQueryCondition = _sfc_main$L;
23859
23859
 
23860
- var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
23860
+ var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
23861
23861
  ...{
23862
23862
  name: "RenderComp"
23863
23863
  },
@@ -23877,7 +23877,7 @@
23877
23877
  }
23878
23878
  });
23879
23879
 
23880
- var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
23880
+ var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
23881
23881
  ...{
23882
23882
  name: "RenderBtn"
23883
23883
  },
@@ -23897,12 +23897,12 @@
23897
23897
  }
23898
23898
  });
23899
23899
 
23900
- const _hoisted_1$v = {
23900
+ const _hoisted_1$w = {
23901
23901
  key: 1,
23902
23902
  class: "text_show"
23903
23903
  };
23904
23904
  const _hoisted_2$m = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23905
- var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
23905
+ var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
23906
23906
  ...{
23907
23907
  name: "FForm"
23908
23908
  },
@@ -24153,7 +24153,7 @@
24153
24153
  }) : vue.createCommentVNode("v-if", true),
24154
24154
  item.textShow ? (vue.openBlock(), vue.createElementBlock(
24155
24155
  "span",
24156
- _hoisted_1$v,
24156
+ _hoisted_1$w,
24157
24157
  vue.toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
24158
24158
  1
24159
24159
  /* TEXT */
@@ -24273,7 +24273,7 @@
24273
24273
  item.labelSlotName || item.labelRender ? {
24274
24274
  name: "label",
24275
24275
  fn: vue.withCtx(() => [
24276
- item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$H, {
24276
+ item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$I, {
24277
24277
  key: 0,
24278
24278
  render: item.labelRender,
24279
24279
  item
@@ -24305,7 +24305,7 @@
24305
24305
  vue.Fragment,
24306
24306
  null,
24307
24307
  [
24308
- val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
24308
+ val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$H, {
24309
24309
  key: index,
24310
24310
  item: val,
24311
24311
  render: val.render
@@ -24352,10 +24352,10 @@
24352
24352
  }
24353
24353
  });
24354
24354
 
24355
- const FForm = _sfc_main$F;
24355
+ const FForm = _sfc_main$G;
24356
24356
 
24357
- const _hoisted_1$u = ["src"];
24358
- var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
24357
+ const _hoisted_1$v = ["src"];
24358
+ var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
24359
24359
  ...{
24360
24360
  name: "svgIcon"
24361
24361
  },
@@ -24426,7 +24426,7 @@
24426
24426
  vue.createElementVNode("img", {
24427
24427
  src: getIconName.value,
24428
24428
  style: vue.normalizeStyle(setIconSvgInsStyle.value)
24429
- }, null, 12, _hoisted_1$u)
24429
+ }, null, 12, _hoisted_1$v)
24430
24430
  ],
24431
24431
  4
24432
24432
  /* STYLE */
@@ -24453,13 +24453,13 @@
24453
24453
  }
24454
24454
  }
24455
24455
  if (!app._context.components[`SvgIcon`]) {
24456
- app.component("SvgIcon", _sfc_main$E);
24456
+ app.component("SvgIcon", _sfc_main$F);
24457
24457
  }
24458
24458
  }
24459
24459
 
24460
24460
  const emitter = mitt();
24461
24461
 
24462
- var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
24462
+ var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
24463
24463
  ...{
24464
24464
  name: "FLayout"
24465
24465
  },
@@ -24545,7 +24545,7 @@
24545
24545
  }
24546
24546
  });
24547
24547
 
24548
- const FLayout = _sfc_main$D;
24548
+ const FLayout = _sfc_main$E;
24549
24549
 
24550
24550
  function commonFunction() {
24551
24551
  const { copy, isSupported } = core.useClipboard();
@@ -24822,7 +24822,7 @@
24822
24822
  // },
24823
24823
  };
24824
24824
 
24825
- const _hoisted_1$t = { class: "layout-breadcrumb-seting" };
24825
+ const _hoisted_1$u = { class: "layout-breadcrumb-seting" };
24826
24826
  const _hoisted_2$l = { class: "layout-breadcrumb-seting-bar-flex" };
24827
24827
  const _hoisted_3$e = { class: "layout-breadcrumb-seting-bar-flex-label" };
24828
24828
  const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
@@ -24947,7 +24947,7 @@
24947
24947
  class: "traditionalColors-chines",
24948
24948
  style: { "cursor": "grab", "color": "gray" }
24949
24949
  };
24950
- var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
24950
+ var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
24951
24951
  ...{
24952
24952
  name: "FSettings"
24953
24953
  },
@@ -25211,7 +25211,7 @@
25211
25211
  const _component_el_col = vue.resolveComponent("el-col");
25212
25212
  const _component_el_row = vue.resolveComponent("el-row");
25213
25213
  const _component_el_dialog = vue.resolveComponent("el-dialog");
25214
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
25214
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
25215
25215
  vue.createVNode(_component_el_drawer, {
25216
25216
  title: _ctx.$t("message.layout.configTitle"),
25217
25217
  modelValue: getThemeConfig.value.isDrawer,
@@ -26710,9 +26710,9 @@
26710
26710
  }
26711
26711
  });
26712
26712
 
26713
- const FSettings = _sfc_main$C;
26713
+ const FSettings = _sfc_main$D;
26714
26714
 
26715
- var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
26715
+ var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
26716
26716
  ...{
26717
26717
  name: "FModifyRecord"
26718
26718
  },
@@ -26975,10 +26975,10 @@
26975
26975
  }
26976
26976
  });
26977
26977
 
26978
- const FModifyRecord = _sfc_main$B;
26978
+ const FModifyRecord = _sfc_main$C;
26979
26979
 
26980
- const _hoisted_1$s = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
26981
- var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
26980
+ const _hoisted_1$t = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
26981
+ var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
26982
26982
  ...{
26983
26983
  name: "FmSelect"
26984
26984
  },
@@ -27137,7 +27137,7 @@
27137
27137
  onClear: handelClear
27138
27138
  }, {
27139
27139
  header: vue.withCtx(() => [
27140
- vue.createElementVNode("div", _hoisted_1$s, [
27140
+ vue.createElementVNode("div", _hoisted_1$t, [
27141
27141
  vue.createVNode(_component_el_icon, {
27142
27142
  color: "#13c2c2",
27143
27143
  size: __props.freshSize,
@@ -27179,9 +27179,9 @@
27179
27179
  }
27180
27180
  });
27181
27181
 
27182
- const FmSelect = _sfc_main$A;
27182
+ const FmSelect = _sfc_main$B;
27183
27183
 
27184
- var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
27184
+ var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
27185
27185
  ...{
27186
27186
  name: "Fminputdropdown"
27187
27187
  },
@@ -27379,9 +27379,9 @@
27379
27379
  }
27380
27380
  });
27381
27381
 
27382
- const Fminputdropdown = _sfc_main$z;
27382
+ const Fminputdropdown = _sfc_main$A;
27383
27383
 
27384
- var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
27384
+ var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
27385
27385
  ...{ name: "FmInputNumber" },
27386
27386
  __name: "index",
27387
27387
  props: /* @__PURE__ */ vue.mergeModels({
@@ -27497,14 +27497,14 @@
27497
27497
  }
27498
27498
  });
27499
27499
 
27500
- const FmInputNumber = _sfc_main$y;
27500
+ const FmInputNumber = _sfc_main$z;
27501
27501
 
27502
- const _hoisted_1$r = { style: { "color": "#fff" } };
27502
+ const _hoisted_1$s = { style: { "color": "#fff" } };
27503
27503
  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" } };
27504
27504
  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" } };
27505
27505
  const _hoisted_4$6 = { style: { "margin-top": "10px" } };
27506
27506
  const _hoisted_5$6 = { class: "dialog-footer" };
27507
- var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
27507
+ var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
27508
27508
  __name: "userSelectDialog",
27509
27509
  props: {
27510
27510
  visible: {
@@ -27550,7 +27550,7 @@
27550
27550
  }
27551
27551
  },
27552
27552
  emits: ["update:visible", "change"],
27553
- setup(__props, { emit: __emit }) {
27553
+ setup(__props, { expose: __expose, emit: __emit }) {
27554
27554
  let emits = __emit;
27555
27555
  const props = __props;
27556
27556
  const userList = vue.ref([]);
@@ -27572,7 +27572,6 @@
27572
27572
  }
27573
27573
  });
27574
27574
  vue.onMounted(async () => {
27575
- await getUserList();
27576
27575
  });
27577
27576
  const resetQuery = () => {
27578
27577
  state.queryParams = {};
@@ -27598,7 +27597,7 @@
27598
27597
  }
27599
27598
  function handleSelectUser(row) {
27600
27599
  if (!row || row.id == "") return;
27601
- emits("change", { id: row.id, name: row.realName, data: row });
27600
+ emits("change", row);
27602
27601
  }
27603
27602
  const handledbclick = (row) => {
27604
27603
  handleSelectUser(row);
@@ -27615,6 +27614,9 @@
27615
27614
  checkedUsersList.value = [];
27616
27615
  emits("update:visible", false);
27617
27616
  };
27617
+ __expose({
27618
+ handleQuery
27619
+ });
27618
27620
  return (_ctx, _cache) => {
27619
27621
  const _component_ele_Edit = vue.resolveComponent("ele-Edit");
27620
27622
  const _component_el_icon = vue.resolveComponent("el-icon");
@@ -27641,7 +27643,7 @@
27641
27643
  "close-on-click-modal": false
27642
27644
  }, {
27643
27645
  header: vue.withCtx(() => [
27644
- vue.createElementVNode("div", _hoisted_1$r, [
27646
+ vue.createElementVNode("div", _hoisted_1$s, [
27645
27647
  vue.createVNode(_component_el_icon, {
27646
27648
  size: "16",
27647
27649
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -27893,10 +27895,10 @@
27893
27895
  }
27894
27896
  });
27895
27897
 
27896
- const _hoisted_1$q = { style: { "color": "#fff" } };
27898
+ const _hoisted_1$r = { style: { "color": "#fff" } };
27897
27899
  const _hoisted_2$j = { style: { "margin-top": "10px" } };
27898
27900
  const _hoisted_3$c = { class: "dialog-footer" };
27899
- var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
27901
+ var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
27900
27902
  __name: "supplierSelectDialog",
27901
27903
  props: {
27902
27904
  visible: {
@@ -27949,7 +27951,6 @@
27949
27951
  }
27950
27952
  });
27951
27953
  vue.onMounted(async () => {
27952
- await getUserList();
27953
27954
  });
27954
27955
  const resetQuery = () => {
27955
27956
  state.queryParams = {};
@@ -28019,7 +28020,7 @@
28019
28020
  "close-on-click-modal": false
28020
28021
  }, {
28021
28022
  header: vue.withCtx(() => [
28022
- vue.createElementVNode("div", _hoisted_1$q, [
28023
+ vue.createElementVNode("div", _hoisted_1$r, [
28023
28024
  vue.createVNode(_component_el_icon, {
28024
28025
  size: "16",
28025
28026
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -28273,10 +28274,10 @@
28273
28274
  }
28274
28275
  });
28275
28276
 
28276
- const _hoisted_1$p = { style: { "color": "#fff" } };
28277
+ const _hoisted_1$q = { style: { "color": "#fff" } };
28277
28278
  const _hoisted_2$i = { style: { "margin-top": "10px" } };
28278
28279
  const _hoisted_3$b = { class: "dialog-footer" };
28279
- var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
28280
+ var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
28280
28281
  __name: "supplierUserSelectDialog",
28281
28282
  props: {
28282
28283
  visible: {
@@ -28329,7 +28330,6 @@
28329
28330
  }
28330
28331
  });
28331
28332
  vue.onMounted(async () => {
28332
- await getUserList();
28333
28333
  });
28334
28334
  const resetQuery = () => {
28335
28335
  state.queryParams = {};
@@ -28392,7 +28392,7 @@
28392
28392
  "close-on-click-modal": false
28393
28393
  }, {
28394
28394
  header: vue.withCtx(() => [
28395
- vue.createElementVNode("div", _hoisted_1$p, [
28395
+ vue.createElementVNode("div", _hoisted_1$q, [
28396
28396
  vue.createVNode(_component_el_icon, {
28397
28397
  size: "16",
28398
28398
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -28603,10 +28603,10 @@
28603
28603
  }
28604
28604
  });
28605
28605
 
28606
- const _hoisted_1$o = { style: { "color": "#fff" } };
28606
+ const _hoisted_1$p = { style: { "color": "#fff" } };
28607
28607
  const _hoisted_2$h = { style: { "margin-top": "10px" } };
28608
28608
  const _hoisted_3$a = { class: "dialog-footer" };
28609
- var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
28609
+ var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
28610
28610
  __name: "accountSelectDialog",
28611
28611
  props: {
28612
28612
  visible: {
@@ -28636,7 +28636,7 @@
28636
28636
  }
28637
28637
  },
28638
28638
  emits: ["update:visible", "change"],
28639
- setup(__props, { emit: __emit }) {
28639
+ setup(__props, { expose: __expose, emit: __emit }) {
28640
28640
  let emits = __emit;
28641
28641
  const props = __props;
28642
28642
  const userList = vue.ref([]);
@@ -28657,7 +28657,6 @@
28657
28657
  }
28658
28658
  });
28659
28659
  vue.onMounted(async () => {
28660
- await getUserList();
28661
28660
  });
28662
28661
  const resetQuery = () => {
28663
28662
  state.queryParams = {};
@@ -28692,6 +28691,9 @@
28692
28691
  checkedUsersList.value = [];
28693
28692
  emits("update:visible", false);
28694
28693
  };
28694
+ __expose({
28695
+ handleQuery
28696
+ });
28695
28697
  return (_ctx, _cache) => {
28696
28698
  const _component_ele_Edit = vue.resolveComponent("ele-Edit");
28697
28699
  const _component_el_icon = vue.resolveComponent("el-icon");
@@ -28717,7 +28719,7 @@
28717
28719
  "close-on-click-modal": false
28718
28720
  }, {
28719
28721
  header: vue.withCtx(() => [
28720
- vue.createElementVNode("div", _hoisted_1$o, [
28722
+ vue.createElementVNode("div", _hoisted_1$p, [
28721
28723
  vue.createVNode(_component_el_icon, {
28722
28724
  size: "16",
28723
28725
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -28922,12 +28924,12 @@
28922
28924
  }
28923
28925
  });
28924
28926
 
28925
- const _hoisted_1$n = { style: { "color": "#fff" } };
28927
+ const _hoisted_1$o = { style: { "color": "#fff" } };
28926
28928
  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" } };
28927
28929
  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" } };
28928
28930
  const _hoisted_4$5 = { style: { "margin-top": "10px" } };
28929
28931
  const _hoisted_5$5 = { class: "dialog-footer" };
28930
- var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
28932
+ var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
28931
28933
  __name: "subjectSelectDialog",
28932
28934
  props: {
28933
28935
  visible: {
@@ -28957,7 +28959,7 @@
28957
28959
  }
28958
28960
  },
28959
28961
  emits: ["update:visible", "change"],
28960
- setup(__props, { emit: __emit }) {
28962
+ setup(__props, { expose: __expose, emit: __emit }) {
28961
28963
  let emits = __emit;
28962
28964
  const props = __props;
28963
28965
  let visibleDialog = vue.computed({
@@ -28977,7 +28979,6 @@
28977
28979
  });
28978
28980
  const tableList = vue.ref([]);
28979
28981
  vue.onMounted(async () => {
28980
- await getTableList();
28981
28982
  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: "" }];
28982
28983
  });
28983
28984
  const getTableList = async () => {
@@ -29006,6 +29007,9 @@
29006
29007
  const closeDialog = () => {
29007
29008
  emits("update:visible", false);
29008
29009
  };
29010
+ __expose({
29011
+ handleQuery
29012
+ });
29009
29013
  return (_ctx, _cache) => {
29010
29014
  const _component_ele_Edit = vue.resolveComponent("ele-Edit");
29011
29015
  const _component_el_icon = vue.resolveComponent("el-icon");
@@ -29031,7 +29035,7 @@
29031
29035
  "close-on-click-modal": false
29032
29036
  }, {
29033
29037
  header: vue.withCtx(() => [
29034
- vue.createElementVNode("div", _hoisted_1$n, [
29038
+ vue.createElementVNode("div", _hoisted_1$o, [
29035
29039
  vue.createVNode(_component_el_icon, {
29036
29040
  size: "16",
29037
29041
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -29246,10 +29250,10 @@
29246
29250
  }
29247
29251
  });
29248
29252
 
29249
- const _hoisted_1$m = { style: { "color": "#fff" } };
29253
+ const _hoisted_1$n = { style: { "color": "#fff" } };
29250
29254
  const _hoisted_2$f = { style: { "margin-top": "10px" } };
29251
29255
  const _hoisted_3$8 = { class: "dialog-footer" };
29252
- var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
29256
+ var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
29253
29257
  __name: "linSelectDialog",
29254
29258
  props: {
29255
29259
  visible: {
@@ -29302,7 +29306,6 @@
29302
29306
  }
29303
29307
  });
29304
29308
  vue.onMounted(async () => {
29305
- await getUserList();
29306
29309
  });
29307
29310
  const resetQuery = () => {
29308
29311
  state.queryParams = {};
@@ -29365,7 +29368,7 @@
29365
29368
  "close-on-click-modal": false
29366
29369
  }, {
29367
29370
  header: vue.withCtx(() => [
29368
- vue.createElementVNode("div", _hoisted_1$m, [
29371
+ vue.createElementVNode("div", _hoisted_1$n, [
29369
29372
  vue.createVNode(_component_el_icon, {
29370
29373
  size: "16",
29371
29374
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -29588,8 +29591,8 @@
29588
29591
  }
29589
29592
  });
29590
29593
 
29591
- const _hoisted_1$l = { style: { "font-size": "14px", "line-height": "30px" } };
29592
- var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
29594
+ const _hoisted_1$m = { style: { "font-size": "14px", "line-height": "30px" } };
29595
+ var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
29593
29596
  ...{
29594
29597
  name: "FmAutocomplete"
29595
29598
  },
@@ -29700,7 +29703,7 @@
29700
29703
  },
29701
29704
  refresh: {
29702
29705
  type: Boolean,
29703
- default: false
29706
+ default: true
29704
29707
  }
29705
29708
  }, {
29706
29709
  "name": {
@@ -29771,6 +29774,298 @@
29771
29774
  "trigger-on-focus": false,
29772
29775
  onSelect: handleSelect,
29773
29776
  style: { "margin-top": "-2px" }
29777
+ }, vue.createSlots({
29778
+ default: vue.withCtx(({ item }) => [
29779
+ vue.createElementVNode(
29780
+ "div",
29781
+ _hoisted_1$m,
29782
+ vue.toDisplayString(item[__props.vName]) + " " + vue.toDisplayString(__props.vLabel != "" ? "(" + item[__props.vLabel] + ")" : ""),
29783
+ 1
29784
+ /* TEXT */
29785
+ )
29786
+ ]),
29787
+ _: 2
29788
+ /* DYNAMIC */
29789
+ }, [
29790
+ __props.openType > -1 ? {
29791
+ name: "suffix",
29792
+ fn: vue.withCtx(() => [
29793
+ vue.createVNode(_component_el_icon, {
29794
+ color: "#E6A23C",
29795
+ size: __props.searchsize,
29796
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
29797
+ visibleopenDialog.value = true;
29798
+ if (props.refresh) {
29799
+ handleRefresh();
29800
+ }
29801
+ }, ["stop"]))
29802
+ }, {
29803
+ default: vue.withCtx(() => [
29804
+ vue.createVNode(vue.unref(svg.Search))
29805
+ ]),
29806
+ _: 1
29807
+ /* STABLE */
29808
+ }, 8, ["size"]),
29809
+ __props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
29810
+ key: 0,
29811
+ visible: visibleopenDialog.value,
29812
+ "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
29813
+ orgService: __props.orgService,
29814
+ orgAction: __props.orgAction,
29815
+ orgparas: __props.params,
29816
+ title: __props.title,
29817
+ userService: __props.userService,
29818
+ userAction: __props.userAction,
29819
+ userParams: __props.params,
29820
+ onChange: handleSelectDialogChange
29821
+ }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29822
+ __props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
29823
+ key: 1,
29824
+ visible: visibleopenDialog.value,
29825
+ "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
29826
+ title: __props.title,
29827
+ userService: __props.userService,
29828
+ userAction: __props.userAction,
29829
+ userParams: __props.params,
29830
+ onChange: handleSelectDialogChange
29831
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29832
+ __props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
29833
+ key: 2,
29834
+ ref_key: "tableDialogRef",
29835
+ ref: tableDialogRef,
29836
+ visible: visibleopenDialog.value,
29837
+ "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => visibleopenDialog.value = $event),
29838
+ title: __props.title,
29839
+ userService: __props.userService,
29840
+ userAction: __props.userAction,
29841
+ userParams: __props.params,
29842
+ onChange: handleSelectDialogChange
29843
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29844
+ vue.createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
29845
+ __props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
29846
+ key: 3,
29847
+ visible: visibleopenDialog.value,
29848
+ "onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visibleopenDialog.value = $event),
29849
+ title: __props.title,
29850
+ userService: __props.accountService,
29851
+ userAction: __props.accountAction,
29852
+ userParams: __props.params,
29853
+ onChange: handleSelectDialogChange
29854
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29855
+ vue.createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
29856
+ __props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
29857
+ key: 4,
29858
+ visible: visibleopenDialog.value,
29859
+ "onUpdate:visible": _cache[5] || (_cache[5] = ($event) => visibleopenDialog.value = $event),
29860
+ title: __props.title,
29861
+ subjectService: __props.subjectService,
29862
+ subjectAction: __props.subjectAction,
29863
+ subjectParams: __props.params,
29864
+ onChange: handleSelectDialogChange
29865
+ }, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : vue.createCommentVNode("v-if", true),
29866
+ vue.createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
29867
+ __props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
29868
+ key: 5,
29869
+ visible: visibleopenDialog.value,
29870
+ "onUpdate:visible": _cache[6] || (_cache[6] = ($event) => visibleopenDialog.value = $event),
29871
+ title: __props.title,
29872
+ userService: __props.userService,
29873
+ userAction: __props.userAction,
29874
+ userParams: __props.params,
29875
+ onChange: handleSelectDialogChange
29876
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true)
29877
+ ]),
29878
+ key: "0"
29879
+ } : void 0
29880
+ ]), 1032, ["modelValue", "placeholder"]);
29881
+ };
29882
+ }
29883
+ });
29884
+
29885
+ const _hoisted_1$l = { style: { "font-size": "14px", "line-height": "30px" } };
29886
+ var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
29887
+ ...{
29888
+ name: "FmAutocompleteExt"
29889
+ },
29890
+ __name: "autoext",
29891
+ props: /* @__PURE__ */ vue.mergeModels({
29892
+ placeholder: {
29893
+ type: String,
29894
+ default: "\u8BF7\u8F93\u5165\u5FEB\u901F\u641C\u7D22\u9009\u62E9"
29895
+ },
29896
+ /**
29897
+ * ato service name
29898
+ */
29899
+ atoService: {
29900
+ type: String,
29901
+ default: "autoRes"
29902
+ },
29903
+ /**
29904
+ * ato service 下的方法
29905
+ */
29906
+ atoAction: {
29907
+ type: String,
29908
+ default: "autoUser"
29909
+ },
29910
+ top: {
29911
+ type: Number,
29912
+ default: 15
29913
+ },
29914
+ searchsize: {
29915
+ type: Number,
29916
+ default: 22
29917
+ },
29918
+ /**
29919
+ * 值的属性标签
29920
+ */
29921
+ vName: {
29922
+ type: String,
29923
+ default: "name"
29924
+ },
29925
+ vGroup: {
29926
+ type: Array,
29927
+ default: () => []
29928
+ },
29929
+ /**
29930
+ * 过滤出来显示的名称 加上属性标签
29931
+ */
29932
+ vLabel: {
29933
+ type: String,
29934
+ default: ""
29935
+ },
29936
+ /**
29937
+ * 查询业务表ID
29938
+ */
29939
+ qId: {
29940
+ type: Number,
29941
+ default: 0
29942
+ },
29943
+ title: {
29944
+ type: String,
29945
+ default: ""
29946
+ },
29947
+ params: {
29948
+ type: Object,
29949
+ default: () => {
29950
+ }
29951
+ },
29952
+ /**
29953
+ * 打开类型 0--用户加机构 1-- 联系人 2-- 供应商单位 3-- 银行账户 4--科目 5--线路
29954
+ * @default 0
29955
+ */
29956
+ openType: {
29957
+ type: Number,
29958
+ default: 0
29959
+ },
29960
+ orgService: {
29961
+ type: String,
29962
+ default: "autoRes"
29963
+ },
29964
+ orgAction: {
29965
+ type: String,
29966
+ default: "userOrgList"
29967
+ },
29968
+ userService: {
29969
+ type: String,
29970
+ default: "autoRes"
29971
+ },
29972
+ userAction: {
29973
+ type: String,
29974
+ default: "UserTable"
29975
+ },
29976
+ subjectService: {
29977
+ type: String,
29978
+ default: "autoRes"
29979
+ },
29980
+ subjectAction: {
29981
+ type: String,
29982
+ default: "subjectTable"
29983
+ },
29984
+ accountService: {
29985
+ type: String,
29986
+ default: "autoRes"
29987
+ },
29988
+ accountAction: {
29989
+ type: String,
29990
+ default: "accountTable"
29991
+ },
29992
+ refresh: {
29993
+ type: Boolean,
29994
+ default: true
29995
+ }
29996
+ }, {
29997
+ "modelValue": {},
29998
+ "modelModifiers": {}
29999
+ }),
30000
+ emits: /* @__PURE__ */ vue.mergeModels(["select", "reset"], ["update:modelValue"]),
30001
+ setup(__props, { emit: __emit }) {
30002
+ const modelValue = vue.useModel(__props, "modelValue");
30003
+ const props = __props;
30004
+ const visibleopenDialog = vue.ref(false);
30005
+ const tableDialogRef = vue.ref();
30006
+ const emit = __emit;
30007
+ const querySearchAsync = async (queryString, cb) => {
30008
+ var _a;
30009
+ resetValue();
30010
+ const postdata = { keywork: queryString, id: props.qId, ...props.params };
30011
+ const res = await useBaseApi(props.atoService).post(postdata, props.atoAction);
30012
+ const data = (_a = res.data.result) != null ? _a : [];
30013
+ if (data.length === 0) {
30014
+ return cb([]);
30015
+ }
30016
+ const results = data.map((item) => ({
30017
+ ...item,
30018
+ displayText: `${item[props.vName]}`
30019
+ // 自定义展示格式
30020
+ //fullData: item // 保留原始对象
30021
+ }));
30022
+ cb(results);
30023
+ };
30024
+ const handleSelect = (item) => {
30025
+ for (let keyitem of props.vGroup) {
30026
+ if (!item[keyitem.key]) {
30027
+ continue;
30028
+ }
30029
+ modelValue.value[keyitem.key] = item[keyitem.key];
30030
+ }
30031
+ emit("select", item);
30032
+ };
30033
+ const resetValue = () => {
30034
+ for (let item of props.vGroup) {
30035
+ if (!item.key || item.key === "name") {
30036
+ continue;
30037
+ }
30038
+ modelValue.value[item.key] = item.value;
30039
+ }
30040
+ emit("reset");
30041
+ };
30042
+ const handleSelectDialogChange = (item) => {
30043
+ visibleopenDialog.value = false;
30044
+ for (let keyitem of props.vGroup) {
30045
+ if (!item[keyitem.key]) {
30046
+ continue;
30047
+ }
30048
+ modelValue.value[keyitem.key] = item[keyitem.key];
30049
+ }
30050
+ emit("select", item);
30051
+ };
30052
+ const handleRefresh = () => {
30053
+ if (tableDialogRef.value) {
30054
+ tableDialogRef.value.handleQuery();
30055
+ }
30056
+ };
30057
+ return (_ctx, _cache) => {
30058
+ const _component_el_icon = vue.resolveComponent("el-icon");
30059
+ const _component_el_autocomplete = vue.resolveComponent("el-autocomplete");
30060
+ return vue.openBlock(), vue.createBlock(_component_el_autocomplete, {
30061
+ modelValue: modelValue.value.name,
30062
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => modelValue.value.name = $event),
30063
+ debounce: 500,
30064
+ "fetch-suggestions": querySearchAsync,
30065
+ placeholder: props.placeholder,
30066
+ "trigger-on-focus": false,
30067
+ onSelect: handleSelect,
30068
+ style: { "margin-top": "-2px" }
29774
30069
  }, vue.createSlots({
29775
30070
  default: vue.withCtx(({ item }) => [
29776
30071
  vue.createElementVNode(
@@ -29803,8 +30098,10 @@
29803
30098
  _: 1
29804
30099
  /* STABLE */
29805
30100
  }, 8, ["size"]),
29806
- __props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
30101
+ __props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
29807
30102
  key: 0,
30103
+ ref_key: "tableDialogRef",
30104
+ ref: tableDialogRef,
29808
30105
  visible: visibleopenDialog.value,
29809
30106
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
29810
30107
  orgService: __props.orgService,
@@ -29816,8 +30113,10 @@
29816
30113
  userParams: __props.params,
29817
30114
  onChange: handleSelectDialogChange
29818
30115
  }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29819
- __props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
30116
+ __props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
29820
30117
  key: 1,
30118
+ ref_key: "tableDialogRef",
30119
+ ref: tableDialogRef,
29821
30120
  visible: visibleopenDialog.value,
29822
30121
  "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
29823
30122
  title: __props.title,
@@ -29826,7 +30125,7 @@
29826
30125
  userParams: __props.params,
29827
30126
  onChange: handleSelectDialogChange
29828
30127
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29829
- __props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
30128
+ __props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
29830
30129
  key: 2,
29831
30130
  ref_key: "tableDialogRef",
29832
30131
  ref: tableDialogRef,
@@ -29839,8 +30138,10 @@
29839
30138
  onChange: handleSelectDialogChange
29840
30139
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29841
30140
  vue.createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
29842
- __props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
30141
+ __props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
29843
30142
  key: 3,
30143
+ ref_key: "tableDialogRef",
30144
+ ref: tableDialogRef,
29844
30145
  visible: visibleopenDialog.value,
29845
30146
  "onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visibleopenDialog.value = $event),
29846
30147
  title: __props.title,
@@ -29850,8 +30151,10 @@
29850
30151
  onChange: handleSelectDialogChange
29851
30152
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29852
30153
  vue.createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
29853
- __props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
30154
+ __props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
29854
30155
  key: 4,
30156
+ ref_key: "tableDialogRef",
30157
+ ref: tableDialogRef,
29855
30158
  visible: visibleopenDialog.value,
29856
30159
  "onUpdate:visible": _cache[5] || (_cache[5] = ($event) => visibleopenDialog.value = $event),
29857
30160
  title: __props.title,
@@ -29861,8 +30164,10 @@
29861
30164
  onChange: handleSelectDialogChange
29862
30165
  }, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : vue.createCommentVNode("v-if", true),
29863
30166
  vue.createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
29864
- __props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$s, {
30167
+ __props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
29865
30168
  key: 5,
30169
+ ref_key: "tableDialogRef",
30170
+ ref: tableDialogRef,
29866
30171
  visible: visibleopenDialog.value,
29867
30172
  "onUpdate:visible": _cache[6] || (_cache[6] = ($event) => visibleopenDialog.value = $event),
29868
30173
  title: __props.title,
@@ -29879,7 +30184,8 @@
29879
30184
  }
29880
30185
  });
29881
30186
 
29882
- const FmAutocomplete = _sfc_main$r;
30187
+ const FmAutocomplete = _sfc_main$s;
30188
+ const FmAutocompleteExt = _sfc_main$r;
29883
30189
 
29884
30190
  var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
29885
30191
  ...{
@@ -30692,6 +30998,7 @@
30692
30998
  FmCascader,
30693
30999
  FmInputNumber,
30694
31000
  FmAutocomplete,
31001
+ FmAutocompleteExt,
30695
31002
  FmSelect,
30696
31003
  Fmdatepicker,
30697
31004
  FmPeriod