@fmdeui/fmui 1.0.106 → 1.0.108

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 (35) hide show
  1. package/es/components/fm-autocomplete/component/supplierSelectDialog.vue.d.ts +69 -0
  2. package/es/components/fm-autocomplete/index.vue.d.ts +2 -2
  3. package/es/hooks/limitsFunction.d.ts +1 -0
  4. package/es/index.mjs +1 -1
  5. package/es/packages/components/fm-autocomplete/component/supplierSelectDialog.vue.mjs +5 -0
  6. package/es/packages/components/fm-autocomplete/component/supplierSelectDialog.vue2.mjs +378 -0
  7. package/es/packages/components/fm-autocomplete/index.vue2.mjs +19 -6
  8. package/es/packages/components/fm-inputnumber/index.vue2.mjs +2 -1
  9. package/es/packages/hooks/index.mjs +1 -1
  10. package/es/packages/hooks/limitsFunction.mjs +14 -1
  11. package/index.js +496 -97
  12. package/index.min.js +6 -6
  13. package/index.min.mjs +6 -6
  14. package/index.mjs +496 -98
  15. package/lib/components/fm-autocomplete/component/supplierSelectDialog.vue.d.ts +69 -0
  16. package/lib/components/fm-autocomplete/index.vue.d.ts +2 -2
  17. package/lib/hooks/limitsFunction.d.ts +1 -0
  18. package/lib/index.js +1 -0
  19. package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog.vue.js +9 -0
  20. package/lib/packages/components/fm-autocomplete/component/supplierSelectDialog.vue2.js +382 -0
  21. package/lib/packages/components/fm-autocomplete/index.vue2.js +18 -5
  22. package/lib/packages/components/fm-inputnumber/index.vue2.js +2 -1
  23. package/lib/packages/hooks/index.js +1 -0
  24. package/lib/packages/hooks/limitsFunction.js +14 -0
  25. package/locale/en.js +1 -1
  26. package/locale/en.min.js +1 -1
  27. package/locale/en.min.mjs +1 -1
  28. package/locale/en.mjs +1 -1
  29. package/locale/zh-cn.js +1 -1
  30. package/locale/zh-cn.min.js +1 -1
  31. package/locale/zh-cn.min.mjs +1 -1
  32. package/locale/zh-cn.mjs +1 -1
  33. package/package.json +1 -1
  34. /package/es/{version.css → component.css} +0 -0
  35. /package/lib/{version.css → component.css} +0 -0
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.106 */
1
+ /*! fmdeui-fmui v1.0.108 */
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) :
@@ -20161,7 +20161,7 @@
20161
20161
  app.use(VxeUITable);
20162
20162
  };
20163
20163
 
20164
- var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
20164
+ var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
20165
20165
  ...{
20166
20166
  name: "FButton"
20167
20167
  },
@@ -20231,7 +20231,7 @@
20231
20231
  }
20232
20232
  });
20233
20233
 
20234
- const FButton = _sfc_main$K;
20234
+ const FButton = _sfc_main$L;
20235
20235
 
20236
20236
  const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
20237
20237
  const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
@@ -20890,10 +20890,23 @@
20890
20890
  }
20891
20891
  return true;
20892
20892
  }
20893
+ function getShowColumnWidth(flag, field, defaultValue = "", isJson = false) {
20894
+ var _a, _b, _c, _d;
20895
+ const stores = useUserInfo();
20896
+ const route = vueRouter.useRoute();
20897
+ const ItemField = (_d = (_c = (_b = (_a = (stores.userInfos.formDes || []).find((f) => f.path === route.path)) == null ? void 0 : _a.formData) == null ? void 0 : _b.find((pack) => pack.flag === flag)) == null ? void 0 : _c.formData) == null ? void 0 : _d.find((item) => (item == null ? void 0 : item.field) === field);
20898
+ let width = defaultValue;
20899
+ if (ItemField) {
20900
+ if (ItemField.width && ItemField.width != "" && ItemField.width > 0) {
20901
+ width = ItemField.width + ItemField.widthUnit;
20902
+ }
20903
+ }
20904
+ return isJson ? width != "" ? { width } : "" : width;
20905
+ }
20893
20906
 
20894
- const _hoisted_1$u = { key: 0 };
20895
- const _hoisted_2$j = { key: 0 };
20896
- var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
20907
+ const _hoisted_1$v = { key: 0 };
20908
+ const _hoisted_2$k = { key: 0 };
20909
+ var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
20897
20910
  ...{
20898
20911
  name: "FInput"
20899
20912
  },
@@ -21100,7 +21113,7 @@
21100
21113
  fn: vue.withCtx(() => [
21101
21114
  __props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
21102
21115
  "span",
21103
- _hoisted_1$u,
21116
+ _hoisted_1$v,
21104
21117
  vue.toDisplayString(appendTitleText.value),
21105
21118
  1
21106
21119
  /* TEXT */
@@ -21133,7 +21146,7 @@
21133
21146
  fn: vue.withCtx(() => [
21134
21147
  __props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
21135
21148
  "span",
21136
- _hoisted_2$j,
21149
+ _hoisted_2$k,
21137
21150
  vue.toDisplayString(appendTitleText.value),
21138
21151
  1
21139
21152
  /* TEXT */
@@ -21146,13 +21159,13 @@
21146
21159
  }
21147
21160
  });
21148
21161
 
21149
- const FInput = _sfc_main$J;
21162
+ const FInput = _sfc_main$K;
21150
21163
 
21151
- const _hoisted_1$t = {
21164
+ const _hoisted_1$u = {
21152
21165
  key: 0,
21153
21166
  class: "back_to_top"
21154
21167
  };
21155
- var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
21168
+ var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
21156
21169
  ...{
21157
21170
  name: "FLayoutPage"
21158
21171
  },
@@ -21214,7 +21227,7 @@
21214
21227
  },
21215
21228
  [
21216
21229
  vue.renderSlot(_ctx.$slots, "default"),
21217
- __props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
21230
+ __props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
21218
21231
  isShowGoTopButton.value ? (vue.openBlock(), vue.createElementBlock("div", {
21219
21232
  key: 0,
21220
21233
  onClick: backToTop
@@ -21242,9 +21255,9 @@
21242
21255
  }
21243
21256
  });
21244
21257
 
21245
- const FLayoutPage = _sfc_main$I;
21258
+ const FLayoutPage = _sfc_main$J;
21246
21259
 
21247
- var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21260
+ var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
21248
21261
  ...{
21249
21262
  name: "FLayoutPageItem"
21250
21263
  },
@@ -21272,7 +21285,7 @@
21272
21285
  }
21273
21286
  });
21274
21287
 
21275
- const FLayoutPageItem = _sfc_main$H;
21288
+ const FLayoutPageItem = _sfc_main$I;
21276
21289
 
21277
21290
  function debounce(func, delay = 500, immediate, resultCallback) {
21278
21291
  let timer = null;
@@ -21315,8 +21328,8 @@
21315
21328
  return name.replace(/([A-Z])/g, "_$1").toLowerCase();
21316
21329
  }
21317
21330
 
21318
- const _hoisted_1$s = ["id"];
21319
- var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21331
+ const _hoisted_1$t = ["id"];
21332
+ var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21320
21333
  ...{
21321
21334
  name: "FChart"
21322
21335
  },
@@ -21400,7 +21413,7 @@
21400
21413
  id: __props.id,
21401
21414
  ref_key: "echartRef",
21402
21415
  ref: echartRef
21403
- }, null, 8, _hoisted_1$s), [
21416
+ }, null, 8, _hoisted_1$t), [
21404
21417
  [vue.vShow, !formatEmpty.value]
21405
21418
  ]),
21406
21419
  formatEmpty.value ? vue.renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
@@ -21415,13 +21428,13 @@
21415
21428
  }
21416
21429
  });
21417
21430
 
21418
- const FChart = _sfc_main$G;
21431
+ const FChart = _sfc_main$H;
21419
21432
 
21420
- const _hoisted_1$r = {
21433
+ const _hoisted_1$s = {
21421
21434
  key: 1,
21422
21435
  class: "f_select__pagination"
21423
21436
  };
21424
- var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
21437
+ var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21425
21438
  ...{
21426
21439
  name: "FSelect"
21427
21440
  },
@@ -21634,7 +21647,7 @@
21634
21647
  128
21635
21648
  /* KEYED_FRAGMENT */
21636
21649
  )),
21637
- __props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
21650
+ __props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
21638
21651
  vue.createVNode(_component_el_pagination, vue.mergeProps({
21639
21652
  "current-page": __props.paginationOption.currentPage,
21640
21653
  "onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
@@ -21672,9 +21685,9 @@
21672
21685
  }
21673
21686
  });
21674
21687
 
21675
- const FSelect = _sfc_main$F;
21688
+ const FSelect = _sfc_main$G;
21676
21689
 
21677
- var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
21690
+ var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
21678
21691
  ...{
21679
21692
  name: "RenderComp"
21680
21693
  },
@@ -21694,12 +21707,12 @@
21694
21707
  }
21695
21708
  });
21696
21709
 
21697
- const _hoisted_1$q = { class: "inside_box" };
21698
- const _hoisted_2$i = { class: "inside_box_title" };
21699
- const _hoisted_3$b = { class: "check-box" };
21700
- const _hoisted_4$8 = { class: "more_dropdown_icon" };
21710
+ const _hoisted_1$r = { class: "inside_box" };
21711
+ const _hoisted_2$j = { class: "inside_box_title" };
21712
+ const _hoisted_3$c = { class: "check-box" };
21713
+ const _hoisted_4$9 = { class: "more_dropdown_icon" };
21701
21714
  const _hoisted_5$7 = { class: "out_box" };
21702
- var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
21715
+ var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
21703
21716
  ...{
21704
21717
  name: "MoreChoose"
21705
21718
  },
@@ -21819,7 +21832,7 @@
21819
21832
  ref: "popover"
21820
21833
  }, {
21821
21834
  reference: vue.withCtx(() => [
21822
- vue.createElementVNode("div", _hoisted_4$8, [
21835
+ vue.createElementVNode("div", _hoisted_4$9, [
21823
21836
  vue.createElementVNode(
21824
21837
  "span",
21825
21838
  _hoisted_5$7,
@@ -21837,8 +21850,8 @@
21837
21850
  ])
21838
21851
  ]),
21839
21852
  default: vue.withCtx(() => [
21840
- vue.createElementVNode("div", _hoisted_1$q, [
21841
- vue.createElementVNode("div", _hoisted_2$i, [
21853
+ vue.createElementVNode("div", _hoisted_1$r, [
21854
+ vue.createElementVNode("div", _hoisted_2$j, [
21842
21855
  vue.createElementVNode(
21843
21856
  "div",
21844
21857
  null,
@@ -21846,7 +21859,7 @@
21846
21859
  1
21847
21860
  /* TEXT */
21848
21861
  ),
21849
- vue.createElementVNode("div", _hoisted_3$b, [
21862
+ vue.createElementVNode("div", _hoisted_3$c, [
21850
21863
  vue.createVNode(_component_el_button, {
21851
21864
  size: "small",
21852
21865
  link: "",
@@ -22014,7 +22027,7 @@
22014
22027
  };
22015
22028
  }
22016
22029
 
22017
- var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
22030
+ var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
22018
22031
  ...{
22019
22032
  name: "FQueryCondition"
22020
22033
  },
@@ -22433,7 +22446,7 @@
22433
22446
  opt.labelRender ? {
22434
22447
  name: "label",
22435
22448
  fn: vue.withCtx(() => [
22436
- vue.createVNode(_sfc_main$E, {
22449
+ vue.createVNode(_sfc_main$F, {
22437
22450
  form: vue.unref(queryState).form,
22438
22451
  render: opt.labelRender
22439
22452
  }, null, 8, ["form", "render"])
@@ -22529,7 +22542,7 @@
22529
22542
  _: 1
22530
22543
  /* STABLE */
22531
22544
  })) : vue.createCommentVNode("v-if", true),
22532
- vue.createVNode(_sfc_main$D, {
22545
+ vue.createVNode(_sfc_main$E, {
22533
22546
  isDropDownSelectMore: __props.isDropDownSelectMore,
22534
22547
  moreCheckList: __props.moreCheckList,
22535
22548
  popoverAttrsBind: popoverAttrsBind.value,
@@ -22555,7 +22568,7 @@
22555
22568
  }
22556
22569
  });
22557
22570
 
22558
- var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
22571
+ var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
22559
22572
  ...{
22560
22573
  name: "RenderCol"
22561
22574
  },
@@ -22711,17 +22724,17 @@
22711
22724
  };
22712
22725
  }
22713
22726
 
22714
- const _hoisted_1$p = {
22727
+ const _hoisted_1$q = {
22715
22728
  key: 0,
22716
22729
  class: "table_query_condition"
22717
22730
  };
22718
- const _hoisted_2$h = ["element-loading-text"];
22719
- const _hoisted_3$a = { key: 2 };
22720
- const _hoisted_4$7 = {
22731
+ const _hoisted_2$i = ["element-loading-text"];
22732
+ const _hoisted_3$b = { key: 2 };
22733
+ const _hoisted_4$8 = {
22721
22734
  key: 0,
22722
22735
  class: "f-table-select__page"
22723
22736
  };
22724
- var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
22737
+ var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
22725
22738
  ...{
22726
22739
  name: "FSelectTable"
22727
22740
  },
@@ -23343,9 +23356,9 @@
23343
23356
  style: vue.normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
23344
23357
  },
23345
23358
  [
23346
- __props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
23359
+ __props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
23347
23360
  vue.createVNode(
23348
- _sfc_main$C,
23361
+ _sfc_main$D,
23349
23362
  vue.mergeProps({
23350
23363
  ref_key: "fQueryConditionRef",
23351
23364
  ref: fQueryConditionRef,
@@ -23471,7 +23484,7 @@
23471
23484
  fixed: item.fixed
23472
23485
  }, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
23473
23486
  default: vue.withCtx((scope) => [
23474
- item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$B, {
23487
+ item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$C, {
23475
23488
  key: 0,
23476
23489
  column: item,
23477
23490
  row: scope.row,
@@ -23482,7 +23495,7 @@
23482
23495
  key: 1,
23483
23496
  scope
23484
23497
  }) : vue.createCommentVNode("v-if", true),
23485
- !item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$a, [
23498
+ !item.render && !item.slotName ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$b, [
23486
23499
  vue.createElementVNode(
23487
23500
  "span",
23488
23501
  null,
@@ -23504,7 +23517,7 @@
23504
23517
  _: 3
23505
23518
  /* FORWARDED */
23506
23519
  }, 16, ["data", "class"]),
23507
- __props.isShowPagination ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$7, [
23520
+ __props.isShowPagination ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$8, [
23508
23521
  vue.createVNode(_component_el_pagination, vue.mergeProps({
23509
23522
  "current-page": __props.table.currentPage,
23510
23523
  "onUpdate:currentPage": _cache[6] || (_cache[6] = ($event) => __props.table.currentPage = $event),
@@ -23516,7 +23529,7 @@
23516
23529
  total: __props.table.total
23517
23530
  }, { background: true, size: __props.paginationSize || "small", ..._ctx.$attrs }), null, 16, ["current-page", "page-size", "pager-count", "total"])
23518
23531
  ])) : vue.createCommentVNode("v-if", true)
23519
- ], 8, _hoisted_2$h)), [
23532
+ ], 8, _hoisted_2$i)), [
23520
23533
  [_directive_loading, __props.tableLoading]
23521
23534
  ]),
23522
23535
  vue.renderSlot(_ctx.$slots, "footer")
@@ -23534,11 +23547,11 @@
23534
23547
  }
23535
23548
  });
23536
23549
 
23537
- const FSelectTable = _sfc_main$A;
23550
+ const FSelectTable = _sfc_main$B;
23538
23551
 
23539
- const FQueryCondition = _sfc_main$C;
23552
+ const FQueryCondition = _sfc_main$D;
23540
23553
 
23541
- var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
23554
+ var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
23542
23555
  ...{
23543
23556
  name: "RenderComp"
23544
23557
  },
@@ -23558,7 +23571,7 @@
23558
23571
  }
23559
23572
  });
23560
23573
 
23561
- var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
23574
+ var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
23562
23575
  ...{
23563
23576
  name: "RenderBtn"
23564
23577
  },
@@ -23578,12 +23591,12 @@
23578
23591
  }
23579
23592
  });
23580
23593
 
23581
- const _hoisted_1$o = {
23594
+ const _hoisted_1$p = {
23582
23595
  key: 1,
23583
23596
  class: "text_show"
23584
23597
  };
23585
- const _hoisted_2$g = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23586
- var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
23598
+ const _hoisted_2$h = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23599
+ var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
23587
23600
  ...{
23588
23601
  name: "FForm"
23589
23602
  },
@@ -23834,7 +23847,7 @@
23834
23847
  }) : vue.createCommentVNode("v-if", true),
23835
23848
  item.textShow ? (vue.openBlock(), vue.createElementBlock(
23836
23849
  "span",
23837
- _hoisted_1$o,
23850
+ _hoisted_1$p,
23838
23851
  vue.toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
23839
23852
  1
23840
23853
  /* TEXT */
@@ -23954,7 +23967,7 @@
23954
23967
  item.labelSlotName || item.labelRender ? {
23955
23968
  name: "label",
23956
23969
  fn: vue.withCtx(() => [
23957
- item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$z, {
23970
+ item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$A, {
23958
23971
  key: 0,
23959
23972
  render: item.labelRender,
23960
23973
  item
@@ -23976,7 +23989,7 @@
23976
23989
  /* UNKEYED_FRAGMENT */
23977
23990
  )),
23978
23991
  vue.createCommentVNode(" \u6309\u94AE "),
23979
- vue.createElementVNode("div", _hoisted_2$g, [
23992
+ vue.createElementVNode("div", _hoisted_2$h, [
23980
23993
  __props.formOpts.btnSlotName ? vue.renderSlot(_ctx.$slots, __props.formOpts.btnSlotName, { key: 0 }) : vue.createCommentVNode("v-if", true),
23981
23994
  !__props.formOpts.btnSlotName && __props.formOpts.operatorList && __props.formOpts.operatorList.length > 0 ? (vue.openBlock(true), vue.createElementBlock(
23982
23995
  vue.Fragment,
@@ -23986,7 +23999,7 @@
23986
23999
  vue.Fragment,
23987
24000
  null,
23988
24001
  [
23989
- val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$y, {
24002
+ val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$z, {
23990
24003
  key: index,
23991
24004
  item: val,
23992
24005
  render: val.render
@@ -24033,10 +24046,10 @@
24033
24046
  }
24034
24047
  });
24035
24048
 
24036
- const FForm = _sfc_main$x;
24049
+ const FForm = _sfc_main$y;
24037
24050
 
24038
- const _hoisted_1$n = ["src"];
24039
- var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
24051
+ const _hoisted_1$o = ["src"];
24052
+ var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
24040
24053
  ...{
24041
24054
  name: "svgIcon"
24042
24055
  },
@@ -24107,7 +24120,7 @@
24107
24120
  vue.createElementVNode("img", {
24108
24121
  src: getIconName.value,
24109
24122
  style: vue.normalizeStyle(setIconSvgInsStyle.value)
24110
- }, null, 12, _hoisted_1$n)
24123
+ }, null, 12, _hoisted_1$o)
24111
24124
  ],
24112
24125
  4
24113
24126
  /* STYLE */
@@ -24134,13 +24147,13 @@
24134
24147
  }
24135
24148
  }
24136
24149
  if (!app._context.components[`SvgIcon`]) {
24137
- app.component("SvgIcon", _sfc_main$w);
24150
+ app.component("SvgIcon", _sfc_main$x);
24138
24151
  }
24139
24152
  }
24140
24153
 
24141
24154
  const emitter = mitt();
24142
24155
 
24143
- var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
24156
+ var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
24144
24157
  ...{
24145
24158
  name: "FLayout"
24146
24159
  },
@@ -24226,7 +24239,7 @@
24226
24239
  }
24227
24240
  });
24228
24241
 
24229
- const FLayout = _sfc_main$v;
24242
+ const FLayout = _sfc_main$w;
24230
24243
 
24231
24244
  function commonFunction() {
24232
24245
  const { copy, isSupported } = core.useClipboard();
@@ -24503,10 +24516,10 @@
24503
24516
  // },
24504
24517
  };
24505
24518
 
24506
- const _hoisted_1$m = { class: "layout-breadcrumb-seting" };
24507
- const _hoisted_2$f = { class: "layout-breadcrumb-seting-bar-flex" };
24508
- const _hoisted_3$9 = { class: "layout-breadcrumb-seting-bar-flex-label" };
24509
- const _hoisted_4$6 = { class: "layout-breadcrumb-seting-bar-flex-value" };
24519
+ const _hoisted_1$n = { class: "layout-breadcrumb-seting" };
24520
+ const _hoisted_2$g = { class: "layout-breadcrumb-seting-bar-flex" };
24521
+ const _hoisted_3$a = { class: "layout-breadcrumb-seting-bar-flex-label" };
24522
+ const _hoisted_4$7 = { class: "layout-breadcrumb-seting-bar-flex-value" };
24510
24523
  const _hoisted_5$6 = { style: { "margin": "10px 0" } };
24511
24524
  const _hoisted_6$3 = { class: "layout-breadcrumb-seting-bar-flex mt15" };
24512
24525
  const _hoisted_7$3 = { class: "layout-breadcrumb-seting-bar-flex-label" };
@@ -24628,7 +24641,7 @@
24628
24641
  class: "traditionalColors-chines",
24629
24642
  style: { "cursor": "grab", "color": "gray" }
24630
24643
  };
24631
- var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
24644
+ var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
24632
24645
  ...{
24633
24646
  name: "FSettings"
24634
24647
  },
@@ -24892,7 +24905,7 @@
24892
24905
  const _component_el_col = vue.resolveComponent("el-col");
24893
24906
  const _component_el_row = vue.resolveComponent("el-row");
24894
24907
  const _component_el_dialog = vue.resolveComponent("el-dialog");
24895
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
24908
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
24896
24909
  vue.createVNode(_component_el_drawer, {
24897
24910
  title: _ctx.$t("message.layout.configTitle"),
24898
24911
  modelValue: getThemeConfig.value.isDrawer,
@@ -24917,15 +24930,15 @@
24917
24930
  _: 1
24918
24931
  /* STABLE */
24919
24932
  }),
24920
- vue.createElementVNode("div", _hoisted_2$f, [
24933
+ vue.createElementVNode("div", _hoisted_2$g, [
24921
24934
  vue.createElementVNode(
24922
24935
  "div",
24923
- _hoisted_3$9,
24936
+ _hoisted_3$a,
24924
24937
  vue.toDisplayString(_ctx.$t("message.layout.themeColors")),
24925
24938
  1
24926
24939
  /* TEXT */
24927
24940
  ),
24928
- vue.createElementVNode("div", _hoisted_4$6, [
24941
+ vue.createElementVNode("div", _hoisted_4$7, [
24929
24942
  vue.createVNode(_component_el_color_picker, {
24930
24943
  modelValue: getThemeConfig.value.primary,
24931
24944
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => getThemeConfig.value.primary = $event),
@@ -26391,9 +26404,9 @@
26391
26404
  }
26392
26405
  });
26393
26406
 
26394
- const FSettings = _sfc_main$u;
26407
+ const FSettings = _sfc_main$v;
26395
26408
 
26396
- var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
26409
+ var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
26397
26410
  ...{
26398
26411
  name: "FModifyRecord"
26399
26412
  },
@@ -26656,9 +26669,9 @@
26656
26669
  }
26657
26670
  });
26658
26671
 
26659
- const FModifyRecord = _sfc_main$t;
26672
+ const FModifyRecord = _sfc_main$u;
26660
26673
 
26661
- var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
26674
+ var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
26662
26675
  ...{
26663
26676
  name: "Fminputdropdown"
26664
26677
  },
@@ -26855,9 +26868,9 @@
26855
26868
  }
26856
26869
  });
26857
26870
 
26858
- const Fminputdropdown = _sfc_main$s;
26871
+ const Fminputdropdown = _sfc_main$t;
26859
26872
 
26860
- var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
26873
+ var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
26861
26874
  ...{ name: "FmInputNumber" },
26862
26875
  __name: "index",
26863
26876
  props: /* @__PURE__ */ vue.mergeModels({
@@ -26890,7 +26903,8 @@
26890
26903
  return;
26891
26904
  }
26892
26905
  if (props.bType == "number") {
26893
- const num = parseInt(val, 10);
26906
+ let trimstr = String(val).replace(/[^\d]/g, "");
26907
+ const num = parseInt(trimstr, 10);
26894
26908
  const validNum = Number.isNaN(num) ? props.defaultValue : num;
26895
26909
  modelValue.value = validNum;
26896
26910
  emit("handleInput", validNum);
@@ -26965,14 +26979,14 @@
26965
26979
  }
26966
26980
  });
26967
26981
 
26968
- const FmInputNumber = _sfc_main$r;
26982
+ const FmInputNumber = _sfc_main$s;
26969
26983
 
26970
- const _hoisted_1$l = { style: { "color": "#fff" } };
26971
- const _hoisted_2$e = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
26972
- 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" } };
26973
- const _hoisted_4$5 = { style: { "margin-top": "10px" } };
26984
+ const _hoisted_1$m = { style: { "color": "#fff" } };
26985
+ 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" } };
26986
+ 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" } };
26987
+ const _hoisted_4$6 = { style: { "margin-top": "10px" } };
26974
26988
  const _hoisted_5$5 = { class: "dialog-footer" };
26975
- var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
26989
+ var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
26976
26990
  __name: "userSelectDialog",
26977
26991
  props: {
26978
26992
  visible: {
@@ -27109,7 +27123,7 @@
27109
27123
  "close-on-click-modal": false
27110
27124
  }, {
27111
27125
  header: vue.withCtx(() => [
27112
- vue.createElementVNode("div", _hoisted_1$l, [
27126
+ vue.createElementVNode("div", _hoisted_1$m, [
27113
27127
  vue.createVNode(_component_el_icon, {
27114
27128
  size: "16",
27115
27129
  style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
@@ -27155,7 +27169,7 @@
27155
27169
  default: vue.withCtx(() => [
27156
27170
  vue.createElementVNode(
27157
27171
  "p",
27158
- _hoisted_2$e,
27172
+ _hoisted_2$f,
27159
27173
  vue.toDisplayString(_ctx.$t("\u673A\u6784")),
27160
27174
  1
27161
27175
  /* TEXT */
@@ -27177,12 +27191,12 @@
27177
27191
  default: vue.withCtx(() => [
27178
27192
  vue.createElementVNode(
27179
27193
  "p",
27180
- _hoisted_3$8,
27194
+ _hoisted_3$9,
27181
27195
  vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
27182
27196
  1
27183
27197
  /* TEXT */
27184
27198
  ),
27185
- vue.createElementVNode("div", _hoisted_4$5, [
27199
+ vue.createElementVNode("div", _hoisted_4$6, [
27186
27200
  vue.createVNode(_component_el_form, {
27187
27201
  model: state.queryParams,
27188
27202
  ref: "queryRef",
@@ -27361,6 +27375,379 @@
27361
27375
  }
27362
27376
  });
27363
27377
 
27378
+ const _hoisted_1$l = { style: { "color": "#fff" } };
27379
+ const _hoisted_2$e = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
27380
+ const _hoisted_3$8 = { style: { "margin-top": "10px" } };
27381
+ const _hoisted_4$5 = { class: "dialog-footer" };
27382
+ var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
27383
+ __name: "supplierSelectDialog",
27384
+ props: {
27385
+ visible: {
27386
+ type: Boolean,
27387
+ default: false
27388
+ },
27389
+ title: {
27390
+ type: String,
27391
+ default: ""
27392
+ },
27393
+ data: {
27394
+ type: Array,
27395
+ default: () => []
27396
+ },
27397
+ userService: {
27398
+ type: String,
27399
+ default: "autoRes"
27400
+ },
27401
+ userAction: {
27402
+ type: String,
27403
+ default: "UserTable"
27404
+ },
27405
+ userParams: {
27406
+ type: Object,
27407
+ default: () => {
27408
+ }
27409
+ }
27410
+ },
27411
+ emits: ["update:visible", "change"],
27412
+ setup(__props, { emit: __emit }) {
27413
+ let emits = __emit;
27414
+ const props = __props;
27415
+ const userList = vue.ref([]);
27416
+ let checkedUsersList = vue.ref([]);
27417
+ const state = vue.reactive({
27418
+ total: 0,
27419
+ queryParams: {
27420
+ orgId: -1,
27421
+ page: 1,
27422
+ pageSize: 50
27423
+ }
27424
+ });
27425
+ let visibleDialog = vue.computed({
27426
+ get() {
27427
+ return props.visible;
27428
+ },
27429
+ set() {
27430
+ closeDialog();
27431
+ }
27432
+ });
27433
+ vue.onMounted(async () => {
27434
+ await getUserList();
27435
+ });
27436
+ const resetQuery = () => {
27437
+ state.queryParams = {};
27438
+ handleQuery();
27439
+ };
27440
+ const getUserList = async () => {
27441
+ var _a, _b, _c, _d;
27442
+ let res = await useBaseApi(props.userService).post({ ...state.queryParams, ...props.userParams }, props.userAction);
27443
+ userList.value = (_b = (_a = res.data.result) == null ? void 0 : _a.items) != null ? _b : [];
27444
+ state.queryParams.total = (_d = (_c = res.data.result) == null ? void 0 : _c.total) != null ? _d : 0;
27445
+ };
27446
+ async function handleQuery() {
27447
+ state.queryParams.pageNum = 1;
27448
+ await getUserList();
27449
+ }
27450
+ function handleSelectUser(row) {
27451
+ if (!row || row.id == "") return;
27452
+ emits("change", { id: row.id, name: row.supplierName, data: row });
27453
+ }
27454
+ const handledbclick = (row) => {
27455
+ handleSelectUser(row);
27456
+ };
27457
+ const handleSizeChange = (val) => {
27458
+ state.queryParams.pageSize = val;
27459
+ handleQuery();
27460
+ };
27461
+ const handleCurrentChange = (val) => {
27462
+ state.queryParams.page = val;
27463
+ handleQuery();
27464
+ };
27465
+ const closeDialog = () => {
27466
+ checkedUsersList.value = [];
27467
+ emits("update:visible", false);
27468
+ };
27469
+ return (_ctx, _cache) => {
27470
+ const _component_ele_Edit = vue.resolveComponent("ele-Edit");
27471
+ const _component_el_icon = vue.resolveComponent("el-icon");
27472
+ const _component_el_input = vue.resolveComponent("el-input");
27473
+ const _component_el_form_item = vue.resolveComponent("el-form-item");
27474
+ const _component_el_button = vue.resolveComponent("el-button");
27475
+ const _component_el_button_group = vue.resolveComponent("el-button-group");
27476
+ const _component_el_form = vue.resolveComponent("el-form");
27477
+ const _component_ele_Plus = vue.resolveComponent("ele-Plus");
27478
+ const _component_el_table_column = vue.resolveComponent("el-table-column");
27479
+ const _component_el_table = vue.resolveComponent("el-table");
27480
+ const _component_el_pagination = vue.resolveComponent("el-pagination");
27481
+ const _component_el_card = vue.resolveComponent("el-card");
27482
+ const _component_el_col = vue.resolveComponent("el-col");
27483
+ const _component_el_row = vue.resolveComponent("el-row");
27484
+ const _component_el_dialog = vue.resolveComponent("el-dialog");
27485
+ return vue.openBlock(), vue.createBlock(_component_el_dialog, {
27486
+ modelValue: vue.unref(visibleDialog),
27487
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(visibleDialog) ? visibleDialog.value = $event : visibleDialog = $event),
27488
+ style: { "width": "70vw" },
27489
+ "append-to-body": "",
27490
+ draggable: "",
27491
+ "close-on-click-modal": false
27492
+ }, {
27493
+ header: vue.withCtx(() => [
27494
+ vue.createElementVNode("div", _hoisted_1$l, [
27495
+ vue.createVNode(_component_el_icon, {
27496
+ size: "16",
27497
+ style: { "margin-right": "3px", "display": "inline", "vertical-align": "middle" }
27498
+ }, {
27499
+ default: vue.withCtx(() => [
27500
+ vue.createVNode(_component_ele_Edit)
27501
+ ]),
27502
+ _: 1
27503
+ /* STABLE */
27504
+ }),
27505
+ vue.createElementVNode(
27506
+ "span",
27507
+ null,
27508
+ vue.toDisplayString(_ctx.$t("\u9009\u62E9")) + vue.toDisplayString(_ctx.$t(__props.title)),
27509
+ 1
27510
+ /* TEXT */
27511
+ )
27512
+ ])
27513
+ ]),
27514
+ footer: vue.withCtx(() => [
27515
+ vue.createElementVNode("div", _hoisted_4$5, [
27516
+ vue.createVNode(_component_el_button, {
27517
+ icon: "ele-CircleCloseFilled",
27518
+ onClick: closeDialog
27519
+ }, {
27520
+ default: vue.withCtx(() => [
27521
+ vue.createTextVNode(
27522
+ vue.toDisplayString(_ctx.$t("\u53D6\u6D88")),
27523
+ 1
27524
+ /* TEXT */
27525
+ )
27526
+ ]),
27527
+ _: 1
27528
+ /* STABLE */
27529
+ }),
27530
+ vue.createCommentVNode(' <el-button type="primary" icon="ele-CircleCheckFilled" @click="saveDialog">\u786E\u5B9A</el-button> ')
27531
+ ])
27532
+ ]),
27533
+ default: vue.withCtx(() => [
27534
+ vue.createVNode(_component_el_row, { gutter: 10 }, {
27535
+ default: vue.withCtx(() => [
27536
+ vue.createVNode(_component_el_col, { span: 18 }, {
27537
+ default: vue.withCtx(() => [
27538
+ vue.createElementVNode(
27539
+ "p",
27540
+ _hoisted_2$e,
27541
+ vue.toDisplayString(_ctx.$t(__props.title)) + vue.toDisplayString(_ctx.$t("\u5217\u8868")),
27542
+ 1
27543
+ /* TEXT */
27544
+ ),
27545
+ vue.createElementVNode("div", _hoisted_3$8, [
27546
+ vue.createVNode(_component_el_form, {
27547
+ model: state.queryParams,
27548
+ ref: "queryRef",
27549
+ inline: true
27550
+ }, {
27551
+ default: vue.withCtx(() => [
27552
+ vue.createVNode(_component_el_form_item, {
27553
+ label: _ctx.$t("\u5173\u952E\u5B57")
27554
+ }, {
27555
+ default: vue.withCtx(() => [
27556
+ vue.createVNode(_component_el_input, {
27557
+ modelValue: state.queryParams.keyword,
27558
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.queryParams.keyword = $event),
27559
+ clearable: "",
27560
+ style: { "width": "150px" },
27561
+ onKeyup: vue.withKeys(handleQuery, ["enter"])
27562
+ }, null, 8, ["modelValue"])
27563
+ ]),
27564
+ _: 1
27565
+ /* STABLE */
27566
+ }, 8, ["label"]),
27567
+ vue.createVNode(_component_el_form_item, null, {
27568
+ default: vue.withCtx(() => [
27569
+ vue.createVNode(_component_el_button_group, null, {
27570
+ default: vue.withCtx(() => [
27571
+ vue.createVNode(_component_el_button, {
27572
+ type: "primary",
27573
+ icon: "ele-Search",
27574
+ onClick: handleQuery
27575
+ }, {
27576
+ default: vue.withCtx(() => [
27577
+ vue.createTextVNode(
27578
+ vue.toDisplayString(_ctx.$t("\u67E5\u8BE2")),
27579
+ 1
27580
+ /* TEXT */
27581
+ )
27582
+ ]),
27583
+ _: 1
27584
+ /* STABLE */
27585
+ }),
27586
+ vue.createVNode(_component_el_button, {
27587
+ icon: "ele-Refresh",
27588
+ onClick: resetQuery
27589
+ }, {
27590
+ default: vue.withCtx(() => [
27591
+ vue.createTextVNode(
27592
+ vue.toDisplayString(_ctx.$t("\u91CD\u7F6E")),
27593
+ 1
27594
+ /* TEXT */
27595
+ )
27596
+ ]),
27597
+ _: 1
27598
+ /* STABLE */
27599
+ })
27600
+ ]),
27601
+ _: 1
27602
+ /* STABLE */
27603
+ }),
27604
+ vue.createCommentVNode(' <el-button type="primary" icon="ele-DArrowRight" plain style="margin-left: 10px" @click="handleSelectAllUser"> \u5168\u9009 </el-button> ')
27605
+ ]),
27606
+ _: 1
27607
+ /* STABLE */
27608
+ })
27609
+ ]),
27610
+ _: 1
27611
+ /* STABLE */
27612
+ }, 8, ["model"]),
27613
+ vue.createVNode(_component_el_card, {
27614
+ class: "full-table",
27615
+ shadow: "hover"
27616
+ }, {
27617
+ default: vue.withCtx(() => [
27618
+ vue.createVNode(_component_el_table, {
27619
+ ref: "refTable",
27620
+ data: userList.value,
27621
+ style: { "height": "calc(70vh - 96px)" },
27622
+ onRowDblclick: handledbclick
27623
+ }, {
27624
+ default: vue.withCtx(() => [
27625
+ vue.createVNode(_component_el_table_column, {
27626
+ label: "\u64CD\u4F5C",
27627
+ width: "60",
27628
+ align: "center"
27629
+ }, {
27630
+ default: vue.withCtx((scope) => [
27631
+ vue.createVNode(_component_el_button, {
27632
+ link: "",
27633
+ type: "primary",
27634
+ onClick: ($event) => handleSelectUser(scope.row)
27635
+ }, {
27636
+ default: vue.withCtx(() => [
27637
+ vue.createVNode(_component_el_icon, null, {
27638
+ default: vue.withCtx(() => [
27639
+ vue.createVNode(_component_ele_Plus)
27640
+ ]),
27641
+ _: 1
27642
+ /* STABLE */
27643
+ })
27644
+ ]),
27645
+ _: 1
27646
+ /* STABLE */
27647
+ }, 8, ["onClick"])
27648
+ ]),
27649
+ _: 1
27650
+ /* STABLE */
27651
+ }),
27652
+ vue.createVNode(_component_el_table_column, {
27653
+ label: _ctx.$t("\u540D\u79F0"),
27654
+ prop: "supplierName",
27655
+ align: "center",
27656
+ "show-overflow-tooltip": true
27657
+ }, null, 8, ["label"]),
27658
+ vue.createVNode(_component_el_table_column, {
27659
+ label: _ctx.$t("\u8D1F\u8D23\u4EBA"),
27660
+ prop: "mainuser",
27661
+ align: "center",
27662
+ "show-overflow-tooltip": true
27663
+ }, {
27664
+ default: vue.withCtx((scope) => {
27665
+ var _a, _b;
27666
+ return [
27667
+ vue.createTextVNode(
27668
+ vue.toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.Contact),
27669
+ 1
27670
+ /* TEXT */
27671
+ )
27672
+ ];
27673
+ }),
27674
+ _: 1
27675
+ /* STABLE */
27676
+ }, 8, ["label"]),
27677
+ vue.createVNode(_component_el_table_column, {
27678
+ label: _ctx.$t("\u7535\u8BDD"),
27679
+ prop: "mainusertel",
27680
+ align: "center",
27681
+ "show-overflow-tooltip": true
27682
+ }, {
27683
+ default: vue.withCtx((scope) => {
27684
+ var _a, _b;
27685
+ return [
27686
+ vue.createTextVNode(
27687
+ vue.toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.tel),
27688
+ 1
27689
+ /* TEXT */
27690
+ )
27691
+ ];
27692
+ }),
27693
+ _: 1
27694
+ /* STABLE */
27695
+ }, 8, ["label"]),
27696
+ vue.createVNode(_component_el_table_column, {
27697
+ label: _ctx.$t("\u6240\u5728\u533A\u57DF"),
27698
+ prop: "mainusertel",
27699
+ align: "center",
27700
+ "show-overflow-tooltip": true
27701
+ }, {
27702
+ default: vue.withCtx((scope) => {
27703
+ var _a, _b, _c, _d, _e, _f;
27704
+ return [
27705
+ vue.createTextVNode(
27706
+ vue.toDisplayString((_b = (_a = scope.row) == null ? void 0 : _a.mainManager) == null ? void 0 : _b.province) + vue.toDisplayString((_d = (_c = scope.row) == null ? void 0 : _c.mainManager) == null ? void 0 : _d.city) + vue.toDisplayString((_f = (_e = scope.row) == null ? void 0 : _e.mainManager) == null ? void 0 : _f.district),
27707
+ 1
27708
+ /* TEXT */
27709
+ )
27710
+ ];
27711
+ }),
27712
+ _: 1
27713
+ /* STABLE */
27714
+ }, 8, ["label"])
27715
+ ]),
27716
+ _: 1
27717
+ /* STABLE */
27718
+ }, 8, ["data"]),
27719
+ vue.createVNode(_component_el_pagination, {
27720
+ currentPage: state.queryParams.page,
27721
+ "page-size": state.queryParams.pageSize,
27722
+ total: state.queryParams.total,
27723
+ "page-sizes": [10, 20, 50, 100],
27724
+ background: "",
27725
+ onSizeChange: handleSizeChange,
27726
+ onCurrentChange: handleCurrentChange,
27727
+ layout: "total, sizes, prev, pager, next, jumper",
27728
+ style: { "padding-bottom": "8px" }
27729
+ }, null, 8, ["currentPage", "page-size", "total"])
27730
+ ]),
27731
+ _: 1
27732
+ /* STABLE */
27733
+ })
27734
+ ])
27735
+ ]),
27736
+ _: 1
27737
+ /* STABLE */
27738
+ })
27739
+ ]),
27740
+ _: 1
27741
+ /* STABLE */
27742
+ })
27743
+ ]),
27744
+ _: 1
27745
+ /* STABLE */
27746
+ }, 8, ["modelValue"]);
27747
+ };
27748
+ }
27749
+ });
27750
+
27364
27751
  const _hoisted_1$k = { style: { "font-size": "14px", "line-height": "30px" } };
27365
27752
  var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
27366
27753
  ...{
@@ -27425,12 +27812,12 @@
27425
27812
  }
27426
27813
  },
27427
27814
  /**
27428
- * 打开类型 1 用户 2 单位
27815
+ * 打开类型 0--用户加机构 1 联系人 2 单位
27429
27816
  * @default 1
27430
27817
  */
27431
27818
  openType: {
27432
27819
  type: Number,
27433
- default: 1
27820
+ default: 0
27434
27821
  },
27435
27822
  orgService: {
27436
27823
  type: String,
@@ -27504,7 +27891,7 @@
27504
27891
  const _component_el_autocomplete = vue.resolveComponent("el-autocomplete");
27505
27892
  return vue.openBlock(), vue.createBlock(_component_el_autocomplete, {
27506
27893
  modelValue: autoName.value,
27507
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => autoName.value = $event),
27894
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => autoName.value = $event),
27508
27895
  debounce: 500,
27509
27896
  "fetch-suggestions": querySearchAsync,
27510
27897
  placeholder: props.placeholder,
@@ -27533,7 +27920,8 @@
27533
27920
  _: 1
27534
27921
  /* STABLE */
27535
27922
  }, 8, ["size"]),
27536
- vue.createVNode(_sfc_main$q, {
27923
+ __props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$r, {
27924
+ key: 0,
27537
27925
  visible: visibleopenDialog.value,
27538
27926
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
27539
27927
  orgService: __props.orgService,
@@ -27544,7 +27932,17 @@
27544
27932
  userAction: __props.userAction,
27545
27933
  userParams: __props.params,
27546
27934
  onChange: handleSelectDialogChange
27547
- }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])
27935
+ }, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
27936
+ __props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$q, {
27937
+ key: 1,
27938
+ visible: visibleopenDialog.value,
27939
+ "onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
27940
+ title: __props.title,
27941
+ userService: __props.userService,
27942
+ userAction: __props.userAction,
27943
+ userParams: __props.params,
27944
+ onChange: handleSelectDialogChange
27945
+ }, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true)
27548
27946
  ]),
27549
27947
  _: 1
27550
27948
  /* STABLE */
@@ -32011,6 +32409,7 @@
32011
32409
  exports.getOpOrg = getOpOrg;
32012
32410
  exports.getRules = getRules;
32013
32411
  exports.getShowColumn = getShowColumn;
32412
+ exports.getShowColumnWidth = getShowColumnWidth;
32014
32413
  exports.getSubFormFields = getSubFormFields;
32015
32414
  exports.getToken = getToken;
32016
32415
  exports.getWeek = getWeek;