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