@fmdeui/fmui 1.0.160 → 1.0.162

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 (51) hide show
  1. package/es/components/fm-autocomplete/component/dirverSelectDialog.vue.d.ts +72 -0
  2. package/es/components/fm-autocomplete/component/guideSelectDialog.vue.d.ts +72 -0
  3. package/es/components/fm-autocomplete/index.d.ts +176 -0
  4. package/es/components/fm-autocomplete/index.vue.d.ts +352 -0
  5. package/es/components/select-table/index.d.ts +50 -5
  6. package/es/components/select-table/src/index.vue.d.ts +21 -3
  7. package/es/components/select-table/src/type.d.ts +4 -0
  8. package/es/packages/api/index.mjs +1 -1
  9. package/es/packages/components/fm-autocomplete/component/accountSelectDialog2.vue.mjs +2 -2
  10. package/es/packages/components/fm-autocomplete/component/dirverSelectDialog.vue.mjs +5 -0
  11. package/es/packages/components/fm-autocomplete/component/dirverSelectDialog2.vue.mjs +334 -0
  12. package/es/packages/components/fm-autocomplete/component/guideSelectDialog.vue.mjs +5 -0
  13. package/es/packages/components/fm-autocomplete/component/guideSelectDialog2.vue.mjs +322 -0
  14. package/es/packages/components/fm-autocomplete/component/linSelectDialog2.vue.mjs +2 -2
  15. package/es/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.mjs +2 -2
  16. package/es/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.mjs +2 -2
  17. package/es/packages/components/fm-autocomplete/index2.vue.mjs +38 -2
  18. package/es/packages/components/select-table/src/index2.vue.mjs +114 -25
  19. package/index.js +1026 -261
  20. package/index.min.js +7 -7
  21. package/index.min.mjs +7 -7
  22. package/index.mjs +1027 -262
  23. package/lib/components/fm-autocomplete/component/dirverSelectDialog.vue.d.ts +72 -0
  24. package/lib/components/fm-autocomplete/component/guideSelectDialog.vue.d.ts +72 -0
  25. package/lib/components/fm-autocomplete/index.d.ts +176 -0
  26. package/lib/components/fm-autocomplete/index.vue.d.ts +352 -0
  27. package/lib/components/select-table/index.d.ts +50 -5
  28. package/lib/components/select-table/src/index.vue.d.ts +21 -3
  29. package/lib/components/select-table/src/type.d.ts +4 -0
  30. package/lib/packages/api/index.js +1 -1
  31. package/lib/packages/components/fm-autocomplete/component/accountSelectDialog2.vue.js +2 -2
  32. package/lib/packages/components/fm-autocomplete/component/dirverSelectDialog.vue.js +9 -0
  33. package/lib/packages/components/fm-autocomplete/component/dirverSelectDialog2.vue.js +338 -0
  34. package/lib/packages/components/fm-autocomplete/component/guideSelectDialog.vue.js +9 -0
  35. package/lib/packages/components/fm-autocomplete/component/guideSelectDialog2.vue.js +326 -0
  36. package/lib/packages/components/fm-autocomplete/component/linSelectDialog2.vue.js +2 -2
  37. package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog2.vue.js +2 -2
  38. package/lib/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.js +2 -2
  39. package/lib/packages/components/fm-autocomplete/index2.vue.js +38 -2
  40. package/lib/packages/components/select-table/src/index2.vue.js +113 -24
  41. package/locale/en.js +1 -1
  42. package/locale/en.min.js +1 -1
  43. package/locale/en.min.mjs +1 -1
  44. package/locale/en.mjs +1 -1
  45. package/locale/zh-cn.js +1 -1
  46. package/locale/zh-cn.min.js +1 -1
  47. package/locale/zh-cn.min.mjs +1 -1
  48. package/locale/zh-cn.mjs +1 -1
  49. package/package.json +1 -1
  50. /package/es/{make-installer.css → component.css} +0 -0
  51. /package/lib/{version.css → make-installer.css} +0 -0
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.160 */
1
+ /*! fmdeui-fmui v1.0.162 */
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) :
@@ -3882,13 +3882,13 @@
3882
3882
  }
3883
3883
  ];
3884
3884
  const COST_CATEGORIES = [
3885
+ { code: "GUIDE", type: 10, name: "\u6D3E\u5BFC\u6E38", icon: "\u{1F468}\u200D", color: "#f5222d", bg: "#fff1f0" },
3885
3886
  { code: "HOTEL", type: 8, name: "\u623F\u8D39", icon: "\u{1F3E8}", color: "#165dff", bg: "#e8f3ff" },
3886
3887
  { code: "MEAL", type: 13, name: "\u9910\u8D39", icon: "\u{1F37D}\uFE0F", color: "#fa8c16", bg: "#fff7e6" },
3887
3888
  { code: "BUS", type: 12, name: "\u8F66\u8D39", icon: "\u{1F68C}", color: "#722ed1", bg: "#f9f0ff" },
3888
3889
  { code: "TICKET", type: 3, name: "\u7968\u52A1", icon: "\u{1F3AB}", color: "#13c2c2", bg: "#e6fffb" },
3889
3890
  { code: "SCENIC", type: 11, name: "\u666F\u70B9", icon: "\uFE0F\u{1F3DE}\uFE0F", color: "#52c41a", bg: "#f6ffed" },
3890
3891
  { code: "INSURE", type: 9, name: "\u4FDD\u9669", icon: "\u{1F6E1}\uFE0F", color: "#eb2f96", bg: "#fff0f6" },
3891
- //{ code: 'GUIDE',type:10, name: '导服', icon: '👨‍', color: '#f5222d', bg: '#fff1f0' },
3892
3892
  { code: "VISA", type: 15, name: "\u7B7E\u8BC1", icon: "\u{1F4CB}", color: "#faad14", bg: "#fffbe6" },
3893
3893
  { code: "SHIP", type: 14, name: "\u6E38\u8239", icon: "\u{1F6A2}", color: "#0ea5e9", bg: "#e0f2fe" },
3894
3894
  { code: "TOPLAN", type: 6, name: "\u5730\u63A5", icon: "\u{1F91D}", color: "#1890ff", bg: "#e6f7ff" },
@@ -20440,7 +20440,7 @@
20440
20440
  app.use(VxeUITable);
20441
20441
  };
20442
20442
 
20443
- var _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
20443
+ var _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
20444
20444
  ...{
20445
20445
  name: "FButton"
20446
20446
  },
@@ -20510,7 +20510,7 @@
20510
20510
  }
20511
20511
  });
20512
20512
 
20513
- const FButton = _sfc_main$T;
20513
+ const FButton = _sfc_main$V;
20514
20514
 
20515
20515
  const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
20516
20516
  const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
@@ -21234,9 +21234,9 @@
21234
21234
  return setting;
21235
21235
  }
21236
21236
 
21237
- const _hoisted_1$C = { key: 0 };
21238
- const _hoisted_2$p = { key: 0 };
21239
- var _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
21237
+ const _hoisted_1$E = { key: 0 };
21238
+ const _hoisted_2$r = { key: 0 };
21239
+ var _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
21240
21240
  ...{
21241
21241
  name: "FInput"
21242
21242
  },
@@ -21443,7 +21443,7 @@
21443
21443
  fn: vue.withCtx(() => [
21444
21444
  __props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
21445
21445
  "span",
21446
- _hoisted_1$C,
21446
+ _hoisted_1$E,
21447
21447
  vue.toDisplayString(appendTitleText.value),
21448
21448
  1
21449
21449
  /* TEXT */
@@ -21476,7 +21476,7 @@
21476
21476
  fn: vue.withCtx(() => [
21477
21477
  __props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
21478
21478
  "span",
21479
- _hoisted_2$p,
21479
+ _hoisted_2$r,
21480
21480
  vue.toDisplayString(appendTitleText.value),
21481
21481
  1
21482
21482
  /* TEXT */
@@ -21489,13 +21489,13 @@
21489
21489
  }
21490
21490
  });
21491
21491
 
21492
- const FInput = _sfc_main$S;
21492
+ const FInput = _sfc_main$U;
21493
21493
 
21494
- const _hoisted_1$B = {
21494
+ const _hoisted_1$D = {
21495
21495
  key: 0,
21496
21496
  class: "back_to_top"
21497
21497
  };
21498
- var _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
21498
+ var _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
21499
21499
  ...{
21500
21500
  name: "FLayoutPage"
21501
21501
  },
@@ -21557,7 +21557,7 @@
21557
21557
  },
21558
21558
  [
21559
21559
  vue.renderSlot(_ctx.$slots, "default"),
21560
- __props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
21560
+ __props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
21561
21561
  isShowGoTopButton.value ? (vue.openBlock(), vue.createElementBlock("div", {
21562
21562
  key: 0,
21563
21563
  onClick: backToTop
@@ -21585,9 +21585,9 @@
21585
21585
  }
21586
21586
  });
21587
21587
 
21588
- const FLayoutPage = _sfc_main$R;
21588
+ const FLayoutPage = _sfc_main$T;
21589
21589
 
21590
- var _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
21590
+ var _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
21591
21591
  ...{
21592
21592
  name: "FLayoutPageItem"
21593
21593
  },
@@ -21615,7 +21615,7 @@
21615
21615
  }
21616
21616
  });
21617
21617
 
21618
- const FLayoutPageItem = _sfc_main$Q;
21618
+ const FLayoutPageItem = _sfc_main$S;
21619
21619
 
21620
21620
  function debounce(func, delay = 500, immediate, resultCallback) {
21621
21621
  let timer = null;
@@ -21658,8 +21658,8 @@
21658
21658
  return name.replace(/([A-Z])/g, "_$1").toLowerCase();
21659
21659
  }
21660
21660
 
21661
- const _hoisted_1$A = ["id"];
21662
- var _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
21661
+ const _hoisted_1$C = ["id"];
21662
+ var _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
21663
21663
  ...{
21664
21664
  name: "FChart"
21665
21665
  },
@@ -21743,7 +21743,7 @@
21743
21743
  id: __props.id,
21744
21744
  ref_key: "echartRef",
21745
21745
  ref: echartRef
21746
- }, null, 8, _hoisted_1$A), [
21746
+ }, null, 8, _hoisted_1$C), [
21747
21747
  [vue.vShow, !formatEmpty.value]
21748
21748
  ]),
21749
21749
  formatEmpty.value ? vue.renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
@@ -21758,13 +21758,13 @@
21758
21758
  }
21759
21759
  });
21760
21760
 
21761
- const FChart = _sfc_main$P;
21761
+ const FChart = _sfc_main$R;
21762
21762
 
21763
- const _hoisted_1$z = {
21763
+ const _hoisted_1$B = {
21764
21764
  key: 1,
21765
21765
  class: "f_select__pagination"
21766
21766
  };
21767
- var _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
21767
+ var _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
21768
21768
  ...{
21769
21769
  name: "FSelect"
21770
21770
  },
@@ -21977,7 +21977,7 @@
21977
21977
  128
21978
21978
  /* KEYED_FRAGMENT */
21979
21979
  )),
21980
- __props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
21980
+ __props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
21981
21981
  vue.createVNode(_component_el_pagination, vue.mergeProps({
21982
21982
  "current-page": __props.paginationOption.currentPage,
21983
21983
  "onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
@@ -22015,9 +22015,9 @@
22015
22015
  }
22016
22016
  });
22017
22017
 
22018
- const FSelect = _sfc_main$O;
22018
+ const FSelect = _sfc_main$Q;
22019
22019
 
22020
- var _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
22020
+ var _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
22021
22021
  ...{
22022
22022
  name: "RenderComp"
22023
22023
  },
@@ -22037,12 +22037,12 @@
22037
22037
  }
22038
22038
  });
22039
22039
 
22040
- const _hoisted_1$y = { class: "inside_box" };
22041
- const _hoisted_2$o = { class: "inside_box_title" };
22042
- const _hoisted_3$g = { class: "check-box" };
22040
+ const _hoisted_1$A = { class: "inside_box" };
22041
+ const _hoisted_2$q = { class: "inside_box_title" };
22042
+ const _hoisted_3$i = { class: "check-box" };
22043
22043
  const _hoisted_4$9 = { class: "more_dropdown_icon" };
22044
22044
  const _hoisted_5$8 = { class: "out_box" };
22045
- var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
22045
+ var _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
22046
22046
  ...{
22047
22047
  name: "MoreChoose"
22048
22048
  },
@@ -22180,8 +22180,8 @@
22180
22180
  ])
22181
22181
  ]),
22182
22182
  default: vue.withCtx(() => [
22183
- vue.createElementVNode("div", _hoisted_1$y, [
22184
- vue.createElementVNode("div", _hoisted_2$o, [
22183
+ vue.createElementVNode("div", _hoisted_1$A, [
22184
+ vue.createElementVNode("div", _hoisted_2$q, [
22185
22185
  vue.createElementVNode(
22186
22186
  "div",
22187
22187
  null,
@@ -22189,7 +22189,7 @@
22189
22189
  1
22190
22190
  /* TEXT */
22191
22191
  ),
22192
- vue.createElementVNode("div", _hoisted_3$g, [
22192
+ vue.createElementVNode("div", _hoisted_3$i, [
22193
22193
  vue.createVNode(_component_el_button, {
22194
22194
  size: "small",
22195
22195
  link: "",
@@ -22357,7 +22357,7 @@
22357
22357
  };
22358
22358
  }
22359
22359
 
22360
- var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
22360
+ var _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
22361
22361
  ...{
22362
22362
  name: "FQueryCondition"
22363
22363
  },
@@ -22776,7 +22776,7 @@
22776
22776
  opt.labelRender ? {
22777
22777
  name: "label",
22778
22778
  fn: vue.withCtx(() => [
22779
- vue.createVNode(_sfc_main$N, {
22779
+ vue.createVNode(_sfc_main$P, {
22780
22780
  form: vue.unref(queryState).form,
22781
22781
  render: opt.labelRender
22782
22782
  }, null, 8, ["form", "render"])
@@ -22872,7 +22872,7 @@
22872
22872
  _: 1
22873
22873
  /* STABLE */
22874
22874
  })) : vue.createCommentVNode("v-if", true),
22875
- vue.createVNode(_sfc_main$M, {
22875
+ vue.createVNode(_sfc_main$O, {
22876
22876
  isDropDownSelectMore: __props.isDropDownSelectMore,
22877
22877
  moreCheckList: __props.moreCheckList,
22878
22878
  popoverAttrsBind: popoverAttrsBind.value,
@@ -22898,7 +22898,7 @@
22898
22898
  }
22899
22899
  });
22900
22900
 
22901
- var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
22901
+ var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
22902
22902
  ...{
22903
22903
  name: "RenderCol"
22904
22904
  },
@@ -23054,22 +23054,22 @@
23054
23054
  };
23055
23055
  }
23056
23056
 
23057
- const _hoisted_1$x = {
23057
+ const _hoisted_1$z = {
23058
23058
  key: 0,
23059
23059
  class: "table_query_condition"
23060
23060
  };
23061
- const _hoisted_2$n = ["element-loading-text"];
23062
- const _hoisted_3$f = { key: 2 };
23061
+ const _hoisted_2$p = ["element-loading-text"];
23062
+ const _hoisted_3$h = { key: 2 };
23063
23063
  const _hoisted_4$8 = {
23064
23064
  key: 0,
23065
23065
  class: "f-table-select__page"
23066
23066
  };
23067
- var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
23067
+ var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
23068
23068
  ...{
23069
23069
  name: "FSelectTable"
23070
23070
  },
23071
23071
  __name: "index",
23072
- props: {
23072
+ props: /* @__PURE__ */ vue.mergeModels({
23073
23073
  modelValue: { default: void 0 },
23074
23074
  inputValue: { default: void 0 },
23075
23075
  defaultSelectVal: { default: () => [] },
@@ -23122,9 +23122,21 @@
23122
23122
  isExpanded: { type: Boolean, default: false },
23123
23123
  multipleDisableDelete: { type: Boolean, default: true },
23124
23124
  tableLoading: { type: Boolean, default: false },
23125
- loadingTxt: { default: "" }
23126
- },
23127
- emits: ["page-change", "selectionChange", "radioChange", "update:inputValue", "input-focus", "input-blur", "input-clear", "input-click"],
23125
+ loadingTxt: { default: "" },
23126
+ apiService: { default: void 0 },
23127
+ apiAction: { default: "" },
23128
+ queryParams: { default: () => ({}) },
23129
+ responseFormatter: { type: Function, default: (res) => ({
23130
+ data: res.result.items || [],
23131
+ total: res.result.total || 0
23132
+ }) }
23133
+ }, {
23134
+ "id": { default: 0, required: false },
23135
+ "idModifiers": {},
23136
+ "name": { default: "", required: false },
23137
+ "nameModifiers": {}
23138
+ }),
23139
+ emits: /* @__PURE__ */ vue.mergeModels(["page-change", "selectionChange", "radioChange", "update:inputValue", "input-focus", "input-blur", "input-clear", "input-click"], ["update:id", "update:name"]),
23128
23140
  setup(__props, { expose: __expose, emit: __emit }) {
23129
23141
  const { t } = useLocale();
23130
23142
  const {
@@ -23135,6 +23147,8 @@
23135
23147
  saveDATA,
23136
23148
  getItemHeightFromCache
23137
23149
  } = useVirtualized();
23150
+ const modeValueId = vue.useModel(__props, "id");
23151
+ const modeValueName = vue.useModel(__props, "name");
23138
23152
  const props = __props;
23139
23153
  const vClickOutside = ClickOutside;
23140
23154
  const emits = __emit;
@@ -23146,8 +23160,24 @@
23146
23160
  const isVisible = vue.ref(false);
23147
23161
  const radioVal = vue.ref("");
23148
23162
  const isShowFirstRadio = vue.ref(props.isShowFirstColumn);
23149
- const selectDefaultLabel = vue.ref(props.modelValue);
23163
+ const selectDefaultLabel = vue.ref(modeValueName.value);
23150
23164
  const scrollTopNum = vue.ref(0);
23165
+ const pagination = vue.reactive({
23166
+ currentPage: props.table.currentPage,
23167
+ pageSize: props.table.pageSize,
23168
+ total: props.table.total
23169
+ });
23170
+ vue.watch(
23171
+ () => props.table,
23172
+ (newVal) => {
23173
+ if (!props.apiService) {
23174
+ pagination.currentPage = newVal.currentPage;
23175
+ pagination.pageSize = newVal.pageSize;
23176
+ pagination.total = newVal.total;
23177
+ }
23178
+ },
23179
+ { deep: true }
23180
+ );
23151
23181
  let selectInputVal = vue.computed({
23152
23182
  get() {
23153
23183
  return props.inputValue;
@@ -23238,20 +23268,55 @@
23238
23268
  );
23239
23269
  vue.onMounted(() => {
23240
23270
  var _a;
23241
- if (state.defaultSelectValue && state.defaultSelectValue.length > 0 && isDefaultSelectVal.value) {
23242
- defaultSelect(state.defaultSelectValue);
23243
- }
23244
- if (props.selfExpanded) {
23245
- selectRef.value.expanded = true;
23246
- }
23247
- if (props.useVirtual) {
23248
- saveDATA.value = props.table.data;
23249
- isShowFirstRadio.value = false;
23250
- getDom(props);
23251
- (_a = scrollContainerEl.value) == null ? void 0 : _a.addEventListener("scroll", handleScroll);
23271
+ if (props.apiService) {
23272
+ fetchTableData();
23273
+ } else {
23274
+ if (state.defaultSelectValue && state.defaultSelectValue.length > 0 && isDefaultSelectVal.value) {
23275
+ defaultSelect(state.defaultSelectValue);
23276
+ }
23277
+ if (props.selfExpanded) {
23278
+ selectRef.value.expanded = true;
23279
+ }
23280
+ if (props.useVirtual) {
23281
+ saveDATA.value = props.table.data;
23282
+ isShowFirstRadio.value = false;
23283
+ getDom(props);
23284
+ (_a = scrollContainerEl.value) == null ? void 0 : _a.addEventListener("scroll", handleScroll);
23285
+ }
23286
+ if (props.radioSelectValLabel) findLabel();
23252
23287
  }
23253
- if (props.radioSelectValLabel) findLabel();
23254
23288
  });
23289
+ const internalLoading = vue.ref(false);
23290
+ const internalQueryParams = vue.reactive({ ...props.queryParams });
23291
+ const fetchTableData = async (isResetPage = false) => {
23292
+ if (!props.apiService) return;
23293
+ internalLoading.value = true;
23294
+ try {
23295
+ if (isResetPage) {
23296
+ pagination.currentPage = 1;
23297
+ }
23298
+ const requestParams = {
23299
+ currentPage: pagination.currentPage,
23300
+ pageSize: pagination.pageSize,
23301
+ ...internalQueryParams
23302
+ };
23303
+ const res = await useBaseApi(props.apiService).post(requestParams, props.apiAction);
23304
+ const formatted = props.responseFormatter(res);
23305
+ pagination.total = formatted.total;
23306
+ state.tableData = formatted.data;
23307
+ if (props.useVirtual) {
23308
+ saveDATA.value = formatted.data;
23309
+ updateRenderData(scrollTopNum.value);
23310
+ }
23311
+ if (state.defaultSelectValue && state.defaultSelectValue.length > 0 && isDefaultSelectVal.value) {
23312
+ defaultSelect(state.defaultSelectValue);
23313
+ }
23314
+ } catch (error) {
23315
+ console.error("FSelectTable API request failed:", error);
23316
+ } finally {
23317
+ internalLoading.value = false;
23318
+ }
23319
+ };
23255
23320
  const updateRenderData = (scrollTop) => {
23256
23321
  let startIndex = 0;
23257
23322
  let offsetHeight = 0;
@@ -23299,6 +23364,11 @@
23299
23364
  } else {
23300
23365
  if (fQueryConditionRef.value && props.isShowQuery && props.isClearQuery && !selectRef.value.expanded && !props.selfExpanded) {
23301
23366
  (_a = fQueryConditionRef.value) == null ? void 0 : _a.resetData();
23367
+ if (props.apiService) {
23368
+ Object.keys(internalQueryParams).forEach((key) => delete internalQueryParams[key]);
23369
+ Object.assign(internalQueryParams, props.queryParams);
23370
+ fetchTableData(true);
23371
+ }
23302
23372
  }
23303
23373
  findLabel();
23304
23374
  filterMethodHandle("");
@@ -23376,6 +23446,10 @@
23376
23446
  });
23377
23447
  };
23378
23448
  const handlesCurrentChange = (val) => {
23449
+ if (props.apiService) {
23450
+ fetchTableData();
23451
+ return;
23452
+ }
23379
23453
  if (props.multiple) {
23380
23454
  if (!props.reserveSelection) {
23381
23455
  clear();
@@ -23400,12 +23474,15 @@
23400
23474
  setTimeout(() => {
23401
23475
  var _a, _b;
23402
23476
  state.defaultValue = multipleList.map((item) => item[props.keywords.label]);
23477
+ state.ids = multipleList.map((item) => item[props.keywords.value]);
23403
23478
  multipleList.forEach((row) => {
23404
23479
  selectTable.value.toggleRowSelection(row, true);
23405
23480
  });
23406
23481
  (_b = (_a = selectRef.value) == null ? void 0 : _a.selected) == null ? void 0 : _b.forEach((item) => {
23407
23482
  item.currentLabel = item.value;
23408
23483
  });
23484
+ modeValueId.value = state.ids;
23485
+ modeValueName.value = state.defaultValue;
23409
23486
  }, 0);
23410
23487
  } else {
23411
23488
  setTimeout(() => {
@@ -23414,6 +23491,8 @@
23414
23491
  radioVal.value = state.tableData.indexOf(row) + 1;
23415
23492
  state.defaultValue = row;
23416
23493
  selectDefaultLabel.value = row[props.keywords.label];
23494
+ modeValueId.value = row[props.keywords.value];
23495
+ modeValueName.value = row[props.keywords.label];
23417
23496
  if (!props.defaultValIsOpenRadioChange) {
23418
23497
  emits("radioChange", row, row[props.keywords.value]);
23419
23498
  }
@@ -23430,6 +23509,10 @@
23430
23509
  state.defaultSelectValue = [];
23431
23510
  }
23432
23511
  emits("selectionChange", val, state.ids);
23512
+ if (props.multiple) {
23513
+ modeValueId.value = state.ids;
23514
+ modeValueName.value = state.defaultValue;
23515
+ }
23433
23516
  };
23434
23517
  const getRowClassName = ({ row }) => {
23435
23518
  if (!props.multiple && JSON.stringify(row) === JSON.stringify(state.defaultValue)) {
@@ -23554,6 +23637,8 @@
23554
23637
  radioVal.value = index;
23555
23638
  state.defaultValue = row;
23556
23639
  emits("radioChange", row, row[props.keywords.value]);
23640
+ modeValueId.value = row[props.keywords.value];
23641
+ modeValueName.value = row[props.keywords.label];
23557
23642
  };
23558
23643
  const rowClick = async (row) => {
23559
23644
  var _a;
@@ -23586,6 +23671,8 @@
23586
23671
  isDefaultSelectVal.value = true;
23587
23672
  state.defaultSelectValue = [];
23588
23673
  state.defaultValue = props.multiple ? [] : null;
23674
+ modeValueId.value = props.multiple ? [] : 0;
23675
+ modeValueName.value = props.multiple ? [] : "";
23589
23676
  };
23590
23677
  if (!selectTable.value) {
23591
23678
  console.warn("selectTable.value is not initialized");
@@ -23669,7 +23756,7 @@
23669
23756
  ref_key: "selectRef",
23670
23757
  ref: selectRef,
23671
23758
  "model-value": __props.multiple ? state.defaultValue : selectDefaultLabel.value,
23672
- "popper-class": "t-select-table",
23759
+ "popper-class": "f-select-table",
23673
23760
  style: { width: __props.selectWidth ? `${__props.selectWidth}px` : "100%" },
23674
23761
  "value-key": __props.keywords.value,
23675
23762
  "filter-method": __props.filterMethod || filterMethodHandle,
@@ -23686,9 +23773,9 @@
23686
23773
  style: vue.normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
23687
23774
  },
23688
23775
  [
23689
- __props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
23776
+ __props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
23690
23777
  vue.createVNode(
23691
- _sfc_main$L,
23778
+ _sfc_main$N,
23692
23779
  vue.mergeProps({
23693
23780
  ref_key: "fQueryConditionRef",
23694
23781
  ref: fQueryConditionRef,
@@ -23814,7 +23901,7 @@
23814
23901
  fixed: item.fixed
23815
23902
  }, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
23816
23903
  default: vue.withCtx((scope) => [
23817
- item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$K, {
23904
+ item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$M, {
23818
23905
  key: 0,
23819
23906
  column: item,
23820
23907
  row: scope.row,
@@ -23825,7 +23912,7 @@
23825
23912
  key: 1,
23826
23913
  scope
23827
23914
  }) : vue.createCommentVNode("v-if", true),
23828
- !item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$f, [
23915
+ !item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$h, [
23829
23916
  vue.createElementVNode(
23830
23917
  "span",
23831
23918
  null,
@@ -23849,18 +23936,18 @@
23849
23936
  }, 16, ["data", "class"]),
23850
23937
  __props.isShowPagination ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$8, [
23851
23938
  vue.createVNode(_component_el_pagination, vue.mergeProps({
23852
- "current-page": __props.table.currentPage,
23853
- "onUpdate:currentPage": _cache[6] || (_cache[6] = ($event) => __props.table.currentPage = $event),
23854
- "page-size": __props.table.pageSize,
23855
- "onUpdate:pageSize": _cache[7] || (_cache[7] = ($event) => __props.table.pageSize = $event),
23939
+ "current-page": pagination.currentPage,
23940
+ "onUpdate:currentPage": _cache[6] || (_cache[6] = ($event) => pagination.currentPage = $event),
23941
+ "page-size": pagination.pageSize,
23942
+ "onUpdate:pageSize": _cache[7] || (_cache[7] = ($event) => pagination.pageSize = $event),
23856
23943
  onCurrentChange: handlesCurrentChange,
23857
23944
  layout: "total, prev, pager, next, jumper",
23858
23945
  "pager-count": __props.table["pager-count"] || 5,
23859
- total: __props.table.total
23946
+ total: pagination.total
23860
23947
  }, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
23861
23948
  ])) : vue.createCommentVNode("v-if", true)
23862
- ], 8, _hoisted_2$n)), [
23863
- [_directive_loading, __props.tableLoading]
23949
+ ], 8, _hoisted_2$p)), [
23950
+ [_directive_loading, __props.tableLoading || internalLoading.value]
23864
23951
  ]),
23865
23952
  vue.renderSlot(_ctx.$slots, "footer")
23866
23953
  ],
@@ -23877,11 +23964,11 @@
23877
23964
  }
23878
23965
  });
23879
23966
 
23880
- const FSelectTable = _sfc_main$J;
23967
+ const FSelectTable = _sfc_main$L;
23881
23968
 
23882
- const FQueryCondition = _sfc_main$L;
23969
+ const FQueryCondition = _sfc_main$N;
23883
23970
 
23884
- var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
23971
+ var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
23885
23972
  ...{
23886
23973
  name: "RenderComp"
23887
23974
  },
@@ -23901,7 +23988,7 @@
23901
23988
  }
23902
23989
  });
23903
23990
 
23904
- var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
23991
+ var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
23905
23992
  ...{
23906
23993
  name: "RenderBtn"
23907
23994
  },
@@ -23921,12 +24008,12 @@
23921
24008
  }
23922
24009
  });
23923
24010
 
23924
- const _hoisted_1$w = {
24011
+ const _hoisted_1$y = {
23925
24012
  key: 1,
23926
24013
  class: "text_show"
23927
24014
  };
23928
- const _hoisted_2$m = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23929
- var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
24015
+ const _hoisted_2$o = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
24016
+ var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
23930
24017
  ...{
23931
24018
  name: "FForm"
23932
24019
  },
@@ -24177,7 +24264,7 @@
24177
24264
  }) : vue.createCommentVNode("v-if", true),
24178
24265
  item.textShow ? (vue.openBlock(), vue.createElementBlock(
24179
24266
  "span",
24180
- _hoisted_1$w,
24267
+ _hoisted_1$y,
24181
24268
  vue.toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
24182
24269
  1
24183
24270
  /* TEXT */
@@ -24297,7 +24384,7 @@
24297
24384
  item.labelSlotName || item.labelRender ? {
24298
24385
  name: "label",
24299
24386
  fn: vue.withCtx(() => [
24300
- item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$I, {
24387
+ item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$K, {
24301
24388
  key: 0,
24302
24389
  render: item.labelRender,
24303
24390
  item
@@ -24319,7 +24406,7 @@
24319
24406
  /* UNKEYED_FRAGMENT */
24320
24407
  )),
24321
24408
  vue.createCommentVNode(" \u6309\u94AE "),
24322
- vue.createElementVNode("div", _hoisted_2$m, [
24409
+ vue.createElementVNode("div", _hoisted_2$o, [
24323
24410
  __props.formOpts.btnSlotName ? vue.renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : vue.createCommentVNode("v-if", true),
24324
24411
  !__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (vue.openBlock(true), vue.createElementBlock(
24325
24412
  vue.Fragment,
@@ -24329,7 +24416,7 @@
24329
24416
  vue.Fragment,
24330
24417
  null,
24331
24418
  [
24332
- val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$H, {
24419
+ val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$J, {
24333
24420
  key: index,
24334
24421
  item: val,
24335
24422
  render: val.render
@@ -24376,10 +24463,10 @@
24376
24463
  }
24377
24464
  });
24378
24465
 
24379
- const FForm = _sfc_main$G;
24466
+ const FForm = _sfc_main$I;
24380
24467
 
24381
- const _hoisted_1$v = ["src"];
24382
- var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
24468
+ const _hoisted_1$x = ["src"];
24469
+ var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
24383
24470
  ...{
24384
24471
  name: "svgIcon"
24385
24472
  },
@@ -24450,7 +24537,7 @@
24450
24537
  vue.createElementVNode("img", {
24451
24538
  src: getIconName.value,
24452
24539
  style: vue.normalizeStyle(setIconSvgInsStyle.value)
24453
- }, null, 12, _hoisted_1$v)
24540
+ }, null, 12, _hoisted_1$x)
24454
24541
  ],
24455
24542
  4
24456
24543
  /* STYLE */
@@ -24477,13 +24564,13 @@
24477
24564
  }
24478
24565
  }
24479
24566
  if (!app._context.components[`SvgIcon`]) {
24480
- app.component("SvgIcon", _sfc_main$F);
24567
+ app.component("SvgIcon", _sfc_main$H);
24481
24568
  }
24482
24569
  }
24483
24570
 
24484
24571
  const emitter = mitt();
24485
24572
 
24486
- var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
24573
+ var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
24487
24574
  ...{
24488
24575
  name: "FLayout"
24489
24576
  },
@@ -24569,7 +24656,7 @@
24569
24656
  }
24570
24657
  });
24571
24658
 
24572
- const FLayout = _sfc_main$E;
24659
+ const FLayout = _sfc_main$G;
24573
24660
 
24574
24661
  function commonFunction() {
24575
24662
  const { copy, isSupported } = core.useClipboard();
@@ -24846,9 +24933,9 @@
24846
24933
  // },
24847
24934
  };
24848
24935
 
24849
- const _hoisted_1$u = { class: "layout-breadcrumb-seting" };
24850
- const _hoisted_2$l = { class: "layout-breadcrumb-seting-bar-flex" };
24851
- const _hoisted_3$e = { class: "layout-breadcrumb-seting-bar-flex-label" };
24936
+ const _hoisted_1$w = { class: "layout-breadcrumb-seting" };
24937
+ const _hoisted_2$n = { class: "layout-breadcrumb-seting-bar-flex" };
24938
+ const _hoisted_3$g = { class: "layout-breadcrumb-seting-bar-flex-label" };
24852
24939
  const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
24853
24940
  const _hoisted_5$7 = { style: { "margin": "10px 0" } };
24854
24941
  const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
@@ -24971,7 +25058,7 @@
24971
25058
  class: "traditionalColors-chines",
24972
25059
  style: { "cursor": "grab", "color": "gray" }
24973
25060
  };
24974
- var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
25061
+ var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
24975
25062
  ...{
24976
25063
  name: "FSettings"
24977
25064
  },
@@ -25235,7 +25322,7 @@
25235
25322
  const _component_el_col = vue.resolveComponent("el-col");
25236
25323
  const _component_el_row = vue.resolveComponent("el-row");
25237
25324
  const _component_el_dialog = vue.resolveComponent("el-dialog");
25238
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
25325
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
25239
25326
  vue.createVNode(_component_el_drawer, {
25240
25327
  title: _ctx.$t("message.layout.configTitle"),
25241
25328
  modelValue: getThemeConfig.value.isDrawer,
@@ -25260,10 +25347,10 @@
25260
25347
  _: 1
25261
25348
  /* STABLE */
25262
25349
  }),
25263
- vue.createElementVNode("div", _hoisted_2$l, [
25350
+ vue.createElementVNode("div", _hoisted_2$n, [
25264
25351
  vue.createElementVNode(
25265
25352
  "div",
25266
- _hoisted_3$e,
25353
+ _hoisted_3$g,
25267
25354
  vue.toDisplayString(_ctx.$t("message.layout.themeColors")),
25268
25355
  1
25269
25356
  /* TEXT */
@@ -26734,9 +26821,9 @@
26734
26821
  }
26735
26822
  });
26736
26823
 
26737
- const FSettings = _sfc_main$D;
26824
+ const FSettings = _sfc_main$F;
26738
26825
 
26739
- var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
26826
+ var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
26740
26827
  ...{
26741
26828
  name: "FModifyRecord"
26742
26829
  },
@@ -26999,10 +27086,10 @@
26999
27086
  }
27000
27087
  });
27001
27088
 
27002
- const FModifyRecord = _sfc_main$C;
27089
+ const FModifyRecord = _sfc_main$E;
27003
27090
 
27004
- const _hoisted_1$t = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
27005
- var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
27091
+ const _hoisted_1$v = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
27092
+ var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
27006
27093
  ...{
27007
27094
  name: "FmSelect"
27008
27095
  },
@@ -27161,7 +27248,7 @@
27161
27248
  onClear: handelClear
27162
27249
  }, {
27163
27250
  header: vue.withCtx(() => [
27164
- vue.createElementVNode("div", _hoisted_1$t, [
27251
+ vue.createElementVNode("div", _hoisted_1$v, [
27165
27252
  vue.createVNode(_component_el_icon, {
27166
27253
  color: "#13c2c2",
27167
27254
  size: __props.freshSize,
@@ -27203,9 +27290,9 @@
27203
27290
  }
27204
27291
  });
27205
27292
 
27206
- const FmSelect = _sfc_main$B;
27293
+ const FmSelect = _sfc_main$D;
27207
27294
 
27208
- var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
27295
+ var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
27209
27296
  ...{
27210
27297
  name: "Fminputdropdown"
27211
27298
  },
@@ -27414,9 +27501,9 @@
27414
27501
  }
27415
27502
  });
27416
27503
 
27417
- const Fminputdropdown = _sfc_main$A;
27504
+ const Fminputdropdown = _sfc_main$C;
27418
27505
 
27419
- var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
27506
+ var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
27420
27507
  ...{ name: "FmInputNumber" },
27421
27508
  __name: "index",
27422
27509
  props: /* @__PURE__ */ vue.mergeModels({
@@ -27581,14 +27668,14 @@
27581
27668
  }
27582
27669
  });
27583
27670
 
27584
- const FmInputNumber = _sfc_main$z;
27671
+ const FmInputNumber = _sfc_main$B;
27585
27672
 
27586
- const _hoisted_1$s = { style: { "color": "#fff" } };
27587
- 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" } };
27588
- 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" } };
27673
+ const _hoisted_1$u = { style: { "color": "#fff" } };
27674
+ const _hoisted_2$m = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27675
+ const _hoisted_3$f = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27589
27676
  const _hoisted_4$6 = { style: { "margin-top": "10px" } };
27590
27677
  const _hoisted_5$6 = { class: "dialog-footer" };
27591
- var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
27678
+ var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
27592
27679
  __name: "userSelectDialog",
27593
27680
  props: {
27594
27681
  visible: {
@@ -27727,7 +27814,7 @@
27727
27814
  "close-on-click-modal": false
27728
27815
  }, {
27729
27816
  header: vue.withCtx(() => [
27730
- vue.createElementVNode("div", _hoisted_1$s, [
27817
+ vue.createElementVNode("div", _hoisted_1$u, [
27731
27818
  vue.createVNode(_component_el_icon, {
27732
27819
  size: "16",
27733
27820
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -27773,7 +27860,7 @@
27773
27860
  default: vue.withCtx(() => [
27774
27861
  vue.createElementVNode(
27775
27862
  "p",
27776
- _hoisted_2$k,
27863
+ _hoisted_2$m,
27777
27864
  vue.toDisplayString(_ctx.$t("\u673A\u6784")),
27778
27865
  1
27779
27866
  /* TEXT */
@@ -27795,7 +27882,7 @@
27795
27882
  default: vue.withCtx(() => [
27796
27883
  vue.createElementVNode(
27797
27884
  "p",
27798
- _hoisted_3$d,
27885
+ _hoisted_3$f,
27799
27886
  vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
27800
27887
  1
27801
27888
  /* TEXT */
@@ -27979,10 +28066,10 @@
27979
28066
  }
27980
28067
  });
27981
28068
 
27982
- const _hoisted_1$r = { style: { "color": "#fff" } };
27983
- const _hoisted_2$j = { style: { "margin-top": "10px" } };
27984
- const _hoisted_3$c = { class: "dialog-footer" };
27985
- var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
28069
+ const _hoisted_1$t = { style: { "color": "#fff" } };
28070
+ const _hoisted_2$l = { style: { "margin-top": "10px" } };
28071
+ const _hoisted_3$e = { class: "dialog-footer" };
28072
+ var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
27986
28073
  __name: "supplierSelectDialog",
27987
28074
  props: {
27988
28075
  visible: {
@@ -28104,7 +28191,7 @@
28104
28191
  "close-on-click-modal": false
28105
28192
  }, {
28106
28193
  header: vue.withCtx(() => [
28107
- vue.createElementVNode("div", _hoisted_1$r, [
28194
+ vue.createElementVNode("div", _hoisted_1$t, [
28108
28195
  vue.createVNode(_component_el_icon, {
28109
28196
  size: "16",
28110
28197
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -28125,7 +28212,7 @@
28125
28212
  ])
28126
28213
  ]),
28127
28214
  footer: vue.withCtx(() => [
28128
- vue.createElementVNode("div", _hoisted_3$c, [
28215
+ vue.createElementVNode("div", _hoisted_3$e, [
28129
28216
  vue.createVNode(_component_el_button, {
28130
28217
  icon: "ele-CircleCloseFilled",
28131
28218
  onClick: closeDialog
@@ -28148,7 +28235,7 @@
28148
28235
  default: vue.withCtx(() => [
28149
28236
  vue.createVNode(_component_el_col, { span: 24 }, {
28150
28237
  default: vue.withCtx(() => [
28151
- vue.createElementVNode("div", _hoisted_2$j, [
28238
+ vue.createElementVNode("div", _hoisted_2$l, [
28152
28239
  vue.createVNode(_component_el_form, {
28153
28240
  model: state.queryParams,
28154
28241
  ref: "queryRef",
@@ -28327,7 +28414,7 @@
28327
28414
  /* STABLE */
28328
28415
  }, 8, ["data"]),
28329
28416
  vue.createVNode(_component_el_pagination, {
28330
- currentPage: state.queryParams.page,
28417
+ "current-page": state.queryParams.page,
28331
28418
  "page-size": state.queryParams.pageSize,
28332
28419
  total: state.queryParams.total,
28333
28420
  "page-sizes": [10, 20, 50, 100],
@@ -28336,7 +28423,7 @@
28336
28423
  onCurrentChange: handleCurrentChange,
28337
28424
  layout: "total, sizes, prev, pager, next, jumper",
28338
28425
  style: { "padding-bottom": "8px" }
28339
- }, null, 8, ["currentPage", "page-size", "total"])
28426
+ }, null, 8, ["current-page", "page-size", "total"])
28340
28427
  ]),
28341
28428
  _: 1
28342
28429
  /* STABLE */
@@ -28358,10 +28445,10 @@
28358
28445
  }
28359
28446
  });
28360
28447
 
28361
- const _hoisted_1$q = { style: { "color": "#fff" } };
28362
- const _hoisted_2$i = { style: { "margin-top": "10px" } };
28363
- const _hoisted_3$b = { class: "dialog-footer" };
28364
- var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
28448
+ const _hoisted_1$s = { style: { "color": "#fff" } };
28449
+ const _hoisted_2$k = { style: { "margin-top": "10px" } };
28450
+ const _hoisted_3$d = { class: "dialog-footer" };
28451
+ var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
28365
28452
  __name: "supplierUserSelectDialog",
28366
28453
  props: {
28367
28454
  visible: {
@@ -28476,7 +28563,7 @@
28476
28563
  "close-on-click-modal": false
28477
28564
  }, {
28478
28565
  header: vue.withCtx(() => [
28479
- vue.createElementVNode("div", _hoisted_1$q, [
28566
+ vue.createElementVNode("div", _hoisted_1$s, [
28480
28567
  vue.createVNode(_component_el_icon, {
28481
28568
  size: "16",
28482
28569
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -28497,7 +28584,7 @@
28497
28584
  ])
28498
28585
  ]),
28499
28586
  footer: vue.withCtx(() => [
28500
- vue.createElementVNode("div", _hoisted_3$b, [
28587
+ vue.createElementVNode("div", _hoisted_3$d, [
28501
28588
  vue.createVNode(_component_el_button, {
28502
28589
  icon: "ele-CircleCloseFilled",
28503
28590
  onClick: closeDialog
@@ -28520,7 +28607,7 @@
28520
28607
  default: vue.withCtx(() => [
28521
28608
  vue.createVNode(_component_el_col, { span: 24 }, {
28522
28609
  default: vue.withCtx(() => [
28523
- vue.createElementVNode("div", _hoisted_2$i, [
28610
+ vue.createElementVNode("div", _hoisted_2$k, [
28524
28611
  vue.createVNode(_component_el_form, {
28525
28612
  model: state.queryParams,
28526
28613
  ref: "queryRef",
@@ -28656,7 +28743,7 @@
28656
28743
  /* STABLE */
28657
28744
  }, 8, ["data"]),
28658
28745
  vue.createVNode(_component_el_pagination, {
28659
- currentPage: state.queryParams.page,
28746
+ "current-page": state.queryParams.page,
28660
28747
  "page-size": state.queryParams.pageSize,
28661
28748
  total: state.queryParams.total,
28662
28749
  "page-sizes": [10, 20, 50, 100],
@@ -28665,7 +28752,7 @@
28665
28752
  onCurrentChange: handleCurrentChange,
28666
28753
  layout: "total, sizes, prev, pager, next, jumper",
28667
28754
  style: { "padding-bottom": "8px" }
28668
- }, null, 8, ["currentPage", "page-size", "total"])
28755
+ }, null, 8, ["current-page", "page-size", "total"])
28669
28756
  ]),
28670
28757
  _: 1
28671
28758
  /* STABLE */
@@ -28687,10 +28774,10 @@
28687
28774
  }
28688
28775
  });
28689
28776
 
28690
- const _hoisted_1$p = { style: { "color": "#fff" } };
28691
- const _hoisted_2$h = { style: { "margin-top": "10px" } };
28692
- const _hoisted_3$a = { class: "dialog-footer" };
28693
- var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
28777
+ const _hoisted_1$r = { style: { "color": "#fff" } };
28778
+ const _hoisted_2$j = { style: { "margin-top": "10px" } };
28779
+ const _hoisted_3$c = { class: "dialog-footer" };
28780
+ var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
28694
28781
  __name: "accountSelectDialog",
28695
28782
  props: {
28696
28783
  visible: {
@@ -28803,7 +28890,7 @@
28803
28890
  "close-on-click-modal": false
28804
28891
  }, {
28805
28892
  header: vue.withCtx(() => [
28806
- vue.createElementVNode("div", _hoisted_1$p, [
28893
+ vue.createElementVNode("div", _hoisted_1$r, [
28807
28894
  vue.createVNode(_component_el_icon, {
28808
28895
  size: "16",
28809
28896
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -28824,7 +28911,7 @@
28824
28911
  ])
28825
28912
  ]),
28826
28913
  footer: vue.withCtx(() => [
28827
- vue.createElementVNode("div", _hoisted_3$a, [
28914
+ vue.createElementVNode("div", _hoisted_3$c, [
28828
28915
  vue.createVNode(_component_el_button, {
28829
28916
  icon: "ele-CircleCloseFilled",
28830
28917
  onClick: closeDialog
@@ -28847,7 +28934,7 @@
28847
28934
  default: vue.withCtx(() => [
28848
28935
  vue.createVNode(_component_el_col, { span: 24 }, {
28849
28936
  default: vue.withCtx(() => [
28850
- vue.createElementVNode("div", _hoisted_2$h, [
28937
+ vue.createElementVNode("div", _hoisted_2$j, [
28851
28938
  vue.createVNode(_component_el_form, {
28852
28939
  model: state.queryParams,
28853
28940
  ref: "queryRef",
@@ -28977,7 +29064,7 @@
28977
29064
  /* STABLE */
28978
29065
  }, 8, ["data"]),
28979
29066
  vue.createVNode(_component_el_pagination, {
28980
- currentPage: state.queryParams.page,
29067
+ "current-page": state.queryParams.page,
28981
29068
  "page-size": state.queryParams.pageSize,
28982
29069
  total: state.queryParams.total,
28983
29070
  "page-sizes": [10, 20, 50, 100],
@@ -28986,7 +29073,7 @@
28986
29073
  onCurrentChange: handleCurrentChange,
28987
29074
  layout: "total, sizes, prev, pager, next, jumper",
28988
29075
  style: { "padding-bottom": "8px" }
28989
- }, null, 8, ["currentPage", "page-size", "total"])
29076
+ }, null, 8, ["current-page", "page-size", "total"])
28990
29077
  ]),
28991
29078
  _: 1
28992
29079
  /* STABLE */
@@ -29008,12 +29095,12 @@
29008
29095
  }
29009
29096
  });
29010
29097
 
29011
- const _hoisted_1$o = { style: { "color": "#fff" } };
29012
- 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" } };
29013
- 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" } };
29098
+ const _hoisted_1$q = { style: { "color": "#fff" } };
29099
+ const _hoisted_2$i = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
29100
+ const _hoisted_3$b = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
29014
29101
  const _hoisted_4$5 = { style: { "margin-top": "10px" } };
29015
29102
  const _hoisted_5$5 = { class: "dialog-footer" };
29016
- var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
29103
+ var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
29017
29104
  __name: "subjectSelectDialog",
29018
29105
  props: {
29019
29106
  visible: {
@@ -29119,7 +29206,7 @@
29119
29206
  "close-on-click-modal": false
29120
29207
  }, {
29121
29208
  header: vue.withCtx(() => [
29122
- vue.createElementVNode("div", _hoisted_1$o, [
29209
+ vue.createElementVNode("div", _hoisted_1$q, [
29123
29210
  vue.createVNode(_component_el_icon, {
29124
29211
  size: "16",
29125
29212
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -29165,7 +29252,7 @@
29165
29252
  default: vue.withCtx(() => [
29166
29253
  vue.createElementVNode(
29167
29254
  "p",
29168
- _hoisted_2$g,
29255
+ _hoisted_2$i,
29169
29256
  vue.toDisplayString(_ctx.$t("\u5927\u7C7B")),
29170
29257
  1
29171
29258
  /* TEXT */
@@ -29183,7 +29270,7 @@
29183
29270
  default: vue.withCtx(() => [
29184
29271
  vue.createElementVNode(
29185
29272
  "p",
29186
- _hoisted_3$9,
29273
+ _hoisted_3$b,
29187
29274
  vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
29188
29275
  1
29189
29276
  /* TEXT */
@@ -29334,10 +29421,10 @@
29334
29421
  }
29335
29422
  });
29336
29423
 
29337
- const _hoisted_1$n = { style: { "color": "#fff" } };
29338
- const _hoisted_2$f = { style: { "margin-top": "10px" } };
29339
- const _hoisted_3$8 = { class: "dialog-footer" };
29340
- var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
29424
+ const _hoisted_1$p = { style: { "color": "#fff" } };
29425
+ const _hoisted_2$h = { style: { "margin-top": "10px" } };
29426
+ const _hoisted_3$a = { class: "dialog-footer" };
29427
+ var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
29341
29428
  __name: "linSelectDialog",
29342
29429
  props: {
29343
29430
  visible: {
@@ -29452,7 +29539,7 @@
29452
29539
  "close-on-click-modal": false
29453
29540
  }, {
29454
29541
  header: vue.withCtx(() => [
29455
- vue.createElementVNode("div", _hoisted_1$n, [
29542
+ vue.createElementVNode("div", _hoisted_1$p, [
29456
29543
  vue.createVNode(_component_el_icon, {
29457
29544
  size: "16",
29458
29545
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -29473,7 +29560,7 @@
29473
29560
  ])
29474
29561
  ]),
29475
29562
  footer: vue.withCtx(() => [
29476
- vue.createElementVNode("div", _hoisted_3$8, [
29563
+ vue.createElementVNode("div", _hoisted_3$a, [
29477
29564
  vue.createVNode(_component_el_button, {
29478
29565
  icon: "ele-CircleCloseFilled",
29479
29566
  onClick: closeDialog
@@ -29496,7 +29583,7 @@
29496
29583
  default: vue.withCtx(() => [
29497
29584
  vue.createVNode(_component_el_col, { span: 24 }, {
29498
29585
  default: vue.withCtx(() => [
29499
- vue.createElementVNode("div", _hoisted_2$f, [
29586
+ vue.createElementVNode("div", _hoisted_2$h, [
29500
29587
  vue.createVNode(_component_el_form, {
29501
29588
  model: state.queryParams,
29502
29589
  ref: "queryRef",
@@ -29644,7 +29731,7 @@
29644
29731
  /* STABLE */
29645
29732
  }, 8, ["data"]),
29646
29733
  vue.createVNode(_component_el_pagination, {
29647
- currentPage: state.queryParams.page,
29734
+ "current-page": state.queryParams.page,
29648
29735
  "page-size": state.queryParams.pageSize,
29649
29736
  total: state.queryParams.total,
29650
29737
  "page-sizes": [10, 20, 50, 100],
@@ -29653,7 +29740,7 @@
29653
29740
  onCurrentChange: handleCurrentChange,
29654
29741
  layout: "total, sizes, prev, pager, next, jumper",
29655
29742
  style: { "padding-bottom": "8px" }
29656
- }, null, 8, ["currentPage", "page-size", "total"])
29743
+ }, null, 8, ["current-page", "page-size", "total"])
29657
29744
  ]),
29658
29745
  _: 1
29659
29746
  /* STABLE */
@@ -29675,91 +29762,23 @@
29675
29762
  }
29676
29763
  });
29677
29764
 
29678
- const _hoisted_1$m = { style: { "font-size": "14px", "line-height": "30px" } };
29679
- var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
29680
- ...{
29681
- name: "FmAutocomplete"
29682
- },
29683
- __name: "index",
29684
- props: /* @__PURE__ */ vue.mergeModels({
29685
- placeholder: {
29686
- type: String,
29687
- default: "\u8BF7\u8F93\u5165\u5FEB\u901F\u641C\u7D22\u9009\u62E9"
29688
- },
29689
- /**
29690
- * ato service name
29691
- */
29692
- atoService: {
29693
- type: String,
29694
- default: "autoRes"
29695
- },
29696
- /**
29697
- * ato service 下的方法
29698
- */
29699
- atoAction: {
29700
- type: String,
29701
- default: "autoUser"
29702
- },
29703
- top: {
29704
- type: Number,
29705
- default: 15
29706
- },
29707
- searchsize: {
29708
- type: Number,
29709
- default: 22
29710
- },
29711
- /**
29712
- * 值的属性值
29713
- */
29714
- vId: {
29715
- type: String,
29716
- default: "id"
29717
- },
29718
- /**
29719
- * 值的属性标签
29720
- */
29721
- vName: {
29722
- type: String,
29723
- default: "name"
29724
- },
29725
- /**
29726
- * 过滤出来显示的名称 加上属性标签
29727
- */
29728
- vLabel: {
29729
- type: String,
29730
- default: ""
29731
- },
29732
- /**
29733
- * 查询业务表ID
29734
- */
29735
- qId: {
29736
- type: Number,
29737
- default: 0
29765
+ const _hoisted_1$o = { style: { "color": "#fff" } };
29766
+ const _hoisted_2$g = { style: { "margin-top": "10px" } };
29767
+ const _hoisted_3$9 = { class: "dialog-footer" };
29768
+ var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
29769
+ __name: "guideSelectDialog",
29770
+ props: {
29771
+ visible: {
29772
+ type: Boolean,
29773
+ default: false
29738
29774
  },
29739
29775
  title: {
29740
29776
  type: String,
29741
29777
  default: ""
29742
29778
  },
29743
- params: {
29744
- type: Object,
29745
- default: () => {
29746
- }
29747
- },
29748
- /**
29749
- * 打开类型 0--用户加机构 1-- 联系人 2-- 供应商单位 3-- 银行账户 4--科目 5--线路
29750
- * @default 0
29751
- */
29752
- openType: {
29753
- type: Number,
29754
- default: 0
29755
- },
29756
- orgService: {
29757
- type: String,
29758
- default: "autoRes"
29759
- },
29760
- orgAction: {
29761
- type: String,
29762
- default: "userOrgList"
29779
+ data: {
29780
+ type: Array,
29781
+ default: () => []
29763
29782
  },
29764
29783
  userService: {
29765
29784
  type: String,
@@ -29767,19 +29786,733 @@
29767
29786
  },
29768
29787
  userAction: {
29769
29788
  type: String,
29770
- default: "UserTable"
29771
- },
29772
- subjectService: {
29773
- type: String,
29774
- default: "autoRes"
29775
- },
29776
- subjectAction: {
29777
- type: String,
29778
- default: "subjectTable"
29789
+ default: "guideTable"
29779
29790
  },
29780
- accountService: {
29781
- type: String,
29782
- default: "autoRes"
29791
+ userParams: {
29792
+ type: Object,
29793
+ default: () => {
29794
+ }
29795
+ }
29796
+ },
29797
+ emits: ["update:visible", "change"],
29798
+ setup(__props, { expose: __expose, emit: __emit }) {
29799
+ let emits = __emit;
29800
+ const props = __props;
29801
+ const dataList = vue.ref([]);
29802
+ let checkedUsersList = vue.ref([]);
29803
+ const state = vue.reactive({
29804
+ total: 0,
29805
+ pdata: null,
29806
+ queryParams: {
29807
+ orgId: -1,
29808
+ page: 1,
29809
+ pageSize: 50
29810
+ }
29811
+ });
29812
+ let visibleDialog = vue.computed({
29813
+ get() {
29814
+ return props.visible;
29815
+ },
29816
+ set() {
29817
+ closeDialog();
29818
+ }
29819
+ });
29820
+ vue.onMounted(async () => {
29821
+ });
29822
+ const resetQuery = () => {
29823
+ state.queryParams = {};
29824
+ handleQuery();
29825
+ };
29826
+ const getUserList = async () => {
29827
+ var _a, _b, _c, _d;
29828
+ let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
29829
+ dataList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
29830
+ state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
29831
+ };
29832
+ async function handleQuery() {
29833
+ state.queryParams.pageNum = 1;
29834
+ await getUserList();
29835
+ }
29836
+ function handleSelectUser(row) {
29837
+ if (!row || row.id == "") return;
29838
+ emits("change", row);
29839
+ }
29840
+ const handledbclick = (row) => {
29841
+ handleSelectUser(row);
29842
+ };
29843
+ const handleSizeChange = (val) => {
29844
+ state.queryParams.pageSize = val;
29845
+ handleQuery();
29846
+ };
29847
+ const handleCurrentChange = (val) => {
29848
+ state.queryParams.page = val;
29849
+ handleQuery();
29850
+ };
29851
+ const closeDialog = () => {
29852
+ checkedUsersList.value = [];
29853
+ emits("update:visible", false);
29854
+ };
29855
+ __expose({
29856
+ handleQuery
29857
+ });
29858
+ return (_ctx, _cache) => {
29859
+ const _component_ele_Edit = vue.resolveComponent("ele-Edit");
29860
+ const _component_el_icon = vue.resolveComponent("el-icon");
29861
+ const _component_el_input = vue.resolveComponent("el-input");
29862
+ const _component_el_form_item = vue.resolveComponent("el-form-item");
29863
+ const _component_el_button = vue.resolveComponent("el-button");
29864
+ const _component_el_button_group = vue.resolveComponent("el-button-group");
29865
+ const _component_el_form = vue.resolveComponent("el-form");
29866
+ const _component_el_table_column = vue.resolveComponent("el-table-column");
29867
+ const _component_ele_Plus = vue.resolveComponent("ele-Plus");
29868
+ const _component_el_table = vue.resolveComponent("el-table");
29869
+ const _component_el_pagination = vue.resolveComponent("el-pagination");
29870
+ const _component_el_card = vue.resolveComponent("el-card");
29871
+ const _component_el_col = vue.resolveComponent("el-col");
29872
+ const _component_el_row = vue.resolveComponent("el-row");
29873
+ const _component_el_dialog = vue.resolveComponent("el-dialog");
29874
+ return vue.openBlock(), vue.createBlock(_component_el_dialog, {
29875
+ modelValue: vue.unref(visibleDialog),
29876
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
29877
+ style: { "width": "70vw" },
29878
+ "append-to-body": "",
29879
+ draggable: "",
29880
+ "close-on-click-modal": false
29881
+ }, {
29882
+ header: vue.withCtx(() => [
29883
+ vue.createElementVNode("div", _hoisted_1$o, [
29884
+ vue.createVNode(_component_el_icon, {
29885
+ size: "16",
29886
+ style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
29887
+ }, {
29888
+ default: vue.withCtx(() => [
29889
+ vue.createVNode(_component_ele_Edit)
29890
+ ]),
29891
+ _: 1
29892
+ /* STABLE */
29893
+ }),
29894
+ vue.createElementVNode(
29895
+ "span",
29896
+ null,
29897
+ vue.toDisplayString(_ctx.$t("\u9009\u62E9")) + vue.toDisplayString(_ctx.$t(__props.title)),
29898
+ 1
29899
+ /* TEXT */
29900
+ )
29901
+ ])
29902
+ ]),
29903
+ footer: vue.withCtx(() => [
29904
+ vue.createElementVNode("div", _hoisted_3$9, [
29905
+ vue.createVNode(_component_el_button, {
29906
+ icon: "ele-CircleCloseFilled",
29907
+ onClick: closeDialog
29908
+ }, {
29909
+ default: vue.withCtx(() => [
29910
+ vue.createTextVNode(
29911
+ vue.toDisplayString(_ctx.$t("\u53D6\u6D88")),
29912
+ 1
29913
+ /* TEXT */
29914
+ )
29915
+ ]),
29916
+ _: 1
29917
+ /* STABLE */
29918
+ }),
29919
+ vue.createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
29920
+ ])
29921
+ ]),
29922
+ default: vue.withCtx(() => [
29923
+ vue.createVNode(_component_el_row, { gutter: 10 }, {
29924
+ default: vue.withCtx(() => [
29925
+ vue.createVNode(_component_el_col, { span: 24 }, {
29926
+ default: vue.withCtx(() => [
29927
+ vue.createElementVNode("div", _hoisted_2$g, [
29928
+ vue.createVNode(_component_el_form, {
29929
+ model: state.queryParams,
29930
+ ref: "queryRef",
29931
+ inline: true
29932
+ }, {
29933
+ default: vue.withCtx(() => [
29934
+ vue.createVNode(_component_el_form_item, {
29935
+ label: _ctx.$t("\u5173\u952E\u5B57")
29936
+ }, {
29937
+ default: vue.withCtx(() => [
29938
+ vue.createVNode(_component_el_input, {
29939
+ modelValue: state.queryParams.keyword,
29940
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
29941
+ clearable: "",
29942
+ style: { "width": "150px" },
29943
+ onKeyup: vue.withKeys(handleQuery, ["enter"])
29944
+ }, null, 8, ["modelValue"])
29945
+ ]),
29946
+ _: 1
29947
+ /* STABLE */
29948
+ }, 8, ["label"]),
29949
+ vue.createVNode(_component_el_form_item, null, {
29950
+ default: vue.withCtx(() => [
29951
+ vue.createVNode(_component_el_button_group, null, {
29952
+ default: vue.withCtx(() => [
29953
+ vue.createVNode(_component_el_button, {
29954
+ type: "primary",
29955
+ icon: "ele-Search",
29956
+ onClick: handleQuery
29957
+ }, {
29958
+ default: vue.withCtx(() => [
29959
+ vue.createTextVNode(
29960
+ vue.toDisplayString(_ctx.$t("\u67E5\u8BE2")),
29961
+ 1
29962
+ /* TEXT */
29963
+ )
29964
+ ]),
29965
+ _: 1
29966
+ /* STABLE */
29967
+ }),
29968
+ vue.createVNode(_component_el_button, {
29969
+ icon: "ele-Refresh",
29970
+ onClick: resetQuery
29971
+ }, {
29972
+ default: vue.withCtx(() => [
29973
+ vue.createTextVNode(
29974
+ vue.toDisplayString(_ctx.$t("\u91CD\u7F6E")),
29975
+ 1
29976
+ /* TEXT */
29977
+ )
29978
+ ]),
29979
+ _: 1
29980
+ /* STABLE */
29981
+ })
29982
+ ]),
29983
+ _: 1
29984
+ /* STABLE */
29985
+ }),
29986
+ vue.createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
29987
+ ]),
29988
+ _: 1
29989
+ /* STABLE */
29990
+ })
29991
+ ]),
29992
+ _: 1
29993
+ /* STABLE */
29994
+ }, 8, ["model"]),
29995
+ vue.createVNode(_component_el_card, {
29996
+ class: "full-table",
29997
+ shadow: "hover"
29998
+ }, {
29999
+ default: vue.withCtx(() => [
30000
+ vue.createVNode(_component_el_table, {
30001
+ ref: "refTable",
30002
+ data: dataList.value,
30003
+ style: { "height": "calc(70vh - 96px)" },
30004
+ onRowDblclick: handledbclick
30005
+ }, {
30006
+ default: vue.withCtx(() => [
30007
+ vue.createVNode(_component_el_table_column, {
30008
+ label: _ctx.$t("\u540D\u79F0"),
30009
+ prop: "name",
30010
+ align: "center",
30011
+ "show-overflow-tooltip": true
30012
+ }, null, 8, ["label"]),
30013
+ vue.createVNode(_component_el_table_column, {
30014
+ label: _ctx.$t("\u7535\u8BDD"),
30015
+ prop: "phone",
30016
+ align: "center",
30017
+ "show-overflow-tooltip": true
30018
+ }, null, 8, ["label"]),
30019
+ vue.createVNode(_component_el_table_column, {
30020
+ label: "\u64CD\u4F5C",
30021
+ width: "60",
30022
+ align: "center"
30023
+ }, {
30024
+ default: vue.withCtx((scope) => [
30025
+ vue.createVNode(_component_el_button, {
30026
+ link: "",
30027
+ type: "primary",
30028
+ onClick: ($event) => handleSelectUser(scope.row)
30029
+ }, {
30030
+ default: vue.withCtx(() => [
30031
+ vue.createVNode(_component_el_icon, null, {
30032
+ default: vue.withCtx(() => [
30033
+ vue.createVNode(_component_ele_Plus)
30034
+ ]),
30035
+ _: 1
30036
+ /* STABLE */
30037
+ })
30038
+ ]),
30039
+ _: 1
30040
+ /* STABLE */
30041
+ }, 8, ["onClick"])
30042
+ ]),
30043
+ _: 1
30044
+ /* STABLE */
30045
+ })
30046
+ ]),
30047
+ _: 1
30048
+ /* STABLE */
30049
+ }, 8, ["data"]),
30050
+ vue.createVNode(_component_el_pagination, {
30051
+ "current-page": state.queryParams.page,
30052
+ "page-size": state.queryParams.pageSize,
30053
+ total: state.queryParams.total,
30054
+ "page-sizes": [10, 20, 50, 100],
30055
+ background: "",
30056
+ onSizeChange: handleSizeChange,
30057
+ onCurrentChange: handleCurrentChange,
30058
+ layout: "total, sizes, prev, pager, next, jumper",
30059
+ style: { "padding-bottom": "8px" }
30060
+ }, null, 8, ["current-page", "page-size", "total"])
30061
+ ]),
30062
+ _: 1
30063
+ /* STABLE */
30064
+ })
30065
+ ])
30066
+ ]),
30067
+ _: 1
30068
+ /* STABLE */
30069
+ })
30070
+ ]),
30071
+ _: 1
30072
+ /* STABLE */
30073
+ })
30074
+ ]),
30075
+ _: 1
30076
+ /* STABLE */
30077
+ }, 8, ["modelValue"]);
30078
+ };
30079
+ }
30080
+ });
30081
+
30082
+ const _hoisted_1$n = { style: { "color": "#fff" } };
30083
+ const _hoisted_2$f = { style: { "margin-top": "10px" } };
30084
+ const _hoisted_3$8 = { class: "dialog-footer" };
30085
+ var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
30086
+ __name: "dirverSelectDialog",
30087
+ props: {
30088
+ visible: {
30089
+ type: Boolean,
30090
+ default: false
30091
+ },
30092
+ title: {
30093
+ type: String,
30094
+ default: ""
30095
+ },
30096
+ data: {
30097
+ type: Array,
30098
+ default: () => []
30099
+ },
30100
+ userService: {
30101
+ type: String,
30102
+ default: "autoRes"
30103
+ },
30104
+ userAction: {
30105
+ type: String,
30106
+ default: "dirverTable"
30107
+ },
30108
+ userParams: {
30109
+ type: Object,
30110
+ default: () => {
30111
+ }
30112
+ }
30113
+ },
30114
+ emits: ["update:visible", "change"],
30115
+ setup(__props, { expose: __expose, emit: __emit }) {
30116
+ let emits = __emit;
30117
+ const props = __props;
30118
+ const dataList = vue.ref([]);
30119
+ let checkedUsersList = vue.ref([]);
30120
+ const state = vue.reactive({
30121
+ total: 0,
30122
+ pdata: null,
30123
+ queryParams: {
30124
+ orgId: -1,
30125
+ page: 1,
30126
+ pageSize: 50
30127
+ }
30128
+ });
30129
+ let visibleDialog = vue.computed({
30130
+ get() {
30131
+ return props.visible;
30132
+ },
30133
+ set() {
30134
+ closeDialog();
30135
+ }
30136
+ });
30137
+ vue.onMounted(async () => {
30138
+ });
30139
+ const resetQuery = () => {
30140
+ state.queryParams = {};
30141
+ handleQuery();
30142
+ };
30143
+ const getUserList = async () => {
30144
+ var _a, _b, _c, _d;
30145
+ let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
30146
+ dataList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
30147
+ state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
30148
+ };
30149
+ async function handleQuery() {
30150
+ state.queryParams.pageNum = 1;
30151
+ await getUserList();
30152
+ }
30153
+ function handleSelectUser(row) {
30154
+ if (!row || row.id == "") return;
30155
+ emits("change", row);
30156
+ }
30157
+ const handledbclick = (row) => {
30158
+ handleSelectUser(row);
30159
+ };
30160
+ const handleSizeChange = (val) => {
30161
+ state.queryParams.pageSize = val;
30162
+ handleQuery();
30163
+ };
30164
+ const handleCurrentChange = (val) => {
30165
+ state.queryParams.page = val;
30166
+ handleQuery();
30167
+ };
30168
+ const closeDialog = () => {
30169
+ checkedUsersList.value = [];
30170
+ emits("update:visible", false);
30171
+ };
30172
+ __expose({
30173
+ handleQuery
30174
+ });
30175
+ return (_ctx, _cache) => {
30176
+ const _component_ele_Edit = vue.resolveComponent("ele-Edit");
30177
+ const _component_el_icon = vue.resolveComponent("el-icon");
30178
+ const _component_el_input = vue.resolveComponent("el-input");
30179
+ const _component_el_form_item = vue.resolveComponent("el-form-item");
30180
+ const _component_el_button = vue.resolveComponent("el-button");
30181
+ const _component_el_button_group = vue.resolveComponent("el-button-group");
30182
+ const _component_el_form = vue.resolveComponent("el-form");
30183
+ const _component_el_table_column = vue.resolveComponent("el-table-column");
30184
+ const _component_ele_Plus = vue.resolveComponent("ele-Plus");
30185
+ const _component_el_table = vue.resolveComponent("el-table");
30186
+ const _component_el_pagination = vue.resolveComponent("el-pagination");
30187
+ const _component_el_card = vue.resolveComponent("el-card");
30188
+ const _component_el_col = vue.resolveComponent("el-col");
30189
+ const _component_el_row = vue.resolveComponent("el-row");
30190
+ const _component_el_dialog = vue.resolveComponent("el-dialog");
30191
+ return vue.openBlock(), vue.createBlock(_component_el_dialog, {
30192
+ modelValue: vue.unref(visibleDialog),
30193
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
30194
+ style: { "width": "70vw" },
30195
+ "append-to-body": "",
30196
+ draggable: "",
30197
+ "close-on-click-modal": false
30198
+ }, {
30199
+ header: vue.withCtx(() => [
30200
+ vue.createElementVNode("div", _hoisted_1$n, [
30201
+ vue.createVNode(_component_el_icon, {
30202
+ size: "16",
30203
+ style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
30204
+ }, {
30205
+ default: vue.withCtx(() => [
30206
+ vue.createVNode(_component_ele_Edit)
30207
+ ]),
30208
+ _: 1
30209
+ /* STABLE */
30210
+ }),
30211
+ vue.createElementVNode(
30212
+ "span",
30213
+ null,
30214
+ vue.toDisplayString(_ctx.$t("\u9009\u62E9")) + vue.toDisplayString(_ctx.$t(__props.title)),
30215
+ 1
30216
+ /* TEXT */
30217
+ )
30218
+ ])
30219
+ ]),
30220
+ footer: vue.withCtx(() => [
30221
+ vue.createElementVNode("div", _hoisted_3$8, [
30222
+ vue.createVNode(_component_el_button, {
30223
+ icon: "ele-CircleCloseFilled",
30224
+ onClick: closeDialog
30225
+ }, {
30226
+ default: vue.withCtx(() => [
30227
+ vue.createTextVNode(
30228
+ vue.toDisplayString(_ctx.$t("\u53D6\u6D88")),
30229
+ 1
30230
+ /* TEXT */
30231
+ )
30232
+ ]),
30233
+ _: 1
30234
+ /* STABLE */
30235
+ }),
30236
+ vue.createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
30237
+ ])
30238
+ ]),
30239
+ default: vue.withCtx(() => [
30240
+ vue.createVNode(_component_el_row, { gutter: 10 }, {
30241
+ default: vue.withCtx(() => [
30242
+ vue.createVNode(_component_el_col, { span: 24 }, {
30243
+ default: vue.withCtx(() => [
30244
+ vue.createElementVNode("div", _hoisted_2$f, [
30245
+ vue.createVNode(_component_el_form, {
30246
+ model: state.queryParams,
30247
+ ref: "queryRef",
30248
+ inline: true
30249
+ }, {
30250
+ default: vue.withCtx(() => [
30251
+ vue.createVNode(_component_el_form_item, {
30252
+ label: _ctx.$t("\u5173\u952E\u5B57")
30253
+ }, {
30254
+ default: vue.withCtx(() => [
30255
+ vue.createVNode(_component_el_input, {
30256
+ modelValue: state.queryParams.keyword,
30257
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
30258
+ clearable: "",
30259
+ style: { "width": "150px" },
30260
+ onKeyup: vue.withKeys(handleQuery, ["enter"])
30261
+ }, null, 8, ["modelValue"])
30262
+ ]),
30263
+ _: 1
30264
+ /* STABLE */
30265
+ }, 8, ["label"]),
30266
+ vue.createVNode(_component_el_form_item, null, {
30267
+ default: vue.withCtx(() => [
30268
+ vue.createVNode(_component_el_button_group, null, {
30269
+ default: vue.withCtx(() => [
30270
+ vue.createVNode(_component_el_button, {
30271
+ type: "primary",
30272
+ icon: "ele-Search",
30273
+ onClick: handleQuery
30274
+ }, {
30275
+ default: vue.withCtx(() => [
30276
+ vue.createTextVNode(
30277
+ vue.toDisplayString(_ctx.$t("\u67E5\u8BE2")),
30278
+ 1
30279
+ /* TEXT */
30280
+ )
30281
+ ]),
30282
+ _: 1
30283
+ /* STABLE */
30284
+ }),
30285
+ vue.createVNode(_component_el_button, {
30286
+ icon: "ele-Refresh",
30287
+ onClick: resetQuery
30288
+ }, {
30289
+ default: vue.withCtx(() => [
30290
+ vue.createTextVNode(
30291
+ vue.toDisplayString(_ctx.$t("\u91CD\u7F6E")),
30292
+ 1
30293
+ /* TEXT */
30294
+ )
30295
+ ]),
30296
+ _: 1
30297
+ /* STABLE */
30298
+ })
30299
+ ]),
30300
+ _: 1
30301
+ /* STABLE */
30302
+ }),
30303
+ vue.createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
30304
+ ]),
30305
+ _: 1
30306
+ /* STABLE */
30307
+ })
30308
+ ]),
30309
+ _: 1
30310
+ /* STABLE */
30311
+ }, 8, ["model"]),
30312
+ vue.createVNode(_component_el_card, {
30313
+ class: "full-table",
30314
+ shadow: "hover"
30315
+ }, {
30316
+ default: vue.withCtx(() => [
30317
+ vue.createVNode(_component_el_table, {
30318
+ ref: "refTable",
30319
+ data: dataList.value,
30320
+ style: { "height": "calc(70vh - 96px)" },
30321
+ onRowDblclick: handledbclick
30322
+ }, {
30323
+ default: vue.withCtx(() => [
30324
+ vue.createVNode(_component_el_table_column, {
30325
+ label: _ctx.$t("\u540D\u79F0"),
30326
+ prop: "name",
30327
+ align: "center",
30328
+ "show-overflow-tooltip": true
30329
+ }, null, 8, ["label"]),
30330
+ vue.createVNode(_component_el_table_column, {
30331
+ label: _ctx.$t("\u7535\u8BDD"),
30332
+ prop: "phone",
30333
+ align: "center",
30334
+ "show-overflow-tooltip": true
30335
+ }, null, 8, ["label"]),
30336
+ vue.createVNode(_component_el_table_column, {
30337
+ label: _ctx.$t("\u8F66\u724C"),
30338
+ prop: "license",
30339
+ align: "center",
30340
+ "show-overflow-tooltip": true
30341
+ }, null, 8, ["label"]),
30342
+ vue.createVNode(_component_el_table_column, {
30343
+ label: _ctx.$t("\u5EA7\u4F4D\u6570"),
30344
+ prop: "seats",
30345
+ align: "center",
30346
+ "show-overflow-tooltip": true
30347
+ }, null, 8, ["label"]),
30348
+ vue.createVNode(_component_el_table_column, {
30349
+ label: _ctx.$t("\u64CD\u4F5C"),
30350
+ width: "60",
30351
+ align: "center"
30352
+ }, {
30353
+ default: vue.withCtx((scope) => [
30354
+ vue.createVNode(_component_el_button, {
30355
+ link: "",
30356
+ type: "primary",
30357
+ onClick: ($event) => handleSelectUser(scope.row)
30358
+ }, {
30359
+ default: vue.withCtx(() => [
30360
+ vue.createVNode(_component_el_icon, null, {
30361
+ default: vue.withCtx(() => [
30362
+ vue.createVNode(_component_ele_Plus)
30363
+ ]),
30364
+ _: 1
30365
+ /* STABLE */
30366
+ })
30367
+ ]),
30368
+ _: 1
30369
+ /* STABLE */
30370
+ }, 8, ["onClick"])
30371
+ ]),
30372
+ _: 1
30373
+ /* STABLE */
30374
+ }, 8, ["label"])
30375
+ ]),
30376
+ _: 1
30377
+ /* STABLE */
30378
+ }, 8, ["data"]),
30379
+ vue.createVNode(_component_el_pagination, {
30380
+ "current-page": state.queryParams.page,
30381
+ "page-size": state.queryParams.pageSize,
30382
+ total: state.queryParams.total,
30383
+ "page-sizes": [10, 20, 50, 100],
30384
+ background: "",
30385
+ onSizeChange: handleSizeChange,
30386
+ onCurrentChange: handleCurrentChange,
30387
+ layout: "total, sizes, prev, pager, next, jumper",
30388
+ style: { "padding-bottom": "8px" }
30389
+ }, null, 8, ["current-page", "page-size", "total"])
30390
+ ]),
30391
+ _: 1
30392
+ /* STABLE */
30393
+ })
30394
+ ])
30395
+ ]),
30396
+ _: 1
30397
+ /* STABLE */
30398
+ })
30399
+ ]),
30400
+ _: 1
30401
+ /* STABLE */
30402
+ })
30403
+ ]),
30404
+ _: 1
30405
+ /* STABLE */
30406
+ }, 8, ["modelValue"]);
30407
+ };
30408
+ }
30409
+ });
30410
+
30411
+ const _hoisted_1$m = { style: { "font-size": "14px", "line-height": "30px" } };
30412
+ var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
30413
+ ...{
30414
+ name: "FmAutocomplete"
30415
+ },
30416
+ __name: "index",
30417
+ props: /* @__PURE__ */ vue.mergeModels({
30418
+ placeholder: {
30419
+ type: String,
30420
+ default: "\u8BF7\u8F93\u5165\u5FEB\u901F\u641C\u7D22\u9009\u62E9"
30421
+ },
30422
+ /**
30423
+ * ato service name
30424
+ */
30425
+ atoService: {
30426
+ type: String,
30427
+ default: "autoRes"
30428
+ },
30429
+ /**
30430
+ * ato service 下的方法
30431
+ */
30432
+ atoAction: {
30433
+ type: String,
30434
+ default: "autoUser"
30435
+ },
30436
+ top: {
30437
+ type: Number,
30438
+ default: 15
30439
+ },
30440
+ searchsize: {
30441
+ type: Number,
30442
+ default: 22
30443
+ },
30444
+ /**
30445
+ * 值的属性值
30446
+ */
30447
+ vId: {
30448
+ type: String,
30449
+ default: "id"
30450
+ },
30451
+ /**
30452
+ * 值的属性标签
30453
+ */
30454
+ vName: {
30455
+ type: String,
30456
+ default: "name"
30457
+ },
30458
+ /**
30459
+ * 过滤出来显示的名称 加上属性标签
30460
+ */
30461
+ vLabel: {
30462
+ type: String,
30463
+ default: ""
30464
+ },
30465
+ /**
30466
+ * 查询业务表ID
30467
+ */
30468
+ qId: {
30469
+ type: Number,
30470
+ default: 0
30471
+ },
30472
+ title: {
30473
+ type: String,
30474
+ default: ""
30475
+ },
30476
+ params: {
30477
+ type: Object,
30478
+ default: () => {
30479
+ }
30480
+ },
30481
+ /**
30482
+ * 打开类型 0--用户加机构 1-- 联系人 2-- 供应商单位 3-- 银行账户 4--科目 5--线路
30483
+ * @default 0
30484
+ */
30485
+ openType: {
30486
+ type: Number,
30487
+ default: 0
30488
+ },
30489
+ orgService: {
30490
+ type: String,
30491
+ default: "autoRes"
30492
+ },
30493
+ orgAction: {
30494
+ type: String,
30495
+ default: "userOrgList"
30496
+ },
30497
+ userService: {
30498
+ type: String,
30499
+ default: "autoRes"
30500
+ },
30501
+ userAction: {
30502
+ type: String,
30503
+ default: "UserTable"
30504
+ },
30505
+ subjectService: {
30506
+ type: String,
30507
+ default: "autoRes"
30508
+ },
30509
+ subjectAction: {
30510
+ type: String,
30511
+ default: "subjectTable"
30512
+ },
30513
+ accountService: {
30514
+ type: String,
30515
+ default: "autoRes"
29783
30516
  },
29784
30517
  accountAction: {
29785
30518
  type: String,
@@ -29813,6 +30546,8 @@
29813
30546
  const tableSubjectDialogRef = vue.ref();
29814
30547
  const tableLineDialogRef = vue.ref();
29815
30548
  const tableSupplierDialogRef = vue.ref();
30549
+ const tableGuideDialogRef = vue.ref();
30550
+ const tableDirverDialogRef = vue.ref();
29816
30551
  const emit = __emit;
29817
30552
  const querySearchAsync = async (queryString, cb) => {
29818
30553
  var _a;
@@ -29847,7 +30582,7 @@
29847
30582
  emit("select", value);
29848
30583
  };
29849
30584
  const handleRefresh = async () => {
29850
- var _a;
30585
+ var _a, _b, _c;
29851
30586
  await vue.nextTick();
29852
30587
  if (props.openType == 0) {
29853
30588
  if (tableUserDialogRef.value) {
@@ -29872,6 +30607,10 @@
29872
30607
  }
29873
30608
  } else if (props.openType == 5) {
29874
30609
  (_a = tableLineDialogRef.value) == null ? void 0 : _a.handleQuery();
30610
+ } else if (props.openType == 6) {
30611
+ (_b = tableGuideDialogRef.value) == null ? void 0 : _b.handleQuery();
30612
+ } else if (props.openType == 7) {
30613
+ (_c = tableDirverDialogRef.value) == null ? void 0 : _c.handleQuery();
29875
30614
  }
29876
30615
  };
29877
30616
  return (_ctx, _cache) => {
@@ -29879,7 +30618,7 @@
29879
30618
  const _component_el_autocomplete = vue.resolveComponent("el-autocomplete");
29880
30619
  return vue.openBlock(), vue.createBlock(_component_el_autocomplete, {
29881
30620
  modelValue: autoName.value,
29882
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => autoName.value = $event),
30621
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => autoName.value = $event),
29883
30622
  debounce: 500,
29884
30623
  "fetch-suggestions": querySearchAsync,
29885
30624
  placeholder: props.placeholder,
@@ -29925,7 +30664,7 @@
29925
30664
  _: 1
29926
30665
  /* STABLE */
29927
30666
  }, 8, ["size"]),
29928
- __props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
30667
+ __props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
29929
30668
  key: 0,
29930
30669
  ref_key: "tableUserDialogRef",
29931
30670
  ref: tableUserDialogRef,
@@ -29940,7 +30679,7 @@
29940
30679
  userParams: __props.params,
29941
30680
  onChange: handleSelectDialogChange
29942
30681
  }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29943
- __props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
30682
+ __props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
29944
30683
  key: 1,
29945
30684
  ref_key: "tableSupplierUserDialogRef",
29946
30685
  ref: tableSupplierUserDialogRef,
@@ -29952,7 +30691,7 @@
29952
30691
  userParams: __props.params,
29953
30692
  onChange: handleSelectDialogChange
29954
30693
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29955
- __props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
30694
+ __props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$z, {
29956
30695
  key: 2,
29957
30696
  ref_key: "tableSupplierDialogRef",
29958
30697
  ref: tableSupplierDialogRef,
@@ -29965,7 +30704,7 @@
29965
30704
  onChange: handleSelectDialogChange
29966
30705
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29967
30706
  vue.createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
29968
- __props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
30707
+ __props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
29969
30708
  key: 3,
29970
30709
  ref_key: "tableAccountDialogRef",
29971
30710
  ref: tableAccountDialogRef,
@@ -29978,7 +30717,7 @@
29978
30717
  onChange: handleSelectDialogChange
29979
30718
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
29980
30719
  vue.createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
29981
- __props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
30720
+ __props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
29982
30721
  key: 4,
29983
30722
  ref_key: "tableSubjectDialogRef",
29984
30723
  ref: tableSubjectDialogRef,
@@ -29991,7 +30730,7 @@
29991
30730
  onChange: handleSelectDialogChange
29992
30731
  }, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : vue.createCommentVNode("v-if", true),
29993
30732
  vue.createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
29994
- __props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
30733
+ __props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
29995
30734
  key: 5,
29996
30735
  ref_key: "tableLineDialogRef",
29997
30736
  ref: tableLineDialogRef,
@@ -30002,6 +30741,32 @@
30002
30741
  userAction: __props.userAction,
30003
30742
  userParams: __props.params,
30004
30743
  onChange: handleSelectDialogChange
30744
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
30745
+ vue.createCommentVNode("\u5BFC\u6E38\u9009\u62E9"),
30746
+ __props.openType == 6 ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
30747
+ key: 6,
30748
+ ref_key: "tableGuideDialogRef",
30749
+ ref: tableGuideDialogRef,
30750
+ visible: visibleopenDialog.value,
30751
+ "onUpdate:visible": _cache[7] || (_cache[7] = ($event) => visibleopenDialog.value = $event),
30752
+ title: __props.title,
30753
+ userService: __props.userService,
30754
+ userAction: __props.userAction,
30755
+ userParams: __props.params,
30756
+ onChange: handleSelectDialogChange
30757
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
30758
+ vue.createCommentVNode("\u53F8\u673A\u9009\u62E9"),
30759
+ __props.openType == 7 ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
30760
+ key: 7,
30761
+ ref_key: "tableDirverDialogRef",
30762
+ ref: tableDirverDialogRef,
30763
+ visible: visibleopenDialog.value,
30764
+ "onUpdate:visible": _cache[8] || (_cache[8] = ($event) => visibleopenDialog.value = $event),
30765
+ title: __props.title,
30766
+ userService: __props.userService,
30767
+ userAction: __props.userAction,
30768
+ userParams: __props.params,
30769
+ onChange: handleSelectDialogChange
30005
30770
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true)
30006
30771
  ]),
30007
30772
  key: "1"
@@ -30259,7 +31024,7 @@
30259
31024
  _: 1
30260
31025
  /* STABLE */
30261
31026
  }, 8, ["size"]),
30262
- __props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
31027
+ __props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
30263
31028
  key: 0,
30264
31029
  ref_key: "tableUserDialogRef",
30265
31030
  ref: tableUserDialogRef,
@@ -30274,7 +31039,7 @@
30274
31039
  userParams: __props.params,
30275
31040
  onChange: handleSelectDialogChange
30276
31041
  }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
30277
- __props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
31042
+ __props.openType == 1 ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
30278
31043
  key: 1,
30279
31044
  ref_key: "tableSupplierUserDialogRef",
30280
31045
  ref: tableSupplierUserDialogRef,
@@ -30286,7 +31051,7 @@
30286
31051
  userParams: __props.params,
30287
31052
  onChange: handleSelectDialogChange
30288
31053
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
30289
- __props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
31054
+ __props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$z, {
30290
31055
  key: 2,
30291
31056
  ref_key: "tableSupplierDialogRef",
30292
31057
  ref: tableSupplierDialogRef,
@@ -30299,7 +31064,7 @@
30299
31064
  onChange: handleSelectDialogChange
30300
31065
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
30301
31066
  vue.createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
30302
- __props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
31067
+ __props.openType == 3 ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
30303
31068
  key: 3,
30304
31069
  ref_key: "tableAccountDialogRef",
30305
31070
  ref: tableAccountDialogRef,
@@ -30312,7 +31077,7 @@
30312
31077
  onChange: handleSelectDialogChange
30313
31078
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
30314
31079
  vue.createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
30315
- __props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
31080
+ __props.openType == 4 ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
30316
31081
  key: 4,
30317
31082
  ref_key: "tableSubjectDialogRef",
30318
31083
  ref: tableSubjectDialogRef,
@@ -30325,7 +31090,7 @@
30325
31090
  onChange: handleSelectDialogChange
30326
31091
  }, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : vue.createCommentVNode("v-if", true),
30327
31092
  vue.createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
30328
- __props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
31093
+ __props.openType == 5 ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
30329
31094
  key: 5,
30330
31095
  ref_key: "tableLineDialogRef",
30331
31096
  ref: tableLineDialogRef,