comp-adv3210 1.0.4 → 1.0.6

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.
@@ -12768,9 +12768,9 @@ var exportHelper = __webpack_require__(1241);
12768
12768
  const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.A)(baowu_test_buttonvue_type_script_lang_js, [['render',render]])
12769
12769
 
12770
12770
  /* harmony default export */ var baowu_test_button = (__exports__);
12771
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=template&id=5621aa5a&scoped=true
12771
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=template&id=0873830e&scoped=true
12772
12772
 
12773
- const _withScopeId = n => (_pushScopeId("data-v-5621aa5a"), n = n(), _popScopeId(), n);
12773
+ const _withScopeId = n => (_pushScopeId("data-v-0873830e"), n = n(), _popScopeId(), n);
12774
12774
  const _hoisted_1 = {
12775
12775
  style: {
12776
12776
  "height": "100%"
@@ -12791,12 +12791,23 @@ const _hoisted_3 = {
12791
12791
  }
12792
12792
  };
12793
12793
  const _hoisted_4 = ["id"];
12794
- const _hoisted_5 = ["id"];
12795
- const _hoisted_6 = {
12794
+ const _hoisted_5 = ["src"];
12795
+ const _hoisted_6 = ["src"];
12796
+ const _hoisted_7 = ["src"];
12797
+ const _hoisted_8 = ["src"];
12798
+ const _hoisted_9 = ["id"];
12799
+ const _hoisted_10 = ["src"];
12800
+ const _hoisted_11 = ["src"];
12801
+ const _hoisted_12 = ["src"];
12802
+ const _hoisted_13 = ["src"];
12803
+ const _hoisted_14 = {
12804
+ ref: "searchModalRef"
12805
+ };
12806
+ const _hoisted_15 = {
12796
12807
  class: "ant-pro-table"
12797
12808
  };
12798
- const _hoisted_7 = ["onClick"];
12799
- function baowu_device_treevue_type_template_id_5621aa5a_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
12809
+ const _hoisted_16 = ["onClick"];
12810
+ function baowu_device_treevue_type_template_id_0873830e_scoped_true_render(_ctx, _cache, $props, $setup, $data, $options) {
12800
12811
  const _component_a_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("a-input");
12801
12812
  const _component_a_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("a-button");
12802
12813
  const _component_a_tree = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("a-tree");
@@ -12850,7 +12861,7 @@ function baowu_device_treevue_type_template_id_5621aa5a_scoped_true_render(_ctx,
12850
12861
  }, {
12851
12862
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)("搜索")]),
12852
12863
  _: 1
12853
- }, 8, ["onClick"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_a_button, {
12864
+ }, 8, ["onClick"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withDirectives)((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_a_button, {
12854
12865
  style: {
12855
12866
  "margin-left": "5px"
12856
12867
  },
@@ -12859,7 +12870,7 @@ function baowu_device_treevue_type_template_id_5621aa5a_scoped_true_render(_ctx,
12859
12870
  }, {
12860
12871
  default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)("高级")]),
12861
12872
  _: 1
12862
- }, 8, ["onClick"])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", _hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_a_tree, {
12873
+ }, 8, ["onClick"]), [[external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.vShow, _ctx.hasSeniorSearch]])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", _hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_a_tree, {
12863
12874
  ref: "treeRef",
12864
12875
  expandedKeys: _ctx.expandedKeys,
12865
12876
  "onUpdate:expandedKeys": _cache[1] || (_cache[1] = $event => _ctx.expandedKeys = $event),
@@ -12877,10 +12888,34 @@ function baowu_device_treevue_type_template_id_5621aa5a_scoped_true_render(_ctx,
12877
12888
  }) => [dataRef.deviceCode ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
12878
12889
  key: 0,
12879
12890
  id: 'deviceCode' + dataRef.deviceCode
12880
- }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(dataRef.name) + "(" + (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(dataRef.deviceCode) + ") ", 9, _hoisted_4)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
12891
+ }, [dataRef.status == '0' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("img", {
12892
+ key: 0,
12893
+ src: _ctx.colorSvg['0']
12894
+ }, null, 8, _hoisted_5)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), dataRef.status == '1' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("img", {
12895
+ key: 1,
12896
+ src: _ctx.colorSvg['1']
12897
+ }, null, 8, _hoisted_6)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), dataRef.status == '2' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("img", {
12898
+ key: 2,
12899
+ src: _ctx.colorSvg['2']
12900
+ }, null, 8, _hoisted_7)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), dataRef.status == '3' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("img", {
12901
+ key: 3,
12902
+ src: _ctx.colorSvg['3']
12903
+ }, null, 8, _hoisted_8)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(dataRef.name) + "(" + (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(dataRef.deviceCode) + ") ", 1)], 8, _hoisted_4)) : ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
12881
12904
  key: 1,
12882
12905
  id: 'domainName' + dataRef.name
12883
- }, (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(dataRef.name) + " " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(dataRef.deviceNum != -1 ? "" + dataRef.deviceNum + ")" : ""), 9, _hoisted_5))]),
12906
+ }, [dataRef.status == '0' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("img", {
12907
+ key: 0,
12908
+ src: _ctx.colorSvg['0']
12909
+ }, null, 8, _hoisted_10)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), dataRef.status == '1' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("img", {
12910
+ key: 1,
12911
+ src: _ctx.colorSvg['1']
12912
+ }, null, 8, _hoisted_11)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), dataRef.status == '2' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("img", {
12913
+ key: 2,
12914
+ src: _ctx.colorSvg['2']
12915
+ }, null, 8, _hoisted_12)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), dataRef.status == '3' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("img", {
12916
+ key: 3,
12917
+ src: _ctx.colorSvg['3']
12918
+ }, null, 8, _hoisted_13)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createTextVNode)(" " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(dataRef.name) + " " + (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.toDisplayString)(dataRef.deviceNum != -1 ? "(" + dataRef.deviceNum + ")" : ""), 1)], 8, _hoisted_9))]),
12884
12919
  _: 1
12885
12920
  }, 8, ["expandedKeys", "selectedKeys", "loaded-keys", "load-data", "tree-data", "onSelect", "field-names"])])])]),
12886
12921
  _: 1
@@ -12895,14 +12930,15 @@ function baowu_device_treevue_type_template_id_5621aa5a_scoped_true_render(_ctx,
12895
12930
  tab: "设备组"
12896
12931
  })]),
12897
12932
  _: 1
12898
- }, 8, ["activeKey"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_a_modal, {
12933
+ }, 8, ["activeKey"]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", _hoisted_14, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_a_modal, {
12899
12934
  visible: _ctx.visible,
12900
12935
  "onUpdate:visible": _cache[18] || (_cache[18] = $event => _ctx.visible = $event),
12936
+ getContainer: () => _ctx.searchModalRef,
12901
12937
  title: "高级搜索",
12902
12938
  width: "85%",
12903
12939
  onOk: _ctx.handleSeniorOk
12904
12940
  }, {
12905
- default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", _hoisted_6, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_a_form, {
12941
+ default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", _hoisted_15, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_a_form, {
12906
12942
  layout: "horizontal",
12907
12943
  "label-col": _ctx.labelCol
12908
12944
  }, {
@@ -13187,7 +13223,7 @@ function baowu_device_treevue_type_template_id_5621aa5a_scoped_true_render(_ctx,
13187
13223
  "body-style": {
13188
13224
  padding: 0
13189
13225
  },
13190
- title: "模型列表"
13226
+ title: "设备列表"
13191
13227
  }, {
13192
13228
  extra: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createVNode)(_component_a_tooltip, {
13193
13229
  title: "刷新"
@@ -13217,15 +13253,15 @@ function baowu_device_treevue_type_template_id_5621aa5a_scoped_true_render(_ctx,
13217
13253
  }) => [column.dataIndex === 'operation' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("a", {
13218
13254
  key: 0,
13219
13255
  onClick: $event => _ctx.selectDevice(column, text, record)
13220
- }, "选 择", 8, _hoisted_7)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]),
13256
+ }, "选 择", 8, _hoisted_16)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createCommentVNode)("", true)]),
13221
13257
  _: 1
13222
13258
  }, 8, ["size", "loading", "columns", "data-source", "pagination", "onChange"])]),
13223
13259
  _: 1
13224
13260
  })])]),
13225
13261
  _: 1
13226
- }, 8, ["visible", "onOk"])]);
13262
+ }, 8, ["visible", "getContainer", "onOk"])], 512)]);
13227
13263
  }
13228
- ;// CONCATENATED MODULE: ./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=template&id=5621aa5a&scoped=true
13264
+ ;// CONCATENATED MODULE: ./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=template&id=0873830e&scoped=true
13229
13265
 
13230
13266
  ;// CONCATENATED MODULE: ./src/package/api/device-tree.js
13231
13267
 
@@ -15719,7 +15755,14 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
15719
15755
  /* harmony default export */ var baowu_device_treevue_type_script_lang_js = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.defineComponent)({
15720
15756
  name: "BaowuDeviceTree",
15721
15757
  props: {
15722
- // projectPath: String,
15758
+ defaultSelect: {
15759
+ type: Boolean,
15760
+ default: true
15761
+ },
15762
+ hasSeniorSearch: {
15763
+ type: Boolean,
15764
+ default: true
15765
+ }
15723
15766
  },
15724
15767
  setup(props, {
15725
15768
  emit
@@ -15735,6 +15778,7 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
15735
15778
  const visible = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)(false);
15736
15779
  const treeData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)([]);
15737
15780
  const rootNode = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)({});
15781
+ const searchModalRef = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.ref)();
15738
15782
  const init = async function () {
15739
15783
  const {
15740
15784
  result
@@ -15750,11 +15794,20 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
15750
15794
  } = await deviceNumByDomainId({
15751
15795
  parentId: result.id
15752
15796
  });
15753
- treeData.value[0].deviceNum = info.deviceCount;
15754
- let name = treeData.value[0].name;
15755
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.nextTick)(() => {
15756
- document.querySelector("#domainName" + name).click();
15797
+ const {
15798
+ result: levelMap
15799
+ } = await getStateByDeviceCodeListOrDomainIdList({
15800
+ domains: [result.id]
15757
15801
  });
15802
+ treeData.value[0].deviceNum = info.deviceCount;
15803
+ treeData.value[0].status = levelMap[0].level;
15804
+ if (props.defaultSelect) {
15805
+ let name = treeData.value[0].name;
15806
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.nextTick)(() => {
15807
+ document.querySelector("#domainName" + name).click();
15808
+ });
15809
+ }
15810
+
15758
15811
  // setTimeout(() => {
15759
15812
  // document.querySelector("#deviceCode" + deviceCode).click();
15760
15813
  // });
@@ -15797,21 +15850,14 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
15797
15850
  resolve();
15798
15851
  return;
15799
15852
  }
15800
- // a.dataRef.children = [];
15801
15853
  getNextLevelNodesByPage({
15802
15854
  parentId: a.dataRef.id,
15803
15855
  deviceCodeOrName: queryParam.deviceCodeOrName,
15804
- // 可选 设备名称和设备编码
15805
15856
  careService: queryParam.careService,
15806
- // 可选 参考原有的高级搜索
15807
15857
  importanceDegreeCodeList: queryParam.importanceDegreeCodeList,
15808
- // 可选 参考原有的高级搜索
15809
15858
  meteringDevice: queryParam.meteringDevice,
15810
- // 可选 参考原有的高级搜索
15811
15859
  specialDevice: queryParam.specialDevice,
15812
- // 可选 参考原有的高级搜索
15813
15860
  specialtyCodeList: queryParam.specialtyCodeList,
15814
- // 可选 参考原有的高级搜索
15815
15861
  ruleConfigList: queryParam.ruleConfigList,
15816
15862
  limit: 500,
15817
15863
  offset: 0
@@ -15833,42 +15879,42 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
15833
15879
  domains.push(element.id);
15834
15880
  }
15835
15881
  });
15836
- let domainsMap = {};
15837
- let devicesMap = {};
15838
- getStateByDeviceCodeListOrDomainIdList({
15882
+
15883
+ // 使用 Promise.all 等待两个请求完成
15884
+ Promise.all([getStateByDeviceCodeListOrDomainIdList({
15839
15885
  domains
15840
15886
  }).then(({
15841
15887
  result: domainsInfo
15842
15888
  }) => {
15843
- domainsMap = domainsInfo.reduce((prev, cur) => {
15889
+ return domainsInfo.reduce((prev, cur) => {
15844
15890
  prev[cur.domains] = cur.level;
15845
15891
  return prev;
15846
15892
  }, {});
15847
- });
15848
- getStateByDeviceCodeListOrDomainIdList({
15893
+ }), getStateByDeviceCodeListOrDomainIdList({
15849
15894
  deviceCode
15850
15895
  }).then(({
15851
15896
  result: devicesInfo
15852
15897
  }) => {
15853
- devicesMap = devicesInfo.reduce((prev, cur) => {
15898
+ return devicesInfo.reduce((prev, cur) => {
15854
15899
  prev[cur.deviceCode] = cur.level;
15855
15900
  return prev;
15856
15901
  }, {});
15902
+ })]).then(([domainsMap, devicesMap]) => {
15903
+ const map = {
15904
+ ...domainsMap,
15905
+ ...devicesMap
15906
+ };
15907
+ result.data.forEach(element => {
15908
+ if (element.deviceCode) {
15909
+ element.status = map[element.deviceCode];
15910
+ } else {
15911
+ element.status = map[element.id];
15912
+ }
15913
+ });
15914
+ a.dataRef.children = result.data;
15915
+ treeData.value = [...treeData.value];
15916
+ resolve();
15857
15917
  });
15858
- const map = {
15859
- ...domainsMap,
15860
- ...devicesMap
15861
- };
15862
- result.data.forEach(element => {
15863
- if (element.deviceCode) {
15864
- element.status = map[element.deviceCode];
15865
- } else {
15866
- element.status = map[element.id];
15867
- }
15868
- });
15869
- a.dataRef.children = result.data;
15870
- treeData.value = [...treeData.value];
15871
- resolve();
15872
15918
  });
15873
15919
  });
15874
15920
  };
@@ -16287,12 +16333,20 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
16287
16333
  dataIndex: "operation",
16288
16334
  width: 160
16289
16335
  }]);
16336
+ const colorSvg = {
16337
+ 0: "data:image/svg+xml;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSIxMHB4IiB2aWV3Qm94PSIwIDAgMTAgMTAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+57yW57uEIDblpIfku70gNzwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLkvJjljJYwMuWkh+S7vS00IiB0cmFuc2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16291
16344
  treeData,
16292
16345
  columns,
16293
16346
  queryParam,
16294
16347
  tabsRef,
16295
16348
  treeRef,
16349
+ searchModalRef,
16296
16350
  activeKey,
16297
16351
  selectedKeys,
16298
16352
  expandedKeys,
@@ -16328,6 +16382,7 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
16328
16382
  state,
16329
16383
  reload,
16330
16384
  selectDevice,
16385
+ colorSvg,
16331
16386
  labelCol: {
16332
16387
  lg: {
16333
16388
  span: 6
@@ -16352,10 +16407,10 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
16352
16407
  }));
16353
16408
  ;// CONCATENATED MODULE: ./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=script&lang=js
16354
16409
 
16355
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=style&index=0&id=5621aa5a&lang=less&scoped=true
16410
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=style&index=0&id=0873830e&lang=less&scoped=true
16356
16411
  // extracted by mini-css-extract-plugin
16357
16412
 
16358
- ;// CONCATENATED MODULE: ./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=style&index=0&id=5621aa5a&lang=less&scoped=true
16413
+ ;// CONCATENATED MODULE: ./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=style&index=0&id=0873830e&lang=less&scoped=true
16359
16414
 
16360
16415
  ;// CONCATENATED MODULE: ./src/package/baowu-device-tree/baowu-device-tree.vue
16361
16416
 
@@ -16365,7 +16420,7 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
16365
16420
  ;
16366
16421
 
16367
16422
 
16368
- const baowu_device_tree_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(baowu_device_treevue_type_script_lang_js, [['render',baowu_device_treevue_type_template_id_5621aa5a_scoped_true_render],['__scopeId',"data-v-5621aa5a"]])
16423
+ const baowu_device_tree_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(baowu_device_treevue_type_script_lang_js, [['render',baowu_device_treevue_type_template_id_0873830e_scoped_true_render],['__scopeId',"data-v-0873830e"]])
16369
16424
 
16370
16425
  /* harmony default export */ var baowu_device_tree = (baowu_device_tree_exports_);
16371
16426
  ;// CONCATENATED MODULE: ./src/package/index.js