command-center-v3-common 0.0.121 → 0.0.123

Sign up to get free protection for your applications and to get access to all the features.
@@ -12902,7 +12902,7 @@ function g4(e) {
12902
12902
  let K = null;
12903
12903
  q != null && q.lng && (q != null && q.lat) && (K = [q.lat, q.lng]), (K == null ? void 0 : K.length) === 0 && (K = null), h.value = await i.map("addElectronicFence_container", {
12904
12904
  maxZoom: n.maxZoom || 18,
12905
- minZoom: n.minZoom || 13,
12905
+ minZoom: n.minZoom || 5,
12906
12906
  zoom: n.zoom || 13,
12907
12907
  center: K,
12908
12908
  zoomControl: !1,
@@ -14416,7 +14416,7 @@ const vF = (e) => (ht("data-v-d0d3957a"), e = e(), ft(), e), gF = { class: "flex
14416
14416
  let x = [0, 0];
14417
14417
  h.lng && h.lat && (x = [h.lat, h.lng]), n.value = await c.map("amap-test", {
14418
14418
  maxZoom: l.maxZoom || 18,
14419
- minZoom: l.minZoom || 13,
14419
+ minZoom: l.minZoom || 5,
14420
14420
  zoom: l.zoom || 13,
14421
14421
  center: x,
14422
14422
  zoomControl: !1,
@@ -17338,7 +17338,7 @@ function $M({ emit: e, props: t }) {
17338
17338
  let A = [];
17339
17339
  C != null && C.lng && (C != null && C.lat) && (A = [C.lat, C.lng]), A.length === 0 && (A = null), n.value = await i.map("selectMapLocation", {
17340
17340
  maxZoom: h.maxZoom || 18,
17341
- minZoom: h.minZoom || 13,
17341
+ minZoom: h.minZoom || 5,
17342
17342
  zoom: h.zoom || 13,
17343
17343
  center: A,
17344
17344
  zoomControl: !1,
@@ -18390,7 +18390,7 @@ function oV() {
18390
18390
  const j = [o.value[0].lat, o.value[0].lng];
18391
18391
  _.value = await d.map("electronicPatrolDetailsMap", {
18392
18392
  maxZoom: m.maxZoom || 18,
18393
- minZoom: m.minZoom || 13,
18393
+ minZoom: m.minZoom || 5,
18394
18394
  zoom: m.zoom || 13,
18395
18395
  center: j,
18396
18396
  zoomControl: !1,
@@ -19483,7 +19483,7 @@ function c7({ emit: e }) {
19483
19483
  const ne = gt.getCache("userInfo");
19484
19484
  ne.lng && ne.lat && (Y = [ne.lat, ne.lng]), Y.length === 0 && (Y = null), i.value.lng && i.value.lat && (Y = [i.value.lat, i.value.lng]), b.value = await d.map("abnormalDetailsMap", {
19485
19485
  maxZoom: _.maxZoom || 18,
19486
- minZoom: _.minZoom || 13,
19486
+ minZoom: _.minZoom || 5,
19487
19487
  zoom: _.zoom || 13,
19488
19488
  center: Y,
19489
19489
  zoomControl: !1,
@@ -20428,7 +20428,7 @@ function jj() {
20428
20428
  const $ = gt.getCache("userInfo");
20429
20429
  $.lng && $.lat && (x = [$.lat, $.lng]), x.length === 0 && (x = null), c.value = await n.map("locationArea_container", {
20430
20430
  maxZoom: r.maxZoom || 18,
20431
- minZoom: r.minZoom || 13,
20431
+ minZoom: r.minZoom || 5,
20432
20432
  zoom: r.zoom || 13,
20433
20433
  center: x,
20434
20434
  zoomControl: !1,
@@ -23629,7 +23629,7 @@ function NX({ emit: e }) {
23629
23629
  hyOrgTreeRef: i
23630
23630
  };
23631
23631
  }
23632
- const EX = { class: "flex flex-col w-full h-full" }, AX = { class: "flex justify-between items-center h-[40px]" }, IX = { class: "flex-1" }, LX = { class: "text-hy-text-secondary ml-3" }, OX = { class: "flex-1 flex items-center justify-end" }, FX = { class: "text-xs" }, RX = { class: "flex items-center clickBox cursor-pointer" }, PX = { class: "text-hy-text-primary" }, MX = ["element-loading-text"], BX = { class: "flex-1 bg-hy-dialog-bg-1 rounded shadow-[0_0_10px_0_inset] shadow-hy-dialog-bg-3 flex flex-col" }, VX = { class: "flex-grow h-0 w-full equipment vbtTable" }, UX = { class: "flex-1 bg-hy-dialog-bg-1 !p-[10px] overflow-y-auto overflow-x-hidden box-border rounded shadow-[0_0_10px_0_inset] shadow-hy-dialog-bg-3 flex flex-col ml-2" }, jX = { class: "h-full bg-hy-dialog-bg-2 border border-hy-border-2 rounded px-2 box-border flex justify-center text-hy-text-secondary items-center" }, HX = { class: "r-f tac flex flex-col items-center justify-center" }, WX = { class: "mt-3" }, zX = { class: "flex-grow w-0 pl-2 box-border truncate" }, YX = { class: "flex-shrink-0" }, GX = /* @__PURE__ */ ce({
23632
+ const EX = { class: "flex flex-col w-full h-full" }, AX = { class: "flex justify-between items-center h-[40px]" }, IX = { class: "flex-1" }, LX = { class: "text-hy-text-secondary ml-3" }, OX = { class: "flex-1 flex items-center justify-end" }, FX = { class: "text-xs" }, RX = { class: "flex items-center clickBox cursor-pointer" }, PX = { class: "text-hy-text-primary" }, MX = ["element-loading-text"], BX = { class: "flex-1 bg-hy-dialog-bg-1 rounded flex flex-col" }, VX = { class: "flex-grow h-0 w-full box-border p-2 equipment vbtTable" }, UX = { class: "flex-1 bg-hy-dialog-bg-1 !p-[10px] overflow-y-auto overflow-x-hidden box-border rounded flex flex-col ml-2" }, jX = { class: "h-full bg-hy-dialog-bg-2 border border-hy-border-2 rounded px-2 box-border flex justify-center text-hy-text-secondary items-center" }, HX = { class: "r-f tac flex flex-col items-center justify-center" }, WX = { class: "mt-3" }, zX = { class: "flex-grow w-0 pl-2 box-border truncate" }, YX = { class: "flex-shrink-0" }, GX = /* @__PURE__ */ ce({
23633
23633
  __name: "select-depart-ment",
23634
23634
  props: {
23635
23635
  initSelectedDataList: { default: () => [] }
@@ -24293,7 +24293,7 @@ function CK({ emit: e }) {
24293
24293
  hyDeviceTreeRef: c
24294
24294
  };
24295
24295
  }
24296
- const $K = { class: "flex flex-col w-full h-full" }, SK = { class: "flex justify-between items-center h-[40px]" }, DK = { class: "flex mr-2" }, NK = { class: "flex items-center" }, EK = { class: "text-xs" }, AK = { class: "flex items-center clickBox cursor-pointer" }, IK = { class: "text-hy-text-primary" }, LK = ["element-loading-text"], OK = { class: "flex-1 bg-hy-dialog-bg-1 rounded shadow-[0_0_10px_0_inset] shadow-hy-dialog-bg-3 flex flex-col" }, FK = { class: "flex-1 bg-hy-dialog-bg-1 !p-[10px] overflow-y-auto overflow-x-hidden box-border rounded shadow-[0_0_10px_0_inset] shadow-hy-dialog-bg-3 flex flex-col ml-2" }, RK = { class: "h-full bg-hy-dialog-bg-2 border border-hy-border-2 rounded px-2 box-border flex justify-center text-hy-text-secondary items-center" }, PK = { class: "flex flex-col justify-center items-center" }, MK = { class: "mt-3" }, BK = { class: "flex-grow w-0 pl-2 flex box-border" }, VK = { class: "truncate flex-grow w-0" }, UK = { class: "select-none truncate mx-[4px] text-hy-text-main" }, jK = { class: "flex-shrink-0" }, HK = /* @__PURE__ */ ce({
24296
+ const $K = { class: "flex flex-col w-full h-full" }, SK = { class: "flex justify-between items-center h-[40px]" }, DK = { class: "flex mr-2" }, NK = { class: "flex items-center" }, EK = { class: "text-xs" }, AK = { class: "flex items-center clickBox cursor-pointer" }, IK = { class: "text-hy-text-primary" }, LK = ["element-loading-text"], OK = { class: "flex-1 bg-hy-dialog-bg-1 rounded box-border p-2 flex flex-col" }, FK = { class: "flex-1 bg-hy-dialog-bg-1 !p-[10px] overflow-y-auto overflow-x-hidden box-border rounded flex flex-col ml-2" }, RK = { class: "h-full bg-hy-dialog-bg-2 border border-hy-border-2 rounded px-2 box-border flex justify-center text-hy-text-secondary items-center" }, PK = { class: "flex flex-col justify-center items-center" }, MK = { class: "mt-3" }, BK = { class: "flex-grow w-0 pl-2 flex box-border" }, VK = { class: "truncate flex-grow w-0" }, UK = { class: "select-none truncate mx-[4px] text-hy-text-main" }, jK = { class: "flex-shrink-0" }, HK = /* @__PURE__ */ ce({
24297
24297
  __name: "select-device",
24298
24298
  props: {
24299
24299
  onlineStateFlag: { default: 1 },
@@ -24479,9 +24479,9 @@ function WK({ emit: e }) {
24479
24479
  }
24480
24480
  const zK = { class: "flex flex-col w-full h-full" }, YK = { class: "flex justify-between items-center h-[30px]" }, GK = { class: "el-checkbox !mr-2" }, qK = /* @__PURE__ */ a("span", { class: "el-checkbox__inner" }, null, -1), XK = [
24481
24481
  qK
24482
- ], KK = { class: "text-hy-text-primary" }, JK = ["element-loading-text"], ZK = { class: "flex-1 bg-hy-dialog-bg-1 rounded shadow-[0_0_10px_0_inset] shadow-hy-dialog-bg-3 flex flex-col" }, QK = { class: "flex items-center justify-center p-[8px_8px_4px]" }, eJ = { class: "text-hy-text-main" }, tJ = { class: "flex-grow h-0 w-full px-2 box-border overflow-y-scroll overflow-x-hidden" }, nJ = ["onClick"], sJ = { class: "flex items-center justify-center" }, oJ = { class: "el-checkbox relative !mr-[6px]" }, aJ = /* @__PURE__ */ a("span", { class: "el-checkbox__inner" }, null, -1), lJ = [
24482
+ ], KK = { class: "text-hy-text-primary" }, JK = ["element-loading-text"], ZK = { class: "flex-1 bg-hy-dialog-bg-1 rounded flex flex-col" }, QK = { class: "flex items-center justify-center box-border p-[8px_8px_4px]" }, eJ = { class: "text-hy-text-main" }, tJ = { class: "flex-grow h-0 w-full px-2 pb-2 box-border overflow-y-scroll overflow-x-hidden" }, nJ = ["onClick"], sJ = { class: "flex items-center justify-center" }, oJ = { class: "el-checkbox relative !mr-[6px]" }, aJ = /* @__PURE__ */ a("span", { class: "el-checkbox__inner" }, null, -1), lJ = [
24483
24483
  aJ
24484
- ], iJ = { class: "treeDepartment cursor_pointer flex items-center justify-between w-full text-[14px] font-bold text-hy-text-main" }, rJ = { class: "r-f w_100vh flex w-full" }, cJ = { class: "flex-grow w-0 over_one_line truncate" }, dJ = { class: "flex-1 bg-hy-dialog-bg-1 !p-[10px] overflow-y-auto overflow-x-hidden box-border rounded shadow-[0_0_10px_0_inset] shadow-hy-dialog-bg-3 flex flex-col ml-2" }, uJ = { class: "h-full bg-hy-dialog-bg-2 border rounded px-2 box-border border-hy-bg-2 flex justify-center text-hy-text-secondary items-center" }, pJ = { class: "r-f tac flex flex-col justify-center items-center" }, hJ = { class: "mt-3" }, fJ = { class: "flex-grow w-0 pl-2 box-border truncate" }, mJ = { class: "flex-shrink-0" }, _J = /* @__PURE__ */ ce({
24484
+ ], iJ = { class: "treeDepartment cursor_pointer flex items-center justify-between w-full text-[14px] font-bold text-hy-text-main" }, rJ = { class: "r-f w_100vh flex w-full" }, cJ = { class: "flex-grow w-0 over_one_line truncate" }, dJ = { class: "flex-1 bg-hy-dialog-bg-1 !p-[10px] overflow-y-auto overflow-x-hidden box-border rounded flex flex-col ml-2" }, uJ = { class: "h-full bg-hy-dialog-bg-2 border rounded px-2 box-border border-hy-bg-2 flex justify-center text-hy-text-secondary items-center" }, pJ = { class: "r-f tac flex flex-col justify-center items-center" }, hJ = { class: "mt-3" }, fJ = { class: "flex-grow w-0 pl-2 box-border truncate" }, mJ = { class: "flex-shrink-0" }, _J = /* @__PURE__ */ ce({
24485
24485
  __name: "select-electronic-fence",
24486
24486
  props: {
24487
24487
  initSelectedDataList: { default: () => [] }
@@ -24914,12 +24914,13 @@ function wJ({ emit: e }) {
24914
24914
  }
24915
24915
  b.value.limitNum = _e;
24916
24916
  }
24917
- function k(de, _e) {
24917
+ function k(de) {
24918
24918
  const {
24919
+ id: _e = null,
24919
24920
  checkScope: Se = 3,
24920
24921
  // 抽查范围(1电子围栏、2部门、3设备)
24921
24922
  contentState: we = 3,
24922
- // 1 立即抽查 2定时抽查 2抽查模板
24923
+ // 1 立即抽查 2定时抽查 3抽查模板
24923
24924
  onlineStateFlag: ue = 1,
24924
24925
  // [在线状态过滤]{1:在线;2:全部
24925
24926
  copyType: z = !1,
@@ -24927,7 +24928,7 @@ function wJ({ emit: e }) {
24927
24928
  title: ye = T("immediatelyInitiateARollCallSpotCheck"),
24928
24929
  selectedDataList: Ee = [],
24929
24930
  successfulCallback: Re = null
24930
- } = _e || {};
24931
+ } = de || {};
24931
24932
  if (h.value) {
24932
24933
  if (we === 1)
24933
24934
  if (Se === b.value.checkScope) {
@@ -24951,7 +24952,7 @@ function wJ({ emit: e }) {
24951
24952
  everyday5: !1,
24952
24953
  everyday6: !1,
24953
24954
  everyday7: !1
24954
- }, de && typeof de == "number" ? le(de, z) : N(!0);
24955
+ }, _e ? le(_e, z) : N(!0);
24955
24956
  }
24956
24957
  function N(de) {
24957
24958
  h.value = typeof de == "boolean" ? de : !h.value;
@@ -24996,15 +24997,15 @@ function wJ({ emit: e }) {
24996
24997
  return de === 1 ? $.value : de === 2 ? C.value : de === 3 ? A.value : null;
24997
24998
  }
24998
24999
  function Q(de) {
25000
+ console.log("详情", de);
24999
25001
  const {
25000
25002
  checkScope: _e = 1,
25001
- mapRailList: Se = [],
25002
- orgList: we = [],
25003
- deviceIdList: ue = [],
25004
- deviceList: z = []
25003
+ mapRailIdList: Se = [],
25004
+ orgIdList: we = [],
25005
+ deviceIdList: ue = []
25005
25006
  } = de || {};
25006
- let se = [];
25007
- 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 || [];
25008
25009
  }
25009
25010
  function W(de, _e = !1) {
25010
25011
  if (r.value = de, _e) {
@@ -25052,7 +25053,7 @@ function wJ({ emit: e }) {
25052
25053
  c.value === 2 ? G(de, _e) : c.value === 3 && Le(de, _e);
25053
25054
  }
25054
25055
  async function G(de, _e = !1) {
25055
- l.value = !0;
25056
+ console.log("查找详情"), l.value = !0;
25056
25057
  const { code: Se, data: we } = await aY({ id: de });
25057
25058
  if (Se === 200) {
25058
25059
  const ue = we;
@@ -25075,7 +25076,7 @@ function wJ({ emit: e }) {
25075
25076
  playMsg: ue.playMsg === 1
25076
25077
  }, _e && (b.value.id = null);
25077
25078
  const z = Q(ue);
25078
- W(z), ke(() => {
25079
+ console.log("需要回显的数据", z), W(z), ke(() => {
25079
25080
  l.value = !1, h.value || N(!0);
25080
25081
  });
25081
25082
  }
@@ -25123,9 +25124,9 @@ function wJ({ emit: e }) {
25123
25124
  b.value = {
25124
25125
  ...we,
25125
25126
  playMsg: we.playMsg === 1
25126
- }, _e && (b.value.id = null);
25127
+ }, _e && (b.value.id = null), console.log("详情数据", b.value);
25127
25128
  const ue = Q(b.value);
25128
- W(ue), ke(() => {
25129
+ console.log("模板回显数据", ue), W(ue), ke(() => {
25129
25130
  l.value = !1, h.value || N(!0);
25130
25131
  });
25131
25132
  }