@fmdeui/fmui 1.0.139 → 1.0.141

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 (31) hide show
  1. package/es/components/fm-autocomplete/component/linSelectDialog.vue.d.ts +72 -0
  2. package/es/components/fm-autocomplete/component/supplierUserSelectDialog.vue.d.ts +72 -0
  3. package/es/components/fm-autocomplete/index.vue.d.ts +2 -2
  4. package/es/packages/components/fm-autocomplete/component/linSelectDialog.vue.mjs +5 -0
  5. package/es/packages/components/fm-autocomplete/component/linSelectDialog2.vue.mjs +347 -0
  6. package/es/packages/components/fm-autocomplete/component/supplierUserSelectDialog.vue.mjs +5 -0
  7. package/es/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.mjs +335 -0
  8. package/es/packages/components/fm-autocomplete/index2.vue.mjs +39 -14
  9. package/index.js +922 -229
  10. package/index.min.js +7 -7
  11. package/index.min.mjs +7 -7
  12. package/index.mjs +922 -229
  13. package/lib/components/fm-autocomplete/component/linSelectDialog.vue.d.ts +72 -0
  14. package/lib/components/fm-autocomplete/component/supplierUserSelectDialog.vue.d.ts +72 -0
  15. package/lib/components/fm-autocomplete/index.vue.d.ts +2 -2
  16. package/lib/packages/components/fm-autocomplete/component/linSelectDialog.vue.js +9 -0
  17. package/lib/packages/components/fm-autocomplete/component/linSelectDialog2.vue.js +351 -0
  18. package/lib/packages/components/fm-autocomplete/component/supplierUserSelectDialog.vue.js +9 -0
  19. package/lib/packages/components/fm-autocomplete/component/supplierUserSelectDialog2.vue.js +339 -0
  20. package/lib/packages/components/fm-autocomplete/index2.vue.js +34 -9
  21. package/locale/en.js +1 -1
  22. package/locale/en.min.js +1 -1
  23. package/locale/en.min.mjs +1 -1
  24. package/locale/en.mjs +1 -1
  25. package/locale/zh-cn.js +1 -1
  26. package/locale/zh-cn.min.js +1 -1
  27. package/locale/zh-cn.min.mjs +1 -1
  28. package/locale/zh-cn.mjs +1 -1
  29. package/package.json +1 -1
  30. /package/es/{index.css → defaults.css} +0 -0
  31. /package/lib/{index.css → defaults.css} +0 -0
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.139 */
1
+ /*! fmdeui-fmui v1.0.141 */
2
2
  import VxeUITable from 'vxe-table';
3
3
  import VxeUIPluginRenderElement from '@vxe-ui/plugin-render-element';
4
4
  import VxeUIPluginExportXLSX from '@vxe-ui/plugin-export-xlsx';
@@ -20414,7 +20414,7 @@ const setupVXETable = (app) => {
20414
20414
  app.use(VxeUITable);
20415
20415
  };
20416
20416
 
20417
- var _sfc_main$Q = /* @__PURE__ */ defineComponent({
20417
+ var _sfc_main$S = /* @__PURE__ */ defineComponent({
20418
20418
  ...{
20419
20419
  name: "FButton"
20420
20420
  },
@@ -20484,7 +20484,7 @@ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
20484
20484
  }
20485
20485
  });
20486
20486
 
20487
- const FButton = _sfc_main$Q;
20487
+ const FButton = _sfc_main$S;
20488
20488
 
20489
20489
  const buildTranslator = (locale) => (path, option) => translate(path, option, unref(locale));
20490
20490
  const translate = (path, option, locale) => get(locale, path, path).replace(
@@ -21208,9 +21208,9 @@ function getPageSetting(field, defaultValue = "", flag = "main") {
21208
21208
  return setting;
21209
21209
  }
21210
21210
 
21211
- const _hoisted_1$z = { key: 0 };
21212
- const _hoisted_2$n = { key: 0 };
21213
- var _sfc_main$P = /* @__PURE__ */ defineComponent({
21211
+ const _hoisted_1$B = { key: 0 };
21212
+ const _hoisted_2$p = { key: 0 };
21213
+ var _sfc_main$R = /* @__PURE__ */ defineComponent({
21214
21214
  ...{
21215
21215
  name: "FInput"
21216
21216
  },
@@ -21417,7 +21417,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
21417
21417
  fn: withCtx(() => [
21418
21418
  __props.inputType === "amount" ? (openBlock(), createElementBlock(
21419
21419
  "span",
21420
- _hoisted_1$z,
21420
+ _hoisted_1$B,
21421
21421
  toDisplayString(appendTitleText.value),
21422
21422
  1
21423
21423
  /* TEXT */
@@ -21450,7 +21450,7 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
21450
21450
  fn: withCtx(() => [
21451
21451
  __props.inputType === "amount" ? (openBlock(), createElementBlock(
21452
21452
  "span",
21453
- _hoisted_2$n,
21453
+ _hoisted_2$p,
21454
21454
  toDisplayString(appendTitleText.value),
21455
21455
  1
21456
21456
  /* TEXT */
@@ -21463,13 +21463,13 @@ var _sfc_main$P = /* @__PURE__ */ defineComponent({
21463
21463
  }
21464
21464
  });
21465
21465
 
21466
- const FInput = _sfc_main$P;
21466
+ const FInput = _sfc_main$R;
21467
21467
 
21468
- const _hoisted_1$y = {
21468
+ const _hoisted_1$A = {
21469
21469
  key: 0,
21470
21470
  class: "back_to_top"
21471
21471
  };
21472
- var _sfc_main$O = /* @__PURE__ */ defineComponent({
21472
+ var _sfc_main$Q = /* @__PURE__ */ defineComponent({
21473
21473
  ...{
21474
21474
  name: "FLayoutPage"
21475
21475
  },
@@ -21531,7 +21531,7 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
21531
21531
  },
21532
21532
  [
21533
21533
  renderSlot(_ctx.$slots, "default"),
21534
- __props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$y, [
21534
+ __props.showGoTopButton ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
21535
21535
  isShowGoTopButton.value ? (openBlock(), createElementBlock("div", {
21536
21536
  key: 0,
21537
21537
  onClick: backToTop
@@ -21559,9 +21559,9 @@ var _sfc_main$O = /* @__PURE__ */ defineComponent({
21559
21559
  }
21560
21560
  });
21561
21561
 
21562
- const FLayoutPage = _sfc_main$O;
21562
+ const FLayoutPage = _sfc_main$Q;
21563
21563
 
21564
- var _sfc_main$N = /* @__PURE__ */ defineComponent({
21564
+ var _sfc_main$P = /* @__PURE__ */ defineComponent({
21565
21565
  ...{
21566
21566
  name: "FLayoutPageItem"
21567
21567
  },
@@ -21589,7 +21589,7 @@ var _sfc_main$N = /* @__PURE__ */ defineComponent({
21589
21589
  }
21590
21590
  });
21591
21591
 
21592
- const FLayoutPageItem = _sfc_main$N;
21592
+ const FLayoutPageItem = _sfc_main$P;
21593
21593
 
21594
21594
  function debounce(func, delay = 500, immediate, resultCallback) {
21595
21595
  let timer = null;
@@ -21632,8 +21632,8 @@ function toLine(name) {
21632
21632
  return name.replace(/([A-Z])/g, "_$1").toLowerCase();
21633
21633
  }
21634
21634
 
21635
- const _hoisted_1$x = ["id"];
21636
- var _sfc_main$M = /* @__PURE__ */ defineComponent({
21635
+ const _hoisted_1$z = ["id"];
21636
+ var _sfc_main$O = /* @__PURE__ */ defineComponent({
21637
21637
  ...{
21638
21638
  name: "FChart"
21639
21639
  },
@@ -21717,7 +21717,7 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
21717
21717
  id: __props.id,
21718
21718
  ref_key: "echartRef",
21719
21719
  ref: echartRef
21720
- }, null, 8, _hoisted_1$x), [
21720
+ }, null, 8, _hoisted_1$z), [
21721
21721
  [vShow, !formatEmpty.value]
21722
21722
  ]),
21723
21723
  formatEmpty.value ? renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
@@ -21732,13 +21732,13 @@ var _sfc_main$M = /* @__PURE__ */ defineComponent({
21732
21732
  }
21733
21733
  });
21734
21734
 
21735
- const FChart = _sfc_main$M;
21735
+ const FChart = _sfc_main$O;
21736
21736
 
21737
- const _hoisted_1$w = {
21737
+ const _hoisted_1$y = {
21738
21738
  key: 1,
21739
21739
  class: "f_select__pagination"
21740
21740
  };
21741
- var _sfc_main$L = /* @__PURE__ */ defineComponent({
21741
+ var _sfc_main$N = /* @__PURE__ */ defineComponent({
21742
21742
  ...{
21743
21743
  name: "FSelect"
21744
21744
  },
@@ -21951,7 +21951,7 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
21951
21951
  128
21952
21952
  /* KEYED_FRAGMENT */
21953
21953
  )),
21954
- __props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
21954
+ __props.isShowPagination && filteredOptionsCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$y, [
21955
21955
  createVNode(_component_el_pagination, mergeProps({
21956
21956
  "current-page": __props.paginationOption.currentPage,
21957
21957
  "onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
@@ -21989,9 +21989,9 @@ var _sfc_main$L = /* @__PURE__ */ defineComponent({
21989
21989
  }
21990
21990
  });
21991
21991
 
21992
- const FSelect = _sfc_main$L;
21992
+ const FSelect = _sfc_main$N;
21993
21993
 
21994
- var _sfc_main$K = /* @__PURE__ */ defineComponent({
21994
+ var _sfc_main$M = /* @__PURE__ */ defineComponent({
21995
21995
  ...{
21996
21996
  name: "RenderComp"
21997
21997
  },
@@ -22011,12 +22011,12 @@ var _sfc_main$K = /* @__PURE__ */ defineComponent({
22011
22011
  }
22012
22012
  });
22013
22013
 
22014
- const _hoisted_1$v = { class: "inside_box" };
22015
- const _hoisted_2$m = { class: "inside_box_title" };
22016
- const _hoisted_3$e = { class: "check-box" };
22014
+ const _hoisted_1$x = { class: "inside_box" };
22015
+ const _hoisted_2$o = { class: "inside_box_title" };
22016
+ const _hoisted_3$g = { class: "check-box" };
22017
22017
  const _hoisted_4$9 = { class: "more_dropdown_icon" };
22018
22018
  const _hoisted_5$8 = { class: "out_box" };
22019
- var _sfc_main$J = /* @__PURE__ */ defineComponent({
22019
+ var _sfc_main$L = /* @__PURE__ */ defineComponent({
22020
22020
  ...{
22021
22021
  name: "MoreChoose"
22022
22022
  },
@@ -22154,8 +22154,8 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
22154
22154
  ])
22155
22155
  ]),
22156
22156
  default: withCtx(() => [
22157
- createElementVNode("div", _hoisted_1$v, [
22158
- createElementVNode("div", _hoisted_2$m, [
22157
+ createElementVNode("div", _hoisted_1$x, [
22158
+ createElementVNode("div", _hoisted_2$o, [
22159
22159
  createElementVNode(
22160
22160
  "div",
22161
22161
  null,
@@ -22163,7 +22163,7 @@ var _sfc_main$J = /* @__PURE__ */ defineComponent({
22163
22163
  1
22164
22164
  /* TEXT */
22165
22165
  ),
22166
- createElementVNode("div", _hoisted_3$e, [
22166
+ createElementVNode("div", _hoisted_3$g, [
22167
22167
  createVNode(_component_el_button, {
22168
22168
  size: "small",
22169
22169
  link: "",
@@ -22331,7 +22331,7 @@ function useComputed() {
22331
22331
  };
22332
22332
  }
22333
22333
 
22334
- var _sfc_main$I = /* @__PURE__ */ defineComponent({
22334
+ var _sfc_main$K = /* @__PURE__ */ defineComponent({
22335
22335
  ...{
22336
22336
  name: "FQueryCondition"
22337
22337
  },
@@ -22750,7 +22750,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
22750
22750
  opt.labelRender ? {
22751
22751
  name: "label",
22752
22752
  fn: withCtx(() => [
22753
- createVNode(_sfc_main$K, {
22753
+ createVNode(_sfc_main$M, {
22754
22754
  form: unref(queryState).form,
22755
22755
  render: opt.labelRender
22756
22756
  }, null, 8, ["form", "render"])
@@ -22846,7 +22846,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
22846
22846
  _: 1
22847
22847
  /* STABLE */
22848
22848
  })) : createCommentVNode("v-if", true),
22849
- createVNode(_sfc_main$J, {
22849
+ createVNode(_sfc_main$L, {
22850
22850
  isDropDownSelectMore: __props.isDropDownSelectMore,
22851
22851
  moreCheckList: __props.moreCheckList,
22852
22852
  popoverAttrsBind: popoverAttrsBind.value,
@@ -22872,7 +22872,7 @@ var _sfc_main$I = /* @__PURE__ */ defineComponent({
22872
22872
  }
22873
22873
  });
22874
22874
 
22875
- var _sfc_main$H = /* @__PURE__ */ defineComponent({
22875
+ var _sfc_main$J = /* @__PURE__ */ defineComponent({
22876
22876
  ...{
22877
22877
  name: "RenderCol"
22878
22878
  },
@@ -23028,17 +23028,17 @@ function useVirtualized() {
23028
23028
  };
23029
23029
  }
23030
23030
 
23031
- const _hoisted_1$u = {
23031
+ const _hoisted_1$w = {
23032
23032
  key: 0,
23033
23033
  class: "table_query_condition"
23034
23034
  };
23035
- const _hoisted_2$l = ["element-loading-text"];
23036
- const _hoisted_3$d = { key: 2 };
23035
+ const _hoisted_2$n = ["element-loading-text"];
23036
+ const _hoisted_3$f = { key: 2 };
23037
23037
  const _hoisted_4$8 = {
23038
23038
  key: 0,
23039
23039
  class: "f-table-select__page"
23040
23040
  };
23041
- var _sfc_main$G = /* @__PURE__ */ defineComponent({
23041
+ var _sfc_main$I = /* @__PURE__ */ defineComponent({
23042
23042
  ...{
23043
23043
  name: "FSelectTable"
23044
23044
  },
@@ -23660,9 +23660,9 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
23660
23660
  style: normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
23661
23661
  },
23662
23662
  [
23663
- __props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
23663
+ __props.isShowQuery ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
23664
23664
  createVNode(
23665
- _sfc_main$I,
23665
+ _sfc_main$K,
23666
23666
  mergeProps({
23667
23667
  ref_key: "fQueryConditionRef",
23668
23668
  ref: fQueryConditionRef,
@@ -23788,7 +23788,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
23788
23788
  fixed: item.fixed
23789
23789
  }, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
23790
23790
  default: withCtx((scope) => [
23791
- item.render ? (openBlock(), createBlock(_sfc_main$H, {
23791
+ item.render ? (openBlock(), createBlock(_sfc_main$J, {
23792
23792
  key: 0,
23793
23793
  column: item,
23794
23794
  row: scope.row,
@@ -23799,7 +23799,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
23799
23799
  key: 1,
23800
23800
  scope
23801
23801
  }) : createCommentVNode("v-if", true),
23802
- !item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$d, [
23802
+ !item.render && !item.slotName ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
23803
23803
  createElementVNode(
23804
23804
  "span",
23805
23805
  null,
@@ -23833,7 +23833,7 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
23833
23833
  total: __props.table.total
23834
23834
  }, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
23835
23835
  ])) : createCommentVNode("v-if", true)
23836
- ], 8, _hoisted_2$l)), [
23836
+ ], 8, _hoisted_2$n)), [
23837
23837
  [_directive_loading, __props.tableLoading]
23838
23838
  ]),
23839
23839
  renderSlot(_ctx.$slots, "footer")
@@ -23851,11 +23851,11 @@ var _sfc_main$G = /* @__PURE__ */ defineComponent({
23851
23851
  }
23852
23852
  });
23853
23853
 
23854
- const FSelectTable = _sfc_main$G;
23854
+ const FSelectTable = _sfc_main$I;
23855
23855
 
23856
- const FQueryCondition = _sfc_main$I;
23856
+ const FQueryCondition = _sfc_main$K;
23857
23857
 
23858
- var _sfc_main$F = /* @__PURE__ */ defineComponent({
23858
+ var _sfc_main$H = /* @__PURE__ */ defineComponent({
23859
23859
  ...{
23860
23860
  name: "RenderComp"
23861
23861
  },
@@ -23875,7 +23875,7 @@ var _sfc_main$F = /* @__PURE__ */ defineComponent({
23875
23875
  }
23876
23876
  });
23877
23877
 
23878
- var _sfc_main$E = /* @__PURE__ */ defineComponent({
23878
+ var _sfc_main$G = /* @__PURE__ */ defineComponent({
23879
23879
  ...{
23880
23880
  name: "RenderBtn"
23881
23881
  },
@@ -23895,12 +23895,12 @@ var _sfc_main$E = /* @__PURE__ */ defineComponent({
23895
23895
  }
23896
23896
  });
23897
23897
 
23898
- const _hoisted_1$t = {
23898
+ const _hoisted_1$v = {
23899
23899
  key: 1,
23900
23900
  class: "text_show"
23901
23901
  };
23902
- const _hoisted_2$k = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23903
- var _sfc_main$D = /* @__PURE__ */ defineComponent({
23902
+ const _hoisted_2$m = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23903
+ var _sfc_main$F = /* @__PURE__ */ defineComponent({
23904
23904
  ...{
23905
23905
  name: "FForm"
23906
23906
  },
@@ -24151,7 +24151,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
24151
24151
  }) : createCommentVNode("v-if", true),
24152
24152
  item.textShow ? (openBlock(), createElementBlock(
24153
24153
  "span",
24154
- _hoisted_1$t,
24154
+ _hoisted_1$v,
24155
24155
  toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
24156
24156
  1
24157
24157
  /* TEXT */
@@ -24271,7 +24271,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
24271
24271
  item.labelSlotName || item.labelRender ? {
24272
24272
  name: "label",
24273
24273
  fn: withCtx(() => [
24274
- item.labelRender ? (openBlock(), createBlock(_sfc_main$F, {
24274
+ item.labelRender ? (openBlock(), createBlock(_sfc_main$H, {
24275
24275
  key: 0,
24276
24276
  render: item.labelRender,
24277
24277
  item
@@ -24293,7 +24293,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
24293
24293
  /* UNKEYED_FRAGMENT */
24294
24294
  )),
24295
24295
  createCommentVNode(" \u6309\u94AE "),
24296
- createElementVNode("div", _hoisted_2$k, [
24296
+ createElementVNode("div", _hoisted_2$m, [
24297
24297
  __props.formOpts.btnSlotName ? renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : createCommentVNode("v-if", true),
24298
24298
  !__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (openBlock(true), createElementBlock(
24299
24299
  Fragment,
@@ -24303,7 +24303,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
24303
24303
  Fragment,
24304
24304
  null,
24305
24305
  [
24306
- val.render ? (openBlock(), createBlock(_sfc_main$E, {
24306
+ val.render ? (openBlock(), createBlock(_sfc_main$G, {
24307
24307
  key: index,
24308
24308
  item: val,
24309
24309
  render: val.render
@@ -24350,10 +24350,10 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
24350
24350
  }
24351
24351
  });
24352
24352
 
24353
- const FForm = _sfc_main$D;
24353
+ const FForm = _sfc_main$F;
24354
24354
 
24355
- const _hoisted_1$s = ["src"];
24356
- var _sfc_main$C = /* @__PURE__ */ defineComponent({
24355
+ const _hoisted_1$u = ["src"];
24356
+ var _sfc_main$E = /* @__PURE__ */ defineComponent({
24357
24357
  ...{
24358
24358
  name: "svgIcon"
24359
24359
  },
@@ -24424,7 +24424,7 @@ var _sfc_main$C = /* @__PURE__ */ defineComponent({
24424
24424
  createElementVNode("img", {
24425
24425
  src: getIconName.value,
24426
24426
  style: normalizeStyle(setIconSvgInsStyle.value)
24427
- }, null, 12, _hoisted_1$s)
24427
+ }, null, 12, _hoisted_1$u)
24428
24428
  ],
24429
24429
  4
24430
24430
  /* STYLE */
@@ -24451,13 +24451,13 @@ function elSvg(app) {
24451
24451
  }
24452
24452
  }
24453
24453
  if (!app._context.components[`SvgIcon`]) {
24454
- app.component("SvgIcon", _sfc_main$C);
24454
+ app.component("SvgIcon", _sfc_main$E);
24455
24455
  }
24456
24456
  }
24457
24457
 
24458
24458
  const emitter = mitt();
24459
24459
 
24460
- var _sfc_main$B = /* @__PURE__ */ defineComponent({
24460
+ var _sfc_main$D = /* @__PURE__ */ defineComponent({
24461
24461
  ...{
24462
24462
  name: "FLayout"
24463
24463
  },
@@ -24543,7 +24543,7 @@ var _sfc_main$B = /* @__PURE__ */ defineComponent({
24543
24543
  }
24544
24544
  });
24545
24545
 
24546
- const FLayout = _sfc_main$B;
24546
+ const FLayout = _sfc_main$D;
24547
24547
 
24548
24548
  function commonFunction() {
24549
24549
  const { copy, isSupported } = useClipboard();
@@ -24820,9 +24820,9 @@ const other = {
24820
24820
  // },
24821
24821
  };
24822
24822
 
24823
- const _hoisted_1$r = { class: "layout-breadcrumb-seting" };
24824
- const _hoisted_2$j = { class: "layout-breadcrumb-seting-bar-flex" };
24825
- const _hoisted_3$c = { class: "layout-breadcrumb-seting-bar-flex-label" };
24823
+ const _hoisted_1$t = { class: "layout-breadcrumb-seting" };
24824
+ const _hoisted_2$l = { class: "layout-breadcrumb-seting-bar-flex" };
24825
+ const _hoisted_3$e = { class: "layout-breadcrumb-seting-bar-flex-label" };
24826
24826
  const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
24827
24827
  const _hoisted_5$7 = { style: { "margin": "10px 0" } };
24828
24828
  const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
@@ -24945,7 +24945,7 @@ const _hoisted_119 = {
24945
24945
  class: "traditionalColors-chines",
24946
24946
  style: { "cursor": "grab", "color": "gray" }
24947
24947
  };
24948
- var _sfc_main$A = /* @__PURE__ */ defineComponent({
24948
+ var _sfc_main$C = /* @__PURE__ */ defineComponent({
24949
24949
  ...{
24950
24950
  name: "FSettings"
24951
24951
  },
@@ -25209,7 +25209,7 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
25209
25209
  const _component_el_col = resolveComponent("el-col");
25210
25210
  const _component_el_row = resolveComponent("el-row");
25211
25211
  const _component_el_dialog = resolveComponent("el-dialog");
25212
- return openBlock(), createElementBlock("div", _hoisted_1$r, [
25212
+ return openBlock(), createElementBlock("div", _hoisted_1$t, [
25213
25213
  createVNode(_component_el_drawer, {
25214
25214
  title: _ctx.$t("message.layout.configTitle"),
25215
25215
  modelValue: getThemeConfig.value.isDrawer,
@@ -25234,10 +25234,10 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
25234
25234
  _: 1
25235
25235
  /* STABLE */
25236
25236
  }),
25237
- createElementVNode("div", _hoisted_2$j, [
25237
+ createElementVNode("div", _hoisted_2$l, [
25238
25238
  createElementVNode(
25239
25239
  "div",
25240
- _hoisted_3$c,
25240
+ _hoisted_3$e,
25241
25241
  toDisplayString(_ctx.$t("message.layout.themeColors")),
25242
25242
  1
25243
25243
  /* TEXT */
@@ -26708,9 +26708,9 @@ var _sfc_main$A = /* @__PURE__ */ defineComponent({
26708
26708
  }
26709
26709
  });
26710
26710
 
26711
- const FSettings = _sfc_main$A;
26711
+ const FSettings = _sfc_main$C;
26712
26712
 
26713
- var _sfc_main$z = /* @__PURE__ */ defineComponent({
26713
+ var _sfc_main$B = /* @__PURE__ */ defineComponent({
26714
26714
  ...{
26715
26715
  name: "FModifyRecord"
26716
26716
  },
@@ -26973,10 +26973,10 @@ var _sfc_main$z = /* @__PURE__ */ defineComponent({
26973
26973
  }
26974
26974
  });
26975
26975
 
26976
- const FModifyRecord = _sfc_main$z;
26976
+ const FModifyRecord = _sfc_main$B;
26977
26977
 
26978
- const _hoisted_1$q = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
26979
- var _sfc_main$y = /* @__PURE__ */ defineComponent({
26978
+ const _hoisted_1$s = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
26979
+ var _sfc_main$A = /* @__PURE__ */ defineComponent({
26980
26980
  ...{
26981
26981
  name: "FmSelect"
26982
26982
  },
@@ -27135,7 +27135,7 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
27135
27135
  onClear: handelClear
27136
27136
  }, {
27137
27137
  header: withCtx(() => [
27138
- createElementVNode("div", _hoisted_1$q, [
27138
+ createElementVNode("div", _hoisted_1$s, [
27139
27139
  createVNode(_component_el_icon, {
27140
27140
  color: "#13c2c2",
27141
27141
  size: __props.freshSize,
@@ -27177,9 +27177,9 @@ var _sfc_main$y = /* @__PURE__ */ defineComponent({
27177
27177
  }
27178
27178
  });
27179
27179
 
27180
- const FmSelect = _sfc_main$y;
27180
+ const FmSelect = _sfc_main$A;
27181
27181
 
27182
- var _sfc_main$x = /* @__PURE__ */ defineComponent({
27182
+ var _sfc_main$z = /* @__PURE__ */ defineComponent({
27183
27183
  ...{
27184
27184
  name: "Fminputdropdown"
27185
27185
  },
@@ -27377,9 +27377,9 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
27377
27377
  }
27378
27378
  });
27379
27379
 
27380
- const Fminputdropdown = _sfc_main$x;
27380
+ const Fminputdropdown = _sfc_main$z;
27381
27381
 
27382
- var _sfc_main$w = /* @__PURE__ */ defineComponent({
27382
+ var _sfc_main$y = /* @__PURE__ */ defineComponent({
27383
27383
  ...{ name: "FmInputNumber" },
27384
27384
  __name: "index",
27385
27385
  props: /* @__PURE__ */ mergeModels({
@@ -27495,14 +27495,14 @@ var _sfc_main$w = /* @__PURE__ */ defineComponent({
27495
27495
  }
27496
27496
  });
27497
27497
 
27498
- const FmInputNumber = _sfc_main$w;
27498
+ const FmInputNumber = _sfc_main$y;
27499
27499
 
27500
- const _hoisted_1$p = { style: { "color": "#fff" } };
27501
- 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" } };
27502
- 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" } };
27500
+ const _hoisted_1$r = { style: { "color": "#fff" } };
27501
+ const _hoisted_2$k = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27502
+ const _hoisted_3$d = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27503
27503
  const _hoisted_4$6 = { style: { "margin-top": "10px" } };
27504
27504
  const _hoisted_5$6 = { class: "dialog-footer" };
27505
- var _sfc_main$v = /* @__PURE__ */ defineComponent({
27505
+ var _sfc_main$x = /* @__PURE__ */ defineComponent({
27506
27506
  __name: "userSelectDialog",
27507
27507
  props: {
27508
27508
  visible: {
@@ -27639,7 +27639,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
27639
27639
  "close-on-click-modal": false
27640
27640
  }, {
27641
27641
  header: withCtx(() => [
27642
- createElementVNode("div", _hoisted_1$p, [
27642
+ createElementVNode("div", _hoisted_1$r, [
27643
27643
  createVNode(_component_el_icon, {
27644
27644
  size: "16",
27645
27645
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -27685,7 +27685,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
27685
27685
  default: withCtx(() => [
27686
27686
  createElementVNode(
27687
27687
  "p",
27688
- _hoisted_2$i,
27688
+ _hoisted_2$k,
27689
27689
  toDisplayString(_ctx.$t("\u673A\u6784")),
27690
27690
  1
27691
27691
  /* TEXT */
@@ -27707,7 +27707,7 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
27707
27707
  default: withCtx(() => [
27708
27708
  createElementVNode(
27709
27709
  "p",
27710
- _hoisted_3$b,
27710
+ _hoisted_3$d,
27711
27711
  toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
27712
27712
  1
27713
27713
  /* TEXT */
@@ -27891,10 +27891,10 @@ var _sfc_main$v = /* @__PURE__ */ defineComponent({
27891
27891
  }
27892
27892
  });
27893
27893
 
27894
- const _hoisted_1$o = { style: { "color": "#fff" } };
27895
- const _hoisted_2$h = { style: { "margin-top": "10px" } };
27896
- const _hoisted_3$a = { class: "dialog-footer" };
27897
- var _sfc_main$u = /* @__PURE__ */ defineComponent({
27894
+ const _hoisted_1$q = { style: { "color": "#fff" } };
27895
+ const _hoisted_2$j = { style: { "margin-top": "10px" } };
27896
+ const _hoisted_3$c = { class: "dialog-footer" };
27897
+ var _sfc_main$w = /* @__PURE__ */ defineComponent({
27898
27898
  __name: "supplierSelectDialog",
27899
27899
  props: {
27900
27900
  visible: {
@@ -28017,7 +28017,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
28017
28017
  "close-on-click-modal": false
28018
28018
  }, {
28019
28019
  header: withCtx(() => [
28020
- createElementVNode("div", _hoisted_1$o, [
28020
+ createElementVNode("div", _hoisted_1$q, [
28021
28021
  createVNode(_component_el_icon, {
28022
28022
  size: "16",
28023
28023
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -28038,7 +28038,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
28038
28038
  ])
28039
28039
  ]),
28040
28040
  footer: withCtx(() => [
28041
- createElementVNode("div", _hoisted_3$a, [
28041
+ createElementVNode("div", _hoisted_3$c, [
28042
28042
  createVNode(_component_el_button, {
28043
28043
  icon: "ele-CircleCloseFilled",
28044
28044
  onClick: closeDialog
@@ -28061,7 +28061,7 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
28061
28061
  default: withCtx(() => [
28062
28062
  createVNode(_component_el_col, { span: 24 }, {
28063
28063
  default: withCtx(() => [
28064
- createElementVNode("div", _hoisted_2$h, [
28064
+ createElementVNode("div", _hoisted_2$j, [
28065
28065
  createVNode(_component_el_form, {
28066
28066
  model: state.queryParams,
28067
28067
  ref: "queryRef",
@@ -28271,11 +28271,11 @@ var _sfc_main$u = /* @__PURE__ */ defineComponent({
28271
28271
  }
28272
28272
  });
28273
28273
 
28274
- const _hoisted_1$n = { style: { "color": "#fff" } };
28275
- const _hoisted_2$g = { style: { "margin-top": "10px" } };
28276
- const _hoisted_3$9 = { class: "dialog-footer" };
28277
- var _sfc_main$t = /* @__PURE__ */ defineComponent({
28278
- __name: "accountSelectDialog",
28274
+ const _hoisted_1$p = { style: { "color": "#fff" } };
28275
+ const _hoisted_2$i = { style: { "margin-top": "10px" } };
28276
+ const _hoisted_3$b = { class: "dialog-footer" };
28277
+ var _sfc_main$v = /* @__PURE__ */ defineComponent({
28278
+ __name: "supplierUserSelectDialog",
28279
28279
  props: {
28280
28280
  visible: {
28281
28281
  type: Boolean,
@@ -28295,7 +28295,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
28295
28295
  },
28296
28296
  userAction: {
28297
28297
  type: String,
28298
- default: "accountTable"
28298
+ default: "supplierUserTable"
28299
28299
  },
28300
28300
  userParams: {
28301
28301
  type: Object,
@@ -28304,14 +28304,16 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
28304
28304
  }
28305
28305
  },
28306
28306
  emits: ["update:visible", "change"],
28307
- setup(__props, { emit: __emit }) {
28307
+ setup(__props, { expose: __expose, emit: __emit }) {
28308
28308
  let emits = __emit;
28309
28309
  const props = __props;
28310
28310
  const userList = ref([]);
28311
28311
  let checkedUsersList = ref([]);
28312
28312
  const state = reactive({
28313
28313
  total: 0,
28314
+ pdata: null,
28314
28315
  queryParams: {
28316
+ orgId: -1,
28315
28317
  page: 1,
28316
28318
  pageSize: 50
28317
28319
  }
@@ -28343,7 +28345,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
28343
28345
  }
28344
28346
  function handleSelectUser(row) {
28345
28347
  if (!row || row.id == "") return;
28346
- emits("change", { id: row.id, name: row.name, data: row });
28348
+ emits("change", row);
28347
28349
  }
28348
28350
  const handledbclick = (row) => {
28349
28351
  handleSelectUser(row);
@@ -28360,6 +28362,9 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
28360
28362
  checkedUsersList.value = [];
28361
28363
  emits("update:visible", false);
28362
28364
  };
28365
+ __expose({
28366
+ handleQuery
28367
+ });
28363
28368
  return (_ctx, _cache) => {
28364
28369
  const _component_ele_Edit = resolveComponent("ele-Edit");
28365
28370
  const _component_el_icon = resolveComponent("el-icon");
@@ -28368,8 +28373,8 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
28368
28373
  const _component_el_button = resolveComponent("el-button");
28369
28374
  const _component_el_button_group = resolveComponent("el-button-group");
28370
28375
  const _component_el_form = resolveComponent("el-form");
28371
- const _component_ele_Plus = resolveComponent("ele-Plus");
28372
28376
  const _component_el_table_column = resolveComponent("el-table-column");
28377
+ const _component_ele_Plus = resolveComponent("ele-Plus");
28373
28378
  const _component_el_table = resolveComponent("el-table");
28374
28379
  const _component_el_pagination = resolveComponent("el-pagination");
28375
28380
  const _component_el_card = resolveComponent("el-card");
@@ -28385,7 +28390,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
28385
28390
  "close-on-click-modal": false
28386
28391
  }, {
28387
28392
  header: withCtx(() => [
28388
- createElementVNode("div", _hoisted_1$n, [
28393
+ createElementVNode("div", _hoisted_1$p, [
28389
28394
  createVNode(_component_el_icon, {
28390
28395
  size: "16",
28391
28396
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -28406,7 +28411,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
28406
28411
  ])
28407
28412
  ]),
28408
28413
  footer: withCtx(() => [
28409
- createElementVNode("div", _hoisted_3$9, [
28414
+ createElementVNode("div", _hoisted_3$b, [
28410
28415
  createVNode(_component_el_button, {
28411
28416
  icon: "ele-CircleCloseFilled",
28412
28417
  onClick: closeDialog
@@ -28429,7 +28434,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
28429
28434
  default: withCtx(() => [
28430
28435
  createVNode(_component_el_col, { span: 24 }, {
28431
28436
  default: withCtx(() => [
28432
- createElementVNode("div", _hoisted_2$g, [
28437
+ createElementVNode("div", _hoisted_2$i, [
28433
28438
  createVNode(_component_el_form, {
28434
28439
  model: state.queryParams,
28435
28440
  ref: "queryRef",
@@ -28509,6 +28514,30 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
28509
28514
  onRowDblclick: handledbclick
28510
28515
  }, {
28511
28516
  default: withCtx(() => [
28517
+ createVNode(_component_el_table_column, {
28518
+ label: _ctx.$t("\u540D\u79F0"),
28519
+ prop: "name",
28520
+ align: "center",
28521
+ "show-overflow-tooltip": true
28522
+ }, null, 8, ["label"]),
28523
+ createVNode(_component_el_table_column, {
28524
+ label: _ctx.$t("\u7535\u8BDD"),
28525
+ prop: "tel",
28526
+ align: "center",
28527
+ "show-overflow-tooltip": true
28528
+ }, null, 8, ["label"]),
28529
+ createVNode(_component_el_table_column, {
28530
+ label: _ctx.$t("\u4F20\u771F"),
28531
+ prop: "fax",
28532
+ align: "center",
28533
+ "show-overflow-tooltip": true
28534
+ }, null, 8, ["label"]),
28535
+ createVNode(_component_el_table_column, {
28536
+ label: _ctx.$t("\u5FAE\u4FE1\u53F7"),
28537
+ prop: "wxNumber",
28538
+ align: "center",
28539
+ "show-overflow-tooltip": true
28540
+ }, null, 8, ["label"]),
28512
28541
  createVNode(_component_el_table_column, {
28513
28542
  label: "\u64CD\u4F5C",
28514
28543
  width: "60",
@@ -28535,25 +28564,7 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
28535
28564
  ]),
28536
28565
  _: 1
28537
28566
  /* STABLE */
28538
- }),
28539
- createVNode(_component_el_table_column, {
28540
- label: _ctx.$t("\u8D26\u6237\u540D\u79F0"),
28541
- prop: "accountName",
28542
- align: "center",
28543
- "show-overflow-tooltip": true
28544
- }, null, 8, ["label"]),
28545
- createVNode(_component_el_table_column, {
28546
- label: _ctx.$t("\u94F6\u884C\u4FE1\u606F"),
28547
- prop: "bankInfo",
28548
- align: "center",
28549
- "show-overflow-tooltip": true
28550
- }, null, 8, ["label"]),
28551
- createVNode(_component_el_table_column, {
28552
- label: _ctx.$t("\u4F59\u989D"),
28553
- prop: "accountBalance",
28554
- align: "center",
28555
- "show-overflow-tooltip": true
28556
- }, null, 8, ["label"])
28567
+ })
28557
28568
  ]),
28558
28569
  _: 1
28559
28570
  /* STABLE */
@@ -28590,13 +28601,11 @@ var _sfc_main$t = /* @__PURE__ */ defineComponent({
28590
28601
  }
28591
28602
  });
28592
28603
 
28593
- const _hoisted_1$m = { style: { "color": "#fff" } };
28594
- const _hoisted_2$f = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
28595
- const _hoisted_3$8 = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
28596
- const _hoisted_4$5 = { style: { "margin-top": "10px" } };
28597
- const _hoisted_5$5 = { class: "dialog-footer" };
28598
- var _sfc_main$s = /* @__PURE__ */ defineComponent({
28599
- __name: "subjectSelectDialog",
28604
+ const _hoisted_1$o = { style: { "color": "#fff" } };
28605
+ const _hoisted_2$h = { style: { "margin-top": "10px" } };
28606
+ const _hoisted_3$a = { class: "dialog-footer" };
28607
+ var _sfc_main$u = /* @__PURE__ */ defineComponent({
28608
+ __name: "accountSelectDialog",
28600
28609
  props: {
28601
28610
  visible: {
28602
28611
  type: Boolean,
@@ -28610,15 +28619,15 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
28610
28619
  type: Array,
28611
28620
  default: () => []
28612
28621
  },
28613
- subjectService: {
28622
+ userService: {
28614
28623
  type: String,
28615
28624
  default: "autoRes"
28616
28625
  },
28617
- subjectAction: {
28626
+ userAction: {
28618
28627
  type: String,
28619
- default: "subjectTable"
28628
+ default: "accountTable"
28620
28629
  },
28621
- subjectParams: {
28630
+ userParams: {
28622
28631
  type: Object,
28623
28632
  default: () => {
28624
28633
  }
@@ -28628,6 +28637,15 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
28628
28637
  setup(__props, { emit: __emit }) {
28629
28638
  let emits = __emit;
28630
28639
  const props = __props;
28640
+ const userList = ref([]);
28641
+ let checkedUsersList = ref([]);
28642
+ const state = reactive({
28643
+ total: 0,
28644
+ queryParams: {
28645
+ page: 1,
28646
+ pageSize: 50
28647
+ }
28648
+ });
28631
28649
  let visibleDialog = computed({
28632
28650
  get() {
28633
28651
  return props.visible;
@@ -28636,58 +28654,56 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
28636
28654
  closeDialog();
28637
28655
  }
28638
28656
  });
28639
- const state = reactive({
28640
- treeData: [],
28641
- total: 0,
28642
- queryParams: {
28643
- pid: 0
28644
- }
28645
- });
28646
- const tableList = ref([]);
28647
28657
  onMounted(async () => {
28648
- await getTableList();
28649
- 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: "" }];
28658
+ await getUserList();
28650
28659
  });
28651
- const getTableList = async () => {
28652
- var _a;
28653
- const res = await useBaseApi(props.subjectService).post(state.queryParams, props.subjectAction);
28654
- tableList.value = (_a = res.data.result) != null ? _a : [];
28660
+ const resetQuery = () => {
28661
+ state.queryParams = {};
28662
+ handleQuery();
28655
28663
  };
28656
- function handleSelect(row) {
28657
- if (!row || row.id == "" || row.isLeaf == 0) return;
28658
- emits("change", { id: row.id, name: row.subjectName, code: row.subjectCode, data: row });
28659
- }
28660
- const handledbclick = (row) => {
28661
- handleSelect(row);
28664
+ const getUserList = async () => {
28665
+ var _a, _b, _c, _d;
28666
+ let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
28667
+ userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
28668
+ state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
28662
28669
  };
28663
28670
  async function handleQuery() {
28664
- await getTableList();
28671
+ state.queryParams.pageNum = 1;
28672
+ await getUserList();
28665
28673
  }
28666
- const handleNodeChange = async (node) => {
28667
- state.queryParams.pid = node.id;
28668
- await handleQuery();
28674
+ function handleSelectUser(row) {
28675
+ if (!row || row.id == "") return;
28676
+ emits("change", { id: row.id, name: row.name, data: row });
28677
+ }
28678
+ const handledbclick = (row) => {
28679
+ handleSelectUser(row);
28669
28680
  };
28670
- const resetQuery = () => {
28671
- state.queryParams = {};
28681
+ const handleSizeChange = (val) => {
28682
+ state.queryParams.pageSize = val;
28683
+ handleQuery();
28684
+ };
28685
+ const handleCurrentChange = (val) => {
28686
+ state.queryParams.page = val;
28672
28687
  handleQuery();
28673
28688
  };
28674
28689
  const closeDialog = () => {
28690
+ checkedUsersList.value = [];
28675
28691
  emits("update:visible", false);
28676
28692
  };
28677
28693
  return (_ctx, _cache) => {
28678
28694
  const _component_ele_Edit = resolveComponent("ele-Edit");
28679
28695
  const _component_el_icon = resolveComponent("el-icon");
28680
- const _component_FmTree = resolveComponent("FmTree");
28681
- const _component_el_col = resolveComponent("el-col");
28682
28696
  const _component_el_input = resolveComponent("el-input");
28683
28697
  const _component_el_form_item = resolveComponent("el-form-item");
28684
28698
  const _component_el_button = resolveComponent("el-button");
28685
28699
  const _component_el_button_group = resolveComponent("el-button-group");
28686
28700
  const _component_el_form = resolveComponent("el-form");
28687
- const _component_el_table_column = resolveComponent("el-table-column");
28688
28701
  const _component_ele_Plus = resolveComponent("ele-Plus");
28702
+ const _component_el_table_column = resolveComponent("el-table-column");
28689
28703
  const _component_el_table = resolveComponent("el-table");
28704
+ const _component_el_pagination = resolveComponent("el-pagination");
28690
28705
  const _component_el_card = resolveComponent("el-card");
28706
+ const _component_el_col = resolveComponent("el-col");
28691
28707
  const _component_el_row = resolveComponent("el-row");
28692
28708
  const _component_el_dialog = resolveComponent("el-dialog");
28693
28709
  return openBlock(), createBlock(_component_el_dialog, {
@@ -28699,7 +28715,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
28699
28715
  "close-on-click-modal": false
28700
28716
  }, {
28701
28717
  header: withCtx(() => [
28702
- createElementVNode("div", _hoisted_1$m, [
28718
+ createElementVNode("div", _hoisted_1$o, [
28703
28719
  createVNode(_component_el_icon, {
28704
28720
  size: "16",
28705
28721
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -28720,7 +28736,7 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
28720
28736
  ])
28721
28737
  ]),
28722
28738
  footer: withCtx(() => [
28723
- createElementVNode("div", _hoisted_5$5, [
28739
+ createElementVNode("div", _hoisted_3$a, [
28724
28740
  createVNode(_component_el_button, {
28725
28741
  icon: "ele-CircleCloseFilled",
28726
28742
  onClick: closeDialog
@@ -28741,34 +28757,9 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
28741
28757
  default: withCtx(() => [
28742
28758
  createVNode(_component_el_row, { gutter: 10 }, {
28743
28759
  default: withCtx(() => [
28744
- createVNode(_component_el_col, { span: 6 }, {
28745
- default: withCtx(() => [
28746
- createElementVNode(
28747
- "p",
28748
- _hoisted_2$f,
28749
- toDisplayString(_ctx.$t("\u5927\u7C7B")),
28750
- 1
28751
- /* TEXT */
28752
- ),
28753
- createVNode(_component_FmTree, {
28754
- treeData: state.treeData,
28755
- onNodeClick: handleNodeChange,
28756
- style: { "height": "calc(100% - 40px)", "overflow-y": "scroll", "overflow-x": "hidden" }
28757
- }, null, 8, ["treeData"])
28758
- ]),
28759
- _: 1
28760
- /* STABLE */
28761
- }),
28762
- createVNode(_component_el_col, { span: 18 }, {
28760
+ createVNode(_component_el_col, { span: 24 }, {
28763
28761
  default: withCtx(() => [
28764
- createElementVNode(
28765
- "p",
28766
- _hoisted_3$8,
28767
- toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
28768
- 1
28769
- /* TEXT */
28770
- ),
28771
- createElementVNode("div", _hoisted_4$5, [
28762
+ createElementVNode("div", _hoisted_2$h, [
28772
28763
  createVNode(_component_el_form, {
28773
28764
  model: state.queryParams,
28774
28765
  ref: "queryRef",
@@ -28826,7 +28817,8 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
28826
28817
  ]),
28827
28818
  _: 1
28828
28819
  /* STABLE */
28829
- })
28820
+ }),
28821
+ createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
28830
28822
  ]),
28831
28823
  _: 1
28832
28824
  /* STABLE */
@@ -28842,36 +28834,21 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
28842
28834
  default: withCtx(() => [
28843
28835
  createVNode(_component_el_table, {
28844
28836
  ref: "refTable",
28845
- data: tableList.value,
28846
- "row-key": "id",
28847
- "default-expand-all": "",
28837
+ data: userList.value,
28848
28838
  style: { "height": "calc(70vh - 96px)" },
28849
28839
  onRowDblclick: handledbclick
28850
28840
  }, {
28851
28841
  default: withCtx(() => [
28852
- createVNode(_component_el_table_column, {
28853
- label: _ctx.$t("\u79D1\u76EE\u7F16\u7801"),
28854
- prop: "subjectCode",
28855
- align: "center",
28856
- "show-overflow-tooltip": true
28857
- }, null, 8, ["label"]),
28858
- createVNode(_component_el_table_column, {
28859
- label: _ctx.$t("\u79D1\u76EE\u540D\u79F0"),
28860
- prop: "subjectName",
28861
- align: "center",
28862
- "show-overflow-tooltip": true
28863
- }, null, 8, ["label"]),
28864
28842
  createVNode(_component_el_table_column, {
28865
28843
  label: "\u64CD\u4F5C",
28866
28844
  width: "60",
28867
28845
  align: "center"
28868
28846
  }, {
28869
28847
  default: withCtx((scope) => [
28870
- scope.row.isLeaf == 1 ? (openBlock(), createBlock(_component_el_button, {
28871
- key: 0,
28848
+ createVNode(_component_el_button, {
28872
28849
  link: "",
28873
28850
  type: "primary",
28874
- onClick: ($event) => handleSelect(scope.row)
28851
+ onClick: ($event) => handleSelectUser(scope.row)
28875
28852
  }, {
28876
28853
  default: withCtx(() => [
28877
28854
  createVNode(_component_el_icon, null, {
@@ -28884,15 +28861,710 @@ var _sfc_main$s = /* @__PURE__ */ defineComponent({
28884
28861
  ]),
28885
28862
  _: 1
28886
28863
  /* STABLE */
28887
- }, 8, ["onClick"])) : createCommentVNode("v-if", true)
28864
+ }, 8, ["onClick"])
28888
28865
  ]),
28889
28866
  _: 1
28890
28867
  /* STABLE */
28891
- })
28892
- ]),
28868
+ }),
28869
+ createVNode(_component_el_table_column, {
28870
+ label: _ctx.$t("\u8D26\u6237\u540D\u79F0"),
28871
+ prop: "accountName",
28872
+ align: "center",
28873
+ "show-overflow-tooltip": true
28874
+ }, null, 8, ["label"]),
28875
+ createVNode(_component_el_table_column, {
28876
+ label: _ctx.$t("\u94F6\u884C\u4FE1\u606F"),
28877
+ prop: "bankInfo",
28878
+ align: "center",
28879
+ "show-overflow-tooltip": true
28880
+ }, null, 8, ["label"]),
28881
+ createVNode(_component_el_table_column, {
28882
+ label: _ctx.$t("\u4F59\u989D"),
28883
+ prop: "accountBalance",
28884
+ align: "center",
28885
+ "show-overflow-tooltip": true
28886
+ }, null, 8, ["label"])
28887
+ ]),
28888
+ _: 1
28889
+ /* STABLE */
28890
+ }, 8, ["data"]),
28891
+ createVNode(_component_el_pagination, {
28892
+ currentPage: state.queryParams.page,
28893
+ "page-size": state.queryParams.pageSize,
28894
+ total: state.queryParams.total,
28895
+ "page-sizes": [10, 20, 50, 100],
28896
+ background: "",
28897
+ onSizeChange: handleSizeChange,
28898
+ onCurrentChange: handleCurrentChange,
28899
+ layout: "total, sizes, prev, pager, next, jumper",
28900
+ style: { "padding-bottom": "8px" }
28901
+ }, null, 8, ["currentPage", "page-size", "total"])
28902
+ ]),
28903
+ _: 1
28904
+ /* STABLE */
28905
+ })
28906
+ ])
28907
+ ]),
28908
+ _: 1
28909
+ /* STABLE */
28910
+ })
28911
+ ]),
28912
+ _: 1
28913
+ /* STABLE */
28914
+ })
28915
+ ]),
28916
+ _: 1
28917
+ /* STABLE */
28918
+ }, 8, ["modelValue"]);
28919
+ };
28920
+ }
28921
+ });
28922
+
28923
+ const _hoisted_1$n = { style: { "color": "#fff" } };
28924
+ const _hoisted_2$g = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
28925
+ const _hoisted_3$9 = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
28926
+ const _hoisted_4$5 = { style: { "margin-top": "10px" } };
28927
+ const _hoisted_5$5 = { class: "dialog-footer" };
28928
+ var _sfc_main$t = /* @__PURE__ */ defineComponent({
28929
+ __name: "subjectSelectDialog",
28930
+ props: {
28931
+ visible: {
28932
+ type: Boolean,
28933
+ default: false
28934
+ },
28935
+ title: {
28936
+ type: String,
28937
+ default: ""
28938
+ },
28939
+ data: {
28940
+ type: Array,
28941
+ default: () => []
28942
+ },
28943
+ subjectService: {
28944
+ type: String,
28945
+ default: "autoRes"
28946
+ },
28947
+ subjectAction: {
28948
+ type: String,
28949
+ default: "subjectTable"
28950
+ },
28951
+ subjectParams: {
28952
+ type: Object,
28953
+ default: () => {
28954
+ }
28955
+ }
28956
+ },
28957
+ emits: ["update:visible", "change"],
28958
+ setup(__props, { emit: __emit }) {
28959
+ let emits = __emit;
28960
+ const props = __props;
28961
+ let visibleDialog = computed({
28962
+ get() {
28963
+ return props.visible;
28964
+ },
28965
+ set() {
28966
+ closeDialog();
28967
+ }
28968
+ });
28969
+ const state = reactive({
28970
+ treeData: [],
28971
+ total: 0,
28972
+ queryParams: {
28973
+ pid: 0
28974
+ }
28975
+ });
28976
+ const tableList = ref([]);
28977
+ onMounted(async () => {
28978
+ await getTableList();
28979
+ state.treeData = [{ id: 1, name: "\u8D44\u4EA7", code: "" }, { id: 2, name: "\u8D1F\u503A", code: "" }, { id: 3, name: "\u6743\u76CA", code: "" }, { id: 4, name: "\u6210\u672C", code: "" }, { id: 5, name: "\u635F\u76CA", code: "" }];
28980
+ });
28981
+ const getTableList = async () => {
28982
+ var _a;
28983
+ const res = await useBaseApi(props.subjectService).post(state.queryParams, props.subjectAction);
28984
+ tableList.value = (_a = res.data.result) != null ? _a : [];
28985
+ };
28986
+ function handleSelect(row) {
28987
+ if (!row || row.id == "" || row.isLeaf == 0) return;
28988
+ emits("change", { id: row.id, name: row.subjectName, code: row.subjectCode, data: row });
28989
+ }
28990
+ const handledbclick = (row) => {
28991
+ handleSelect(row);
28992
+ };
28993
+ async function handleQuery() {
28994
+ await getTableList();
28995
+ }
28996
+ const handleNodeChange = async (node) => {
28997
+ state.queryParams.pid = node.id;
28998
+ await handleQuery();
28999
+ };
29000
+ const resetQuery = () => {
29001
+ state.queryParams = {};
29002
+ handleQuery();
29003
+ };
29004
+ const closeDialog = () => {
29005
+ emits("update:visible", false);
29006
+ };
29007
+ return (_ctx, _cache) => {
29008
+ const _component_ele_Edit = resolveComponent("ele-Edit");
29009
+ const _component_el_icon = resolveComponent("el-icon");
29010
+ const _component_FmTree = resolveComponent("FmTree");
29011
+ const _component_el_col = resolveComponent("el-col");
29012
+ const _component_el_input = resolveComponent("el-input");
29013
+ const _component_el_form_item = resolveComponent("el-form-item");
29014
+ const _component_el_button = resolveComponent("el-button");
29015
+ const _component_el_button_group = resolveComponent("el-button-group");
29016
+ const _component_el_form = resolveComponent("el-form");
29017
+ const _component_el_table_column = resolveComponent("el-table-column");
29018
+ const _component_ele_Plus = resolveComponent("ele-Plus");
29019
+ const _component_el_table = resolveComponent("el-table");
29020
+ const _component_el_card = resolveComponent("el-card");
29021
+ const _component_el_row = resolveComponent("el-row");
29022
+ const _component_el_dialog = resolveComponent("el-dialog");
29023
+ return openBlock(), createBlock(_component_el_dialog, {
29024
+ modelValue: unref(visibleDialog),
29025
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
29026
+ style: { "width": "70vw" },
29027
+ "append-to-body": "",
29028
+ draggable: "",
29029
+ "close-on-click-modal": false
29030
+ }, {
29031
+ header: withCtx(() => [
29032
+ createElementVNode("div", _hoisted_1$n, [
29033
+ createVNode(_component_el_icon, {
29034
+ size: "16",
29035
+ style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
29036
+ }, {
29037
+ default: withCtx(() => [
29038
+ createVNode(_component_ele_Edit)
29039
+ ]),
29040
+ _: 1
29041
+ /* STABLE */
29042
+ }),
29043
+ createElementVNode(
29044
+ "span",
29045
+ null,
29046
+ toDisplayString(_ctx.$t("\u9009\u62E9")) + toDisplayString(_ctx.$t(__props.title)),
29047
+ 1
29048
+ /* TEXT */
29049
+ )
29050
+ ])
29051
+ ]),
29052
+ footer: withCtx(() => [
29053
+ createElementVNode("div", _hoisted_5$5, [
29054
+ createVNode(_component_el_button, {
29055
+ icon: "ele-CircleCloseFilled",
29056
+ onClick: closeDialog
29057
+ }, {
29058
+ default: withCtx(() => [
29059
+ createTextVNode(
29060
+ toDisplayString(_ctx.$t("\u53D6\u6D88")),
29061
+ 1
29062
+ /* TEXT */
29063
+ )
29064
+ ]),
29065
+ _: 1
29066
+ /* STABLE */
29067
+ }),
29068
+ createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
29069
+ ])
29070
+ ]),
29071
+ default: withCtx(() => [
29072
+ createVNode(_component_el_row, { gutter: 10 }, {
29073
+ default: withCtx(() => [
29074
+ createVNode(_component_el_col, { span: 6 }, {
29075
+ default: withCtx(() => [
29076
+ createElementVNode(
29077
+ "p",
29078
+ _hoisted_2$g,
29079
+ toDisplayString(_ctx.$t("\u5927\u7C7B")),
29080
+ 1
29081
+ /* TEXT */
29082
+ ),
29083
+ createVNode(_component_FmTree, {
29084
+ treeData: state.treeData,
29085
+ onNodeClick: handleNodeChange,
29086
+ style: { "height": "calc(100% - 40px)", "overflow-y": "scroll", "overflow-x": "hidden" }
29087
+ }, null, 8, ["treeData"])
29088
+ ]),
29089
+ _: 1
29090
+ /* STABLE */
29091
+ }),
29092
+ createVNode(_component_el_col, { span: 18 }, {
29093
+ default: withCtx(() => [
29094
+ createElementVNode(
29095
+ "p",
29096
+ _hoisted_3$9,
29097
+ toDisplayString(_ctx.$t(__props.title)) + toDisplayString(_ctx.$t("\u5217\u8868")),
29098
+ 1
29099
+ /* TEXT */
29100
+ ),
29101
+ createElementVNode("div", _hoisted_4$5, [
29102
+ createVNode(_component_el_form, {
29103
+ model: state.queryParams,
29104
+ ref: "queryRef",
29105
+ inline: true
29106
+ }, {
29107
+ default: withCtx(() => [
29108
+ createVNode(_component_el_form_item, {
29109
+ label: _ctx.$t("\u5173\u952E\u5B57")
29110
+ }, {
29111
+ default: withCtx(() => [
29112
+ createVNode(_component_el_input, {
29113
+ modelValue: state.queryParams.keyword,
29114
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
29115
+ clearable: "",
29116
+ style: { "width": "150px" },
29117
+ onKeyup: withKeys(handleQuery, ["enter"])
29118
+ }, null, 8, ["modelValue"])
29119
+ ]),
29120
+ _: 1
29121
+ /* STABLE */
29122
+ }, 8, ["label"]),
29123
+ createVNode(_component_el_form_item, null, {
29124
+ default: withCtx(() => [
29125
+ createVNode(_component_el_button_group, null, {
29126
+ default: withCtx(() => [
29127
+ createVNode(_component_el_button, {
29128
+ type: "primary",
29129
+ icon: "ele-Search",
29130
+ onClick: handleQuery
29131
+ }, {
29132
+ default: withCtx(() => [
29133
+ createTextVNode(
29134
+ toDisplayString(_ctx.$t("\u67E5\u8BE2")),
29135
+ 1
29136
+ /* TEXT */
29137
+ )
29138
+ ]),
29139
+ _: 1
29140
+ /* STABLE */
29141
+ }),
29142
+ createVNode(_component_el_button, {
29143
+ icon: "ele-Refresh",
29144
+ onClick: resetQuery
29145
+ }, {
29146
+ default: withCtx(() => [
29147
+ createTextVNode(
29148
+ toDisplayString(_ctx.$t("\u91CD\u7F6E")),
29149
+ 1
29150
+ /* TEXT */
29151
+ )
29152
+ ]),
29153
+ _: 1
29154
+ /* STABLE */
29155
+ })
29156
+ ]),
29157
+ _: 1
29158
+ /* STABLE */
29159
+ })
29160
+ ]),
29161
+ _: 1
29162
+ /* STABLE */
29163
+ })
29164
+ ]),
29165
+ _: 1
29166
+ /* STABLE */
29167
+ }, 8, ["model"]),
29168
+ createVNode(_component_el_card, {
29169
+ class: "full-table",
29170
+ shadow: "hover"
29171
+ }, {
29172
+ default: withCtx(() => [
29173
+ createVNode(_component_el_table, {
29174
+ ref: "refTable",
29175
+ data: tableList.value,
29176
+ "row-key": "id",
29177
+ "default-expand-all": "",
29178
+ style: { "height": "calc(70vh - 96px)" },
29179
+ onRowDblclick: handledbclick
29180
+ }, {
29181
+ default: withCtx(() => [
29182
+ createVNode(_component_el_table_column, {
29183
+ label: _ctx.$t("\u79D1\u76EE\u7F16\u7801"),
29184
+ prop: "subjectCode",
29185
+ align: "center",
29186
+ "show-overflow-tooltip": true
29187
+ }, null, 8, ["label"]),
29188
+ createVNode(_component_el_table_column, {
29189
+ label: _ctx.$t("\u79D1\u76EE\u540D\u79F0"),
29190
+ prop: "subjectName",
29191
+ align: "center",
29192
+ "show-overflow-tooltip": true
29193
+ }, null, 8, ["label"]),
29194
+ createVNode(_component_el_table_column, {
29195
+ label: "\u64CD\u4F5C",
29196
+ width: "60",
29197
+ align: "center"
29198
+ }, {
29199
+ default: withCtx((scope) => [
29200
+ scope.row.isLeaf == 1 ? (openBlock(), createBlock(_component_el_button, {
29201
+ key: 0,
29202
+ link: "",
29203
+ type: "primary",
29204
+ onClick: ($event) => handleSelect(scope.row)
29205
+ }, {
29206
+ default: withCtx(() => [
29207
+ createVNode(_component_el_icon, null, {
29208
+ default: withCtx(() => [
29209
+ createVNode(_component_ele_Plus)
29210
+ ]),
29211
+ _: 1
29212
+ /* STABLE */
29213
+ })
29214
+ ]),
29215
+ _: 1
29216
+ /* STABLE */
29217
+ }, 8, ["onClick"])) : createCommentVNode("v-if", true)
29218
+ ]),
29219
+ _: 1
29220
+ /* STABLE */
29221
+ })
29222
+ ]),
29223
+ _: 1
29224
+ /* STABLE */
29225
+ }, 8, ["data"])
29226
+ ]),
29227
+ _: 1
29228
+ /* STABLE */
29229
+ })
29230
+ ])
29231
+ ]),
29232
+ _: 1
29233
+ /* STABLE */
29234
+ })
29235
+ ]),
29236
+ _: 1
29237
+ /* STABLE */
29238
+ })
29239
+ ]),
29240
+ _: 1
29241
+ /* STABLE */
29242
+ }, 8, ["modelValue"]);
29243
+ };
29244
+ }
29245
+ });
29246
+
29247
+ const _hoisted_1$m = { style: { "color": "#fff" } };
29248
+ const _hoisted_2$f = { style: { "margin-top": "10px" } };
29249
+ const _hoisted_3$8 = { class: "dialog-footer" };
29250
+ var _sfc_main$s = /* @__PURE__ */ defineComponent({
29251
+ __name: "linSelectDialog",
29252
+ props: {
29253
+ visible: {
29254
+ type: Boolean,
29255
+ default: false
29256
+ },
29257
+ title: {
29258
+ type: String,
29259
+ default: ""
29260
+ },
29261
+ data: {
29262
+ type: Array,
29263
+ default: () => []
29264
+ },
29265
+ userService: {
29266
+ type: String,
29267
+ default: "autoRes"
29268
+ },
29269
+ userAction: {
29270
+ type: String,
29271
+ default: "lineTable"
29272
+ },
29273
+ userParams: {
29274
+ type: Object,
29275
+ default: () => {
29276
+ }
29277
+ }
29278
+ },
29279
+ emits: ["update:visible", "change"],
29280
+ setup(__props, { expose: __expose, emit: __emit }) {
29281
+ let emits = __emit;
29282
+ const props = __props;
29283
+ const userList = ref([]);
29284
+ let checkedUsersList = ref([]);
29285
+ const state = reactive({
29286
+ total: 0,
29287
+ pdata: null,
29288
+ queryParams: {
29289
+ orgId: -1,
29290
+ page: 1,
29291
+ pageSize: 50
29292
+ }
29293
+ });
29294
+ let visibleDialog = computed({
29295
+ get() {
29296
+ return props.visible;
29297
+ },
29298
+ set() {
29299
+ closeDialog();
29300
+ }
29301
+ });
29302
+ onMounted(async () => {
29303
+ await getUserList();
29304
+ });
29305
+ const resetQuery = () => {
29306
+ state.queryParams = {};
29307
+ handleQuery();
29308
+ };
29309
+ const getUserList = async () => {
29310
+ var _a, _b, _c, _d;
29311
+ let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
29312
+ userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
29313
+ state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
29314
+ };
29315
+ async function handleQuery() {
29316
+ state.queryParams.pageNum = 1;
29317
+ await getUserList();
29318
+ }
29319
+ function handleSelectUser(row) {
29320
+ if (!row || row.id == "") return;
29321
+ emits("change", row);
29322
+ }
29323
+ const handledbclick = (row) => {
29324
+ handleSelectUser(row);
29325
+ };
29326
+ const handleSizeChange = (val) => {
29327
+ state.queryParams.pageSize = val;
29328
+ handleQuery();
29329
+ };
29330
+ const handleCurrentChange = (val) => {
29331
+ state.queryParams.page = val;
29332
+ handleQuery();
29333
+ };
29334
+ const closeDialog = () => {
29335
+ checkedUsersList.value = [];
29336
+ emits("update:visible", false);
29337
+ };
29338
+ __expose({
29339
+ handleQuery
29340
+ });
29341
+ return (_ctx, _cache) => {
29342
+ const _component_ele_Edit = resolveComponent("ele-Edit");
29343
+ const _component_el_icon = resolveComponent("el-icon");
29344
+ const _component_el_input = resolveComponent("el-input");
29345
+ const _component_el_form_item = resolveComponent("el-form-item");
29346
+ const _component_el_button = resolveComponent("el-button");
29347
+ const _component_el_button_group = resolveComponent("el-button-group");
29348
+ const _component_el_form = resolveComponent("el-form");
29349
+ const _component_el_table_column = resolveComponent("el-table-column");
29350
+ const _component_ele_Plus = resolveComponent("ele-Plus");
29351
+ const _component_el_table = resolveComponent("el-table");
29352
+ const _component_el_pagination = resolveComponent("el-pagination");
29353
+ const _component_el_card = resolveComponent("el-card");
29354
+ const _component_el_col = resolveComponent("el-col");
29355
+ const _component_el_row = resolveComponent("el-row");
29356
+ const _component_el_dialog = resolveComponent("el-dialog");
29357
+ return openBlock(), createBlock(_component_el_dialog, {
29358
+ modelValue: unref(visibleDialog),
29359
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
29360
+ style: { "width": "70vw" },
29361
+ "append-to-body": "",
29362
+ draggable: "",
29363
+ "close-on-click-modal": false
29364
+ }, {
29365
+ header: withCtx(() => [
29366
+ createElementVNode("div", _hoisted_1$m, [
29367
+ createVNode(_component_el_icon, {
29368
+ size: "16",
29369
+ style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
29370
+ }, {
29371
+ default: withCtx(() => [
29372
+ createVNode(_component_ele_Edit)
29373
+ ]),
29374
+ _: 1
29375
+ /* STABLE */
29376
+ }),
29377
+ createElementVNode(
29378
+ "span",
29379
+ null,
29380
+ toDisplayString(_ctx.$t("\u9009\u62E9")) + toDisplayString(_ctx.$t(__props.title)),
29381
+ 1
29382
+ /* TEXT */
29383
+ )
29384
+ ])
29385
+ ]),
29386
+ footer: withCtx(() => [
29387
+ createElementVNode("div", _hoisted_3$8, [
29388
+ createVNode(_component_el_button, {
29389
+ icon: "ele-CircleCloseFilled",
29390
+ onClick: closeDialog
29391
+ }, {
29392
+ default: withCtx(() => [
29393
+ createTextVNode(
29394
+ toDisplayString(_ctx.$t("\u53D6\u6D88")),
29395
+ 1
29396
+ /* TEXT */
29397
+ )
29398
+ ]),
29399
+ _: 1
29400
+ /* STABLE */
29401
+ }),
29402
+ createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
29403
+ ])
29404
+ ]),
29405
+ default: withCtx(() => [
29406
+ createVNode(_component_el_row, { gutter: 10 }, {
29407
+ default: withCtx(() => [
29408
+ createVNode(_component_el_col, { span: 24 }, {
29409
+ default: withCtx(() => [
29410
+ createElementVNode("div", _hoisted_2$f, [
29411
+ createVNode(_component_el_form, {
29412
+ model: state.queryParams,
29413
+ ref: "queryRef",
29414
+ inline: true
29415
+ }, {
29416
+ default: withCtx(() => [
29417
+ createVNode(_component_el_form_item, {
29418
+ label: _ctx.$t("\u5173\u952E\u5B57")
29419
+ }, {
29420
+ default: withCtx(() => [
29421
+ createVNode(_component_el_input, {
29422
+ modelValue: state.queryParams.keyword,
29423
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
29424
+ clearable: "",
29425
+ style: { "width": "150px" },
29426
+ onKeyup: withKeys(handleQuery, ["enter"])
29427
+ }, null, 8, ["modelValue"])
29428
+ ]),
28893
29429
  _: 1
28894
29430
  /* STABLE */
28895
- }, 8, ["data"])
29431
+ }, 8, ["label"]),
29432
+ createVNode(_component_el_form_item, null, {
29433
+ default: withCtx(() => [
29434
+ createVNode(_component_el_button_group, null, {
29435
+ default: withCtx(() => [
29436
+ createVNode(_component_el_button, {
29437
+ type: "primary",
29438
+ icon: "ele-Search",
29439
+ onClick: handleQuery
29440
+ }, {
29441
+ default: withCtx(() => [
29442
+ createTextVNode(
29443
+ toDisplayString(_ctx.$t("\u67E5\u8BE2")),
29444
+ 1
29445
+ /* TEXT */
29446
+ )
29447
+ ]),
29448
+ _: 1
29449
+ /* STABLE */
29450
+ }),
29451
+ createVNode(_component_el_button, {
29452
+ icon: "ele-Refresh",
29453
+ onClick: resetQuery
29454
+ }, {
29455
+ default: withCtx(() => [
29456
+ createTextVNode(
29457
+ toDisplayString(_ctx.$t("\u91CD\u7F6E")),
29458
+ 1
29459
+ /* TEXT */
29460
+ )
29461
+ ]),
29462
+ _: 1
29463
+ /* STABLE */
29464
+ })
29465
+ ]),
29466
+ _: 1
29467
+ /* STABLE */
29468
+ }),
29469
+ createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
29470
+ ]),
29471
+ _: 1
29472
+ /* STABLE */
29473
+ })
29474
+ ]),
29475
+ _: 1
29476
+ /* STABLE */
29477
+ }, 8, ["model"]),
29478
+ createVNode(_component_el_card, {
29479
+ class: "full-table",
29480
+ shadow: "hover"
29481
+ }, {
29482
+ default: withCtx(() => [
29483
+ createVNode(_component_el_table, {
29484
+ ref: "refTable",
29485
+ data: userList.value,
29486
+ style: { "height": "calc(70vh - 96px)" },
29487
+ onRowDblclick: handledbclick
29488
+ }, {
29489
+ default: withCtx(() => [
29490
+ createVNode(_component_el_table_column, {
29491
+ label: _ctx.$t("\u540D\u79F0"),
29492
+ prop: "lineName",
29493
+ align: "center",
29494
+ "show-overflow-tooltip": true
29495
+ }, null, 8, ["label"]),
29496
+ createVNode(_component_el_table_column, {
29497
+ label: _ctx.$t("\u7EBF\u8DEF\u7F16\u7801"),
29498
+ prop: "lineCode",
29499
+ align: "center",
29500
+ "show-overflow-tooltip": true
29501
+ }, null, 8, ["label"]),
29502
+ createVNode(_component_el_table_column, {
29503
+ label: _ctx.$t("\u6210\u4EBA\u4EF7"),
29504
+ prop: "adultPrice",
29505
+ align: "center",
29506
+ "show-overflow-tooltip": true
29507
+ }, null, 8, ["label"]),
29508
+ createVNode(_component_el_table_column, {
29509
+ label: _ctx.$t("\u513F\u7AE5\u4EF7"),
29510
+ prop: "childPrice",
29511
+ align: "center",
29512
+ "show-overflow-tooltip": true
29513
+ }, null, 8, ["label"]),
29514
+ createVNode(_component_el_table_column, {
29515
+ label: _ctx.$t("\u51FA\u56E2\u4EA4\u901A"),
29516
+ prop: "sendTraffic",
29517
+ align: "center",
29518
+ "show-overflow-tooltip": true
29519
+ }, null, 8, ["label"]),
29520
+ createVNode(_component_el_table_column, {
29521
+ label: _ctx.$t("\u8FD4\u56DE\u4EA4\u901A"),
29522
+ prop: "endTraffic",
29523
+ align: "center",
29524
+ "show-overflow-tooltip": true
29525
+ }, null, 8, ["label"]),
29526
+ createVNode(_component_el_table_column, {
29527
+ label: "\u64CD\u4F5C",
29528
+ width: "60",
29529
+ align: "center"
29530
+ }, {
29531
+ default: withCtx((scope) => [
29532
+ createVNode(_component_el_button, {
29533
+ link: "",
29534
+ type: "primary",
29535
+ onClick: ($event) => handleSelectUser(scope.row)
29536
+ }, {
29537
+ default: withCtx(() => [
29538
+ createVNode(_component_el_icon, null, {
29539
+ default: withCtx(() => [
29540
+ createVNode(_component_ele_Plus)
29541
+ ]),
29542
+ _: 1
29543
+ /* STABLE */
29544
+ })
29545
+ ]),
29546
+ _: 1
29547
+ /* STABLE */
29548
+ }, 8, ["onClick"])
29549
+ ]),
29550
+ _: 1
29551
+ /* STABLE */
29552
+ })
29553
+ ]),
29554
+ _: 1
29555
+ /* STABLE */
29556
+ }, 8, ["data"]),
29557
+ createVNode(_component_el_pagination, {
29558
+ currentPage: state.queryParams.page,
29559
+ "page-size": state.queryParams.pageSize,
29560
+ total: state.queryParams.total,
29561
+ "page-sizes": [10, 20, 50, 100],
29562
+ background: "",
29563
+ onSizeChange: handleSizeChange,
29564
+ onCurrentChange: handleCurrentChange,
29565
+ layout: "total, sizes, prev, pager, next, jumper",
29566
+ style: { "padding-bottom": "8px" }
29567
+ }, null, 8, ["currentPage", "page-size", "total"])
28896
29568
  ]),
28897
29569
  _: 1
28898
29570
  /* STABLE */
@@ -28985,7 +29657,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
28985
29657
  }
28986
29658
  },
28987
29659
  /**
28988
- * 打开类型 0--用户加机构 1-- 联系人 2-- 单位 3-- 银行账户 4--科目
29660
+ * 打开类型 0--用户加机构 1-- 联系人 2-- 供应商单位 3-- 银行账户 4--科目 5--线路
28989
29661
  * @default 0
28990
29662
  */
28991
29663
  openType: {
@@ -29090,7 +29762,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
29090
29762
  const _component_el_autocomplete = resolveComponent("el-autocomplete");
29091
29763
  return openBlock(), createBlock(_component_el_autocomplete, {
29092
29764
  modelValue: autoName.value,
29093
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => autoName.value = $event),
29765
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => autoName.value = $event),
29094
29766
  debounce: 500,
29095
29767
  "fetch-suggestions": querySearchAsync,
29096
29768
  placeholder: props.placeholder,
@@ -29129,7 +29801,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
29129
29801
  _: 1
29130
29802
  /* STABLE */
29131
29803
  }, 8, ["size"]),
29132
- __props.openType == 0 ? (openBlock(), createBlock(_sfc_main$v, {
29804
+ __props.openType == 0 ? (openBlock(), createBlock(_sfc_main$x, {
29133
29805
  key: 0,
29134
29806
  visible: visibleopenDialog.value,
29135
29807
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
@@ -29142,10 +29814,8 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
29142
29814
  userParams: __props.params,
29143
29815
  onChange: handleSelectDialogChange
29144
29816
  }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
29145
- __props.openType == 2 ? (openBlock(), createBlock(_sfc_main$u, {
29817
+ __props.openType == 1 ? (openBlock(), createBlock(_sfc_main$v, {
29146
29818
  key: 1,
29147
- ref_key: "tableDialogRef",
29148
- ref: tableDialogRef,
29149
29819
  visible: visibleopenDialog.value,
29150
29820
  "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
29151
29821
  title: __props.title,
@@ -29154,28 +29824,51 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
29154
29824
  userParams: __props.params,
29155
29825
  onChange: handleSelectDialogChange
29156
29826
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
29157
- createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
29158
- __props.openType == 3 ? (openBlock(), createBlock(_sfc_main$t, {
29827
+ __props.openType == 2 ? (openBlock(), createBlock(_sfc_main$w, {
29159
29828
  key: 2,
29829
+ ref_key: "tableDialogRef",
29830
+ ref: tableDialogRef,
29160
29831
  visible: visibleopenDialog.value,
29161
29832
  "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => visibleopenDialog.value = $event),
29162
29833
  title: __props.title,
29834
+ userService: __props.userService,
29835
+ userAction: __props.userAction,
29836
+ userParams: __props.params,
29837
+ onChange: handleSelectDialogChange
29838
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
29839
+ createCommentVNode("\u8D26\u53F7\u9009\u62E9"),
29840
+ __props.openType == 3 ? (openBlock(), createBlock(_sfc_main$u, {
29841
+ key: 3,
29842
+ visible: visibleopenDialog.value,
29843
+ "onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visibleopenDialog.value = $event),
29844
+ title: __props.title,
29163
29845
  userService: __props.accountService,
29164
29846
  userAction: __props.accountAction,
29165
29847
  userParams: __props.params,
29166
29848
  onChange: handleSelectDialogChange
29167
29849
  }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true),
29168
29850
  createCommentVNode("\u79D1\u76EE\u9009\u62E9"),
29169
- __props.openType == 4 ? (openBlock(), createBlock(_sfc_main$s, {
29170
- key: 3,
29851
+ __props.openType == 4 ? (openBlock(), createBlock(_sfc_main$t, {
29852
+ key: 4,
29171
29853
  visible: visibleopenDialog.value,
29172
- "onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visibleopenDialog.value = $event),
29854
+ "onUpdate:visible": _cache[5] || (_cache[5] = ($event) => visibleopenDialog.value = $event),
29173
29855
  title: __props.title,
29174
29856
  subjectService: __props.subjectService,
29175
29857
  subjectAction: __props.subjectAction,
29176
29858
  subjectParams: __props.params,
29177
29859
  onChange: handleSelectDialogChange
29178
- }, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : createCommentVNode("v-if", true)
29860
+ }, null, 8, ["visible", "title", "subjectService", "subjectAction", "subjectParams"])) : createCommentVNode("v-if", true),
29861
+ createCommentVNode("\u7EBF\u8DEF\u9009\u62E9"),
29862
+ __props.openType == 5 ? (openBlock(), createBlock(_sfc_main$s, {
29863
+ key: 5,
29864
+ visible: visibleopenDialog.value,
29865
+ "onUpdate:visible": _cache[6] || (_cache[6] = ($event) => visibleopenDialog.value = $event),
29866
+ title: __props.title,
29867
+ userService: __props.userService,
29868
+ userAction: __props.userAction,
29869
+ userParams: __props.params,
29870
+ onChange: handleSelectDialogChange
29871
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : createCommentVNode("v-if", true)
29179
29872
  ]),
29180
29873
  key: "0"
29181
29874
  } : void 0