command-center-v3-common 0.0.122 → 0.0.123

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.
@@ -24997,15 +24997,15 @@ function wJ({ emit: e }) {
24997
24997
  return de === 1 ? $.value : de === 2 ? C.value : de === 3 ? A.value : null;
24998
24998
  }
24999
24999
  function Q(de) {
25000
+ console.log("详情", de);
25000
25001
  const {
25001
25002
  checkScope: _e = 1,
25002
- mapRailList: Se = [],
25003
- orgList: we = [],
25004
- deviceIdList: ue = [],
25005
- deviceList: z = []
25003
+ mapRailIdList: Se = [],
25004
+ orgIdList: we = [],
25005
+ deviceIdList: ue = []
25006
25006
  } = de || {};
25007
- let se = [];
25008
- return _e === 1 && Se.length ? se = Se : _e === 2 && we.length ? se = we : _e === 3 && z.length && (se = z.map((ye) => ({ ...ye, type: 3 }))), se || [];
25007
+ let z = [];
25008
+ return _e === 1 && Se.length ? z = Se : _e === 2 && we.length ? z = we : _e === 3 && ue.length && (z = ue.map((se) => ({ ...se, type: 3 }))), z || [];
25009
25009
  }
25010
25010
  function W(de, _e = !1) {
25011
25011
  if (r.value = de, _e) {
@@ -25053,7 +25053,7 @@ function wJ({ emit: e }) {
25053
25053
  c.value === 2 ? G(de, _e) : c.value === 3 && Le(de, _e);
25054
25054
  }
25055
25055
  async function G(de, _e = !1) {
25056
- l.value = !0;
25056
+ console.log("查找详情"), l.value = !0;
25057
25057
  const { code: Se, data: we } = await aY({ id: de });
25058
25058
  if (Se === 200) {
25059
25059
  const ue = we;
@@ -25076,7 +25076,7 @@ function wJ({ emit: e }) {
25076
25076
  playMsg: ue.playMsg === 1
25077
25077
  }, _e && (b.value.id = null);
25078
25078
  const z = Q(ue);
25079
- W(z), ke(() => {
25079
+ console.log("需要回显的数据", z), W(z), ke(() => {
25080
25080
  l.value = !1, h.value || N(!0);
25081
25081
  });
25082
25082
  }
@@ -25124,9 +25124,9 @@ function wJ({ emit: e }) {
25124
25124
  b.value = {
25125
25125
  ...we,
25126
25126
  playMsg: we.playMsg === 1
25127
- }, _e && (b.value.id = null);
25127
+ }, _e && (b.value.id = null), console.log("详情数据", b.value);
25128
25128
  const ue = Q(b.value);
25129
- W(ue), ke(() => {
25129
+ console.log("模板回显数据", ue), W(ue), ke(() => {
25130
25130
  l.value = !1, h.value || N(!0);
25131
25131
  });
25132
25132
  }