tx-sider 2.1.43 → 2.1.45

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