@witlink/usercenter 1.2.57 → 1.2.59

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.
@@ -1,4 +1,4 @@
1
- import './assets/main.b52ada7b.css';var __defProp = Object.defineProperty;
1
+ import './assets/main.b5420456.css';var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -32121,19 +32121,22 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
32121
32121
  }
32122
32122
  };
32123
32123
  const handleAddMenu = async (row = null) => {
32124
+ var _a;
32124
32125
  let rowData = null;
32125
32126
  if (!row) {
32126
32127
  const { result } = await getFunctionsInsertLoad({
32127
32128
  systemId: selectedSys.value,
32128
32129
  isoCode: userStore.userLanguage
32129
32130
  });
32131
+ const { options } = result;
32132
+ const selectFirstValue = ((_a = options[0]) == null ? void 0 : _a.value) || "";
32130
32133
  rowData = {
32131
32134
  ...result,
32132
32135
  parentId: null,
32133
32136
  funName: "",
32134
32137
  image: "",
32135
32138
  url: "",
32136
- selects: []
32139
+ selects: selectFirstValue ? [selectFirstValue] : []
32137
32140
  };
32138
32141
  } else {
32139
32142
  const { result } = await getFunctionsUpdateLoad({
@@ -35084,7 +35087,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
35084
35087
  key: 1,
35085
35088
  value: formState.value.roleName,
35086
35089
  "onUpdate:value": _cache[3] || (_cache[3] = ($event) => formState.value.roleName = $event),
35087
- placeholder: _ctx.$t("uc_common.plsEnter")
35090
+ placeholder: _ctx.$t("uc_common.plsEnter"),
35091
+ maxlength: 120
35088
35092
  }, null, 8, ["value", "placeholder"]))
35089
35093
  ]),
35090
35094
  _: 1
@@ -35707,7 +35711,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
35707
35711
  createVNode(_component_a_input, {
35708
35712
  placeholder: _ctx.$t("uc_common.plsEnter"),
35709
35713
  value: form.value.userCode,
35710
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.value.userCode = $event)
35714
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.value.userCode = $event),
35715
+ maxlength: 64
35711
35716
  }, null, 8, ["placeholder", "value"])
35712
35717
  ]),
35713
35718
  _: 1
@@ -35730,7 +35735,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
35730
35735
  createVNode(_component_a_input, {
35731
35736
  placeholder: _ctx.$t("uc_common.plsEnter"),
35732
35737
  value: form.value.userName,
35733
- "onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.value.userName = $event)
35738
+ "onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.value.userName = $event),
35739
+ maxlength: 64
35734
35740
  }, null, 8, ["placeholder", "value"])
35735
35741
  ]),
35736
35742
  _: 1
@@ -37998,11 +38004,12 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
37998
38004
  const resetPwdModalRef = ref();
37999
38005
  const showUserEditDrawer = ref(false);
38000
38006
  const loadData = async (parameter) => {
38007
+ var _a, _b;
38001
38008
  const params = {
38002
38009
  ...parameter,
38003
38010
  ...queryParam,
38004
- roleId: queryParam.roleId[0],
38005
- branchId: queryParam.branchId.length ? queryParam.branchId[queryParam.branchId.length - 1] : []
38011
+ roleId: ((_a = queryParam.roleId) == null ? void 0 : _a.length) ? queryParam.roleId[0] : void 0,
38012
+ branchId: ((_b = queryParam.branchId) == null ? void 0 : _b.length) ? queryParam.branchId[queryParam.branchId.length - 1] : []
38006
38013
  };
38007
38014
  const { result } = await getSearchList(params);
38008
38015
  return result;
@@ -38408,14 +38415,6 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
38408
38415
  type: "",
38409
38416
  title: ""
38410
38417
  });
38411
- const initData1 = async () => {
38412
- loading.value = true;
38413
- await getOrganSearchLevel({
38414
- id: params.id,
38415
- type: params.type
38416
- });
38417
- loading.value = false;
38418
- };
38419
38418
  const showModal = (data2) => {
38420
38419
  Object.assign(form, {
38421
38420
  userName: "",
@@ -38429,11 +38428,6 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
38429
38428
  userCode: ""
38430
38429
  });
38431
38430
  Object.assign(params, data2);
38432
- if (data2.opType == "2")
38433
- ;
38434
- else {
38435
- initData1();
38436
- }
38437
38431
  visible.value = true;
38438
38432
  change.value = true;
38439
38433
  btnClass.value = "sendBtn";
@@ -38502,23 +38496,6 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
38502
38496
  __expose({
38503
38497
  showModal
38504
38498
  });
38505
- reactive({
38506
- password: "",
38507
- email: "",
38508
- verificationCode: ""
38509
- });
38510
- reactive({
38511
- pwd: "",
38512
- email: "",
38513
- captcha: ""
38514
- });
38515
- reactive({
38516
- password: "",
38517
- email: "",
38518
- verificationCode: ""
38519
- });
38520
- ref(false);
38521
- ref(60);
38522
38499
  const pwdStrength = ref(0);
38523
38500
  const mobileRules = reactive({
38524
38501
  pwd: [
@@ -38597,16 +38574,12 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
38597
38574
  }
38598
38575
  }).then((result) => {
38599
38576
  if (result) {
38600
- message.success(t2("uc_profile.changeEmailSucc"));
38577
+ message.success(t2("uc_profile.sendEmailSucc"));
38601
38578
  }
38602
38579
  });
38603
38580
  }
38604
38581
  }
38605
38582
  };
38606
- onMounted(() => {
38607
- return () => {
38608
- };
38609
- });
38610
38583
  return (_ctx, _cache) => {
38611
38584
  const _component_a_button = Button$1;
38612
38585
  const _component_a_input = Input;
@@ -38781,8 +38754,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
38781
38754
  style: { "flex": "1" }
38782
38755
  }, {
38783
38756
  default: withCtx(() => [
38784
- createCommentVNode(" {{ countingDown ? `${countDownSeconds}s\u540E\u91CD\u65B0\u83B7\u53D6` : '\u83B7\u53D6\u9A8C\u8BC1\u7801' }} "),
38785
- createTextVNode(" " + toDisplayString(change.value ? _ctx.$t("uc_personal_center.get_verify_code") : secondTip.value), 1)
38757
+ createTextVNode(toDisplayString(change.value ? _ctx.$t("uc_personal_center.get_verify_code") : secondTip.value), 1)
38786
38758
  ]),
38787
38759
  _: 1
38788
38760
  }, 8, ["class"])
@@ -39929,7 +39901,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
39929
39901
  const _component_a_upload = Upload;
39930
39902
  const _component_a_modal = Modal$1;
39931
39903
  return openBlock(), createBlock(_component_a_modal, {
39932
- title: _ctx.$t("uc_personal_center.title400"),
39904
+ title: _ctx.$t("uc_profile.changeAvatar"),
39933
39905
  open: visible.value,
39934
39906
  "onUpdate:open": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
39935
39907
  maskClosable: false,
@@ -40081,30 +40053,30 @@ const _hoisted_14$1 = {
40081
40053
  };
40082
40054
  const _hoisted_15$1 = { class: "info-item" };
40083
40055
  const _hoisted_16$1 = { class: "info-label" };
40084
- const _hoisted_17$1 = { class: "info-value" };
40056
+ const _hoisted_17$1 = ["title"];
40085
40057
  const _hoisted_18 = { class: "info-item" };
40086
40058
  const _hoisted_19 = { class: "info-label" };
40087
- const _hoisted_20 = { class: "info-value" };
40059
+ const _hoisted_20 = ["title"];
40088
40060
  const _hoisted_21 = { class: "info-item" };
40089
40061
  const _hoisted_22 = { class: "info-label" };
40090
- const _hoisted_23 = { class: "info-value" };
40062
+ const _hoisted_23 = ["title"];
40091
40063
  const _hoisted_24 = {
40092
40064
  class: "tenant-info-container",
40093
40065
  style: { "margin-bottom": "8px" }
40094
40066
  };
40095
40067
  const _hoisted_25 = { class: "info-item" };
40096
40068
  const _hoisted_26 = { class: "info-label" };
40097
- const _hoisted_27 = { class: "info-value" };
40069
+ const _hoisted_27 = ["title"];
40098
40070
  const _hoisted_28 = { class: "info-item" };
40099
40071
  const _hoisted_29 = { class: "info-label" };
40100
- const _hoisted_30 = { class: "info-value" };
40072
+ const _hoisted_30 = ["title"];
40101
40073
  const _hoisted_31 = { class: "info-item" };
40102
40074
  const _hoisted_32 = { class: "info-label" };
40103
- const _hoisted_33 = { class: "info-value" };
40075
+ const _hoisted_33 = ["title"];
40104
40076
  const _hoisted_34 = { class: "tenant-info-container" };
40105
40077
  const _hoisted_35 = { class: "info-item" };
40106
40078
  const _hoisted_36 = { class: "info-label" };
40107
- const _hoisted_37 = { class: "info-value" };
40079
+ const _hoisted_37 = ["title"];
40108
40080
  const _hoisted_38 = { class: "content2" };
40109
40081
  const _hoisted_39 = {
40110
40082
  class: "wrapper",
@@ -40387,47 +40359,68 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
40387
40359
  createCommentVNode(" \u79DF\u6237ID "),
40388
40360
  createElementVNode("div", _hoisted_15$1, [
40389
40361
  createElementVNode("div", _hoisted_16$1, toDisplayString(_ctx.$t("uc_profile.orgID")), 1),
40390
- createElementVNode("div", _hoisted_17$1, toDisplayString(userInfo.value.orgId), 1)
40362
+ createElementVNode("div", {
40363
+ class: "info-value",
40364
+ title: userInfo.value.orgId
40365
+ }, toDisplayString(userInfo.value.orgId), 9, _hoisted_17$1)
40391
40366
  ]),
40392
40367
  createCommentVNode(" \u79DF\u6237\u540D\u79F0 "),
40393
40368
  createElementVNode("div", _hoisted_18, [
40394
40369
  createElementVNode("div", _hoisted_19, toDisplayString(_ctx.$t("uc_profile.orgName")), 1),
40395
- createElementVNode("div", _hoisted_20, toDisplayString(userInfo.value.orgName), 1)
40370
+ createElementVNode("div", {
40371
+ class: "info-value",
40372
+ title: userInfo.value.orgName
40373
+ }, toDisplayString(userInfo.value.orgName), 9, _hoisted_20)
40396
40374
  ]),
40397
40375
  createCommentVNode(" \u79DF\u6237\u6240\u5728\u533A\u57DF "),
40398
40376
  createElementVNode("div", _hoisted_21, [
40399
40377
  createElementVNode("div", _hoisted_22, toDisplayString(_ctx.$t("uc_profile.orgZone")), 1),
40400
- createElementVNode("div", _hoisted_23, toDisplayString(userInfo.value.zoneCode), 1)
40378
+ createElementVNode("div", {
40379
+ class: "info-value",
40380
+ title: userInfo.value.zoneCode
40381
+ }, toDisplayString(userInfo.value.zoneCode), 9, _hoisted_23)
40401
40382
  ])
40402
40383
  ]),
40403
40384
  createElementVNode("div", _hoisted_24, [
40404
40385
  createCommentVNode(" \u7528\u6237\u7F16\u53F7 "),
40405
40386
  createElementVNode("div", _hoisted_25, [
40406
40387
  createElementVNode("div", _hoisted_26, toDisplayString(_ctx.$t("uc_profile.userCode")), 1),
40407
- createElementVNode("div", _hoisted_27, toDisplayString(userInfo.value.userCode), 1)
40388
+ createElementVNode("div", {
40389
+ class: "info-value",
40390
+ title: userInfo.value.userCode
40391
+ }, toDisplayString(userInfo.value.userCode), 9, _hoisted_27)
40408
40392
  ]),
40409
40393
  createCommentVNode(" \u7528\u6237\u540D\u79F0 "),
40410
40394
  createElementVNode("div", _hoisted_28, [
40411
40395
  createElementVNode("div", _hoisted_29, toDisplayString(_ctx.$t("uc_profile.userName")), 1),
40412
- createElementVNode("div", _hoisted_30, [
40396
+ createElementVNode("div", {
40397
+ class: "info-value",
40398
+ title: userInfo.value.userName
40399
+ }, [
40413
40400
  createTextVNode(toDisplayString(userInfo.value.userName) + " ", 1),
40414
40401
  createVNode(unref(EditOutlined), {
40415
40402
  style: { "width": "16px", "height": "16px", "color": "#165dff" },
40416
40403
  onClick: handleEditUserName
40417
40404
  })
40418
- ])
40405
+ ], 8, _hoisted_30)
40419
40406
  ]),
40420
40407
  createCommentVNode(" \u6240\u5728\u673A\u6784 "),
40421
40408
  createElementVNode("div", _hoisted_31, [
40422
40409
  createElementVNode("div", _hoisted_32, toDisplayString(_ctx.$t("uc_profile.deptBelong")), 1),
40423
- createElementVNode("div", _hoisted_33, toDisplayString(userInfo.value.deptId), 1)
40410
+ createElementVNode("div", {
40411
+ class: "info-value",
40412
+ title: userInfo.value.deptId
40413
+ }, toDisplayString(userInfo.value.deptId), 9, _hoisted_33)
40424
40414
  ])
40425
40415
  ]),
40426
40416
  createElementVNode("div", _hoisted_34, [
40427
40417
  createCommentVNode(" \u89D2\u8272 "),
40428
40418
  createElementVNode("div", _hoisted_35, [
40429
40419
  createElementVNode("div", _hoisted_36, toDisplayString(_ctx.$t("uc_profile.role")), 1),
40430
- createElementVNode("div", _hoisted_37, toDisplayString(userInfo.value.role), 1)
40420
+ createElementVNode("div", {
40421
+ class: "info-value",
40422
+ title: userInfo.value.role
40423
+ }, toDisplayString(userInfo.value.role), 9, _hoisted_37)
40431
40424
  ])
40432
40425
  ])
40433
40426
  ]),
@@ -40442,7 +40435,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
40442
40435
  style: normalizeStyle(userInfo.value.mobile ? {} : specialStyles)
40443
40436
  }, toDisplayString(userInfo.value.mobile ? _ctx.$t("uc_profile.hasBanded") : _ctx.$t("uc_profile.waitBand")), 5)
40444
40437
  ]),
40445
- createElementVNode("div", _hoisted_43, toDisplayString(userInfo.value.mobile), 1)
40438
+ createElementVNode("div", _hoisted_43, toDisplayString(userInfo.value.mobile ? userInfo.value.mobile : _ctx.$t("uc_profile.waitBandMobileNote")), 1)
40446
40439
  ]),
40447
40440
  createElementVNode("button", {
40448
40441
  class: "edit-button",
@@ -42648,6 +42641,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
42648
42641
  userCode: ""
42649
42642
  });
42650
42643
  const defaultForm = reactive({});
42644
+ const isEdit = computed(() => props.params.opType == "2");
42651
42645
  const validateMaxUser = (_, value) => {
42652
42646
  if ((value < 1 || value > 99999999) && value) {
42653
42647
  return Promise.reject(t2("uc_org.userMaxNum"));
@@ -43088,6 +43082,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
43088
43082
  style: { "width": "100%" },
43089
43083
  placeholder: _ctx.$t("uc_common.plsEnter"),
43090
43084
  min: 1,
43085
+ max: 99999999,
43091
43086
  value: form.userNum,
43092
43087
  "onUpdate:value": _cache[9] || (_cache[9] = ($event) => form.userNum = $event)
43093
43088
  }, null, 8, ["placeholder", "value"])
@@ -43104,8 +43099,10 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
43104
43099
  name: "equiNum"
43105
43100
  }, {
43106
43101
  default: withCtx(() => [
43107
- createVNode(_component_a_input, {
43102
+ createVNode(_component_a_input_number, {
43108
43103
  placeholder: _ctx.$t("uc_common.plsEnter"),
43104
+ min: 1,
43105
+ max: 99999999,
43109
43106
  value: form.equiNum,
43110
43107
  "onUpdate:value": _cache[10] || (_cache[10] = ($event) => form.equiNum = $event),
43111
43108
  required: ""
@@ -43131,10 +43128,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
43131
43128
  }, {
43132
43129
  default: withCtx(() => [
43133
43130
  createVNode(_component_a_input, {
43131
+ disabled: isEdit.value,
43134
43132
  placeholder: _ctx.$t("uc_common.plsEnter"),
43135
43133
  value: form.mobile,
43136
43134
  "onUpdate:value": _cache[11] || (_cache[11] = ($event) => form.mobile = $event)
43137
- }, null, 8, ["placeholder", "value"])
43135
+ }, null, 8, ["disabled", "placeholder", "value"])
43138
43136
  ]),
43139
43137
  _: 1
43140
43138
  }, 8, ["label"])
@@ -43149,10 +43147,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
43149
43147
  }, {
43150
43148
  default: withCtx(() => [
43151
43149
  createVNode(_component_a_input, {
43150
+ disabled: isEdit.value,
43152
43151
  placeholder: _ctx.$t("uc_common.plsEnter"),
43153
43152
  value: form.email,
43154
43153
  "onUpdate:value": _cache[12] || (_cache[12] = ($event) => form.email = $event)
43155
- }, null, 8, ["placeholder", "value"])
43154
+ }, null, 8, ["disabled", "placeholder", "value"])
43156
43155
  ]),
43157
43156
  _: 1
43158
43157
  }, 8, ["label"])
@@ -43176,9 +43175,10 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
43176
43175
  default: withCtx(() => [
43177
43176
  createVNode(_component_a_input, {
43178
43177
  placeholder: _ctx.$t("uc_common.plsEnter"),
43178
+ disabled: isEdit.value,
43179
43179
  value: form.userCode,
43180
43180
  "onUpdate:value": _cache[13] || (_cache[13] = ($event) => form.userCode = $event)
43181
- }, null, 8, ["placeholder", "value"])
43181
+ }, null, 8, ["placeholder", "disabled", "value"])
43182
43182
  ]),
43183
43183
  _: 1
43184
43184
  }, 8, ["label"])
@@ -43282,7 +43282,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
43282
43282
  }
43283
43283
  });
43284
43284
  const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "D:/inhe-code/usercenter-web-test/witlink-platform-usercenter-web/witlink-usercenter/src/components/DictLabel.vue"]]);
43285
- const _hoisted_1$3 = { class: "add-menu" };
43285
+ const _hoisted_1$3 = { class: "add-org" };
43286
43286
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
43287
43287
  __name: "OrgDetail",
43288
43288
  props: {
@@ -43714,60 +43714,58 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
43714
43714
  default: withCtx(() => [
43715
43715
  createElementVNode("div", _hoisted_1$2, [
43716
43716
  withDirectives(createElementVNode("div", _hoisted_2$1, [
43717
- createElementVNode("div", null, [
43718
- createVNode(_component_a_form, {
43719
- model: queryParam,
43720
- layout: "vertical",
43721
- class: "query-form"
43722
- }, {
43723
- default: withCtx(() => [
43724
- createVNode(_component_a_form_item, {
43725
- name: "orgName",
43726
- label: _ctx.$t("uc_org.orgName")
43727
- }, {
43728
- default: withCtx(() => [
43729
- createVNode(_component_a_input, {
43730
- placeholder: _ctx.$t("uc_common.plsSearch"),
43731
- value: queryParam.orgName,
43732
- "onUpdate:value": _cache[0] || (_cache[0] = ($event) => queryParam.orgName = $event),
43733
- allowClear: ""
43734
- }, null, 8, ["placeholder", "value"])
43735
- ]),
43736
- _: 1
43737
- }, 8, ["label"]),
43738
- createVNode(_component_a_form_item, {
43739
- name: "orgStatus",
43740
- label: _ctx.$t("uc_org.status")
43717
+ createVNode(_component_a_form, {
43718
+ model: queryParam,
43719
+ layout: "vertical",
43720
+ class: "query-form"
43721
+ }, {
43722
+ default: withCtx(() => [
43723
+ createVNode(_component_a_form_item, {
43724
+ name: "orgName",
43725
+ label: _ctx.$t("uc_org.orgName")
43726
+ }, {
43727
+ default: withCtx(() => [
43728
+ createVNode(_component_a_input, {
43729
+ placeholder: _ctx.$t("uc_common.plsSearch"),
43730
+ value: queryParam.orgName,
43731
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => queryParam.orgName = $event),
43732
+ allowClear: ""
43733
+ }, null, 8, ["placeholder", "value"])
43734
+ ]),
43735
+ _: 1
43736
+ }, 8, ["label"]),
43737
+ createVNode(_component_a_form_item, {
43738
+ name: "orgStatus",
43739
+ label: _ctx.$t("uc_org.status")
43740
+ }, {
43741
+ default: withCtx(() => [
43742
+ createVNode(DictSelect, {
43743
+ value: queryParam.orgStatus,
43744
+ "onUpdate:value": _cache[1] || (_cache[1] = ($event) => queryParam.orgStatus = $event),
43745
+ dictType: "CMS_STATUS"
43746
+ }, null, 8, ["value"])
43747
+ ]),
43748
+ _: 1
43749
+ }, 8, ["label"]),
43750
+ createElementVNode("div", _hoisted_3$1, [
43751
+ createVNode(_component_uc_btn_search, {
43752
+ onClick: handleRefreshTable,
43753
+ isWidth: true,
43754
+ showInput: false
43755
+ }),
43756
+ createVNode(_component_a_button, {
43757
+ onClick: onReset,
43758
+ style: { "margin-left": "8px" }
43741
43759
  }, {
43742
43760
  default: withCtx(() => [
43743
- createVNode(DictSelect, {
43744
- value: queryParam.orgStatus,
43745
- "onUpdate:value": _cache[1] || (_cache[1] = ($event) => queryParam.orgStatus = $event),
43746
- dictType: "CMS_STATUS"
43747
- }, null, 8, ["value"])
43761
+ createTextVNode(toDisplayString(_ctx.$t("uc_common.btnReset")), 1)
43748
43762
  ]),
43749
43763
  _: 1
43750
- }, 8, ["label"]),
43751
- createElementVNode("div", _hoisted_3$1, [
43752
- createVNode(_component_uc_btn_search, {
43753
- onClick: handleRefreshTable,
43754
- isWidth: true,
43755
- showInput: false
43756
- }),
43757
- createVNode(_component_a_button, {
43758
- onClick: onReset,
43759
- style: { "margin-left": "8px" }
43760
- }, {
43761
- default: withCtx(() => [
43762
- createTextVNode(toDisplayString(_ctx.$t("uc_common.btnReset")), 1)
43763
- ]),
43764
- _: 1
43765
- })
43766
- ])
43767
- ]),
43768
- _: 1
43769
- }, 8, ["model"])
43770
- ]),
43764
+ })
43765
+ ])
43766
+ ]),
43767
+ _: 1
43768
+ }, 8, ["model"]),
43771
43769
  createElementVNode("div", _hoisted_4$1, [
43772
43770
  createVNode(_component_uc_btn_add, {
43773
43771
  onClick: onAdd,
@@ -43800,10 +43798,10 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
43800
43798
  defaultValue: record.cdate
43801
43799
  }, null, 8, ["defaultValue"])) : createCommentVNode("v-if", true),
43802
43800
  column.key === "userId" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
43803
- createTextVNode(toDisplayString(record.sysUser.userId), 1)
43801
+ createTextVNode(toDisplayString(record.sysUser.userCode || "-"), 1)
43804
43802
  ], 64)) : createCommentVNode("v-if", true),
43805
43803
  column.key === "mobile" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
43806
- createTextVNode(toDisplayString(record.sysUser.mobile), 1)
43804
+ createTextVNode(toDisplayString(record.sysUser.mobile || "-"), 1)
43807
43805
  ], 64)) : createCommentVNode("v-if", true),
43808
43806
  column.key === "orgStatus" ? (openBlock(), createBlock(_component_a_switch, {
43809
43807
  key: 4,
@@ -43818,8 +43816,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
43818
43816
  createVNode(_component_a_divider, { type: "vertical" }),
43819
43817
  createVNode(_component_uc_btn_reset_pwd, {
43820
43818
  onClick: ($event) => onRsPwd(record),
43821
- type: "link"
43822
- }, null, 8, ["onClick"]),
43819
+ type: "link",
43820
+ text: _ctx.$t("uc_org.resetPwd")
43821
+ }, null, 8, ["onClick", "text"]),
43823
43822
  createVNode(_component_a_divider, { type: "vertical" }),
43824
43823
  createVNode(_component_uc_btn_remove, {
43825
43824
  onClick: ($event) => onDelete(record),
@@ -43916,12 +43915,18 @@ const _sfc_main$b = {
43916
43915
  maxLoginTime: 1440
43917
43916
  });
43918
43917
  const validatePwdLimit = (_, value) => {
43918
+ if (value == null) {
43919
+ return Promise.reject(t2("uc_param.pwdLimitNotNull"));
43920
+ }
43919
43921
  if ((value < 1 || value > 99999) && value) {
43920
43922
  return Promise.reject(t2("uc_param.pwdLimitVerify"));
43921
43923
  }
43922
43924
  return Promise.resolve();
43923
43925
  };
43924
43926
  const validateLoginLimit = (_, value) => {
43927
+ if (value == null) {
43928
+ return Promise.reject(t2("uc_param.loginLimitNotNull"));
43929
+ }
43925
43930
  if ((value < 1 || value > 43200) && value) {
43926
43931
  return Promise.reject(t2("uc_param.loginLimitVerify"));
43927
43932
  }
@@ -44066,8 +44071,11 @@ const _sfc_main$b = {
44066
44071
  createVNode(_component_a_form_item, {
44067
44072
  name: "passwordExpiry",
44068
44073
  rules: [
44069
- { required: true, message: unref(t2)("uc_param.pwdLimitVerify"), trigger: ["blur", "change"] },
44070
- { validator: validatePwdLimit, trigger: ["blur", "change"] }
44074
+ {
44075
+ required: true,
44076
+ validator: validatePwdLimit,
44077
+ trigger: ["blur", "change"]
44078
+ }
44071
44079
  ]
44072
44080
  }, {
44073
44081
  label: withCtx(() => [
@@ -44080,6 +44088,7 @@ const _sfc_main$b = {
44080
44088
  value: securityForm.passwordExpiry,
44081
44089
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => securityForm.passwordExpiry = $event),
44082
44090
  min: 1,
44091
+ max: 99999,
44083
44092
  style: { "width": "100px" }
44084
44093
  }, null, 8, ["value"])) : (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString(securityForm.passwordExpiry), 1)),
44085
44094
  createElementVNode("span", _hoisted_13, toDisplayString(_ctx.$t("uc_param.day")), 1)
@@ -44132,8 +44141,11 @@ const _sfc_main$b = {
44132
44141
  createVNode(_component_a_form_item, {
44133
44142
  name: "maxLoginTime",
44134
44143
  rules: [
44135
- { required: true, message: unref(t2)("uc_param.loginLimitVerify"), trigger: ["blur", "change"] },
44136
- { validator: validateLoginLimit, trigger: ["blur", "change"] }
44144
+ {
44145
+ required: true,
44146
+ validator: validateLoginLimit,
44147
+ trigger: ["blur", "change"]
44148
+ }
44137
44149
  ]
44138
44150
  }, {
44139
44151
  label: withCtx(() => [
@@ -44146,6 +44158,7 @@ const _sfc_main$b = {
44146
44158
  value: securityForm.maxLoginTime,
44147
44159
  "onUpdate:value": _cache[3] || (_cache[3] = ($event) => securityForm.maxLoginTime = $event),
44148
44160
  min: 1,
44161
+ max: 43200,
44149
44162
  style: { "width": "100px" }
44150
44163
  }, null, 8, ["value"])) : (openBlock(), createElementBlock("span", _hoisted_16, toDisplayString(securityForm.maxLoginTime), 1)),
44151
44164
  createElementVNode("span", _hoisted_17, toDisplayString(_ctx.$t("uc_param.minute")), 1)