comp-adv3210 1.0.5 → 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=1057b1b5&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-1057b1b5"), 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,15 +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 = {
12796
12804
  ref: "searchModalRef"
12797
12805
  };
12798
- const _hoisted_7 = {
12806
+ const _hoisted_15 = {
12799
12807
  class: "ant-pro-table"
12800
12808
  };
12801
- const _hoisted_8 = ["onClick"];
12802
- function baowu_device_treevue_type_template_id_1057b1b5_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) {
12803
12811
  const _component_a_input = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("a-input");
12804
12812
  const _component_a_button = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("a-button");
12805
12813
  const _component_a_tree = (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.resolveComponent)("a-tree");
@@ -12880,10 +12888,34 @@ function baowu_device_treevue_type_template_id_1057b1b5_scoped_true_render(_ctx,
12880
12888
  }) => [dataRef.deviceCode ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementBlock)("span", {
12881
12889
  key: 0,
12882
12890
  id: 'deviceCode' + dataRef.deviceCode
12883
- }, (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", {
12884
12904
  key: 1,
12885
12905
  id: 'domainName' + dataRef.name
12886
- }, (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))]),
12887
12919
  _: 1
12888
12920
  }, 8, ["expandedKeys", "selectedKeys", "loaded-keys", "load-data", "tree-data", "onSelect", "field-names"])])])]),
12889
12921
  _: 1
@@ -12898,7 +12930,7 @@ function baowu_device_treevue_type_template_id_1057b1b5_scoped_true_render(_ctx,
12898
12930
  tab: "设备组"
12899
12931
  })]),
12900
12932
  _: 1
12901
- }, 8, ["activeKey"]), (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_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, {
12902
12934
  visible: _ctx.visible,
12903
12935
  "onUpdate:visible": _cache[18] || (_cache[18] = $event => _ctx.visible = $event),
12904
12936
  getContainer: () => _ctx.searchModalRef,
@@ -12906,7 +12938,7 @@ function baowu_device_treevue_type_template_id_1057b1b5_scoped_true_render(_ctx,
12906
12938
  width: "85%",
12907
12939
  onOk: _ctx.handleSeniorOk
12908
12940
  }, {
12909
- default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.createElementVNode)("div", _hoisted_7, [(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, {
12910
12942
  layout: "horizontal",
12911
12943
  "label-col": _ctx.labelCol
12912
12944
  }, {
@@ -13221,7 +13253,7 @@ function baowu_device_treevue_type_template_id_1057b1b5_scoped_true_render(_ctx,
13221
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", {
13222
13254
  key: 0,
13223
13255
  onClick: $event => _ctx.selectDevice(column, text, record)
13224
- }, "选 择", 8, _hoisted_8)) : (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)]),
13225
13257
  _: 1
13226
13258
  }, 8, ["size", "loading", "columns", "data-source", "pagination", "onChange"])]),
13227
13259
  _: 1
@@ -13229,7 +13261,7 @@ function baowu_device_treevue_type_template_id_1057b1b5_scoped_true_render(_ctx,
13229
13261
  _: 1
13230
13262
  }, 8, ["visible", "getContainer", "onOk"])], 512)]);
13231
13263
  }
13232
- ;// CONCATENATED MODULE: ./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=template&id=1057b1b5&scoped=true
13264
+ ;// CONCATENATED MODULE: ./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=template&id=0873830e&scoped=true
13233
13265
 
13234
13266
  ;// CONCATENATED MODULE: ./src/package/api/device-tree.js
13235
13267
 
@@ -15762,7 +15794,13 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
15762
15794
  } = await deviceNumByDomainId({
15763
15795
  parentId: result.id
15764
15796
  });
15797
+ const {
15798
+ result: levelMap
15799
+ } = await getStateByDeviceCodeListOrDomainIdList({
15800
+ domains: [result.id]
15801
+ });
15765
15802
  treeData.value[0].deviceNum = info.deviceCount;
15803
+ treeData.value[0].status = levelMap[0].level;
15766
15804
  if (props.defaultSelect) {
15767
15805
  let name = treeData.value[0].name;
15768
15806
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_namespaceObject.nextTick)(() => {
@@ -15812,21 +15850,14 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
15812
15850
  resolve();
15813
15851
  return;
15814
15852
  }
15815
- // a.dataRef.children = [];
15816
15853
  getNextLevelNodesByPage({
15817
15854
  parentId: a.dataRef.id,
15818
15855
  deviceCodeOrName: queryParam.deviceCodeOrName,
15819
- // 可选 设备名称和设备编码
15820
15856
  careService: queryParam.careService,
15821
- // 可选 参考原有的高级搜索
15822
15857
  importanceDegreeCodeList: queryParam.importanceDegreeCodeList,
15823
- // 可选 参考原有的高级搜索
15824
15858
  meteringDevice: queryParam.meteringDevice,
15825
- // 可选 参考原有的高级搜索
15826
15859
  specialDevice: queryParam.specialDevice,
15827
- // 可选 参考原有的高级搜索
15828
15860
  specialtyCodeList: queryParam.specialtyCodeList,
15829
- // 可选 参考原有的高级搜索
15830
15861
  ruleConfigList: queryParam.ruleConfigList,
15831
15862
  limit: 500,
15832
15863
  offset: 0
@@ -15848,42 +15879,42 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
15848
15879
  domains.push(element.id);
15849
15880
  }
15850
15881
  });
15851
- let domainsMap = {};
15852
- let devicesMap = {};
15853
- getStateByDeviceCodeListOrDomainIdList({
15882
+
15883
+ // 使用 Promise.all 等待两个请求完成
15884
+ Promise.all([getStateByDeviceCodeListOrDomainIdList({
15854
15885
  domains
15855
15886
  }).then(({
15856
15887
  result: domainsInfo
15857
15888
  }) => {
15858
- domainsMap = domainsInfo.reduce((prev, cur) => {
15889
+ return domainsInfo.reduce((prev, cur) => {
15859
15890
  prev[cur.domains] = cur.level;
15860
15891
  return prev;
15861
15892
  }, {});
15862
- });
15863
- getStateByDeviceCodeListOrDomainIdList({
15893
+ }), getStateByDeviceCodeListOrDomainIdList({
15864
15894
  deviceCode
15865
15895
  }).then(({
15866
15896
  result: devicesInfo
15867
15897
  }) => {
15868
- devicesMap = devicesInfo.reduce((prev, cur) => {
15898
+ return devicesInfo.reduce((prev, cur) => {
15869
15899
  prev[cur.deviceCode] = cur.level;
15870
15900
  return prev;
15871
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();
15872
15917
  });
15873
- const map = {
15874
- ...domainsMap,
15875
- ...devicesMap
15876
- };
15877
- result.data.forEach(element => {
15878
- if (element.deviceCode) {
15879
- element.status = map[element.deviceCode];
15880
- } else {
15881
- element.status = map[element.id];
15882
- }
15883
- });
15884
- a.dataRef.children = result.data;
15885
- treeData.value = [...treeData.value];
15886
- resolve();
15887
15918
  });
15888
15919
  });
15889
15920
  };
@@ -16302,6 +16333,13 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
16302
16333
  dataIndex: "operation",
16303
16334
  width: 160
16304
16335
  }]);
16336
+ const colorSvg = {
16337
+ 0: "data:image/svg+xml;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSIxMHB4IiB2aWV3Qm94PSIwIDAgMTAgMTAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+57yW57uEIDblpIfku70gNzwvdGl0bGU+CiAgICA8Z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BzdHJva2U9IiNGNTMyMjciIGZpbGw9IiNGNzVCNTIiIGN4PSI3IiBjeT0iNyIgcj0iNC41Ij48L2NpcmNsZT4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"
16342
+ };
16305
16343
  return {
16306
16344
  treeData,
16307
16345
  columns,
@@ -16344,6 +16382,7 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
16344
16382
  state,
16345
16383
  reload,
16346
16384
  selectDevice,
16385
+ colorSvg,
16347
16386
  labelCol: {
16348
16387
  lg: {
16349
16388
  span: 6
@@ -16368,10 +16407,10 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
16368
16407
  }));
16369
16408
  ;// CONCATENATED MODULE: ./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=script&lang=js
16370
16409
 
16371
- ;// 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=1057b1b5&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
16372
16411
  // extracted by mini-css-extract-plugin
16373
16412
 
16374
- ;// CONCATENATED MODULE: ./src/package/baowu-device-tree/baowu-device-tree.vue?vue&type=style&index=0&id=1057b1b5&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
16375
16414
 
16376
16415
  ;// CONCATENATED MODULE: ./src/package/baowu-device-tree/baowu-device-tree.vue
16377
16416
 
@@ -16381,7 +16420,7 @@ ReloadOutlined_ReloadOutlined.inheritAttrs = false;
16381
16420
  ;
16382
16421
 
16383
16422
 
16384
- const baowu_device_tree_exports_ = /*#__PURE__*/(0,exportHelper/* default */.A)(baowu_device_treevue_type_script_lang_js, [['render',baowu_device_treevue_type_template_id_1057b1b5_scoped_true_render],['__scopeId',"data-v-1057b1b5"]])
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"]])
16385
16424
 
16386
16425
  /* harmony default export */ var baowu_device_tree = (baowu_device_tree_exports_);
16387
16426
  ;// CONCATENATED MODULE: ./src/package/index.js