@fmdeui/fmui 1.0.75 → 1.0.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.75 */
1
+ /*! fmdeui-fmui v1.0.77 */
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('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('vue-router'), 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', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'vue-router', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
@@ -19779,7 +19779,7 @@
19779
19779
  app.use(VxeUITable);
19780
19780
  };
19781
19781
 
19782
- var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
19782
+ var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
19783
19783
  ...{
19784
19784
  name: "FButton"
19785
19785
  },
@@ -19849,7 +19849,7 @@
19849
19849
  }
19850
19850
  });
19851
19851
 
19852
- const FButton = _sfc_main$F;
19852
+ const FButton = _sfc_main$G;
19853
19853
 
19854
19854
  const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
19855
19855
  const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
@@ -20304,6 +20304,18 @@
20304
20304
  var _a;
20305
20305
  return (_a = _getUserInfo()) == null ? void 0 : _a.orgName;
20306
20306
  };
20307
+ const cmpId = () => {
20308
+ var _a;
20309
+ return (_a = _getUserInfo()) == null ? void 0 : _a.cmpId;
20310
+ };
20311
+ const depId = () => {
20312
+ var _a;
20313
+ return (_a = _getUserInfo()) == null ? void 0 : _a.depId;
20314
+ };
20315
+ const groupId = () => {
20316
+ var _a;
20317
+ return (_a = _getUserInfo()) == null ? void 0 : _a.groupId;
20318
+ };
20307
20319
  const posId = () => {
20308
20320
  var _a;
20309
20321
  return (_a = _getUserInfo()) == null ? void 0 : _a.posId;
@@ -20420,9 +20432,9 @@
20420
20432
  return null;
20421
20433
  }
20422
20434
 
20423
- const _hoisted_1$r = { key: 0 };
20435
+ const _hoisted_1$s = { key: 0 };
20424
20436
  const _hoisted_2$i = { key: 0 };
20425
- var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
20437
+ var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
20426
20438
  ...{
20427
20439
  name: "FInput"
20428
20440
  },
@@ -20629,7 +20641,7 @@
20629
20641
  fn: vue.withCtx(() => [
20630
20642
  __props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
20631
20643
  "span",
20632
- _hoisted_1$r,
20644
+ _hoisted_1$s,
20633
20645
  vue.toDisplayString(appendTitleText.value),
20634
20646
  1
20635
20647
  /* TEXT */
@@ -20675,13 +20687,13 @@
20675
20687
  }
20676
20688
  });
20677
20689
 
20678
- const FInput = _sfc_main$E;
20690
+ const FInput = _sfc_main$F;
20679
20691
 
20680
- const _hoisted_1$q = {
20692
+ const _hoisted_1$r = {
20681
20693
  key: 0,
20682
20694
  class: "back_to_top"
20683
20695
  };
20684
- var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
20696
+ var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
20685
20697
  ...{
20686
20698
  name: "FLayoutPage"
20687
20699
  },
@@ -20743,7 +20755,7 @@
20743
20755
  },
20744
20756
  [
20745
20757
  vue.renderSlot(_ctx.$slots, "default"),
20746
- __props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
20758
+ __props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
20747
20759
  isShowGoTopButton.value ? (vue.openBlock(), vue.createElementBlock("div", {
20748
20760
  key: 0,
20749
20761
  onClick: backToTop
@@ -20771,9 +20783,9 @@
20771
20783
  }
20772
20784
  });
20773
20785
 
20774
- const FLayoutPage = _sfc_main$D;
20786
+ const FLayoutPage = _sfc_main$E;
20775
20787
 
20776
- var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
20788
+ var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
20777
20789
  ...{
20778
20790
  name: "FLayoutPageItem"
20779
20791
  },
@@ -20801,7 +20813,7 @@
20801
20813
  }
20802
20814
  });
20803
20815
 
20804
- const FLayoutPageItem = _sfc_main$C;
20816
+ const FLayoutPageItem = _sfc_main$D;
20805
20817
 
20806
20818
  function debounce(func, delay = 500, immediate, resultCallback) {
20807
20819
  let timer = null;
@@ -20844,8 +20856,8 @@
20844
20856
  return name.replace(/([A-Z])/g, "_$1").toLowerCase();
20845
20857
  }
20846
20858
 
20847
- const _hoisted_1$p = ["id"];
20848
- var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
20859
+ const _hoisted_1$q = ["id"];
20860
+ var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
20849
20861
  ...{
20850
20862
  name: "FChart"
20851
20863
  },
@@ -20929,7 +20941,7 @@
20929
20941
  id: __props.id,
20930
20942
  ref_key: "echartRef",
20931
20943
  ref: echartRef
20932
- }, null, 8, _hoisted_1$p), [
20944
+ }, null, 8, _hoisted_1$q), [
20933
20945
  [vue.vShow, !formatEmpty.value]
20934
20946
  ]),
20935
20947
  formatEmpty.value ? vue.renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
@@ -20944,13 +20956,13 @@
20944
20956
  }
20945
20957
  });
20946
20958
 
20947
- const FChart = _sfc_main$B;
20959
+ const FChart = _sfc_main$C;
20948
20960
 
20949
- const _hoisted_1$o = {
20961
+ const _hoisted_1$p = {
20950
20962
  key: 1,
20951
20963
  class: "f_select__pagination"
20952
20964
  };
20953
- var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
20965
+ var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
20954
20966
  ...{
20955
20967
  name: "FSelect"
20956
20968
  },
@@ -21163,7 +21175,7 @@
21163
21175
  128
21164
21176
  /* KEYED_FRAGMENT */
21165
21177
  )),
21166
- __props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
21178
+ __props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
21167
21179
  vue.createVNode(_component_el_pagination, vue.mergeProps({
21168
21180
  "current-page": __props.paginationOption.currentPage,
21169
21181
  "onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
@@ -21201,9 +21213,9 @@
21201
21213
  }
21202
21214
  });
21203
21215
 
21204
- const FSelect = _sfc_main$A;
21216
+ const FSelect = _sfc_main$B;
21205
21217
 
21206
- var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
21218
+ var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
21207
21219
  ...{
21208
21220
  name: "RenderComp"
21209
21221
  },
@@ -21223,12 +21235,12 @@
21223
21235
  }
21224
21236
  });
21225
21237
 
21226
- const _hoisted_1$n = { class: "inside_box" };
21238
+ const _hoisted_1$o = { class: "inside_box" };
21227
21239
  const _hoisted_2$h = { class: "inside_box_title" };
21228
21240
  const _hoisted_3$a = { class: "check-box" };
21229
21241
  const _hoisted_4$7 = { class: "more_dropdown_icon" };
21230
21242
  const _hoisted_5$6 = { class: "out_box" };
21231
- var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
21243
+ var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
21232
21244
  ...{
21233
21245
  name: "MoreChoose"
21234
21246
  },
@@ -21366,7 +21378,7 @@
21366
21378
  ])
21367
21379
  ]),
21368
21380
  default: vue.withCtx(() => [
21369
- vue.createElementVNode("div", _hoisted_1$n, [
21381
+ vue.createElementVNode("div", _hoisted_1$o, [
21370
21382
  vue.createElementVNode("div", _hoisted_2$h, [
21371
21383
  vue.createElementVNode(
21372
21384
  "div",
@@ -21543,7 +21555,7 @@
21543
21555
  };
21544
21556
  }
21545
21557
 
21546
- var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
21558
+ var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
21547
21559
  ...{
21548
21560
  name: "FQueryCondition"
21549
21561
  },
@@ -21962,7 +21974,7 @@
21962
21974
  opt.labelRender ? {
21963
21975
  name: "label",
21964
21976
  fn: vue.withCtx(() => [
21965
- vue.createVNode(_sfc_main$z, {
21977
+ vue.createVNode(_sfc_main$A, {
21966
21978
  form: vue.unref(queryState).form,
21967
21979
  render: opt.labelRender
21968
21980
  }, null, 8, ["form", "render"])
@@ -22058,7 +22070,7 @@
22058
22070
  _: 1
22059
22071
  /* STABLE */
22060
22072
  })) : vue.createCommentVNode("v-if", true),
22061
- vue.createVNode(_sfc_main$y, {
22073
+ vue.createVNode(_sfc_main$z, {
22062
22074
  isDropDownSelectMore: __props.isDropDownSelectMore,
22063
22075
  moreCheckList: __props.moreCheckList,
22064
22076
  popoverAttrsBind: popoverAttrsBind.value,
@@ -22084,7 +22096,7 @@
22084
22096
  }
22085
22097
  });
22086
22098
 
22087
- var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
22099
+ var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
22088
22100
  ...{
22089
22101
  name: "RenderCol"
22090
22102
  },
@@ -22240,7 +22252,7 @@
22240
22252
  };
22241
22253
  }
22242
22254
 
22243
- const _hoisted_1$m = {
22255
+ const _hoisted_1$n = {
22244
22256
  key: 0,
22245
22257
  class: "table_query_condition"
22246
22258
  };
@@ -22250,7 +22262,7 @@
22250
22262
  key: 0,
22251
22263
  class: "f-table-select__page"
22252
22264
  };
22253
- var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
22265
+ var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
22254
22266
  ...{
22255
22267
  name: "FSelectTable"
22256
22268
  },
@@ -22872,9 +22884,9 @@
22872
22884
  style: vue.normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
22873
22885
  },
22874
22886
  [
22875
- __props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
22887
+ __props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
22876
22888
  vue.createVNode(
22877
- _sfc_main$x,
22889
+ _sfc_main$y,
22878
22890
  vue.mergeProps({
22879
22891
  ref_key: "fQueryConditionRef",
22880
22892
  ref: fQueryConditionRef,
@@ -23000,7 +23012,7 @@
23000
23012
  fixed: item.fixed
23001
23013
  }, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
23002
23014
  default: vue.withCtx((scope) => [
23003
- item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
23015
+ item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
23004
23016
  key: 0,
23005
23017
  column: item,
23006
23018
  row: scope.row,
@@ -23063,11 +23075,11 @@
23063
23075
  }
23064
23076
  });
23065
23077
 
23066
- const FSelectTable = _sfc_main$v;
23078
+ const FSelectTable = _sfc_main$w;
23067
23079
 
23068
- const FQueryCondition = _sfc_main$x;
23080
+ const FQueryCondition = _sfc_main$y;
23069
23081
 
23070
- var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
23082
+ var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
23071
23083
  ...{
23072
23084
  name: "RenderComp"
23073
23085
  },
@@ -23087,7 +23099,7 @@
23087
23099
  }
23088
23100
  });
23089
23101
 
23090
- var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
23102
+ var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
23091
23103
  ...{
23092
23104
  name: "RenderBtn"
23093
23105
  },
@@ -23107,12 +23119,12 @@
23107
23119
  }
23108
23120
  });
23109
23121
 
23110
- const _hoisted_1$l = {
23122
+ const _hoisted_1$m = {
23111
23123
  key: 1,
23112
23124
  class: "text_show"
23113
23125
  };
23114
23126
  const _hoisted_2$f = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23115
- var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
23127
+ var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
23116
23128
  ...{
23117
23129
  name: "FForm"
23118
23130
  },
@@ -23363,7 +23375,7 @@
23363
23375
  }) : vue.createCommentVNode("v-if", true),
23364
23376
  item.textShow ? (vue.openBlock(), vue.createElementBlock(
23365
23377
  "span",
23366
- _hoisted_1$l,
23378
+ _hoisted_1$m,
23367
23379
  vue.toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
23368
23380
  1
23369
23381
  /* TEXT */
@@ -23483,7 +23495,7 @@
23483
23495
  item.labelSlotName || item.labelRender ? {
23484
23496
  name: "label",
23485
23497
  fn: vue.withCtx(() => [
23486
- item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
23498
+ item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
23487
23499
  key: 0,
23488
23500
  render: item.labelRender,
23489
23501
  item
@@ -23515,7 +23527,7 @@
23515
23527
  vue.Fragment,
23516
23528
  null,
23517
23529
  [
23518
- val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
23530
+ val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
23519
23531
  key: index,
23520
23532
  item: val,
23521
23533
  render: val.render
@@ -23562,10 +23574,10 @@
23562
23574
  }
23563
23575
  });
23564
23576
 
23565
- const FForm = _sfc_main$s;
23577
+ const FForm = _sfc_main$t;
23566
23578
 
23567
- const _hoisted_1$k = ["src"];
23568
- var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
23579
+ const _hoisted_1$l = ["src"];
23580
+ var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
23569
23581
  ...{
23570
23582
  name: "svgIcon"
23571
23583
  },
@@ -23636,7 +23648,7 @@
23636
23648
  vue.createElementVNode("img", {
23637
23649
  src: getIconName.value,
23638
23650
  style: vue.normalizeStyle(setIconSvgInsStyle.value)
23639
- }, null, 12, _hoisted_1$k)
23651
+ }, null, 12, _hoisted_1$l)
23640
23652
  ],
23641
23653
  4
23642
23654
  /* STYLE */
@@ -23663,13 +23675,13 @@
23663
23675
  }
23664
23676
  }
23665
23677
  if (!app._context.components[`SvgIcon`]) {
23666
- app.component("SvgIcon", _sfc_main$r);
23678
+ app.component("SvgIcon", _sfc_main$s);
23667
23679
  }
23668
23680
  }
23669
23681
 
23670
23682
  const emitter = mitt();
23671
23683
 
23672
- var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
23684
+ var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
23673
23685
  ...{
23674
23686
  name: "FLayout"
23675
23687
  },
@@ -23755,7 +23767,7 @@
23755
23767
  }
23756
23768
  });
23757
23769
 
23758
- const FLayout = _sfc_main$q;
23770
+ const FLayout = _sfc_main$r;
23759
23771
 
23760
23772
  function commonFunction() {
23761
23773
  const { copy, isSupported } = core.useClipboard();
@@ -24032,7 +24044,7 @@
24032
24044
  // },
24033
24045
  };
24034
24046
 
24035
- const _hoisted_1$j = { class: "layout-breadcrumb-seting" };
24047
+ const _hoisted_1$k = { class: "layout-breadcrumb-seting" };
24036
24048
  const _hoisted_2$e = { class: "layout-breadcrumb-seting-bar-flex" };
24037
24049
  const _hoisted_3$8 = { class: "layout-breadcrumb-seting-bar-flex-label" };
24038
24050
  const _hoisted_4$5 = { class: "layout-breadcrumb-seting-bar-flex-value" };
@@ -24157,7 +24169,7 @@
24157
24169
  class: "traditionalColors-chines",
24158
24170
  style: { "cursor": "grab", "color": "gray" }
24159
24171
  };
24160
- var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
24172
+ var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
24161
24173
  ...{
24162
24174
  name: "FSettings"
24163
24175
  },
@@ -24421,7 +24433,7 @@
24421
24433
  const _component_el_col = vue.resolveComponent("el-col");
24422
24434
  const _component_el_row = vue.resolveComponent("el-row");
24423
24435
  const _component_el_dialog = vue.resolveComponent("el-dialog");
24424
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
24436
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
24425
24437
  vue.createVNode(_component_el_drawer, {
24426
24438
  title: _ctx.$t("message.layout.configTitle"),
24427
24439
  modelValue: getThemeConfig.value.isDrawer,
@@ -25920,9 +25932,9 @@
25920
25932
  }
25921
25933
  });
25922
25934
 
25923
- const FSettings = _sfc_main$p;
25935
+ const FSettings = _sfc_main$q;
25924
25936
 
25925
- var _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
25937
+ var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
25926
25938
  ...{
25927
25939
  name: "FModifyRecord"
25928
25940
  },
@@ -26185,7 +26197,7 @@
26185
26197
  }
26186
26198
  });
26187
26199
 
26188
- const FModifyRecord = _sfc_main$o;
26200
+ const FModifyRecord = _sfc_main$p;
26189
26201
 
26190
26202
  const makeInstaller = (components = []) => {
26191
26203
  const install = (app) => {
@@ -26206,12 +26218,12 @@
26206
26218
  };
26207
26219
  };
26208
26220
 
26209
- const _hoisted_1$i = { style: { "padding": "5px" } };
26221
+ const _hoisted_1$j = { style: { "padding": "5px" } };
26210
26222
  const _hoisted_2$d = { style: { "display": "flex", "align-items": "center", "gap": "8px", "flex-wrap": "nowrap", "overflow": "hidden" } };
26211
26223
  const _hoisted_3$7 = { style: { "flex": "1 1 200px", "min-width": "0", "overflow": "hidden" } };
26212
26224
  const _hoisted_4$4 = { style: { "display": "flex", "align-items": "center", "flex-shrink": "0", "white-space": "nowrap" } };
26213
26225
  const _hoisted_5$4 = { style: { "margin-bottom": "45px" } };
26214
- var _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
26226
+ var _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
26215
26227
  ...{
26216
26228
  name: "FmTree"
26217
26229
  },
@@ -26405,7 +26417,7 @@
26405
26417
  style: { "height": "100%" }
26406
26418
  }, {
26407
26419
  header: vue.withCtx(() => [
26408
- vue.createElementVNode("div", _hoisted_1$i, [
26420
+ vue.createElementVNode("div", _hoisted_1$j, [
26409
26421
  vue.createElementVNode("div", _hoisted_2$d, [
26410
26422
  vue.createElementVNode("div", _hoisted_3$7, [
26411
26423
  vue.createVNode(_component_el_input, {
@@ -26545,7 +26557,134 @@
26545
26557
  }
26546
26558
  });
26547
26559
 
26548
- const FmTree = _sfc_main$n;
26560
+ const FmTree = _sfc_main$o;
26561
+
26562
+ const _hoisted_1$i = { key: 0 };
26563
+ var _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
26564
+ ...{
26565
+ name: "FmCascader"
26566
+ },
26567
+ __name: "index",
26568
+ props: /* @__PURE__ */ vue.mergeModels({
26569
+ orgData: {
26570
+ type: Array,
26571
+ default: () => []
26572
+ },
26573
+ cascaderProps: {
26574
+ type: Object,
26575
+ default: () => ({ emitPath: false, value: "id", label: "name", expandTrigger: "hover" })
26576
+ },
26577
+ placeholder: {
26578
+ type: String,
26579
+ default: "\u8BF7\u9009\u62E9\u7236\u8282"
26580
+ },
26581
+ vId: {
26582
+ type: String,
26583
+ default: "opOrgId"
26584
+ },
26585
+ vCmpId: {
26586
+ type: String,
26587
+ default: "opCmpId"
26588
+ },
26589
+ vDetId: {
26590
+ type: String,
26591
+ default: "opDetId"
26592
+ },
26593
+ vGroupId: {
26594
+ type: String,
26595
+ default: "opGroupId"
26596
+ }
26597
+ }, {
26598
+ "modelValue": {},
26599
+ "modelModifiers": {}
26600
+ }),
26601
+ emits: /* @__PURE__ */ vue.mergeModels(["change"], ["update:modelValue"]),
26602
+ setup(__props, { emit: __emit }) {
26603
+ const modeValue = vue.useModel(__props, "modelValue");
26604
+ const emit = __emit;
26605
+ const props = __props;
26606
+ const handelchangeOrg = (val) => {
26607
+ modeValue.value[props.vId] = val;
26608
+ const node = findNode(val);
26609
+ if (node) {
26610
+ if (node.pid == 0) {
26611
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vCmpId))
26612
+ modeValue.value[props.vCmpId] = node.id;
26613
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vDetId))
26614
+ modeValue.value[props.vDetId] = 0;
26615
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vGroupId))
26616
+ modeValue.value[props.vGroupId] = 0;
26617
+ } else if (node.level == 2) {
26618
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vDetId))
26619
+ modeValue.value[props.vDetId] = node.id;
26620
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vCmpId))
26621
+ modeValue.value[props.vCmpId] = node.pid;
26622
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vGroupId))
26623
+ modeValue.value[props.vGroupId] = 0;
26624
+ } else if (node.level == 3) {
26625
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vGroupId))
26626
+ modeValue.value[props.vGroupId] = node.id;
26627
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vDetId))
26628
+ modeValue.value[props.vDetId] = node.pid;
26629
+ let top = findNode(node.pid);
26630
+ if (top) {
26631
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vCmpId))
26632
+ modeValue.value[props.vCmpId] = top.id;
26633
+ }
26634
+ }
26635
+ }
26636
+ emit("change", node);
26637
+ };
26638
+ const findNode = (id) => {
26639
+ const search = (nodes) => {
26640
+ var _a;
26641
+ for (const node of nodes) {
26642
+ if (node.id === id) return node;
26643
+ if ((_a = node.children) == null ? void 0 : _a.length) {
26644
+ const found = search(node.children);
26645
+ if (found) return found;
26646
+ }
26647
+ }
26648
+ return null;
26649
+ };
26650
+ return search(props.orgData || []);
26651
+ };
26652
+ return (_ctx, _cache) => {
26653
+ const _component_el_cascader = vue.resolveComponent("el-cascader");
26654
+ return vue.openBlock(), vue.createBlock(_component_el_cascader, {
26655
+ options: props.orgData,
26656
+ props: __props.cascaderProps,
26657
+ placeholder: __props.placeholder,
26658
+ filterable: "",
26659
+ class: "w100",
26660
+ modelValue: modeValue.value[__props.vId],
26661
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValue.value[__props.vId] = $event),
26662
+ onChange: handelchangeOrg
26663
+ }, {
26664
+ default: vue.withCtx(({ node, data }) => [
26665
+ vue.createElementVNode(
26666
+ "span",
26667
+ null,
26668
+ vue.toDisplayString(node.label),
26669
+ 1
26670
+ /* TEXT */
26671
+ ),
26672
+ !node.isLeaf ? (vue.openBlock(), vue.createElementBlock(
26673
+ "span",
26674
+ _hoisted_1$i,
26675
+ " (" + vue.toDisplayString(data.children.length) + ") ",
26676
+ 1
26677
+ /* TEXT */
26678
+ )) : vue.createCommentVNode("v-if", true)
26679
+ ]),
26680
+ _: 1
26681
+ /* STABLE */
26682
+ }, 8, ["options", "props", "placeholder", "modelValue"]);
26683
+ };
26684
+ }
26685
+ });
26686
+
26687
+ const FmCascader = _sfc_main$n;
26549
26688
 
26550
26689
  const plugins = [
26551
26690
  FButton,
@@ -26560,7 +26699,8 @@
26560
26699
  FLayout,
26561
26700
  FSettings,
26562
26701
  FModifyRecord,
26563
- FmTree
26702
+ FmTree,
26703
+ FmCascader
26564
26704
  ];
26565
26705
 
26566
26706
  var installer = makeInstaller([...plugins]);
@@ -30455,11 +30595,13 @@
30455
30595
  exports.clearAccessTokens = clearAccessTokens;
30456
30596
  exports.clearTokens = clearTokens;
30457
30597
  exports.clone = clone;
30598
+ exports.cmpId = cmpId;
30458
30599
  exports.commonFun = commonFun;
30459
30600
  exports.commonFunction = commonFunction;
30460
30601
  exports.dataURLtoBlob = dataURLtoBlob;
30461
30602
  exports.decryptJWT = decryptJWT;
30462
30603
  exports.default = installer;
30604
+ exports.depId = depId;
30463
30605
  exports.destroyIdleTimeout = destroyIdleTimeout;
30464
30606
  exports.downloadByBase64 = downloadByBase64;
30465
30607
  exports.downloadByData = downloadByData;
@@ -30484,6 +30626,7 @@
30484
30626
  exports.getWeek = getWeek;
30485
30627
  exports.getlimit = getlimit;
30486
30628
  exports.getpower = getpower;
30629
+ exports.groupId = groupId;
30487
30630
  exports.hAuth = hAuth;
30488
30631
  exports.hAuthAll = hAuthAll;
30489
30632
  exports.hAuths = hAuths;