@fmdeui/fmui 1.0.74 → 1.0.76

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.74 */
1
+ /*! fmdeui-fmui v1.0.76 */
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) :
@@ -3704,6 +3704,28 @@
3704
3704
  value: 22 /* DeliverySys */
3705
3705
  }
3706
3706
  ];
3707
+ const PowerAreaData = [
3708
+ {
3709
+ label: "\u4E2A\u4EBA",
3710
+ value: 1
3711
+ },
3712
+ {
3713
+ label: "\u5C0F\u7EC4",
3714
+ value: 2
3715
+ },
3716
+ {
3717
+ label: "\u90E8\u95E8",
3718
+ value: 3
3719
+ },
3720
+ {
3721
+ label: "\u516C\u53F8",
3722
+ value: 4
3723
+ },
3724
+ {
3725
+ label: "\u96C6\u56E2",
3726
+ value: 5
3727
+ }
3728
+ ];
3707
3729
 
3708
3730
  const useUserInfo = pinia$1.defineStore("userInfo", {
3709
3731
  state: () => ({
@@ -19757,7 +19779,7 @@
19757
19779
  app.use(VxeUITable);
19758
19780
  };
19759
19781
 
19760
- var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
19782
+ var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
19761
19783
  ...{
19762
19784
  name: "FButton"
19763
19785
  },
@@ -19827,7 +19849,7 @@
19827
19849
  }
19828
19850
  });
19829
19851
 
19830
- const FButton = _sfc_main$F;
19852
+ const FButton = _sfc_main$G;
19831
19853
 
19832
19854
  const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
19833
19855
  const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
@@ -20398,9 +20420,9 @@
20398
20420
  return null;
20399
20421
  }
20400
20422
 
20401
- const _hoisted_1$r = { key: 0 };
20423
+ const _hoisted_1$s = { key: 0 };
20402
20424
  const _hoisted_2$i = { key: 0 };
20403
- var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
20425
+ var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
20404
20426
  ...{
20405
20427
  name: "FInput"
20406
20428
  },
@@ -20607,7 +20629,7 @@
20607
20629
  fn: vue.withCtx(() => [
20608
20630
  __props.inputType === "amount" ? (vue.openBlock(), vue.createElementBlock(
20609
20631
  "span",
20610
- _hoisted_1$r,
20632
+ _hoisted_1$s,
20611
20633
  vue.toDisplayString(appendTitleText.value),
20612
20634
  1
20613
20635
  /* TEXT */
@@ -20653,13 +20675,13 @@
20653
20675
  }
20654
20676
  });
20655
20677
 
20656
- const FInput = _sfc_main$E;
20678
+ const FInput = _sfc_main$F;
20657
20679
 
20658
- const _hoisted_1$q = {
20680
+ const _hoisted_1$r = {
20659
20681
  key: 0,
20660
20682
  class: "back_to_top"
20661
20683
  };
20662
- var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
20684
+ var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
20663
20685
  ...{
20664
20686
  name: "FLayoutPage"
20665
20687
  },
@@ -20721,7 +20743,7 @@
20721
20743
  },
20722
20744
  [
20723
20745
  vue.renderSlot(_ctx.$slots, "default"),
20724
- __props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
20746
+ __props.showGoTopButton ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
20725
20747
  isShowGoTopButton.value ? (vue.openBlock(), vue.createElementBlock("div", {
20726
20748
  key: 0,
20727
20749
  onClick: backToTop
@@ -20749,9 +20771,9 @@
20749
20771
  }
20750
20772
  });
20751
20773
 
20752
- const FLayoutPage = _sfc_main$D;
20774
+ const FLayoutPage = _sfc_main$E;
20753
20775
 
20754
- var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
20776
+ var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
20755
20777
  ...{
20756
20778
  name: "FLayoutPageItem"
20757
20779
  },
@@ -20779,7 +20801,7 @@
20779
20801
  }
20780
20802
  });
20781
20803
 
20782
- const FLayoutPageItem = _sfc_main$C;
20804
+ const FLayoutPageItem = _sfc_main$D;
20783
20805
 
20784
20806
  function debounce(func, delay = 500, immediate, resultCallback) {
20785
20807
  let timer = null;
@@ -20822,8 +20844,8 @@
20822
20844
  return name.replace(/([A-Z])/g, "_$1").toLowerCase();
20823
20845
  }
20824
20846
 
20825
- const _hoisted_1$p = ["id"];
20826
- var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
20847
+ const _hoisted_1$q = ["id"];
20848
+ var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
20827
20849
  ...{
20828
20850
  name: "FChart"
20829
20851
  },
@@ -20907,7 +20929,7 @@
20907
20929
  id: __props.id,
20908
20930
  ref_key: "echartRef",
20909
20931
  ref: echartRef
20910
- }, null, 8, _hoisted_1$p), [
20932
+ }, null, 8, _hoisted_1$q), [
20911
20933
  [vue.vShow, !formatEmpty.value]
20912
20934
  ]),
20913
20935
  formatEmpty.value ? vue.renderSlot(_ctx.$slots, "empty", { key: 0 }, () => [
@@ -20922,13 +20944,13 @@
20922
20944
  }
20923
20945
  });
20924
20946
 
20925
- const FChart = _sfc_main$B;
20947
+ const FChart = _sfc_main$C;
20926
20948
 
20927
- const _hoisted_1$o = {
20949
+ const _hoisted_1$p = {
20928
20950
  key: 1,
20929
20951
  class: "f_select__pagination"
20930
20952
  };
20931
- var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
20953
+ var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
20932
20954
  ...{
20933
20955
  name: "FSelect"
20934
20956
  },
@@ -21141,7 +21163,7 @@
21141
21163
  128
21142
21164
  /* KEYED_FRAGMENT */
21143
21165
  )),
21144
- __props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
21166
+ __props.isShowPagination && filteredOptionsCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
21145
21167
  vue.createVNode(_component_el_pagination, vue.mergeProps({
21146
21168
  "current-page": __props.paginationOption.currentPage,
21147
21169
  "onUpdate:currentPage": _cache[1] || (_cache[1] = ($event) => __props.paginationOption.currentPage = $event),
@@ -21179,9 +21201,9 @@
21179
21201
  }
21180
21202
  });
21181
21203
 
21182
- const FSelect = _sfc_main$A;
21204
+ const FSelect = _sfc_main$B;
21183
21205
 
21184
- var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
21206
+ var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
21185
21207
  ...{
21186
21208
  name: "RenderComp"
21187
21209
  },
@@ -21201,12 +21223,12 @@
21201
21223
  }
21202
21224
  });
21203
21225
 
21204
- const _hoisted_1$n = { class: "inside_box" };
21226
+ const _hoisted_1$o = { class: "inside_box" };
21205
21227
  const _hoisted_2$h = { class: "inside_box_title" };
21206
21228
  const _hoisted_3$a = { class: "check-box" };
21207
21229
  const _hoisted_4$7 = { class: "more_dropdown_icon" };
21208
21230
  const _hoisted_5$6 = { class: "out_box" };
21209
- var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
21231
+ var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
21210
21232
  ...{
21211
21233
  name: "MoreChoose"
21212
21234
  },
@@ -21344,7 +21366,7 @@
21344
21366
  ])
21345
21367
  ]),
21346
21368
  default: vue.withCtx(() => [
21347
- vue.createElementVNode("div", _hoisted_1$n, [
21369
+ vue.createElementVNode("div", _hoisted_1$o, [
21348
21370
  vue.createElementVNode("div", _hoisted_2$h, [
21349
21371
  vue.createElementVNode(
21350
21372
  "div",
@@ -21521,7 +21543,7 @@
21521
21543
  };
21522
21544
  }
21523
21545
 
21524
- var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
21546
+ var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
21525
21547
  ...{
21526
21548
  name: "FQueryCondition"
21527
21549
  },
@@ -21940,7 +21962,7 @@
21940
21962
  opt.labelRender ? {
21941
21963
  name: "label",
21942
21964
  fn: vue.withCtx(() => [
21943
- vue.createVNode(_sfc_main$z, {
21965
+ vue.createVNode(_sfc_main$A, {
21944
21966
  form: vue.unref(queryState).form,
21945
21967
  render: opt.labelRender
21946
21968
  }, null, 8, ["form", "render"])
@@ -22036,7 +22058,7 @@
22036
22058
  _: 1
22037
22059
  /* STABLE */
22038
22060
  })) : vue.createCommentVNode("v-if", true),
22039
- vue.createVNode(_sfc_main$y, {
22061
+ vue.createVNode(_sfc_main$z, {
22040
22062
  isDropDownSelectMore: __props.isDropDownSelectMore,
22041
22063
  moreCheckList: __props.moreCheckList,
22042
22064
  popoverAttrsBind: popoverAttrsBind.value,
@@ -22062,7 +22084,7 @@
22062
22084
  }
22063
22085
  });
22064
22086
 
22065
- var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
22087
+ var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
22066
22088
  ...{
22067
22089
  name: "RenderCol"
22068
22090
  },
@@ -22218,7 +22240,7 @@
22218
22240
  };
22219
22241
  }
22220
22242
 
22221
- const _hoisted_1$m = {
22243
+ const _hoisted_1$n = {
22222
22244
  key: 0,
22223
22245
  class: "table_query_condition"
22224
22246
  };
@@ -22228,7 +22250,7 @@
22228
22250
  key: 0,
22229
22251
  class: "f-table-select__page"
22230
22252
  };
22231
- var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
22253
+ var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
22232
22254
  ...{
22233
22255
  name: "FSelectTable"
22234
22256
  },
@@ -22850,9 +22872,9 @@
22850
22872
  style: vue.normalizeStyle({ width: __props.tableWidth ? `${__props.tableWidth}px` : "100%" })
22851
22873
  },
22852
22874
  [
22853
- __props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
22875
+ __props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
22854
22876
  vue.createVNode(
22855
- _sfc_main$x,
22877
+ _sfc_main$y,
22856
22878
  vue.mergeProps({
22857
22879
  ref_key: "fQueryConditionRef",
22858
22880
  ref: fQueryConditionRef,
@@ -22978,7 +23000,7 @@
22978
23000
  fixed: item.fixed
22979
23001
  }, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
22980
23002
  default: vue.withCtx((scope) => [
22981
- item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$w, {
23003
+ item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$x, {
22982
23004
  key: 0,
22983
23005
  column: item,
22984
23006
  row: scope.row,
@@ -23041,11 +23063,11 @@
23041
23063
  }
23042
23064
  });
23043
23065
 
23044
- const FSelectTable = _sfc_main$v;
23066
+ const FSelectTable = _sfc_main$w;
23045
23067
 
23046
- const FQueryCondition = _sfc_main$x;
23068
+ const FQueryCondition = _sfc_main$y;
23047
23069
 
23048
- var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
23070
+ var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
23049
23071
  ...{
23050
23072
  name: "RenderComp"
23051
23073
  },
@@ -23065,7 +23087,7 @@
23065
23087
  }
23066
23088
  });
23067
23089
 
23068
- var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
23090
+ var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
23069
23091
  ...{
23070
23092
  name: "RenderBtn"
23071
23093
  },
@@ -23085,12 +23107,12 @@
23085
23107
  }
23086
23108
  });
23087
23109
 
23088
- const _hoisted_1$l = {
23110
+ const _hoisted_1$m = {
23089
23111
  key: 1,
23090
23112
  class: "text_show"
23091
23113
  };
23092
23114
  const _hoisted_2$f = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
23093
- var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
23115
+ var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
23094
23116
  ...{
23095
23117
  name: "FForm"
23096
23118
  },
@@ -23341,7 +23363,7 @@
23341
23363
  }) : vue.createCommentVNode("v-if", true),
23342
23364
  item.textShow ? (vue.openBlock(), vue.createElementBlock(
23343
23365
  "span",
23344
- _hoisted_1$l,
23366
+ _hoisted_1$m,
23345
23367
  vue.toDisplayString(item.textValue || __props.formOpts.formData[item.value]),
23346
23368
  1
23347
23369
  /* TEXT */
@@ -23461,7 +23483,7 @@
23461
23483
  item.labelSlotName || item.labelRender ? {
23462
23484
  name: "label",
23463
23485
  fn: vue.withCtx(() => [
23464
- item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
23486
+ item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$v, {
23465
23487
  key: 0,
23466
23488
  render: item.labelRender,
23467
23489
  item
@@ -23493,7 +23515,7 @@
23493
23515
  vue.Fragment,
23494
23516
  null,
23495
23517
  [
23496
- val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$t, {
23518
+ val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
23497
23519
  key: index,
23498
23520
  item: val,
23499
23521
  render: val.render
@@ -23540,10 +23562,10 @@
23540
23562
  }
23541
23563
  });
23542
23564
 
23543
- const FForm = _sfc_main$s;
23565
+ const FForm = _sfc_main$t;
23544
23566
 
23545
- const _hoisted_1$k = ["src"];
23546
- var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
23567
+ const _hoisted_1$l = ["src"];
23568
+ var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
23547
23569
  ...{
23548
23570
  name: "svgIcon"
23549
23571
  },
@@ -23614,7 +23636,7 @@
23614
23636
  vue.createElementVNode("img", {
23615
23637
  src: getIconName.value,
23616
23638
  style: vue.normalizeStyle(setIconSvgInsStyle.value)
23617
- }, null, 12, _hoisted_1$k)
23639
+ }, null, 12, _hoisted_1$l)
23618
23640
  ],
23619
23641
  4
23620
23642
  /* STYLE */
@@ -23641,13 +23663,13 @@
23641
23663
  }
23642
23664
  }
23643
23665
  if (!app._context.components[`SvgIcon`]) {
23644
- app.component("SvgIcon", _sfc_main$r);
23666
+ app.component("SvgIcon", _sfc_main$s);
23645
23667
  }
23646
23668
  }
23647
23669
 
23648
23670
  const emitter = mitt();
23649
23671
 
23650
- var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
23672
+ var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
23651
23673
  ...{
23652
23674
  name: "FLayout"
23653
23675
  },
@@ -23733,7 +23755,7 @@
23733
23755
  }
23734
23756
  });
23735
23757
 
23736
- const FLayout = _sfc_main$q;
23758
+ const FLayout = _sfc_main$r;
23737
23759
 
23738
23760
  function commonFunction() {
23739
23761
  const { copy, isSupported } = core.useClipboard();
@@ -24010,7 +24032,7 @@
24010
24032
  // },
24011
24033
  };
24012
24034
 
24013
- const _hoisted_1$j = { class: "layout-breadcrumb-seting" };
24035
+ const _hoisted_1$k = { class: "layout-breadcrumb-seting" };
24014
24036
  const _hoisted_2$e = { class: "layout-breadcrumb-seting-bar-flex" };
24015
24037
  const _hoisted_3$8 = { class: "layout-breadcrumb-seting-bar-flex-label" };
24016
24038
  const _hoisted_4$5 = { class: "layout-breadcrumb-seting-bar-flex-value" };
@@ -24135,7 +24157,7 @@
24135
24157
  class: "traditionalColors-chines",
24136
24158
  style: { "cursor": "grab", "color": "gray" }
24137
24159
  };
24138
- var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
24160
+ var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
24139
24161
  ...{
24140
24162
  name: "FSettings"
24141
24163
  },
@@ -24399,7 +24421,7 @@
24399
24421
  const _component_el_col = vue.resolveComponent("el-col");
24400
24422
  const _component_el_row = vue.resolveComponent("el-row");
24401
24423
  const _component_el_dialog = vue.resolveComponent("el-dialog");
24402
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
24424
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
24403
24425
  vue.createVNode(_component_el_drawer, {
24404
24426
  title: _ctx.$t("message.layout.configTitle"),
24405
24427
  modelValue: getThemeConfig.value.isDrawer,
@@ -25898,9 +25920,9 @@
25898
25920
  }
25899
25921
  });
25900
25922
 
25901
- const FSettings = _sfc_main$p;
25923
+ const FSettings = _sfc_main$q;
25902
25924
 
25903
- var _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
25925
+ var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
25904
25926
  ...{
25905
25927
  name: "FModifyRecord"
25906
25928
  },
@@ -26163,7 +26185,7 @@
26163
26185
  }
26164
26186
  });
26165
26187
 
26166
- const FModifyRecord = _sfc_main$o;
26188
+ const FModifyRecord = _sfc_main$p;
26167
26189
 
26168
26190
  const makeInstaller = (components = []) => {
26169
26191
  const install = (app) => {
@@ -26184,12 +26206,12 @@
26184
26206
  };
26185
26207
  };
26186
26208
 
26187
- const _hoisted_1$i = { style: { "padding": "5px" } };
26209
+ const _hoisted_1$j = { style: { "padding": "5px" } };
26188
26210
  const _hoisted_2$d = { style: { "display": "flex", "align-items": "center", "gap": "8px", "flex-wrap": "nowrap", "overflow": "hidden" } };
26189
26211
  const _hoisted_3$7 = { style: { "flex": "1 1 200px", "min-width": "0", "overflow": "hidden" } };
26190
26212
  const _hoisted_4$4 = { style: { "display": "flex", "align-items": "center", "flex-shrink": "0", "white-space": "nowrap" } };
26191
26213
  const _hoisted_5$4 = { style: { "margin-bottom": "45px" } };
26192
- var _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
26214
+ var _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
26193
26215
  ...{
26194
26216
  name: "FmTree"
26195
26217
  },
@@ -26383,7 +26405,7 @@
26383
26405
  style: { "height": "100%" }
26384
26406
  }, {
26385
26407
  header: vue.withCtx(() => [
26386
- vue.createElementVNode("div", _hoisted_1$i, [
26408
+ vue.createElementVNode("div", _hoisted_1$j, [
26387
26409
  vue.createElementVNode("div", _hoisted_2$d, [
26388
26410
  vue.createElementVNode("div", _hoisted_3$7, [
26389
26411
  vue.createVNode(_component_el_input, {
@@ -26523,7 +26545,132 @@
26523
26545
  }
26524
26546
  });
26525
26547
 
26526
- const FmTree = _sfc_main$n;
26548
+ const FmTree = _sfc_main$o;
26549
+
26550
+ const _hoisted_1$i = { key: 0 };
26551
+ var _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
26552
+ ...{
26553
+ name: "FmCascader"
26554
+ },
26555
+ __name: "index",
26556
+ props: /* @__PURE__ */ vue.mergeModels({
26557
+ orgData: {
26558
+ type: Array,
26559
+ default: () => []
26560
+ },
26561
+ cascaderProps: {
26562
+ type: Object,
26563
+ default: () => ({ emitPath: false, value: "id", label: "name", expandTrigger: "hover" })
26564
+ },
26565
+ placeholder: {
26566
+ type: String,
26567
+ default: "\u8BF7\u9009\u62E9\u7236\u8282"
26568
+ },
26569
+ vId: {
26570
+ type: String,
26571
+ default: "opOrgId"
26572
+ },
26573
+ vCmpId: {
26574
+ type: String,
26575
+ default: "opCmpId"
26576
+ },
26577
+ vDetId: {
26578
+ type: String,
26579
+ default: "opDetId"
26580
+ },
26581
+ vGroupId: {
26582
+ type: String,
26583
+ default: "opGroupId"
26584
+ }
26585
+ }, {
26586
+ "modelValue": {},
26587
+ "modelModifiers": {}
26588
+ }),
26589
+ emits: ["update:modelValue"],
26590
+ setup(__props) {
26591
+ const modeValue = vue.useModel(__props, "modelValue");
26592
+ const props = __props;
26593
+ const handelchangeOrg = (val) => {
26594
+ modeValue.value[props.vId] = val;
26595
+ const node = findNode(val);
26596
+ if (node) {
26597
+ if (node.pid == 0) {
26598
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vCmpId))
26599
+ modeValue.value[props.vCmpId] = node.id;
26600
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vDetId))
26601
+ modeValue.value[props.vDetId] = 0;
26602
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vGroupId))
26603
+ modeValue.value[props.vGroupId] = 0;
26604
+ } else if (node.level == 2) {
26605
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vDetId))
26606
+ modeValue.value[props.vDetId] = node.id;
26607
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vCmpId))
26608
+ modeValue.value[props.vCmpId] = node.pid;
26609
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vGroupId))
26610
+ modeValue.value[props.vGroupId] = 0;
26611
+ } else if (node.level == 3) {
26612
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vGroupId))
26613
+ modeValue.value[props.vGroupId] = node.id;
26614
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vDetId))
26615
+ modeValue.value[props.vDetId] = node.pid;
26616
+ let top = findNode(node.pid);
26617
+ if (top) {
26618
+ if (Object.prototype.hasOwnProperty.call(modeValue.value, props.vCmpId))
26619
+ modeValue.value[props.vCmpId] = top.id;
26620
+ }
26621
+ }
26622
+ }
26623
+ };
26624
+ const findNode = (id) => {
26625
+ const search = (nodes) => {
26626
+ var _a;
26627
+ for (const node of nodes) {
26628
+ if (node.id === id) return node;
26629
+ if ((_a = node.children) == null ? void 0 : _a.length) {
26630
+ const found = search(node.children);
26631
+ if (found) return found;
26632
+ }
26633
+ }
26634
+ return null;
26635
+ };
26636
+ return search(props.orgData || []);
26637
+ };
26638
+ return (_ctx, _cache) => {
26639
+ const _component_el_cascader = vue.resolveComponent("el-cascader");
26640
+ return vue.openBlock(), vue.createBlock(_component_el_cascader, {
26641
+ options: props.orgData,
26642
+ props: __props.cascaderProps,
26643
+ placeholder: __props.placeholder,
26644
+ filterable: "",
26645
+ class: "w100",
26646
+ modelValue: modeValue.value[__props.vId],
26647
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValue.value[__props.vId] = $event),
26648
+ onChange: handelchangeOrg
26649
+ }, {
26650
+ default: vue.withCtx(({ node, data }) => [
26651
+ vue.createElementVNode(
26652
+ "span",
26653
+ null,
26654
+ vue.toDisplayString(node.label),
26655
+ 1
26656
+ /* TEXT */
26657
+ ),
26658
+ !node.isLeaf ? (vue.openBlock(), vue.createElementBlock(
26659
+ "span",
26660
+ _hoisted_1$i,
26661
+ " (" + vue.toDisplayString(data.children.length) + ") ",
26662
+ 1
26663
+ /* TEXT */
26664
+ )) : vue.createCommentVNode("v-if", true)
26665
+ ]),
26666
+ _: 1
26667
+ /* STABLE */
26668
+ }, 8, ["options", "props", "placeholder", "modelValue"]);
26669
+ };
26670
+ }
26671
+ });
26672
+
26673
+ const FmCascader = _sfc_main$n;
26527
26674
 
26528
26675
  const plugins = [
26529
26676
  FButton,
@@ -26538,7 +26685,8 @@
26538
26685
  FLayout,
26539
26686
  FSettings,
26540
26687
  FModifyRecord,
26541
- FmTree
26688
+ FmTree,
26689
+ FmCascader
26542
26690
  ];
26543
26691
 
26544
26692
  var installer = makeInstaller([...plugins]);
@@ -30415,6 +30563,7 @@
30415
30563
  exports.JobCreateTypeEnum = JobCreateTypeEnum;
30416
30564
  exports.Local = Local;
30417
30565
  exports.NextLoading = NextLoading;
30566
+ exports.PowerAreaData = PowerAreaData;
30418
30567
  exports.Session = Session;
30419
30568
  exports.StringToObj = StringToObj;
30420
30569
  exports.Watermark = watermark;