tx-sider 2.1.43 → 2.1.44

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/lib/TXUI.mjs CHANGED
@@ -27588,7 +27588,7 @@ const _sfc_main = {
27588
27588
  modeuleType: String
27589
27589
  // 模块类型
27590
27590
  },
27591
- emits: ["routerReplace", "routerPush", "changeSystemOrModule"],
27591
+ emits: ["routerReplace", "routerPush", "changeSystemOrModule", "changePassWord"],
27592
27592
  // replace: 路由replace; push:路由push
27593
27593
  setup(props, ctx) {
27594
27594
  useRouter();
@@ -27767,8 +27767,17 @@ const _sfc_main = {
27767
27767
  }
27768
27768
  });
27769
27769
  function openChangePWDHandle() {
27770
+ data3.formState.new_password = "";
27771
+ data3.formState.new_too_password = "";
27770
27772
  data3.changePWDVisible = true;
27771
27773
  }
27774
+ function cancelPWDVisible() {
27775
+ data3.formState.new_password = "";
27776
+ data3.formState.new_too_password = "";
27777
+ data3.changePWDVisible = false;
27778
+ ctx.emit("changePassWord", false);
27779
+ }
27780
+ const passWordPattern = /^(?=.*[a-zA-Z])(?=.*\d).{8,}$/;
27772
27781
  async function changePWDOKHandle() {
27773
27782
  var _a;
27774
27783
  try {
@@ -27776,21 +27785,20 @@ const _sfc_main = {
27776
27785
  if (values.new_password != values.new_too_password) {
27777
27786
  return message.error("两次输入的新密码不一致");
27778
27787
  }
27779
- if (values.new_password < 6) {
27780
- return message.error("密码最少6位数");
27781
- }
27782
27788
  await changePassword((_a = data3.userInfo) == null ? void 0 : _a.userId, {
27783
27789
  newPassword: encryptionStr(values.new_password),
27784
27790
  isEnc: true
27785
27791
  });
27786
27792
  changePWDCancelHandle();
27787
27793
  console.log("Success:", values);
27794
+ ctx.emit("changePassWord", true);
27788
27795
  } catch (errorInfo) {
27789
27796
  console.log("Failed:", errorInfo);
27790
27797
  }
27791
27798
  }
27792
27799
  function changePWDCancelHandle() {
27793
27800
  changePWDref.value.resetFields();
27801
+ ctx.emit("changePassWord", false);
27794
27802
  data3.changePWDVisible = false;
27795
27803
  }
27796
27804
  function logout() {
@@ -28246,6 +28254,7 @@ const _sfc_main = {
28246
28254
  setofbooksTest,
28247
28255
  gjTest,
28248
28256
  openChangePWDHandle,
28257
+ cancelPWDVisible,
28249
28258
  changePWDOKHandle,
28250
28259
  changePWDCancelHandle,
28251
28260
  logout,
@@ -28282,6 +28291,7 @@ const _sfc_main = {
28282
28291
  onClickTodo,
28283
28292
  modeuleInfos,
28284
28293
  systemVisibleTrue,
28294
+ passWordPattern,
28285
28295
  /*******start 2.0*****/
28286
28296
  permissionModuleList,
28287
28297
  onFunOpen,
@@ -28291,7 +28301,7 @@ const _sfc_main = {
28291
28301
  };
28292
28302
  }
28293
28303
  };
28294
- const _withScopeId = (n2) => (pushScopeId("data-v-36431e75"), n2 = n2(), popScopeId(), n2);
28304
+ const _withScopeId = (n2) => (pushScopeId("data-v-73a30b36"), n2 = n2(), popScopeId(), n2);
28295
28305
  const _hoisted_1 = {
28296
28306
  class: "bg-white defaultTS funcTC relative",
28297
28307
  style: { "padding-bottom": "10px", "margin-bottom": "10px" }
@@ -28455,37 +28465,38 @@ const _hoisted_25 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEle
28455
28465
  ])
28456
28466
  ], -1));
28457
28467
  const _hoisted_26 = { class: "ml-[6px] focusTC" };
28458
- const _hoisted_27 = { class: "flex items-center justify-between h-[60px] pl-[40px] themeBGC" };
28459
- const _hoisted_28 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "flex" }, [
28460
- /* @__PURE__ */ createElementVNode("img", {
28461
- src: _imports_0,
28462
- alt: ""
28463
- }),
28464
- /* @__PURE__ */ createElementVNode("span", { class: "mediumTitleTS focusTC pl-2" }, "修改密码")
28468
+ const _hoisted_27 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "flex items-center justify-between h-[60px] pl-[40px] themeBGC" }, [
28469
+ /* @__PURE__ */ createElementVNode("div", { class: "flex" }, [
28470
+ /* @__PURE__ */ createElementVNode("img", {
28471
+ src: _imports_0,
28472
+ alt: ""
28473
+ }),
28474
+ /* @__PURE__ */ createElementVNode("span", { class: "mediumTitleTS focusTC pl-2" }, "修改密码123")
28475
+ ])
28465
28476
  ], -1));
28466
- const _hoisted_29 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "mt-28 focusTC largeTitleTS text-center pb-4" }, "修改密码", -1));
28467
- const _hoisted_30 = { class: "h-[300px]" };
28468
- const _hoisted_31 = { class: "flex justify-between w-[380px] mx-auto mt-12" };
28469
- const _hoisted_32 = { class: "flex items-center justify-between h-[60px] pl-[40px] themeBGC" };
28470
- const _hoisted_33 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "flex" }, [
28477
+ const _hoisted_28 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "mt-28 focusTC largeTitleTS text-center pb-4" }, "修改密码", -1));
28478
+ const _hoisted_29 = { class: "h-[300px]" };
28479
+ const _hoisted_30 = { class: "flex justify-between w-[380px] mx-auto mt-12" };
28480
+ const _hoisted_31 = { class: "flex items-center justify-between h-[60px] pl-[40px] themeBGC" };
28481
+ const _hoisted_32 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "flex" }, [
28471
28482
  /* @__PURE__ */ createElementVNode("img", {
28472
28483
  src: _imports_0,
28473
28484
  alt: ""
28474
28485
  }),
28475
28486
  /* @__PURE__ */ createElementVNode("span", { class: "mediumTitleTS focusTC pl-2" }, "切换系统")
28476
28487
  ], -1));
28477
- const _hoisted_34 = {
28488
+ const _hoisted_33 = {
28478
28489
  class: "flex flex-wrap justify-center",
28479
28490
  style: { "padding": "7.7rem" }
28480
28491
  };
28481
- const _hoisted_35 = ["onClick"];
28482
- const _hoisted_36 = {
28492
+ const _hoisted_34 = ["onClick"];
28493
+ const _hoisted_35 = {
28483
28494
  key: 0,
28484
28495
  class: "flex justify-between items-center pl-6 pr-2 w-full h-12 themeBGC"
28485
28496
  };
28486
- const _hoisted_37 = { class: "text-xl focusTC flex items-center" };
28487
- const _hoisted_38 = ["src"];
28488
- const _hoisted_39 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "relative" }, [
28497
+ const _hoisted_36 = { class: "text-xl focusTC flex items-center" };
28498
+ const _hoisted_37 = ["src"];
28499
+ const _hoisted_38 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "relative" }, [
28489
28500
  /* @__PURE__ */ createElementVNode("div", { class: "absolute -left-10 top-1/2 -translate-y-1/2 w-8 h-8 cursor-pointer" }, [
28490
28501
  /* @__PURE__ */ createElementVNode("svg", {
28491
28502
  class: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",
@@ -28526,13 +28537,13 @@ const _hoisted_39 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEle
28526
28537
  ]),
28527
28538
  /* @__PURE__ */ createElementVNode("span", { class: "mediumTitleTS focusTC hover:underline" }, "当前选择")
28528
28539
  ], -1));
28529
- const _hoisted_40 = {
28540
+ const _hoisted_39 = {
28530
28541
  key: 1,
28531
28542
  class: "flex justify-between items-center pl-6 pr-2 w-full h-12 tabHeaderBGC"
28532
28543
  };
28533
- const _hoisted_41 = { class: "text-xl focusTC flex items-center" };
28534
- const _hoisted_42 = ["src"];
28535
- const _hoisted_43 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "relative" }, [
28544
+ const _hoisted_40 = { class: "text-xl focusTC flex items-center" };
28545
+ const _hoisted_41 = ["src"];
28546
+ const _hoisted_42 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "relative" }, [
28536
28547
  /* @__PURE__ */ createElementVNode("div", { class: "absolute -left-10 top-1/2 -translate-y-1/2 w-8 h-8" }, [
28537
28548
  /* @__PURE__ */ createElementVNode("svg", {
28538
28549
  class: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",
@@ -28555,27 +28566,27 @@ const _hoisted_43 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEle
28555
28566
  ]),
28556
28567
  /* @__PURE__ */ createElementVNode("span", { class: "defaultTitleTS clickTC hover:underline cursor-pointer" }, "选择")
28557
28568
  ], -1));
28558
- const _hoisted_44 = { class: "flex justify-between content-between flex-wrap w-full h-[120px] px-[40px] pt-[20px] pb-[25px] clickTC leading-loose" };
28559
- const _hoisted_45 = ["src"];
28560
- const _hoisted_46 = { class: "flex items-center justify-between h-[60px] pl-[40px] themeBGC" };
28561
- const _hoisted_47 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "flex" }, [
28569
+ const _hoisted_43 = { class: "flex justify-between content-between flex-wrap w-full h-[120px] px-[40px] pt-[20px] pb-[25px] clickTC leading-loose" };
28570
+ const _hoisted_44 = ["src"];
28571
+ const _hoisted_45 = { class: "flex items-center justify-between h-[60px] pl-[40px] themeBGC" };
28572
+ const _hoisted_46 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "flex" }, [
28562
28573
  /* @__PURE__ */ createElementVNode("img", {
28563
28574
  src: _imports_0,
28564
28575
  alt: ""
28565
28576
  }),
28566
28577
  /* @__PURE__ */ createElementVNode("span", { class: "mediumTitleTS focusTC pl-2" }, "切换模块")
28567
28578
  ], -1));
28568
- const _hoisted_48 = {
28579
+ const _hoisted_47 = {
28569
28580
  class: "flex flex-wrap justify-center",
28570
28581
  style: { "padding": "7.7rem" }
28571
28582
  };
28572
- const _hoisted_49 = ["onClick"];
28573
- const _hoisted_50 = { key: 0 };
28574
- const _hoisted_51 = { class: "focusTC h-[153px] flex justify-center items-center themeBGC relative" };
28583
+ const _hoisted_48 = ["onClick"];
28584
+ const _hoisted_49 = { key: 0 };
28585
+ const _hoisted_50 = { class: "focusTC h-[153px] flex justify-center items-center themeBGC relative" };
28586
+ const _hoisted_51 = ["src"];
28575
28587
  const _hoisted_52 = ["src"];
28576
- const _hoisted_53 = ["src"];
28577
- const _hoisted_54 = { class: "w-full text-[22px] leading-loose rb" };
28578
- const _hoisted_55 = {
28588
+ const _hoisted_53 = { class: "w-full text-[22px] leading-loose rb" };
28589
+ const _hoisted_54 = {
28579
28590
  class: /* @__PURE__ */ normalizeClass([
28580
28591
  "flex",
28581
28592
  "justify-center",
@@ -28584,13 +28595,13 @@ const _hoisted_55 = {
28584
28595
  "focusTC"
28585
28596
  ])
28586
28597
  };
28587
- const _hoisted_56 = { class: "focusTC" };
28588
- const _hoisted_57 = { key: 1 };
28589
- const _hoisted_58 = { class: "focusTC h-[153px] flex justify-center items-center themeBGC relative" };
28598
+ const _hoisted_55 = { class: "focusTC" };
28599
+ const _hoisted_56 = { key: 1 };
28600
+ const _hoisted_57 = { class: "focusTC h-[153px] flex justify-center items-center themeBGC relative" };
28601
+ const _hoisted_58 = ["src"];
28590
28602
  const _hoisted_59 = ["src"];
28591
- const _hoisted_60 = ["src"];
28592
- const _hoisted_61 = { class: "w-full text-[22px] leading-loose rb" };
28593
- const _hoisted_62 = {
28603
+ const _hoisted_60 = { class: "w-full text-[22px] leading-loose rb" };
28604
+ const _hoisted_61 = {
28594
28605
  class: /* @__PURE__ */ normalizeClass([
28595
28606
  "flex",
28596
28607
  "justify-center",
@@ -28599,66 +28610,66 @@ const _hoisted_62 = {
28599
28610
  "clickTC weight600"
28600
28611
  ])
28601
28612
  };
28602
- const _hoisted_63 = {
28613
+ const _hoisted_62 = {
28603
28614
  key: 1,
28604
28615
  class: "yuan mr-[10px]"
28605
28616
  };
28606
- const _hoisted_64 = { class: "flex items-center justify-between h-[60px] pl-[40px] themeBGC" };
28607
- const _hoisted_65 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "flex" }, [
28617
+ const _hoisted_63 = { class: "flex items-center justify-between h-[60px] pl-[40px] themeBGC" };
28618
+ const _hoisted_64 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "flex" }, [
28608
28619
  /* @__PURE__ */ createElementVNode("img", {
28609
28620
  src: _imports_0,
28610
28621
  alt: ""
28611
28622
  }),
28612
28623
  /* @__PURE__ */ createElementVNode("span", { class: "mediumTitleTS focusTC pl-2" }, "切换基地")
28613
28624
  ], -1));
28614
- const _hoisted_66 = {
28625
+ const _hoisted_65 = {
28615
28626
  class: "flex flex-wrap justify-center",
28616
28627
  style: { "padding": "7.7rem" }
28617
28628
  };
28618
- const _hoisted_67 = { class: "w-full text-[22px] leading-loose rb" };
28619
- const _hoisted_68 = {
28629
+ const _hoisted_66 = { class: "w-full text-[22px] leading-loose rb" };
28630
+ const _hoisted_67 = {
28620
28631
  key: 1,
28621
28632
  class: "yuan mr-[10px]"
28622
28633
  };
28623
- const _hoisted_69 = /* @__PURE__ */ createTextVNode(" 全部基地 ");
28624
- const _hoisted_70 = ["onClick"];
28625
- const _hoisted_71 = { class: "w-full text-[22px] leading-loose rb" };
28626
- const _hoisted_72 = {
28634
+ const _hoisted_68 = /* @__PURE__ */ createTextVNode(" 全部基地 ");
28635
+ const _hoisted_69 = ["onClick"];
28636
+ const _hoisted_70 = { class: "w-full text-[22px] leading-loose rb" };
28637
+ const _hoisted_71 = {
28627
28638
  key: 1,
28628
28639
  class: "yuan mr-[10px]"
28629
28640
  };
28630
- const _hoisted_73 = { class: "flex items-center justify-between h-[60px] pl-[40px] themeBGC" };
28631
- const _hoisted_74 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "flex" }, [
28641
+ const _hoisted_72 = { class: "flex items-center justify-between h-[60px] pl-[40px] themeBGC" };
28642
+ const _hoisted_73 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "flex" }, [
28632
28643
  /* @__PURE__ */ createElementVNode("img", {
28633
28644
  src: _imports_0,
28634
28645
  alt: ""
28635
28646
  }),
28636
28647
  /* @__PURE__ */ createElementVNode("span", { class: "mediumTitleTS focusTC pl-2" }, "切换项目")
28637
28648
  ], -1));
28638
- const _hoisted_75 = {
28649
+ const _hoisted_74 = {
28639
28650
  class: "flex flex-wrap justify-center",
28640
28651
  style: { "padding": "7.7rem" }
28641
28652
  };
28642
- const _hoisted_76 = ["onClick"];
28643
- const _hoisted_77 = { class: "w-full text-[22px] leading-loose rb" };
28644
- const _hoisted_78 = {
28653
+ const _hoisted_75 = ["onClick"];
28654
+ const _hoisted_76 = { class: "w-full text-[22px] leading-loose rb" };
28655
+ const _hoisted_77 = {
28645
28656
  key: 1,
28646
28657
  class: "yuan mr-[10px]"
28647
28658
  };
28648
- const _hoisted_79 = { class: "flex items-center justify-between h-[60px] pl-[40px] themeBGC" };
28649
- const _hoisted_80 = { class: "flex" };
28650
- const _hoisted_81 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
28659
+ const _hoisted_78 = { class: "flex items-center justify-between h-[60px] pl-[40px] themeBGC" };
28660
+ const _hoisted_79 = { class: "flex" };
28661
+ const _hoisted_80 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
28651
28662
  src: _imports_0,
28652
28663
  alt: ""
28653
28664
  }, null, -1));
28654
- const _hoisted_82 = { class: "mediumTitleTS focusTC pl-2" };
28655
- const _hoisted_83 = {
28665
+ const _hoisted_81 = { class: "mediumTitleTS focusTC pl-2" };
28666
+ const _hoisted_82 = {
28656
28667
  class: "flex flex-wrap justify-center",
28657
28668
  style: { "padding": "7.7rem" }
28658
28669
  };
28659
- const _hoisted_84 = ["onClick"];
28660
- const _hoisted_85 = { class: "w-full text-[22px] c606266 leading-loose rb" };
28661
- const _hoisted_86 = {
28670
+ const _hoisted_83 = ["onClick"];
28671
+ const _hoisted_84 = { class: "w-full text-[22px] c606266 leading-loose rb" };
28672
+ const _hoisted_85 = {
28662
28673
  key: 1,
28663
28674
  class: "yuan mr-[10px]"
28664
28675
  };
@@ -28803,21 +28814,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
28803
28814
  ], 4),
28804
28815
  createVNode(_component_MrpModal, {
28805
28816
  show: _ctx.changePWDVisible,
28806
- "onUpdate:show": _cache[13] || (_cache[13] = ($event) => _ctx.changePWDVisible = $event),
28807
- "remove-padding": false
28817
+ "onUpdate:show": _cache[12] || (_cache[12] = ($event) => _ctx.changePWDVisible = $event),
28818
+ "remove-padding": false,
28819
+ onCancel: $setup.cancelPWDVisible
28808
28820
  }, {
28809
28821
  title: withCtx(() => [
28810
- createElementVNode("div", _hoisted_27, [
28811
- _hoisted_28,
28812
- createElementVNode("div", {
28813
- class: "h-[60px] w-[80px] zIndex",
28814
- onClick: _cache[8] || (_cache[8] = ($event) => _ctx.changePWDVisible = false)
28815
- })
28816
- ])
28822
+ _hoisted_27
28817
28823
  ]),
28818
28824
  body: withCtx(() => [
28819
- _hoisted_29,
28820
- createElementVNode("div", _hoisted_30, [
28825
+ _hoisted_28,
28826
+ createElementVNode("div", _hoisted_29, [
28821
28827
  createVNode(_component_a_form, {
28822
28828
  style: { "width": "380px", "margin": "0 auto" },
28823
28829
  ref: "changePWDref",
@@ -28827,65 +28833,65 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
28827
28833
  default: withCtx(() => [
28828
28834
  createVNode(_component_a_form_item, {
28829
28835
  name: "new_password",
28830
- rules: [{ required: true, message: "新密码不能为空" }]
28836
+ rules: [{ required: true, message: "新密码不能为空" }, { pattern: $setup.passWordPattern, message: "新密码必须包含8位及以上字母及数字" }]
28831
28837
  }, {
28832
28838
  default: withCtx(() => [
28833
28839
  createVNode(_component_a_input_password, {
28834
28840
  size: "large",
28835
28841
  value: _ctx.formState.new_password,
28836
- "onUpdate:value": _cache[9] || (_cache[9] = ($event) => _ctx.formState.new_password = $event),
28837
- placeholder: "请输入新密码"
28842
+ "onUpdate:value": _cache[8] || (_cache[8] = ($event) => _ctx.formState.new_password = $event),
28843
+ placeholder: "新密码必须包含8位及以上字母及数字"
28838
28844
  }, null, 8, ["value"])
28839
28845
  ]),
28840
28846
  _: 1
28841
- }),
28847
+ }, 8, ["rules"]),
28842
28848
  createVNode(_component_a_form_item, {
28843
28849
  name: "new_too_password",
28844
- rules: [{ required: true, message: "新密码不能为空" }]
28850
+ rules: [{ required: true, message: "新密码不能为空" }, { pattern: $setup.passWordPattern, message: "新密码必须包含8位及以上字母及数字" }]
28845
28851
  }, {
28846
28852
  default: withCtx(() => [
28847
28853
  createVNode(_component_a_input_password, {
28848
28854
  size: "large",
28849
28855
  value: _ctx.formState.new_too_password,
28850
- "onUpdate:value": _cache[10] || (_cache[10] = ($event) => _ctx.formState.new_too_password = $event),
28851
- placeholder: "请再次输入新密码"
28856
+ "onUpdate:value": _cache[9] || (_cache[9] = ($event) => _ctx.formState.new_too_password = $event),
28857
+ placeholder: "新密码必须包含8位及以上字母及数字"
28852
28858
  }, null, 8, ["value"])
28853
28859
  ]),
28854
28860
  _: 1
28855
- })
28861
+ }, 8, ["rules"])
28856
28862
  ]),
28857
28863
  _: 1
28858
28864
  }, 8, ["model"]),
28859
- createElementVNode("div", _hoisted_31, [
28865
+ createElementVNode("div", _hoisted_30, [
28860
28866
  createElementVNode("div", {
28861
28867
  class: "submit_btn",
28862
- onClick: _cache[11] || (_cache[11] = (...args) => $setup.changePWDOKHandle && $setup.changePWDOKHandle(...args))
28868
+ onClick: _cache[10] || (_cache[10] = (...args) => $setup.changePWDOKHandle && $setup.changePWDOKHandle(...args))
28863
28869
  }, "提交"),
28864
28870
  createElementVNode("div", {
28865
28871
  class: "close_btn",
28866
- onClick: _cache[12] || (_cache[12] = (...args) => $setup.changePWDCancelHandle && $setup.changePWDCancelHandle(...args))
28872
+ onClick: _cache[11] || (_cache[11] = (...args) => $setup.changePWDCancelHandle && $setup.changePWDCancelHandle(...args))
28867
28873
  }, "关闭")
28868
28874
  ])
28869
28875
  ])
28870
28876
  ]),
28871
28877
  _: 1
28872
- }, 8, ["show"]),
28878
+ }, 8, ["show", "onCancel"]),
28873
28879
  createVNode(_component_MrpModal, {
28874
28880
  show: _ctx.systemVisible,
28875
- "onUpdate:show": _cache[15] || (_cache[15] = ($event) => _ctx.systemVisible = $event),
28881
+ "onUpdate:show": _cache[14] || (_cache[14] = ($event) => _ctx.systemVisible = $event),
28876
28882
  "remove-padding": false
28877
28883
  }, {
28878
28884
  title: withCtx(() => [
28879
- createElementVNode("div", _hoisted_32, [
28880
- _hoisted_33,
28885
+ createElementVNode("div", _hoisted_31, [
28886
+ _hoisted_32,
28881
28887
  createElementVNode("div", {
28882
28888
  class: "h-[60px] w-[80px] zIndex",
28883
- onClick: _cache[14] || (_cache[14] = ($event) => $setup.closeSysetmModal())
28889
+ onClick: _cache[13] || (_cache[13] = ($event) => $setup.closeSysetmModal())
28884
28890
  })
28885
28891
  ])
28886
28892
  ]),
28887
28893
  body: withCtx(() => [
28888
- createElementVNode("div", _hoisted_34, [
28894
+ createElementVNode("div", _hoisted_33, [
28889
28895
  (openBlock(true), createElementBlock(Fragment, null, renderList($setup.permissionModuleList, (i2) => {
28890
28896
  return openBlock(), createElementBlock("div", {
28891
28897
  key: i2.id,
@@ -28893,27 +28899,27 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
28893
28899
  style: { "border-radius": "10px" },
28894
28900
  onClick: ($event) => $setup.changesystem(i2)
28895
28901
  }, [
28896
- i2.permissionModuleName === $setup.selectedSystems ? (openBlock(), createElementBlock("div", _hoisted_36, [
28897
- createElementVNode("div", _hoisted_37, [
28902
+ i2.permissionModuleName === $setup.selectedSystems ? (openBlock(), createElementBlock("div", _hoisted_35, [
28903
+ createElementVNode("div", _hoisted_36, [
28898
28904
  createElementVNode("img", {
28899
28905
  class: "mr-4",
28900
28906
  src: i2.icon
28901
- }, null, 8, _hoisted_38),
28907
+ }, null, 8, _hoisted_37),
28902
28908
  createTextVNode(" " + toDisplayString(i2.moduleName), 1)
28903
28909
  ]),
28904
- _hoisted_39
28905
- ])) : (openBlock(), createElementBlock("div", _hoisted_40, [
28906
- createElementVNode("div", _hoisted_41, [
28910
+ _hoisted_38
28911
+ ])) : (openBlock(), createElementBlock("div", _hoisted_39, [
28912
+ createElementVNode("div", _hoisted_40, [
28907
28913
  createElementVNode("img", {
28908
28914
  class: "mr-4",
28909
28915
  src: i2.icon
28910
- }, null, 8, _hoisted_42),
28916
+ }, null, 8, _hoisted_41),
28911
28917
  createTextVNode(toDisplayString(i2.moduleName), 1)
28912
28918
  ]),
28913
- _hoisted_43
28919
+ _hoisted_42
28914
28920
  ])),
28915
28921
  createElementVNode("div", null, [
28916
- createElementVNode("div", _hoisted_44, [
28922
+ createElementVNode("div", _hoisted_43, [
28917
28923
  (openBlock(true), createElementBlock(Fragment, null, renderList(i2.childGroups, (e2) => {
28918
28924
  return openBlock(), createElementBlock("div", {
28919
28925
  key: e2.id,
@@ -28926,13 +28932,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
28926
28932
  class: "mr-2",
28927
28933
  style: { "width": "16px", "height": "16px" },
28928
28934
  src: e2.icon
28929
- }, null, 8, _hoisted_45),
28935
+ }, null, 8, _hoisted_44),
28930
28936
  createTextVNode(" " + toDisplayString(e2.moduleName), 1)
28931
28937
  ], 2);
28932
28938
  }), 128))
28933
28939
  ])
28934
28940
  ])
28935
- ], 8, _hoisted_35);
28941
+ ], 8, _hoisted_34);
28936
28942
  }), 128))
28937
28943
  ])
28938
28944
  ]),
@@ -28940,68 +28946,68 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
28940
28946
  }, 8, ["show"]),
28941
28947
  createVNode(_component_MrpModal, {
28942
28948
  show: _ctx.moduleVisible,
28943
- "onUpdate:show": _cache[17] || (_cache[17] = ($event) => _ctx.moduleVisible = $event),
28949
+ "onUpdate:show": _cache[16] || (_cache[16] = ($event) => _ctx.moduleVisible = $event),
28944
28950
  onCancelHandle: $setup.moduleHandle,
28945
28951
  "remove-padding": false
28946
28952
  }, {
28947
28953
  title: withCtx(() => [
28948
- createElementVNode("div", _hoisted_46, [
28949
- _hoisted_47,
28954
+ createElementVNode("div", _hoisted_45, [
28955
+ _hoisted_46,
28950
28956
  createElementVNode("div", {
28951
28957
  class: "h-[60px] w-[80px] zIndex",
28952
- onClick: _cache[16] || (_cache[16] = ($event) => $setup.closeModule())
28958
+ onClick: _cache[15] || (_cache[15] = ($event) => $setup.closeModule())
28953
28959
  })
28954
28960
  ])
28955
28961
  ]),
28956
28962
  body: withCtx(() => [
28957
- createElementVNode("div", _hoisted_48, [
28963
+ createElementVNode("div", _hoisted_47, [
28958
28964
  (openBlock(true), createElementBlock(Fragment, null, renderList($setup.moduleTestS, (i2) => {
28959
28965
  return openBlock(), createElementBlock("div", {
28960
28966
  key: i2.id,
28961
28967
  class: "w-[320px] rounded-[10px] mb-[110px] mr-[100px] modal_item_border overflow-hidden cursor-pointer",
28962
28968
  onClick: ($event) => $setup.changeModule(i2)
28963
28969
  }, [
28964
- i2.permissionModuleName === _ctx.selectModule ? (openBlock(), createElementBlock("div", _hoisted_50, [
28965
- createElementVNode("div", _hoisted_51, [
28970
+ i2.permissionModuleName === _ctx.selectModule ? (openBlock(), createElementBlock("div", _hoisted_49, [
28971
+ createElementVNode("div", _hoisted_50, [
28966
28972
  createElementVNode("img", {
28967
28973
  class: "w-[80px] h-[78px]",
28968
28974
  src: i2.icon
28969
- }, null, 8, _hoisted_52),
28975
+ }, null, 8, _hoisted_51),
28970
28976
  i2.icon1 ? (openBlock(), createElementBlock("img", {
28971
28977
  key: 0,
28972
28978
  class: "w-[80px] h-[27px] absolute top-[68px]",
28973
28979
  src: i2.icon1
28974
- }, null, 8, _hoisted_53)) : createCommentVNode("", true)
28980
+ }, null, 8, _hoisted_52)) : createCommentVNode("", true)
28975
28981
  ]),
28976
- createElementVNode("div", _hoisted_54, [
28977
- createElementVNode("div", _hoisted_55, [
28982
+ createElementVNode("div", _hoisted_53, [
28983
+ createElementVNode("div", _hoisted_54, [
28978
28984
  createVNode(_component_check_circle_outlined, { class: "mediumTitleTS mr-[10px]" }),
28979
- createElementVNode("div", _hoisted_56, toDisplayString(i2.moduleName), 1)
28985
+ createElementVNode("div", _hoisted_55, toDisplayString(i2.moduleName), 1)
28980
28986
  ])
28981
28987
  ])
28982
- ])) : (openBlock(), createElementBlock("div", _hoisted_57, [
28983
- createElementVNode("div", _hoisted_58, [
28988
+ ])) : (openBlock(), createElementBlock("div", _hoisted_56, [
28989
+ createElementVNode("div", _hoisted_57, [
28984
28990
  createElementVNode("img", {
28985
28991
  class: "w-[80px] h-[78px]",
28986
28992
  src: i2.icon
28987
- }, null, 8, _hoisted_59),
28993
+ }, null, 8, _hoisted_58),
28988
28994
  i2.icon1 ? (openBlock(), createElementBlock("img", {
28989
28995
  key: 0,
28990
28996
  class: "w-[80px] h-[27px] absolute top-[68px]",
28991
28997
  src: i2.icon1
28992
- }, null, 8, _hoisted_60)) : createCommentVNode("", true)
28998
+ }, null, 8, _hoisted_59)) : createCommentVNode("", true)
28993
28999
  ]),
28994
- createElementVNode("div", _hoisted_61, [
28995
- createElementVNode("div", _hoisted_62, [
29000
+ createElementVNode("div", _hoisted_60, [
29001
+ createElementVNode("div", _hoisted_61, [
28996
29002
  i2.id == $setup.setOfBookId ? (openBlock(), createBlock(_component_check_circle_outlined, {
28997
29003
  key: 0,
28998
29004
  class: "mediumTitleTS mr-[10px]"
28999
- })) : (openBlock(), createElementBlock("div", _hoisted_63)),
29005
+ })) : (openBlock(), createElementBlock("div", _hoisted_62)),
29000
29006
  createTextVNode(" " + toDisplayString(i2.moduleName), 1)
29001
29007
  ])
29002
29008
  ])
29003
29009
  ]))
29004
- ], 8, _hoisted_49);
29010
+ ], 8, _hoisted_48);
29005
29011
  }), 128))
29006
29012
  ])
29007
29013
  ]),
@@ -29009,24 +29015,24 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29009
29015
  }, 8, ["show", "onCancelHandle"]),
29010
29016
  createVNode(_component_MrpModal, {
29011
29017
  show: _ctx.baseVisible,
29012
- "onUpdate:show": _cache[20] || (_cache[20] = ($event) => _ctx.baseVisible = $event),
29018
+ "onUpdate:show": _cache[19] || (_cache[19] = ($event) => _ctx.baseVisible = $event),
29013
29019
  "remove-padding": false
29014
29020
  }, {
29015
29021
  title: withCtx(() => [
29016
- createElementVNode("div", _hoisted_64, [
29017
- _hoisted_65,
29022
+ createElementVNode("div", _hoisted_63, [
29023
+ _hoisted_64,
29018
29024
  createElementVNode("div", {
29019
29025
  class: "h-[60px] w-[80px] zIndex",
29020
- onClick: _cache[18] || (_cache[18] = (...args) => $setup.cloneBaseModal && $setup.cloneBaseModal(...args))
29026
+ onClick: _cache[17] || (_cache[17] = (...args) => $setup.cloneBaseModal && $setup.cloneBaseModal(...args))
29021
29027
  })
29022
29028
  ])
29023
29029
  ]),
29024
29030
  body: withCtx(() => [
29025
- createElementVNode("div", _hoisted_66, [
29031
+ createElementVNode("div", _hoisted_65, [
29026
29032
  $setup.isShowAllProductionBasesModel ? (openBlock(), createElementBlock("div", {
29027
29033
  key: 0,
29028
29034
  class: "w-[320px] mb-[110px] mr-[100px] modal_item_border overflow-hidden cursor-pointer rt",
29029
- onClick: _cache[19] || (_cache[19] = ($event) => $setup.getBaseTest($setup.allBaseId))
29035
+ onClick: _cache[18] || (_cache[18] = ($event) => $setup.getBaseTest($setup.allBaseId))
29030
29036
  }, [
29031
29037
  createElementVNode("div", {
29032
29038
  class: normalizeClass([
@@ -29048,7 +29054,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29048
29054
  ])
29049
29055
  }, " 全部基地 ", 2)
29050
29056
  ], 2),
29051
- createElementVNode("div", _hoisted_67, [
29057
+ createElementVNode("div", _hoisted_66, [
29052
29058
  createElementVNode("div", {
29053
29059
  class: normalizeClass([
29054
29060
  "flex",
@@ -29061,8 +29067,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29061
29067
  $setup.baseId === $setup.allBaseId ? (openBlock(), createBlock(_component_check_circle_outlined, {
29062
29068
  key: 0,
29063
29069
  class: "mediumTitleTS mr-[10px]"
29064
- })) : (openBlock(), createElementBlock("div", _hoisted_68)),
29065
- _hoisted_69
29070
+ })) : (openBlock(), createElementBlock("div", _hoisted_67)),
29071
+ _hoisted_68
29066
29072
  ], 2)
29067
29073
  ])
29068
29074
  ])) : createCommentVNode("", true),
@@ -29089,7 +29095,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29089
29095
  class: normalizeClass(["text-xl", `${i2.id == $setup.baseId ? "focusTC" : "clickTC"}`])
29090
29096
  }, toDisplayString(i2.title), 3)
29091
29097
  ], 2),
29092
- createElementVNode("div", _hoisted_71, [
29098
+ createElementVNode("div", _hoisted_70, [
29093
29099
  createElementVNode("div", {
29094
29100
  class: normalizeClass([
29095
29101
  "flex",
@@ -29102,11 +29108,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29102
29108
  i2.id == $setup.baseId ? (openBlock(), createBlock(_component_check_circle_outlined, {
29103
29109
  key: 0,
29104
29110
  class: "mediumTitleTS mr-[10px]"
29105
- })) : (openBlock(), createElementBlock("div", _hoisted_72)),
29111
+ })) : (openBlock(), createElementBlock("div", _hoisted_71)),
29106
29112
  createTextVNode(" " + toDisplayString(i2.shortName), 1)
29107
29113
  ], 2)
29108
29114
  ])
29109
- ], 8, _hoisted_70);
29115
+ ], 8, _hoisted_69);
29110
29116
  }), 128))
29111
29117
  ])
29112
29118
  ]),
@@ -29114,20 +29120,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29114
29120
  }, 8, ["show"]),
29115
29121
  createVNode(_component_MrpModal, {
29116
29122
  show: _ctx.dgVisible,
29117
- "onUpdate:show": _cache[22] || (_cache[22] = ($event) => _ctx.dgVisible = $event),
29123
+ "onUpdate:show": _cache[21] || (_cache[21] = ($event) => _ctx.dgVisible = $event),
29118
29124
  "remove-padding": false
29119
29125
  }, {
29120
29126
  title: withCtx(() => [
29121
- createElementVNode("div", _hoisted_73, [
29122
- _hoisted_74,
29127
+ createElementVNode("div", _hoisted_72, [
29128
+ _hoisted_73,
29123
29129
  createElementVNode("div", {
29124
29130
  class: "h-[60px] w-[80px] zIndex",
29125
- onClick: _cache[21] || (_cache[21] = ($event) => $setup.closeDgVisible())
29131
+ onClick: _cache[20] || (_cache[20] = ($event) => $setup.closeDgVisible())
29126
29132
  })
29127
29133
  ])
29128
29134
  ]),
29129
29135
  body: withCtx(() => [
29130
- createElementVNode("div", _hoisted_75, [
29136
+ createElementVNode("div", _hoisted_74, [
29131
29137
  (openBlock(true), createElementBlock(Fragment, null, renderList($setup.gjTest, (i2) => {
29132
29138
  return openBlock(), createElementBlock("div", {
29133
29139
  key: i2.id,
@@ -29151,7 +29157,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29151
29157
  class: normalizeClass(["text-xl", `${i2.id == $setup.gjId ? "focusTC" : "clickTC"}`])
29152
29158
  }, toDisplayString(i2.title), 3)
29153
29159
  ], 2),
29154
- createElementVNode("div", _hoisted_77, [
29160
+ createElementVNode("div", _hoisted_76, [
29155
29161
  createElementVNode("div", {
29156
29162
  class: normalizeClass([
29157
29163
  "flex",
@@ -29164,11 +29170,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29164
29170
  i2.id == $setup.gjId ? (openBlock(), createBlock(_component_check_circle_outlined, {
29165
29171
  key: 0,
29166
29172
  class: "mediumTitleTS mr-[10px]"
29167
- })) : (openBlock(), createElementBlock("div", _hoisted_78)),
29173
+ })) : (openBlock(), createElementBlock("div", _hoisted_77)),
29168
29174
  createTextVNode(" " + toDisplayString(i2.shortName), 1)
29169
29175
  ], 2)
29170
29176
  ])
29171
- ], 8, _hoisted_76);
29177
+ ], 8, _hoisted_75);
29172
29178
  }), 128))
29173
29179
  ])
29174
29180
  ]),
@@ -29176,23 +29182,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29176
29182
  }, 8, ["show"]),
29177
29183
  createVNode(_component_MrpModal, {
29178
29184
  show: _ctx.setofbooksVisible,
29179
- "onUpdate:show": _cache[24] || (_cache[24] = ($event) => _ctx.setofbooksVisible = $event),
29185
+ "onUpdate:show": _cache[23] || (_cache[23] = ($event) => _ctx.setofbooksVisible = $event),
29180
29186
  "remove-padding": false
29181
29187
  }, {
29182
29188
  title: withCtx(() => [
29183
- createElementVNode("div", _hoisted_79, [
29184
- createElementVNode("div", _hoisted_80, [
29185
- _hoisted_81,
29186
- createElementVNode("span", _hoisted_82, "切换" + toDisplayString($props.setofbooksName), 1)
29189
+ createElementVNode("div", _hoisted_78, [
29190
+ createElementVNode("div", _hoisted_79, [
29191
+ _hoisted_80,
29192
+ createElementVNode("span", _hoisted_81, "切换" + toDisplayString($props.setofbooksName), 1)
29187
29193
  ]),
29188
29194
  createElementVNode("div", {
29189
29195
  class: "h-[60px] w-[80px] zIndex",
29190
- onClick: _cache[23] || (_cache[23] = ($event) => $setup.closeSetofBookModal())
29196
+ onClick: _cache[22] || (_cache[22] = ($event) => $setup.closeSetofBookModal())
29191
29197
  })
29192
29198
  ])
29193
29199
  ]),
29194
29200
  body: withCtx(() => [
29195
- createElementVNode("div", _hoisted_83, [
29201
+ createElementVNode("div", _hoisted_82, [
29196
29202
  (openBlock(true), createElementBlock(Fragment, null, renderList($setup.setofbooksTest, (i2) => {
29197
29203
  return openBlock(), createElementBlock("div", {
29198
29204
  key: i2.id,
@@ -29219,7 +29225,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29219
29225
  ])
29220
29226
  }, toDisplayString(i2.title), 3)
29221
29227
  ], 2),
29222
- createElementVNode("div", _hoisted_85, [
29228
+ createElementVNode("div", _hoisted_84, [
29223
29229
  createElementVNode("div", {
29224
29230
  class: normalizeClass([
29225
29231
  "flex",
@@ -29232,11 +29238,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29232
29238
  i2.id == $setup.setOfBookId ? (openBlock(), createBlock(_component_check_circle_outlined, {
29233
29239
  key: 0,
29234
29240
  class: "mediumTitleTS mr-[10px]"
29235
- })) : (openBlock(), createElementBlock("div", _hoisted_86)),
29241
+ })) : (openBlock(), createElementBlock("div", _hoisted_85)),
29236
29242
  createTextVNode(" " + toDisplayString(i2.shortName), 1)
29237
29243
  ], 2)
29238
29244
  ])
29239
- ], 8, _hoisted_84);
29245
+ ], 8, _hoisted_83);
29240
29246
  }), 128))
29241
29247
  ])
29242
29248
  ]),
@@ -29244,7 +29250,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29244
29250
  }, 8, ["show"])
29245
29251
  ], 64);
29246
29252
  }
29247
- const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-36431e75"]]);
29253
+ const TSider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-73a30b36"]]);
29248
29254
  const components = [TSider];
29249
29255
  installComponents();
29250
29256
  function installComponents() {