@witlink/usercenter 1.2.44 → 1.2.46

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.
@@ -8,6 +8,7 @@ import { useI18n } from "vue-i18n";
8
8
  import { defineStore, createPinia } from "pinia";
9
9
  import Axios from "axios";
10
10
  import { notification, message, Modal } from "ant-design-vue";
11
+ import { getUserInfo as getUserInfo$1, hasPermission } from "@witlink/components/utils";
11
12
  import en_US from "ant-design-vue/es/locale/en_US";
12
13
  import zh_CN from "ant-design-vue/es/locale/zh_CN";
13
14
  import fr_FR from "ant-design-vue/es/locale/fr_FR";
@@ -352,64 +353,6 @@ const useUserStore = defineStore({
352
353
  }
353
354
  }
354
355
  });
355
- const U$1 = "", m = "userInfo", g = "menuInfo";
356
- function E$1(t) {
357
- const e = new URL(t);
358
- return e.hash && e.hash.startsWith("#/") ? `/${e.hash.substring(2).split("?")[0]}`.replace(/\/+/g, "/") : e.pathname;
359
- }
360
- function I(t, e = {}) {
361
- const o = Array.isArray(t) ? t : [t];
362
- for (const n of o) {
363
- if (n.path && n.name !== void 0) {
364
- const s2 = n.path.startsWith("/") ? n.path : `/${n.path}`;
365
- e[s2] = n.name.toString();
366
- }
367
- n.children && n.children.length > 0 && I(n.children, e);
368
- }
369
- return e;
370
- }
371
- function r$1(t) {
372
- return U$1 + t;
373
- }
374
- function S(t) {
375
- const e = localStorage.getItem(r$1(m));
376
- if (t) {
377
- if (typeof t == "string")
378
- return (e ? JSON.parse(e) : {})[t] || null;
379
- if (Array.isArray(t)) {
380
- const o = e ? JSON.parse(e) : {}, n = {};
381
- return t.forEach((s2) => {
382
- n[s2] = o[s2] || null;
383
- }), n;
384
- }
385
- }
386
- return e ? JSON.parse(e) : null;
387
- }
388
- function O() {
389
- const t = localStorage.getItem(r$1(g));
390
- return t ? JSON.parse(t) : null;
391
- }
392
- const u = {}, c = {};
393
- function N$1() {
394
- if (Object.keys(u).length === 0) {
395
- const t = O() || [];
396
- I(t, u);
397
- }
398
- return u;
399
- }
400
- function d() {
401
- return Object.keys(c).length === 0 && ((S() || {}).role.permissions || []).forEach((o) => {
402
- var n;
403
- if (o.actionEntitySet != null && ((n = o.actionEntitySet) == null ? void 0 : n.length) > 0) {
404
- const s2 = o.actionEntitySet.map((a) => a.action);
405
- c[o.permissionId] = s2;
406
- }
407
- }), c;
408
- }
409
- function _(t) {
410
- const e = d(), o = E$1(window.location.href), s2 = N$1()[o] || "";
411
- return (e[s2] || []).includes(t);
412
- }
413
356
  createPinia();
414
357
  function changeTheme$1(options) {
415
358
  document.documentElement.style.setProperty(
@@ -618,7 +561,7 @@ const _sfc_main$Z = Object.assign({
618
561
  current: 1,
619
562
  pageSize: 10,
620
563
  total: 0,
621
- showTotal: (total) => `${t("table.tips4")} ${total} ${t("table.tips5")}`,
564
+ showTotal: (total) => `${t("uc_table.tips4")} ${total} ${t("uc_table.tips5")}`,
622
565
  showSizeChanger: true,
623
566
  showQuickJumper: false,
624
567
  onChange: (current, size) => {
@@ -865,7 +808,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
865
808
  value: currValue.value,
866
809
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => currValue.value = $event),
867
810
  getPopupContainer: (triggerNode) => triggerNode.parentNode,
868
- placeholder: __props.placeholder !== "" ? __props.placeholder : _ctx.$t("dict.pbl_select"),
811
+ placeholder: __props.placeholder !== "" ? __props.placeholder : _ctx.$t("uc_dict.pbl_select"),
869
812
  mode: __props.mode,
870
813
  onChange,
871
814
  disabled: __props.disabled,
@@ -1107,21 +1050,21 @@ const _sfc_main$V = {
1107
1050
  };
1108
1051
  const loading = ref(false);
1109
1052
  const rules = {
1110
- funName: [{ required: true, message: t("fun.fun_name_msg1") }],
1053
+ funName: [{ required: true, message: t("uc_fun.fun_name_msg1") }],
1111
1054
  isPublic: [
1112
1055
  {
1113
1056
  required: true,
1114
- message: t("fun.is_public_msg1"),
1057
+ message: t("uc_fun.is_public_msg1"),
1115
1058
  validator: (rule, value) => {
1116
1059
  if (value && value[0]) {
1117
1060
  return Promise.resolve();
1118
1061
  } else {
1119
- return Promise.reject(t("fun.is_public_msg1"));
1062
+ return Promise.reject(t("uc_fun.is_public_msg1"));
1120
1063
  }
1121
1064
  }
1122
1065
  }
1123
1066
  ],
1124
- url: [{ required: true, message: t("fun.fun_name_msg1") }]
1067
+ url: [{ required: true, message: t("uc_fun.fun_name_msg1") }]
1125
1068
  };
1126
1069
  const initData = async () => {
1127
1070
  loading.value = true;
@@ -1199,11 +1142,11 @@ const _sfc_main$V = {
1199
1142
  }, {
1200
1143
  default: withCtx(() => [
1201
1144
  createVNode(_component_a_form_item, mergeProps({
1202
- label: _ctx.$t("fun.fun_name")
1145
+ label: _ctx.$t("uc_fun.fun_name")
1203
1146
  }, formItemLayout, { name: "funName" }), {
1204
1147
  default: withCtx(() => [
1205
1148
  createVNode(_component_a_input, {
1206
- placeholder: _ctx.$t("fun.fun_name_placeholder"),
1149
+ placeholder: _ctx.$t("uc_fun.fun_name_placeholder"),
1207
1150
  value: form.funName,
1208
1151
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.funName = $event)
1209
1152
  }, null, 8, ["placeholder", "value"])
@@ -1211,11 +1154,11 @@ const _sfc_main$V = {
1211
1154
  _: 1
1212
1155
  }, 16, ["label"]),
1213
1156
  createVNode(_component_a_form_item, mergeProps({
1214
- label: _ctx.$t("fun.image")
1157
+ label: _ctx.$t("uc_fun.image")
1215
1158
  }, formItemLayout, { name: "image" }), {
1216
1159
  default: withCtx(() => [
1217
1160
  createVNode(_component_a_input, {
1218
- placeholder: _ctx.$t("fun.image_placeholder"),
1161
+ placeholder: _ctx.$t("uc_fun.image_placeholder"),
1219
1162
  value: form.image,
1220
1163
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.image = $event)
1221
1164
  }, null, 8, ["placeholder", "value"])
@@ -1223,7 +1166,7 @@ const _sfc_main$V = {
1223
1166
  _: 1
1224
1167
  }, 16, ["label"]),
1225
1168
  createVNode(_component_a_form_item, mergeProps({
1226
- label: _ctx.$t("fun.is_public")
1169
+ label: _ctx.$t("uc_fun.is_public")
1227
1170
  }, formItemLayout, { name: "isPublic" }), {
1228
1171
  default: withCtx(() => [
1229
1172
  createVNode(DictEx, {
@@ -1236,7 +1179,7 @@ const _sfc_main$V = {
1236
1179
  _: 1
1237
1180
  }, 16, ["label"]),
1238
1181
  createVNode(_component_a_form_item, mergeProps({
1239
- label: _ctx.$t("fun.layout")
1182
+ label: _ctx.$t("uc_fun.layout")
1240
1183
  }, formItemLayout, { name: "layout" }), {
1241
1184
  default: withCtx(() => [
1242
1185
  createVNode(DictEx, {
@@ -1249,11 +1192,11 @@ const _sfc_main$V = {
1249
1192
  _: 1
1250
1193
  }, 16, ["label"]),
1251
1194
  createVNode(_component_a_form_item, mergeProps({
1252
- label: _ctx.$t("fun.url")
1195
+ label: _ctx.$t("uc_fun.url")
1253
1196
  }, formItemLayout, { name: "url" }), {
1254
1197
  default: withCtx(() => [
1255
1198
  createVNode(_component_a_input, {
1256
- placeholder: _ctx.$t("fun.url_placeholder"),
1199
+ placeholder: _ctx.$t("uc_fun.url_placeholder"),
1257
1200
  value: form.url,
1258
1201
  "onUpdate:value": _cache[4] || (_cache[4] = ($event) => form.url = $event)
1259
1202
  }, null, 8, ["placeholder", "value"])
@@ -1261,7 +1204,7 @@ const _sfc_main$V = {
1261
1204
  _: 1
1262
1205
  }, 16, ["label"]),
1263
1206
  createVNode(_component_a_form_item, mergeProps({
1264
- label: _ctx.$t("fun.actions")
1207
+ label: _ctx.$t("uc_fun.actions")
1265
1208
  }, formItemLayout), {
1266
1209
  default: withCtx(() => [
1267
1210
  createVNode(_component_a_checkbox_group, {
@@ -1346,7 +1289,7 @@ function useInitUserinfo() {
1346
1289
  var _a;
1347
1290
  const userStore = useUserStore();
1348
1291
  if (((_a = userStore.roles) == null ? void 0 : _a.length) === 0) {
1349
- const userInfo = S();
1292
+ const userInfo = getUserInfo$1();
1350
1293
  if (userInfo) {
1351
1294
  userStore.setUserInfo(userInfo);
1352
1295
  } else {
@@ -1425,20 +1368,20 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
1425
1368
  key: "index1"
1426
1369
  },
1427
1370
  {
1428
- title: t("fun.fun_name"),
1371
+ title: t("uc_fun.fun_name"),
1429
1372
  dataIndex: "funName",
1430
1373
  width: "150px",
1431
1374
  key: "funName"
1432
1375
  },
1433
1376
  {
1434
- title: t("fun.url"),
1377
+ title: t("uc_fun.url"),
1435
1378
  dataIndex: "url",
1436
1379
  width: "150px",
1437
1380
  maxWidth: "250px",
1438
1381
  key: "url"
1439
1382
  },
1440
1383
  {
1441
- title: t("fun.is_public"),
1384
+ title: t("uc_fun.is_public"),
1442
1385
  dataIndex: "isPublic",
1443
1386
  width: "150px",
1444
1387
  key: "isPublic",
@@ -1447,19 +1390,19 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
1447
1390
  }
1448
1391
  },
1449
1392
  {
1450
- title: t("fun.status"),
1393
+ title: t("uc_fun.status"),
1451
1394
  dataIndex: "status",
1452
1395
  width: "150px",
1453
1396
  key: "status"
1454
1397
  },
1455
1398
  {
1456
- title: t("fun.image"),
1399
+ title: t("uc_fun.image"),
1457
1400
  dataIndex: "image",
1458
1401
  width: "150px",
1459
1402
  key: "image"
1460
1403
  },
1461
1404
  {
1462
- title: t("fun.layout"),
1405
+ title: t("uc_fun.layout"),
1463
1406
  dataIndex: "layout",
1464
1407
  width: "150px",
1465
1408
  key: "layout",
@@ -1468,7 +1411,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
1468
1411
  }
1469
1412
  },
1470
1413
  {
1471
- title: t("fun.action"),
1414
+ title: t("uc_fun.action"),
1472
1415
  key: "action",
1473
1416
  fixed: "right",
1474
1417
  width: "120px"
@@ -1503,14 +1446,14 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
1503
1446
  const onDelete = (record) => {
1504
1447
  setFunctionsDelete({ code: record.code, systemId: record.systemId }).then(
1505
1448
  () => {
1506
- message.success(t("assetclass.del_success"));
1449
+ message.success(t("uc_assetclass.del_success"));
1507
1450
  funTreeRef.value.reload("init-tree");
1508
1451
  handleRefreshTable();
1509
1452
  }
1510
1453
  );
1511
1454
  };
1512
1455
  const warningInfo = computed(() => {
1513
- return t("fun.addmsg1");
1456
+ return t("uc_fun.addmsg1");
1514
1457
  });
1515
1458
  const onAdd = () => {
1516
1459
  if (curSystemId.value === "init") {
@@ -1520,7 +1463,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
1520
1463
  title: h(
1521
1464
  "div",
1522
1465
  { style: "font-weight: 400;padding-top: 20px;" },
1523
- t("fun.addmsg2")
1466
+ t("uc_fun.addmsg2")
1524
1467
  ),
1525
1468
  icon: h(CloseCircleOutlined, { style: "color:red" })
1526
1469
  });
@@ -1590,7 +1533,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
1590
1533
  class: "left-col"
1591
1534
  }, {
1592
1535
  default: withCtx(() => [
1593
- createElementVNode("div", _hoisted_2$i, toDisplayString(_ctx.$t("fun.tree_title")), 1),
1536
+ createElementVNode("div", _hoisted_2$i, toDisplayString(_ctx.$t("uc_fun.tree_title")), 1),
1594
1537
  createElementVNode("div", _hoisted_3$g, [
1595
1538
  createVNode(FunTree, {
1596
1539
  onSelect,
@@ -1613,7 +1556,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
1613
1556
  default: withCtx(() => [
1614
1557
  createVNode(_component_uc_btn_add, {
1615
1558
  onClick: onAdd,
1616
- text: _ctx.$t("fun.addmenu")
1559
+ text: _ctx.$t("uc_fun.addmenu")
1617
1560
  }, null, 8, ["text"])
1618
1561
  ]),
1619
1562
  _: 1
@@ -1653,7 +1596,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
1653
1596
  type: "a"
1654
1597
  }, null, 8, ["onClick"]),
1655
1598
  createVNode(_component_a_tooltip, {
1656
- title: _ctx.$t("fun.msg1")
1599
+ title: _ctx.$t("uc_fun.msg1")
1657
1600
  }, {
1658
1601
  default: withCtx(() => [
1659
1602
  createVNode(_component_a_divider, { type: "vertical" }),
@@ -1705,8 +1648,8 @@ const index_vue_vue_type_style_index_0_scoped_04710d5f_lang = "";
1705
1648
  const index$8 = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-04710d5f"], ["__file", "D:/inhe-code/1.0.6-js/1.0.6_refactor/witlink-platform-usercenter-web/witlink-usercenter/src/views/sys/functions/index.vue"]]);
1706
1649
  function usePermissionId() {
1707
1650
  const hasPermissionId = (id) => {
1708
- const hasPermission = _(id);
1709
- return hasPermission;
1651
+ const hasPermission$1 = hasPermission(id);
1652
+ return hasPermission$1;
1710
1653
  };
1711
1654
  return { hasPermissionId };
1712
1655
  }
@@ -1917,7 +1860,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1917
1860
  loading.value = false;
1918
1861
  if ((result == null ? void 0 : result.code) == 0) {
1919
1862
  message.success(
1920
- `${form.name} ${params.opType == "1" ? t("organ.ins_successtip") : t("organ.up_successtip")}`,
1863
+ `${form.name} ${params.opType == "1" ? t("uc_organ.ins_successtip") : t("uc_organ.up_successtip")}`,
1921
1864
  5
1922
1865
  );
1923
1866
  emit("ok", params);
@@ -1940,7 +1883,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1940
1883
  createVNode(_component_a_modal, {
1941
1884
  class: "modal",
1942
1885
  width: 620,
1943
- title: _ctx.$t("organ.dept" + params.opType),
1886
+ title: _ctx.$t("uc_organ.dept" + params.opType),
1944
1887
  open: visible.value,
1945
1888
  "onUpdate:open": _cache[4] || (_cache[4] = ($event) => visible.value = $event),
1946
1889
  onCancel,
@@ -1977,12 +1920,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1977
1920
  }, {
1978
1921
  default: withCtx(() => [
1979
1922
  createVNode(_component_a_form_item, {
1980
- label: _ctx.$t("organ.parentBranch"),
1923
+ label: _ctx.$t("uc_organ.parentBranch"),
1981
1924
  name: "parentBranch"
1982
1925
  }, {
1983
1926
  default: withCtx(() => [
1984
1927
  createVNode(_component_a_textarea, {
1985
- placeholder: _ctx.$t("organ.parentBranch"),
1928
+ placeholder: _ctx.$t("uc_organ.parentBranch"),
1986
1929
  maxLength: 256,
1987
1930
  disabled: "",
1988
1931
  value: form.parentBranch,
@@ -1993,12 +1936,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
1993
1936
  _: 1
1994
1937
  }, 8, ["label"]),
1995
1938
  createVNode(_component_a_form_item, {
1996
- label: _ctx.$t("organ.superiorRegion"),
1939
+ label: _ctx.$t("uc_organ.superiorRegion"),
1997
1940
  name: "superiorRegion"
1998
1941
  }, {
1999
1942
  default: withCtx(() => [
2000
1943
  createVNode(_component_a_textarea, {
2001
- placeholder: _ctx.$t("organ.superiorRegion"),
1944
+ placeholder: _ctx.$t("uc_organ.superiorRegion"),
2002
1945
  maxLength: 256,
2003
1946
  disabled: "",
2004
1947
  value: form.parentRegion,
@@ -2009,23 +1952,23 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2009
1952
  _: 1
2010
1953
  }, 8, ["label"]),
2011
1954
  createVNode(_component_a_form_item, {
2012
- label: _ctx.$t("organ.deptName"),
1955
+ label: _ctx.$t("uc_organ.deptName"),
2013
1956
  name: "name",
2014
1957
  required: ""
2015
1958
  }, {
2016
1959
  default: withCtx(() => [
2017
1960
  createVNode(_component_a_input, {
2018
- placeholder: _ctx.$t("organ.deptName"),
1961
+ placeholder: _ctx.$t("uc_organ.deptName"),
2019
1962
  maxLength: 50,
2020
1963
  value: form.name,
2021
1964
  "onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.name = $event),
2022
- rules: [{ required: true, message: _ctx.$t("organ.deptName_msg1") }]
1965
+ rules: [{ required: true, message: _ctx.$t("uc_organ.deptName_msg1") }]
2023
1966
  }, null, 8, ["placeholder", "value", "rules"])
2024
1967
  ]),
2025
1968
  _: 1
2026
1969
  }, 8, ["label"]),
2027
1970
  createVNode(_component_a_form_item, {
2028
- label: _ctx.$t("organ.remarks"),
1971
+ label: _ctx.$t("uc_organ.remarks"),
2029
1972
  name: "remarks"
2030
1973
  }, {
2031
1974
  default: withCtx(() => [
@@ -2035,7 +1978,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2035
1978
  showCount: true,
2036
1979
  maxLength: 50,
2037
1980
  autoSize: false,
2038
- placeholder: _ctx.$t("organ.remarks")
1981
+ placeholder: _ctx.$t("uc_organ.remarks")
2039
1982
  }, null, 8, ["value", "placeholder"])
2040
1983
  ]),
2041
1984
  _: 1
@@ -2136,7 +2079,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2136
2079
  if ((res == null ? void 0 : res.code) == 0) {
2137
2080
  emit("ok", { ...form });
2138
2081
  message.success(
2139
- `${form.name} ${params.opType == "1" ? t("organ.ins_successtip") : t("organ.up_successtip")}`,
2082
+ `${form.name} ${params.opType == "1" ? t("uc_organ.ins_successtip") : t("uc_organ.up_successtip")}`,
2140
2083
  5
2141
2084
  );
2142
2085
  }
@@ -2158,7 +2101,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2158
2101
  createVNode(_component_a_modal, {
2159
2102
  class: "modal",
2160
2103
  width: 620,
2161
- title: _ctx.$t("organ.branch_edit" + params.opType),
2104
+ title: _ctx.$t("uc_organ.branch_edit" + params.opType),
2162
2105
  open: visible.value,
2163
2106
  "onUpdate:open": _cache[3] || (_cache[3] = ($event) => visible.value = $event),
2164
2107
  onCancel,
@@ -2195,12 +2138,12 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2195
2138
  }, {
2196
2139
  default: withCtx(() => [
2197
2140
  createVNode(_component_a_form_item, {
2198
- label: _ctx.$t("organ.parentBranch"),
2141
+ label: _ctx.$t("uc_organ.parentBranch"),
2199
2142
  name: "parentBranch"
2200
2143
  }, {
2201
2144
  default: withCtx(() => [
2202
2145
  createVNode(_component_a_input, {
2203
- placeholder: _ctx.$t("organ.parentBranch"),
2146
+ placeholder: _ctx.$t("uc_organ.parentBranch"),
2204
2147
  maxLength: 20,
2205
2148
  disabled: "",
2206
2149
  value: form.parentBranch,
@@ -2210,19 +2153,19 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2210
2153
  _: 1
2211
2154
  }, 8, ["label"]),
2212
2155
  createVNode(_component_a_form_item, {
2213
- label: _ctx.$t("organ.branchName"),
2156
+ label: _ctx.$t("uc_organ.branchName"),
2214
2157
  name: "name",
2215
2158
  rules: [
2216
2159
  {
2217
2160
  required: true,
2218
- message: _ctx.$t("organ.branchName_msg1"),
2161
+ message: _ctx.$t("uc_organ.branchName_msg1"),
2219
2162
  trigger: "blur"
2220
2163
  }
2221
2164
  ]
2222
2165
  }, {
2223
2166
  default: withCtx(() => [
2224
2167
  createVNode(_component_a_input, {
2225
- placeholder: _ctx.$t("organ.branchName"),
2168
+ placeholder: _ctx.$t("uc_organ.branchName"),
2226
2169
  maxLength: 50,
2227
2170
  value: form.name,
2228
2171
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.name = $event)
@@ -2231,7 +2174,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2231
2174
  _: 1
2232
2175
  }, 8, ["label", "rules"]),
2233
2176
  createVNode(_component_a_form_item, {
2234
- label: _ctx.$t("organ.remarks"),
2177
+ label: _ctx.$t("uc_organ.remarks"),
2235
2178
  name: "remarks"
2236
2179
  }, {
2237
2180
  default: withCtx(() => [
@@ -2241,7 +2184,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2241
2184
  showCount: true,
2242
2185
  maxLength: 50,
2243
2186
  autoSize: false,
2244
- placeholder: _ctx.$t("organ.remarks")
2187
+ placeholder: _ctx.$t("uc_organ.remarks")
2245
2188
  }, null, 8, ["value", "placeholder"])
2246
2189
  ]),
2247
2190
  _: 1
@@ -2329,42 +2272,42 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2329
2272
  onClose: _cache[2] || (_cache[2] = ($event) => onCancel()),
2330
2273
  "body-style": { position: "static" },
2331
2274
  width: 800,
2332
- title: _ctx.$t("organ.BranDetail"),
2275
+ title: _ctx.$t("uc_organ.BranDetail"),
2333
2276
  destroyOnClose: destroyOnClose.value
2334
2277
  }, {
2335
2278
  default: withCtx(() => [
2336
2279
  createElementVNode("div", null, [
2337
2280
  createElementVNode("div", _hoisted_1$A, [
2338
- createElementVNode("span", _hoisted_2$h, toDisplayString(_ctx.$t("organ.parentBranch")), 1),
2281
+ createElementVNode("span", _hoisted_2$h, toDisplayString(_ctx.$t("uc_organ.parentBranch")), 1),
2339
2282
  createElementVNode("span", _hoisted_3$f, toDisplayString(insertData.parentBranch), 1),
2340
- createElementVNode("span", _hoisted_4$c, toDisplayString(_ctx.$t("organ.branchName")), 1),
2283
+ createElementVNode("span", _hoisted_4$c, toDisplayString(_ctx.$t("uc_organ.branchName")), 1),
2341
2284
  createElementVNode("span", _hoisted_5$6, toDisplayString(insertData.name), 1),
2342
- createElementVNode("span", _hoisted_6$6, toDisplayString(_ctx.$t("organ.associatedFlag")), 1),
2285
+ createElementVNode("span", _hoisted_6$6, toDisplayString(_ctx.$t("uc_organ.associatedFlag")), 1),
2343
2286
  createElementVNode("div", _hoisted_7$4, [
2344
2287
  createElementVNode("div", {
2345
2288
  class: normalizeClass(insertData.associatedFlag == "Y" ? "YFlag" : "NFlag")
2346
2289
  }, null, 2),
2347
- createElementVNode("span", _hoisted_8$2, toDisplayString(_ctx.$t("organ.YFlag")), 1),
2290
+ createElementVNode("span", _hoisted_8$2, toDisplayString(_ctx.$t("uc_organ.YFlag")), 1),
2348
2291
  createElementVNode("div", {
2349
2292
  class: normalizeClass(insertData.associatedFlag == "N" ? "YFlag" : "NFlag")
2350
2293
  }, null, 2),
2351
- createElementVNode("span", _hoisted_9$2, toDisplayString(_ctx.$t("organ.NFlag")), 1)
2294
+ createElementVNode("span", _hoisted_9$2, toDisplayString(_ctx.$t("uc_organ.NFlag")), 1)
2352
2295
  ]),
2353
- createCommentVNode(` <span class="pay_span">{{ $t('organ.refCode') }}</span>\r
2296
+ createCommentVNode(` <span class="pay_span">{{ $t('uc_organ.refCode') }}</span>\r
2354
2297
  <span class="pay_span1">{{ insertData.refCode }}</span>\r
2355
- <span class="pay_span">{{ $t('organ.orderNo') }}</span>\r
2298
+ <span class="pay_span">{{ $t('uc_organ.orderNo') }}</span>\r
2356
2299
  <span class="pay_span1">{{ insertData.orderNo }}</span> `),
2357
- createElementVNode("span", _hoisted_10$2, toDisplayString(_ctx.$t("organ.remarks")), 1),
2300
+ createElementVNode("span", _hoisted_10$2, toDisplayString(_ctx.$t("uc_organ.remarks")), 1),
2358
2301
  createElementVNode("span", _hoisted_11$2, toDisplayString(insertData.remarks), 1),
2359
2302
  createVNode(_component_a_divider, { style: { "margin-top": "40px" } }),
2360
- createElementVNode("span", _hoisted_12$2, toDisplayString(_ctx.$t("organ.cdate")), 1),
2303
+ createElementVNode("span", _hoisted_12$2, toDisplayString(_ctx.$t("uc_organ.cdate")), 1),
2361
2304
  createVNode(_component_uc_pick_label, {
2362
2305
  class: "pay_span1",
2363
2306
  defaultValue: insertData.cdate
2364
2307
  }, null, 8, ["defaultValue"]),
2365
- createElementVNode("span", _hoisted_13$1, toDisplayString(_ctx.$t("organ.coperator")), 1),
2308
+ createElementVNode("span", _hoisted_13$1, toDisplayString(_ctx.$t("uc_organ.coperator")), 1),
2366
2309
  createElementVNode("span", _hoisted_14$1, toDisplayString(insertData.coperator), 1),
2367
- createElementVNode("span", _hoisted_15$1, toDisplayString(_ctx.$t("organ.udate")), 1),
2310
+ createElementVNode("span", _hoisted_15$1, toDisplayString(_ctx.$t("uc_organ.udate")), 1),
2368
2311
  withDirectives(createVNode(_component_uc_pick_label, {
2369
2312
  class: "pay_span1",
2370
2313
  defaultValue: insertData.udate
@@ -2374,7 +2317,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2374
2317
  withDirectives(createElementVNode("span", _hoisted_16$1, toDisplayString("--"), 512), [
2375
2318
  [vShow, !insertData.udate]
2376
2319
  ]),
2377
- createElementVNode("span", _hoisted_17$1, toDisplayString(_ctx.$t("organ.uoperator")), 1),
2320
+ createElementVNode("span", _hoisted_17$1, toDisplayString(_ctx.$t("uc_organ.uoperator")), 1),
2378
2321
  createElementVNode("span", _hoisted_18, toDisplayString(insertData.uoperator ? insertData.uoperator : "--"), 1)
2379
2322
  ])
2380
2323
  ]),
@@ -2383,7 +2326,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2383
2326
  onClick: _cache[0] || (_cache[0] = ($event) => onCancel())
2384
2327
  }, {
2385
2328
  default: withCtx(() => [
2386
- createTextVNode(toDisplayString(_ctx.$t("prepay.cancel_btn")), 1)
2329
+ createTextVNode(toDisplayString(_ctx.$t("uc_prepay.cancel_btn")), 1)
2387
2330
  ]),
2388
2331
  _: 1
2389
2332
  }),
@@ -2465,33 +2408,33 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
2465
2408
  onClose: _cache[2] || (_cache[2] = ($event) => onCancel()),
2466
2409
  "body-style": { position: "static" },
2467
2410
  width: 800,
2468
- title: _ctx.$t("organ.DeptDetail"),
2411
+ title: _ctx.$t("uc_organ.DeptDetail"),
2469
2412
  destroyOnClose: destroyOnClose.value
2470
2413
  }, {
2471
2414
  default: withCtx(() => [
2472
2415
  createElementVNode("div", null, [
2473
2416
  createElementVNode("div", _hoisted_1$z, [
2474
- createElementVNode("span", _hoisted_2$g, toDisplayString(_ctx.$t("organ.parentBranch")), 1),
2417
+ createElementVNode("span", _hoisted_2$g, toDisplayString(_ctx.$t("uc_organ.parentBranch")), 1),
2475
2418
  createElementVNode("span", _hoisted_3$e, toDisplayString(insertData.parentBranch), 1),
2476
- createElementVNode("span", _hoisted_4$b, toDisplayString(_ctx.$t("organ.superiorRegion")), 1),
2419
+ createElementVNode("span", _hoisted_4$b, toDisplayString(_ctx.$t("uc_organ.superiorRegion")), 1),
2477
2420
  createElementVNode("span", _hoisted_5$5, toDisplayString(insertData.parentRegion), 1),
2478
- createElementVNode("span", _hoisted_6$5, toDisplayString(_ctx.$t("organ.deptName")), 1),
2421
+ createElementVNode("span", _hoisted_6$5, toDisplayString(_ctx.$t("uc_organ.deptName")), 1),
2479
2422
  createElementVNode("span", _hoisted_7$3, toDisplayString(insertData.name), 1),
2480
- createCommentVNode(` <span class="pay_span">{{ $t('organ.depCode') }}</span>\r
2423
+ createCommentVNode(` <span class="pay_span">{{ $t('uc_organ.depCode') }}</span>\r
2481
2424
  <span class="pay_span1">{{ insertData.refCode?insertData.refCode:'--' }}</span>\r
2482
- <span class="pay_span">{{ $t('organ.orderNo') }}</span>\r
2425
+ <span class="pay_span">{{ $t('uc_organ.orderNo') }}</span>\r
2483
2426
  <span class="pay_span1">{{ insertData.orderNo?insertData.orderNo:'--' }}</span> `),
2484
- createElementVNode("span", _hoisted_8$1, toDisplayString(_ctx.$t("organ.remarks")), 1),
2427
+ createElementVNode("span", _hoisted_8$1, toDisplayString(_ctx.$t("uc_organ.remarks")), 1),
2485
2428
  createElementVNode("span", _hoisted_9$1, toDisplayString(insertData.remarks ? insertData.remarks : "--"), 1),
2486
2429
  createVNode(_component_a_divider, { style: { "margin-top": "40px" } }),
2487
- createElementVNode("span", _hoisted_10$1, toDisplayString(_ctx.$t("organ.cdate")), 1),
2430
+ createElementVNode("span", _hoisted_10$1, toDisplayString(_ctx.$t("uc_organ.cdate")), 1),
2488
2431
  createVNode(_component_uc_pick_label, {
2489
2432
  class: "pay_span1",
2490
2433
  defaultValue: insertData.cdate
2491
2434
  }, null, 8, ["defaultValue"]),
2492
- createElementVNode("span", _hoisted_11$1, toDisplayString(_ctx.$t("organ.coperator")), 1),
2435
+ createElementVNode("span", _hoisted_11$1, toDisplayString(_ctx.$t("uc_organ.coperator")), 1),
2493
2436
  createElementVNode("span", _hoisted_12$1, toDisplayString(insertData.coperator), 1),
2494
- createElementVNode("span", _hoisted_13, toDisplayString(_ctx.$t("organ.udate")), 1),
2437
+ createElementVNode("span", _hoisted_13, toDisplayString(_ctx.$t("uc_organ.udate")), 1),
2495
2438
  withDirectives(createVNode(_component_uc_pick_label, {
2496
2439
  class: "pay_span1",
2497
2440
  defaultValue: insertData.udate
@@ -2501,7 +2444,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
2501
2444
  withDirectives(createElementVNode("span", _hoisted_14, toDisplayString("--"), 512), [
2502
2445
  [vShow, !insertData.udate]
2503
2446
  ]),
2504
- createElementVNode("span", _hoisted_15, toDisplayString(_ctx.$t("organ.uoperator")), 1),
2447
+ createElementVNode("span", _hoisted_15, toDisplayString(_ctx.$t("uc_organ.uoperator")), 1),
2505
2448
  createElementVNode("span", _hoisted_16, toDisplayString(insertData.uoperator ? insertData.uoperator : "--"), 1)
2506
2449
  ])
2507
2450
  ]),
@@ -2510,7 +2453,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
2510
2453
  onClick: _cache[0] || (_cache[0] = ($event) => onCancel())
2511
2454
  }, {
2512
2455
  default: withCtx(() => [
2513
- createTextVNode(toDisplayString(_ctx.$t("prepay.cancel_btn")), 1)
2456
+ createTextVNode(toDisplayString(_ctx.$t("uc_prepay.cancel_btn")), 1)
2514
2457
  ]),
2515
2458
  _: 1
2516
2459
  }),
@@ -2619,7 +2562,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2619
2562
  };
2620
2563
  const columns = computed(() => [
2621
2564
  {
2622
- title: t("organ.name"),
2565
+ title: t("uc_organ.name"),
2623
2566
  dataIndex: "name",
2624
2567
  key: "name",
2625
2568
  resizable: true,
@@ -2627,21 +2570,21 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2627
2570
  fixed: "left"
2628
2571
  },
2629
2572
  {
2630
- title: t("organ.coperator"),
2573
+ title: t("uc_organ.coperator"),
2631
2574
  dataIndex: "coperator",
2632
2575
  key: "coperator",
2633
2576
  width: 200,
2634
2577
  resizable: true
2635
2578
  },
2636
2579
  {
2637
- title: t("organ.cdate"),
2580
+ title: t("uc_organ.cdate"),
2638
2581
  dataIndex: "cdate",
2639
2582
  key: "cdate",
2640
2583
  width: 200,
2641
2584
  resizable: true
2642
2585
  },
2643
2586
  {
2644
- title: t("organ.action"),
2587
+ title: t("uc_organ.action"),
2645
2588
  dataIndex: "action",
2646
2589
  key: "action",
2647
2590
  resizable: true,
@@ -2693,14 +2636,14 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2693
2636
  id: record.id
2694
2637
  });
2695
2638
  if (res.result) {
2696
- message.success(`${t("organ.setBranchTypeTip")}`, 5);
2639
+ message.success(`${t("uc_organ.setBranchTypeTip")}`, 5);
2697
2640
  init2();
2698
2641
  }
2699
2642
  };
2700
2643
  const setUnderlyingInstitution = (record) => {
2701
2644
  Modal.confirm({
2702
- title: t("organ.add3"),
2703
- content: t("organ.setsuperiorRegionInfo"),
2645
+ title: t("uc_organ.add3"),
2646
+ content: t("uc_organ.setsuperiorRegionInfo"),
2704
2647
  icon: h(""),
2705
2648
  onOk() {
2706
2649
  handleUpdateBranchType(record);
@@ -2714,30 +2657,30 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2714
2657
  const onDelete = (record) => {
2715
2658
  if (record.type == "3") {
2716
2659
  Modal.confirm({
2717
- title: t("organ.deleteTip"),
2660
+ title: t("uc_organ.deleteTip"),
2718
2661
  icon: h(ExclamationCircleOutlined, { style: "color:red" }),
2719
- content: t("organ.deleteTipInfo"),
2662
+ content: t("uc_organ.deleteTipInfo"),
2720
2663
  okType: "danger",
2721
2664
  onOk() {
2722
2665
  setOrganDeleteDepartment({ id: record.id }).then((res) => {
2723
2666
  if (res == null ? void 0 : res.result) {
2724
2667
  init2();
2725
- message.success(`${record.name} ${t("organ.del_successtip")}`, 5);
2668
+ message.success(`${record.name} ${t("uc_organ.del_successtip")}`, 5);
2726
2669
  }
2727
2670
  });
2728
2671
  }
2729
2672
  });
2730
2673
  } else {
2731
2674
  Modal.confirm({
2732
- title: t("organ.deleteTip"),
2675
+ title: t("uc_organ.deleteTip"),
2733
2676
  icon: h(ExclamationCircleOutlined, { style: "color:red" }),
2734
- content: t("organ.deleteTipInfo"),
2677
+ content: t("uc_organ.deleteTipInfo"),
2735
2678
  okType: "danger",
2736
2679
  onOk() {
2737
2680
  setOrganDeleteBranch({ id: record.id }).then((res) => {
2738
2681
  if (res == null ? void 0 : res.result) {
2739
2682
  init2();
2740
- message.success(`${record.name} ${t("organ.del_successtip")}`, 5);
2683
+ message.success(`${record.name} ${t("uc_organ.del_successtip")}`, 5);
2741
2684
  }
2742
2685
  });
2743
2686
  }
@@ -2780,7 +2723,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2780
2723
  createElementVNode("div", _hoisted_2$f, [
2781
2724
  createElementVNode("div", _hoisted_3$d, [
2782
2725
  createVNode(_component_a_input_search, {
2783
- placeholder: _ctx.$t("organ.search_placeholder"),
2726
+ placeholder: _ctx.$t("uc_organ.search_placeholder"),
2784
2727
  ref: "inputSearch",
2785
2728
  allowClear: "",
2786
2729
  value: queryParam.name,
@@ -2816,7 +2759,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2816
2759
  column.key === "name" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
2817
2760
  createElementVNode("div", {
2818
2761
  class: normalizeClass("organ_type" + record.type)
2819
- }, toDisplayString(_ctx.$t("organ.type" + record.type)), 3),
2762
+ }, toDisplayString(_ctx.$t("uc_organ.type" + record.type)), 3),
2820
2763
  withDirectives(createVNode(_component_a_button, {
2821
2764
  type: "link",
2822
2765
  onClick: ($event) => onDetail(record)
@@ -2830,7 +2773,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2830
2773
  ]),
2831
2774
  createVNode(_component_a_tooltip, { placement: "top" }, {
2832
2775
  title: withCtx(() => [
2833
- createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
2776
+ createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
2834
2777
  ]),
2835
2778
  default: withCtx(() => [
2836
2779
  withDirectives(createVNode(_component_a_button, {
@@ -2878,7 +2821,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2878
2821
  onClick: ($event) => onAddDep(record)
2879
2822
  }, {
2880
2823
  default: withCtx(() => [
2881
- createTextVNode(toDisplayString(_ctx.$t("organ.add2")), 1)
2824
+ createTextVNode(toDisplayString(_ctx.$t("uc_organ.add2")), 1)
2882
2825
  ]),
2883
2826
  _: 2
2884
2827
  }, 1032, ["onClick"]), [
@@ -2925,7 +2868,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2925
2868
  onClick: ($event) => setUnderlyingInstitution(record)
2926
2869
  }, {
2927
2870
  default: withCtx(() => [
2928
- createTextVNode(toDisplayString(_ctx.$t("organ.add3")), 1)
2871
+ createTextVNode(toDisplayString(_ctx.$t("uc_organ.add3")), 1)
2929
2872
  ]),
2930
2873
  _: 2
2931
2874
  }, 1032, ["onClick"])
@@ -2944,7 +2887,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2944
2887
  onClick: ($event) => onAdd(record)
2945
2888
  }, {
2946
2889
  default: withCtx(() => [
2947
- createTextVNode(toDisplayString(_ctx.$t("organ.add1")), 1)
2890
+ createTextVNode(toDisplayString(_ctx.$t("uc_organ.add1")), 1)
2948
2891
  ]),
2949
2892
  _: 2
2950
2893
  }, 1032, ["onClick"]), [
@@ -2965,7 +2908,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2965
2908
  onClick: ($event) => onAddDep(record)
2966
2909
  }, {
2967
2910
  default: withCtx(() => [
2968
- createTextVNode(toDisplayString(_ctx.$t("organ.add2")), 1)
2911
+ createTextVNode(toDisplayString(_ctx.$t("uc_organ.add2")), 1)
2969
2912
  ]),
2970
2913
  _: 2
2971
2914
  }, 1032, ["onClick"]), [
@@ -3022,7 +2965,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3022
2965
  withDirectives(createElementVNode("div", null, [
3023
2966
  createVNode(_component_a_tooltip, { placement: "top" }, {
3024
2967
  title: withCtx(() => [
3025
- createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
2968
+ createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
3026
2969
  ]),
3027
2970
  default: withCtx(() => [
3028
2971
  withDirectives(createVNode(_component_a_button, {
@@ -3049,7 +2992,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3049
2992
  ]),
3050
2993
  createVNode(_component_a_tooltip, { placement: "top" }, {
3051
2994
  title: withCtx(() => [
3052
- createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
2995
+ createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
3053
2996
  ]),
3054
2997
  default: withCtx(() => [
3055
2998
  withDirectives(createVNode(_component_a_button, {
@@ -3059,7 +3002,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3059
3002
  disabled: ""
3060
3003
  }, {
3061
3004
  default: withCtx(() => [
3062
- createTextVNode(toDisplayString(_ctx.$t("organ.add2")), 1)
3005
+ createTextVNode(toDisplayString(_ctx.$t("uc_organ.add2")), 1)
3063
3006
  ]),
3064
3007
  _: 2
3065
3008
  }, 1032, ["onClick"]), [
@@ -3079,7 +3022,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3079
3022
  ]),
3080
3023
  createVNode(_component_a_tooltip, { placement: "top" }, {
3081
3024
  title: withCtx(() => [
3082
- createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
3025
+ createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
3083
3026
  ]),
3084
3027
  default: withCtx(() => [
3085
3028
  withDirectives(createVNode(_component_a_button, {
@@ -3106,7 +3049,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
3106
3049
  ]),
3107
3050
  createVNode(_component_a_tooltip, { placement: "top" }, {
3108
3051
  title: withCtx(() => [
3109
- createElementVNode("span", null, toDisplayString(_ctx.$t("organ.nopermission")), 1)
3052
+ createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
3110
3053
  ]),
3111
3054
  default: withCtx(() => [
3112
3055
  withDirectives(createElementVNode("span", null, [
@@ -3248,7 +3191,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3248
3191
  });
3249
3192
  const handleRoleValidator = (rule, value) => {
3250
3193
  if (value == "") {
3251
- return Promise.reject(t("role.role_name_msg1"));
3194
+ return Promise.reject(t("uc_role.role_name_msg1"));
3252
3195
  } else {
3253
3196
  return Promise.resolve();
3254
3197
  }
@@ -3282,7 +3225,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3282
3225
  width: 560,
3283
3226
  onOk: onSubmit,
3284
3227
  onCancel,
3285
- title: _ctx.$t("role.add_msg"),
3228
+ title: _ctx.$t("uc_role.add_msg"),
3286
3229
  style: { "top": "250px" },
3287
3230
  destroyOnClose: destroyOnClose.value
3288
3231
  }, {
@@ -3296,20 +3239,20 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3296
3239
  }, {
3297
3240
  default: withCtx(() => [
3298
3241
  createVNode(_component_a_form_item, mergeProps({
3299
- label: _ctx.$t("role.role_name")
3242
+ label: _ctx.$t("uc_role.role_name")
3300
3243
  }, formItemLayout.value, {
3301
3244
  name: "roleName",
3302
3245
  rules: [
3303
3246
  {
3304
3247
  required: true,
3305
- message: _ctx.$t("role.role_name_msg1"),
3248
+ message: _ctx.$t("uc_role.role_name_msg1"),
3306
3249
  validator: handleRoleValidator
3307
3250
  }
3308
3251
  ]
3309
3252
  }), {
3310
3253
  default: withCtx(() => [
3311
3254
  createVNode(_component_a_input, {
3312
- placeholder: _ctx.$t("role.role_name_placeholder"),
3255
+ placeholder: _ctx.$t("uc_role.role_name_placeholder"),
3313
3256
  value: form.value.roleName,
3314
3257
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.value.roleName = $event)
3315
3258
  }, null, 8, ["placeholder", "value"])
@@ -3317,11 +3260,11 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3317
3260
  _: 1
3318
3261
  }, 16, ["label", "rules"]),
3319
3262
  createVNode(_component_a_form_item, mergeProps({
3320
- label: _ctx.$t("role.remark")
3263
+ label: _ctx.$t("uc_role.remark")
3321
3264
  }, formItemLayout.value, { name: "remark" }), {
3322
3265
  default: withCtx(() => [
3323
3266
  createVNode(_component_a_textarea, {
3324
- placeholder: _ctx.$t("role.remark_placeholder"),
3267
+ placeholder: _ctx.$t("uc_role.remark_placeholder"),
3325
3268
  rows: 4,
3326
3269
  value: form.value.remark,
3327
3270
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.value.remark = $event)
@@ -3570,7 +3513,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
3570
3513
  onChange: onAllCheckedChange
3571
3514
  }, {
3572
3515
  default: withCtx(() => [
3573
- createTextVNode(toDisplayString(_ctx.$t("role.operation")), 1)
3516
+ createTextVNode(toDisplayString(_ctx.$t("uc_role.operation")), 1)
3574
3517
  ]),
3575
3518
  _: 1
3576
3519
  }, 8, ["checked"])
@@ -3611,7 +3554,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
3611
3554
  disabled: __props.mode === "view"
3612
3555
  }, {
3613
3556
  default: withCtx(() => [
3614
- createElementVNode("span", _hoisted_2$e, toDisplayString(_ctx.$t("role.operation")), 1)
3557
+ createElementVNode("span", _hoisted_2$e, toDisplayString(_ctx.$t("uc_role.operation")), 1)
3615
3558
  ]),
3616
3559
  _: 2
3617
3560
  }, 1032, ["indeterminate", "checked", "onUpdate:checked", "onChange", "disabled"])) : createCommentVNode("v-if", true),
@@ -3635,7 +3578,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
3635
3578
  }, 1024)) : createCommentVNode("v-if", true)
3636
3579
  ], 64);
3637
3580
  }), 256))
3638
- ])) : (openBlock(), createElementBlock("div", _hoisted_4$9, toDisplayString(_ctx.$t("actDetail.text")), 1))
3581
+ ])) : (openBlock(), createElementBlock("div", _hoisted_4$9, toDisplayString(_ctx.$t("uc_actDetail.text")), 1))
3639
3582
  ]);
3640
3583
  };
3641
3584
  }
@@ -3787,7 +3730,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
3787
3730
  withDirectives(createVNode(_component_a_col, { class: "left" }, {
3788
3731
  default: withCtx(() => [
3789
3732
  createVNode(_component_a_card, {
3790
- title: _ctx.$t("role.svr_list"),
3733
+ title: _ctx.$t("uc_role.svr_list"),
3791
3734
  bordered: false
3792
3735
  }, {
3793
3736
  cover: withCtx(() => [
@@ -3825,7 +3768,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
3825
3768
  default: withCtx(() => [
3826
3769
  createVNode(_component_a_card, {
3827
3770
  bordered: false,
3828
- title: _ctx.$t("role.role_info")
3771
+ title: _ctx.$t("uc_role.role_info")
3829
3772
  }, {
3830
3773
  default: withCtx(() => [
3831
3774
  createVNode(_component_a_form, {
@@ -3836,13 +3779,13 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
3836
3779
  }, {
3837
3780
  default: withCtx(() => [
3838
3781
  createVNode(_component_a_form_item, {
3839
- label: _ctx.$t("role.role_name"),
3782
+ label: _ctx.$t("uc_role.role_name"),
3840
3783
  name: "roleName",
3841
- rules: [{ required: true, message: _ctx.$t("role.role_name_msg1") }]
3784
+ rules: [{ required: true, message: _ctx.$t("uc_role.role_name_msg1") }]
3842
3785
  }, {
3843
3786
  default: withCtx(() => [
3844
3787
  createVNode(_component_a_input, {
3845
- placeholder: _ctx.$t("role.role_name_placeholder"),
3788
+ placeholder: _ctx.$t("uc_role.role_name_placeholder"),
3846
3789
  value: form.value.roleName,
3847
3790
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.value.roleName = $event),
3848
3791
  disabled: mode.value === "view"
@@ -3851,13 +3794,13 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
3851
3794
  _: 1
3852
3795
  }, 8, ["label", "rules"]),
3853
3796
  createVNode(_component_a_form_item, {
3854
- label: _ctx.$t("role.remark"),
3797
+ label: _ctx.$t("uc_role.remark"),
3855
3798
  name: "remark",
3856
- rules: [{ message: _ctx.$t("role.remark_msg1") }]
3799
+ rules: [{ message: _ctx.$t("uc_role.remark_msg1") }]
3857
3800
  }, {
3858
3801
  default: withCtx(() => [
3859
3802
  createVNode(_component_a_input, {
3860
- placeholder: _ctx.$t("role.remark_placeholder"),
3803
+ placeholder: _ctx.$t("uc_role.remark_placeholder"),
3861
3804
  value: form.value.remark,
3862
3805
  "onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.value.remark = $event),
3863
3806
  disabled: mode.value === "view"
@@ -3874,7 +3817,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
3874
3817
  createVNode(_component_a_card, {
3875
3818
  class: "card",
3876
3819
  bordered: false,
3877
- title: _ctx.$t("role.role_detail"),
3820
+ title: _ctx.$t("uc_role.role_detail"),
3878
3821
  style: { "padding-bottom": "30px" }
3879
3822
  }, {
3880
3823
  default: withCtx(() => [
@@ -3962,39 +3905,39 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
3962
3905
  const editParams = ref({});
3963
3906
  const columns = computed(() => [
3964
3907
  {
3965
- title: t("device.index1"),
3908
+ title: t("uc_device.index1"),
3966
3909
  width: "50px",
3967
3910
  align: "center",
3968
3911
  key: "index1"
3969
3912
  },
3970
3913
  {
3971
- title: t("personal_center.role"),
3914
+ title: t("uc_personal_center.role"),
3972
3915
  dataIndex: "roleName",
3973
3916
  width: "150px",
3974
3917
  maxWidth: "250px",
3975
3918
  key: "roleName"
3976
3919
  },
3977
3920
  {
3978
- title: t("role.remark"),
3921
+ title: t("uc_role.remark"),
3979
3922
  dataIndex: "remark",
3980
3923
  width: "150px",
3981
3924
  maxWidth: "250px",
3982
3925
  key: "remark"
3983
3926
  },
3984
3927
  {
3985
- title: t("role.uoperator"),
3928
+ title: t("uc_role.uoperator"),
3986
3929
  dataIndex: "uoperator",
3987
3930
  width: "150px",
3988
3931
  key: "uoperator"
3989
3932
  },
3990
3933
  {
3991
- title: t("role.udate"),
3934
+ title: t("uc_role.udate"),
3992
3935
  dataIndex: "udate",
3993
3936
  width: "160px",
3994
3937
  key: "udate"
3995
3938
  },
3996
3939
  {
3997
- title: t("role.action"),
3940
+ title: t("uc_role.action"),
3998
3941
  key: "action",
3999
3942
  fixed: "right",
4000
3943
  width: "120px"
@@ -4084,7 +4027,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
4084
4027
  createElementVNode("div", _hoisted_2$d, [
4085
4028
  createElementVNode("div", _hoisted_3$b, [
4086
4029
  createVNode(_component_a_input_search, {
4087
- placeholder: _ctx.$t("role.nameInput"),
4030
+ placeholder: _ctx.$t("uc_role.nameInput"),
4088
4031
  ref: "inputSearch",
4089
4032
  value: queryParam.value.roleName,
4090
4033
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => queryParam.value.roleName = $event),
@@ -4337,7 +4280,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
4337
4280
  style: normalizeStyle(
4338
4281
  __props.type === "expand" ? { width: width.value + "px", minWidth: "200px" } : defaultStyle
4339
4282
  ),
4340
- placeholder: __props.placeholder !== "" ? __props.placeholder : _ctx.$t("dept.tree_placeholder"),
4283
+ placeholder: __props.placeholder !== "" ? __props.placeholder : _ctx.$t("uc_dept.tree_placeholder"),
4341
4284
  disabled: __props.disabled,
4342
4285
  onDropdownVisibleChange: changeVisible,
4343
4286
  changeOnSelect: "",
@@ -4568,16 +4511,16 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4568
4511
  };
4569
4512
  const handleUserCodeValidator = (rule, value) => {
4570
4513
  if (!value) {
4571
- return Promise.reject(t("user.user_code_msg1"));
4514
+ return Promise.reject(t("uc_user.user_code_msg1"));
4572
4515
  }
4573
4516
  if (/^[a-zA-Z0-9]+$/.test(value)) {
4574
4517
  if (/^.{1,20}$/.test(value)) {
4575
4518
  return Promise.resolve();
4576
4519
  } else {
4577
- return Promise.reject(t("user.user_code_msg3"));
4520
+ return Promise.reject(t("uc_user.user_code_msg3"));
4578
4521
  }
4579
4522
  } else {
4580
- return Promise.reject(t("user.user_code_msg2"));
4523
+ return Promise.reject(t("uc_user.user_code_msg2"));
4581
4524
  }
4582
4525
  };
4583
4526
  const rules = {
@@ -4585,10 +4528,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4585
4528
  {
4586
4529
  required: true,
4587
4530
  trigger: ["change", "blur"],
4588
- message: t("user.user_name_msg1"),
4531
+ message: t("uc_user.user_name_msg1"),
4589
4532
  validator: (rule, value) => {
4590
4533
  if (!value || /^\s+$/.test(value)) {
4591
- return Promise.reject(t("user.user_name_msg1"));
4534
+ return Promise.reject(t("uc_user.user_name_msg1"));
4592
4535
  } else {
4593
4536
  return Promise.resolve();
4594
4537
  }
@@ -4599,10 +4542,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4599
4542
  {
4600
4543
  required: true,
4601
4544
  trigger: ["change", "blur"],
4602
- message: t("user.branch_msg1"),
4545
+ message: t("uc_user.branch_msg1"),
4603
4546
  validator: (rule, value) => {
4604
4547
  if (!value || /^\s+$/.test(value)) {
4605
- return Promise.reject(t("user.branch_msg1"));
4548
+ return Promise.reject(t("uc_user.branch_msg1"));
4606
4549
  } else {
4607
4550
  return Promise.resolve();
4608
4551
  }
@@ -4612,7 +4555,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4612
4555
  roleId: [
4613
4556
  {
4614
4557
  required: true,
4615
- message: t("user.role_msg1"),
4558
+ message: t("uc_user.role_msg1"),
4616
4559
  trigger: ["change", "blur"]
4617
4560
  }
4618
4561
  ]
@@ -4698,7 +4641,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4698
4641
  "onUpdate:open": _cache[9] || (_cache[9] = ($event) => visible.value = $event),
4699
4642
  onClose: onCancel,
4700
4643
  width: 800,
4701
- title: _ctx.$t("user.title" + params.opType),
4644
+ title: _ctx.$t("uc_user.title" + params.opType),
4702
4645
  destroyOnClose: true
4703
4646
  }, {
4704
4647
  default: withCtx(() => [
@@ -4717,11 +4660,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4717
4660
  createVNode(_component_a_col, { span: 24 }, {
4718
4661
  default: withCtx(() => [
4719
4662
  createVNode(_component_a_form_item, mergeProps({
4720
- label: _ctx.$t("user.user_id")
4663
+ label: _ctx.$t("uc_user.user_id")
4721
4664
  }, formItemLayout, { name: "userCode" }), {
4722
4665
  default: withCtx(() => [
4723
4666
  createVNode(_component_a_input, {
4724
- placeholder: _ctx.$t("user.user_id_placeholder"),
4667
+ placeholder: _ctx.$t("uc_user.user_id_placeholder"),
4725
4668
  disabled: true,
4726
4669
  value: form.userCode,
4727
4670
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.userCode = $event)
@@ -4740,7 +4683,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4740
4683
  createVNode(_component_a_col, { span: 24 }, {
4741
4684
  default: withCtx(() => [
4742
4685
  createVNode(_component_a_form_item, mergeProps({
4743
- label: _ctx.$t("user.user_id")
4686
+ label: _ctx.$t("uc_user.user_id")
4744
4687
  }, formItemLayout, {
4745
4688
  name: "userCode",
4746
4689
  rules: [
@@ -4753,7 +4696,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4753
4696
  }), {
4754
4697
  default: withCtx(() => [
4755
4698
  createVNode(_component_a_input, {
4756
- placeholder: _ctx.$t("user.user_id_placeholder"),
4699
+ placeholder: _ctx.$t("uc_user.user_id_placeholder"),
4757
4700
  value: form.userCode,
4758
4701
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.userCode = $event)
4759
4702
  }, null, 8, ["placeholder", "value"])
@@ -4771,11 +4714,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4771
4714
  createVNode(_component_a_col, { span: 24 }, {
4772
4715
  default: withCtx(() => [
4773
4716
  createVNode(_component_a_form_item, mergeProps({
4774
- label: _ctx.$t("user.user_name")
4717
+ label: _ctx.$t("uc_user.user_name")
4775
4718
  }, formItemLayout, { name: "userName" }), {
4776
4719
  default: withCtx(() => [
4777
4720
  createVNode(_component_a_input, {
4778
- placeholder: _ctx.$t("user.user_name_placeholder"),
4721
+ placeholder: _ctx.$t("uc_user.user_name_placeholder"),
4779
4722
  value: form.userName,
4780
4723
  "onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.userName = $event)
4781
4724
  }, null, 8, ["placeholder", "value"])
@@ -4793,7 +4736,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4793
4736
  createVNode(_component_a_col, { span: 24 }, {
4794
4737
  default: withCtx(() => [
4795
4738
  createVNode(_component_a_form_item, mergeProps({
4796
- label: _ctx.$t("user.branchId")
4739
+ label: _ctx.$t("uc_user.branchId")
4797
4740
  }, formItemLayout, { name: "branchId" }), {
4798
4741
  default: withCtx(() => [
4799
4742
  createVNode(BranchSelect, {
@@ -4814,12 +4757,12 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4814
4757
  createCommentVNode(` <a-row>\r
4815
4758
  <a-col :span="24">\r
4816
4759
  <a-form-item\r
4817
- :label="$t('user.depyId')"\r
4760
+ :label="$t('uc_user.depyId')"\r
4818
4761
  v-bind="formItemLayout"\r
4819
4762
  name="deptId"\r
4820
4763
  >\r
4821
4764
  <dept-select\r
4822
- :placeholder="$t('user.depyId_placeholder')"\r
4765
+ :placeholder="$t('uc_user.depyId_placeholder')"\r
4823
4766
  mode="default"\r
4824
4767
  v-model:value="form.deptId"\r
4825
4768
  :branchId="form.branchId"\r
@@ -4834,11 +4777,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4834
4777
  createVNode(_component_a_col, { span: 24 }, {
4835
4778
  default: withCtx(() => [
4836
4779
  createVNode(_component_a_form_item, mergeProps({
4837
- label: _ctx.$t("user.role")
4780
+ label: _ctx.$t("uc_user.role")
4838
4781
  }, formItemLayout, { name: "roleId" }), {
4839
4782
  default: withCtx(() => [
4840
4783
  createVNode(RoleSelect, {
4841
- placeholder: _ctx.$t("user.role_placeholder"),
4784
+ placeholder: _ctx.$t("uc_user.role_placeholder"),
4842
4785
  mode: "combobox",
4843
4786
  value: form.roleId,
4844
4787
  "onUpdate:value": _cache[4] || (_cache[4] = ($event) => form.roleId = $event),
@@ -4858,11 +4801,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4858
4801
  createVNode(_component_a_col, { span: 24 }, {
4859
4802
  default: withCtx(() => [
4860
4803
  createVNode(_component_a_form_item, mergeProps({
4861
- label: _ctx.$t("user.role_other")
4804
+ label: _ctx.$t("uc_user.role_other")
4862
4805
  }, formItemLayout, { name: "roleIdOthers" }), {
4863
4806
  default: withCtx(() => [
4864
4807
  createVNode(RoleSelect, {
4865
- placeholder: _ctx.$t("user.role_other_placeholder"),
4808
+ placeholder: _ctx.$t("uc_user.role_other_placeholder"),
4866
4809
  mode: "multiple",
4867
4810
  roleId: String(roleId.value),
4868
4811
  value: form.roleIdOthers,
@@ -4883,12 +4826,12 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4883
4826
  createVNode(_component_a_col, { span: 24 }, {
4884
4827
  default: withCtx(() => [
4885
4828
  createVNode(_component_a_form_item, mergeProps({
4886
- label: _ctx.$t("user.mobile")
4829
+ label: _ctx.$t("uc_user.mobile")
4887
4830
  }, formItemLayout, { name: "mobile" }), {
4888
4831
  default: withCtx(() => [
4889
4832
  createVNode(_component_a_input, {
4890
4833
  type: "number",
4891
- placeholder: _ctx.$t("user.mobile_placeholder"),
4834
+ placeholder: _ctx.$t("uc_user.mobile_placeholder"),
4892
4835
  disabled: params.opType == "2",
4893
4836
  value: form.mobile,
4894
4837
  "onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.mobile = $event)
@@ -4907,11 +4850,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4907
4850
  createVNode(_component_a_col, { span: 24 }, {
4908
4851
  default: withCtx(() => [
4909
4852
  createVNode(_component_a_form_item, mergeProps({
4910
- label: _ctx.$t("user.email")
4853
+ label: _ctx.$t("uc_user.email")
4911
4854
  }, formItemLayout, { name: "email" }), {
4912
4855
  default: withCtx(() => [
4913
4856
  createVNode(_component_a_input, {
4914
- placeholder: _ctx.$t("user.email_placeholder"),
4857
+ placeholder: _ctx.$t("uc_user.email_placeholder"),
4915
4858
  disabled: params.opType == "2",
4916
4859
  value: form.email,
4917
4860
  "onUpdate:value": _cache[7] || (_cache[7] = ($event) => form.email = $event)
@@ -4930,11 +4873,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
4930
4873
  createVNode(_component_a_col, { span: 24 }, {
4931
4874
  default: withCtx(() => [
4932
4875
  createVNode(_component_a_form_item, mergeProps({
4933
- label: _ctx.$t("user.user_desc")
4876
+ label: _ctx.$t("uc_user.user_desc")
4934
4877
  }, formItemLayout, { name: "userDesc" }), {
4935
4878
  default: withCtx(() => [
4936
4879
  createVNode(_component_a_input, {
4937
- placeholder: _ctx.$t("user.user_desc_placeholder"),
4880
+ placeholder: _ctx.$t("uc_user.user_desc_placeholder"),
4938
4881
  value: form.userDesc,
4939
4882
  "onUpdate:value": _cache[8] || (_cache[8] = ($event) => form.userDesc = $event)
4940
4883
  }, null, 8, ["placeholder", "value"])
@@ -5027,7 +4970,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5027
4970
  "onUpdate:open": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
5028
4971
  onClose: onCancel,
5029
4972
  width: 800,
5030
- title: _ctx.$t("user.title6"),
4973
+ title: _ctx.$t("uc_user.title6"),
5031
4974
  destroyOnClose: true
5032
4975
  }, {
5033
4976
  default: withCtx(() => [
@@ -5038,7 +4981,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5038
4981
  style: { "text-align": "right", "color": "#333" }
5039
4982
  }, {
5040
4983
  default: withCtx(() => [
5041
- createTextVNode(toDisplayString(_ctx.$t("user.user_id")) + ": ", 1)
4984
+ createTextVNode(toDisplayString(_ctx.$t("uc_user.user_id")) + ": ", 1)
5042
4985
  ]),
5043
4986
  _: 1
5044
4987
  }),
@@ -5061,7 +5004,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5061
5004
  style: { "text-align": "right", "color": "#333" }
5062
5005
  }, {
5063
5006
  default: withCtx(() => [
5064
- createTextVNode(toDisplayString(_ctx.$t("user.user_name")) + ": ", 1)
5007
+ createTextVNode(toDisplayString(_ctx.$t("uc_user.user_name")) + ": ", 1)
5065
5008
  ]),
5066
5009
  _: 1
5067
5010
  }),
@@ -5084,7 +5027,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5084
5027
  style: { "text-align": "right", "color": "#333" }
5085
5028
  }, {
5086
5029
  default: withCtx(() => [
5087
- createTextVNode(toDisplayString(_ctx.$t("user.dept_id")) + ":", 1)
5030
+ createTextVNode(toDisplayString(_ctx.$t("uc_user.dept_id")) + ":", 1)
5088
5031
  ]),
5089
5032
  _: 1
5090
5033
  }),
@@ -5102,7 +5045,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5102
5045
  }),
5103
5046
  createCommentVNode(` <a-row style="margin-bottom: 30px">\r
5104
5047
  <a-col :span="4" style="text-align: right; color: #333"\r
5105
- >{{ $t('user.depyId') }}:</a-col\r
5048
+ >{{ $t('uc_user.depyId') }}:</a-col\r
5106
5049
  >\r
5107
5050
  <a-col :span="20" style="padding-left: 10px">\r
5108
5051
  {{ data.departmentName }}\r
@@ -5115,7 +5058,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5115
5058
  style: { "text-align": "right", "color": "#333" }
5116
5059
  }, {
5117
5060
  default: withCtx(() => [
5118
- createTextVNode(toDisplayString(_ctx.$t("user.role")) + ":", 1)
5061
+ createTextVNode(toDisplayString(_ctx.$t("uc_user.role")) + ":", 1)
5119
5062
  ]),
5120
5063
  _: 1
5121
5064
  }),
@@ -5138,7 +5081,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5138
5081
  style: { "text-align": "right", "color": "#333" }
5139
5082
  }, {
5140
5083
  default: withCtx(() => [
5141
- createTextVNode(toDisplayString(_ctx.$t("user.role_other")) + ":", 1)
5084
+ createTextVNode(toDisplayString(_ctx.$t("uc_user.role_other")) + ":", 1)
5142
5085
  ]),
5143
5086
  _: 1
5144
5087
  }),
@@ -5161,7 +5104,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5161
5104
  style: { "text-align": "right", "color": "#333" }
5162
5105
  }, {
5163
5106
  default: withCtx(() => [
5164
- createTextVNode(toDisplayString(_ctx.$t("user.mobile")) + ":", 1)
5107
+ createTextVNode(toDisplayString(_ctx.$t("uc_user.mobile")) + ":", 1)
5165
5108
  ]),
5166
5109
  _: 1
5167
5110
  }),
@@ -5184,7 +5127,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5184
5127
  style: { "text-align": "right", "color": "#333" }
5185
5128
  }, {
5186
5129
  default: withCtx(() => [
5187
- createTextVNode(toDisplayString(_ctx.$t("user.email")) + ":", 1)
5130
+ createTextVNode(toDisplayString(_ctx.$t("uc_user.email")) + ":", 1)
5188
5131
  ]),
5189
5132
  _: 1
5190
5133
  }),
@@ -5207,7 +5150,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5207
5150
  style: { "text-align": "right", "color": "#333" }
5208
5151
  }, {
5209
5152
  default: withCtx(() => [
5210
- createTextVNode(toDisplayString(_ctx.$t("user.userDesc")) + ":", 1)
5153
+ createTextVNode(toDisplayString(_ctx.$t("uc_user.userDesc")) + ":", 1)
5211
5154
  ]),
5212
5155
  _: 1
5213
5156
  }),
@@ -5231,7 +5174,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5231
5174
  style: { "text-align": "right", "color": "#333" }
5232
5175
  }, {
5233
5176
  default: withCtx(() => [
5234
- createTextVNode(toDisplayString(_ctx.$t("user.cdate")) + ": ", 1)
5177
+ createTextVNode(toDisplayString(_ctx.$t("uc_user.cdate")) + ": ", 1)
5235
5178
  ]),
5236
5179
  _: 1
5237
5180
  }),
@@ -5257,7 +5200,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5257
5200
  style: { "text-align": "right", "color": "#333" }
5258
5201
  }, {
5259
5202
  default: withCtx(() => [
5260
- createTextVNode(toDisplayString(_ctx.$t("user.coperator")) + ": ", 1)
5203
+ createTextVNode(toDisplayString(_ctx.$t("uc_user.coperator")) + ": ", 1)
5261
5204
  ]),
5262
5205
  _: 1
5263
5206
  }),
@@ -5280,7 +5223,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5280
5223
  style: { "text-align": "right", "color": "#333" }
5281
5224
  }, {
5282
5225
  default: withCtx(() => [
5283
- createTextVNode(toDisplayString(_ctx.$t("user.udate")) + ": ", 1)
5226
+ createTextVNode(toDisplayString(_ctx.$t("uc_user.udate")) + ": ", 1)
5284
5227
  ]),
5285
5228
  _: 1
5286
5229
  }),
@@ -5311,7 +5254,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
5311
5254
  style: { "text-align": "right", "color": "#333" }
5312
5255
  }, {
5313
5256
  default: withCtx(() => [
5314
- createTextVNode(toDisplayString(_ctx.$t("user.uoperator")) + ": ", 1)
5257
+ createTextVNode(toDisplayString(_ctx.$t("uc_user.uoperator")) + ": ", 1)
5315
5258
  ]),
5316
5259
  _: 1
5317
5260
  }),
@@ -5406,22 +5349,22 @@ function toArray(msg, enc) {
5406
5349
  if (!enc) {
5407
5350
  var p = 0;
5408
5351
  for (var i = 0; i < msg.length; i++) {
5409
- var c2 = msg.charCodeAt(i);
5410
- if (c2 < 128) {
5411
- res[p++] = c2;
5412
- } else if (c2 < 2048) {
5413
- res[p++] = c2 >> 6 | 192;
5414
- res[p++] = c2 & 63 | 128;
5352
+ var c = msg.charCodeAt(i);
5353
+ if (c < 128) {
5354
+ res[p++] = c;
5355
+ } else if (c < 2048) {
5356
+ res[p++] = c >> 6 | 192;
5357
+ res[p++] = c & 63 | 128;
5415
5358
  } else if (isSurrogatePair(msg, i)) {
5416
- c2 = 65536 + ((c2 & 1023) << 10) + (msg.charCodeAt(++i) & 1023);
5417
- res[p++] = c2 >> 18 | 240;
5418
- res[p++] = c2 >> 12 & 63 | 128;
5419
- res[p++] = c2 >> 6 & 63 | 128;
5420
- res[p++] = c2 & 63 | 128;
5359
+ c = 65536 + ((c & 1023) << 10) + (msg.charCodeAt(++i) & 1023);
5360
+ res[p++] = c >> 18 | 240;
5361
+ res[p++] = c >> 12 & 63 | 128;
5362
+ res[p++] = c >> 6 & 63 | 128;
5363
+ res[p++] = c & 63 | 128;
5421
5364
  } else {
5422
- res[p++] = c2 >> 12 | 224;
5423
- res[p++] = c2 >> 6 & 63 | 128;
5424
- res[p++] = c2 & 63 | 128;
5365
+ res[p++] = c >> 12 | 224;
5366
+ res[p++] = c >> 6 & 63 | 128;
5367
+ res[p++] = c & 63 | 128;
5425
5368
  }
5426
5369
  }
5427
5370
  } else if (enc === "hex") {
@@ -5505,17 +5448,17 @@ utils$9.join32 = join32;
5505
5448
  function split32(msg, endian) {
5506
5449
  var res = new Array(msg.length * 4);
5507
5450
  for (var i = 0, k2 = 0; i < msg.length; i++, k2 += 4) {
5508
- var m2 = msg[i];
5451
+ var m = msg[i];
5509
5452
  if (endian === "big") {
5510
- res[k2] = m2 >>> 24;
5511
- res[k2 + 1] = m2 >>> 16 & 255;
5512
- res[k2 + 2] = m2 >>> 8 & 255;
5513
- res[k2 + 3] = m2 & 255;
5453
+ res[k2] = m >>> 24;
5454
+ res[k2 + 1] = m >>> 16 & 255;
5455
+ res[k2 + 2] = m >>> 8 & 255;
5456
+ res[k2 + 3] = m & 255;
5514
5457
  } else {
5515
- res[k2 + 3] = m2 >>> 24;
5516
- res[k2 + 2] = m2 >>> 16 & 255;
5517
- res[k2 + 1] = m2 >>> 8 & 255;
5518
- res[k2] = m2 & 255;
5458
+ res[k2 + 3] = m >>> 24;
5459
+ res[k2 + 2] = m >>> 16 & 255;
5460
+ res[k2 + 1] = m >>> 8 & 255;
5461
+ res[k2] = m & 255;
5519
5462
  }
5520
5463
  }
5521
5464
  return res;
@@ -5533,16 +5476,16 @@ function sum32$3(a, b) {
5533
5476
  return a + b >>> 0;
5534
5477
  }
5535
5478
  utils$9.sum32 = sum32$3;
5536
- function sum32_3$1(a, b, c2) {
5537
- return a + b + c2 >>> 0;
5479
+ function sum32_3$1(a, b, c) {
5480
+ return a + b + c >>> 0;
5538
5481
  }
5539
5482
  utils$9.sum32_3 = sum32_3$1;
5540
- function sum32_4$2(a, b, c2, d2) {
5541
- return a + b + c2 + d2 >>> 0;
5483
+ function sum32_4$2(a, b, c, d) {
5484
+ return a + b + c + d >>> 0;
5542
5485
  }
5543
5486
  utils$9.sum32_4 = sum32_4$2;
5544
- function sum32_5$2(a, b, c2, d2, e) {
5545
- return a + b + c2 + d2 + e >>> 0;
5487
+ function sum32_5$2(a, b, c, d, e) {
5488
+ return a + b + c + d + e >>> 0;
5546
5489
  }
5547
5490
  utils$9.sum32_5 = sum32_5$2;
5548
5491
  function sum64$1(buf, pos, ah, al) {
@@ -5777,22 +5720,22 @@ SHA1.prototype._update = function _update(msg, start) {
5777
5720
  W[i] = rotl32$1(W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16], 1);
5778
5721
  var a = this.h[0];
5779
5722
  var b = this.h[1];
5780
- var c2 = this.h[2];
5781
- var d2 = this.h[3];
5723
+ var c = this.h[2];
5724
+ var d = this.h[3];
5782
5725
  var e = this.h[4];
5783
5726
  for (i = 0; i < W.length; i++) {
5784
5727
  var s2 = ~~(i / 20);
5785
- var t = sum32_5$1(rotl32$1(a, 5), ft_1(s2, b, c2, d2), e, W[i], sha1_K[s2]);
5786
- e = d2;
5787
- d2 = c2;
5788
- c2 = rotl32$1(b, 30);
5728
+ var t = sum32_5$1(rotl32$1(a, 5), ft_1(s2, b, c, d), e, W[i], sha1_K[s2]);
5729
+ e = d;
5730
+ d = c;
5731
+ c = rotl32$1(b, 30);
5789
5732
  b = a;
5790
5733
  a = t;
5791
5734
  }
5792
5735
  this.h[0] = sum32$2(this.h[0], a);
5793
5736
  this.h[1] = sum32$2(this.h[1], b);
5794
- this.h[2] = sum32$2(this.h[2], c2);
5795
- this.h[3] = sum32$2(this.h[3], d2);
5737
+ this.h[2] = sum32$2(this.h[2], c);
5738
+ this.h[3] = sum32$2(this.h[3], d);
5796
5739
  this.h[4] = sum32$2(this.h[4], e);
5797
5740
  };
5798
5741
  SHA1.prototype._digest = function digest2(enc) {
@@ -5912,32 +5855,32 @@ SHA256$1.prototype._update = function _update2(msg, start) {
5912
5855
  W[i] = sum32_4$1(g1_256(W[i - 2]), W[i - 7], g0_256(W[i - 15]), W[i - 16]);
5913
5856
  var a = this.h[0];
5914
5857
  var b = this.h[1];
5915
- var c2 = this.h[2];
5916
- var d2 = this.h[3];
5858
+ var c = this.h[2];
5859
+ var d = this.h[3];
5917
5860
  var e = this.h[4];
5918
5861
  var f2 = this.h[5];
5919
- var g2 = this.h[6];
5862
+ var g = this.h[6];
5920
5863
  var h2 = this.h[7];
5921
5864
  assert$2(this.k.length === W.length);
5922
5865
  for (i = 0; i < W.length; i++) {
5923
- var T1 = sum32_5(h2, s1_256(e), ch32(e, f2, g2), this.k[i], W[i]);
5924
- var T2 = sum32$1(s0_256(a), maj32(a, b, c2));
5925
- h2 = g2;
5926
- g2 = f2;
5866
+ var T1 = sum32_5(h2, s1_256(e), ch32(e, f2, g), this.k[i], W[i]);
5867
+ var T2 = sum32$1(s0_256(a), maj32(a, b, c));
5868
+ h2 = g;
5869
+ g = f2;
5927
5870
  f2 = e;
5928
- e = sum32$1(d2, T1);
5929
- d2 = c2;
5930
- c2 = b;
5871
+ e = sum32$1(d, T1);
5872
+ d = c;
5873
+ c = b;
5931
5874
  b = a;
5932
5875
  a = sum32$1(T1, T2);
5933
5876
  }
5934
5877
  this.h[0] = sum32$1(this.h[0], a);
5935
5878
  this.h[1] = sum32$1(this.h[1], b);
5936
- this.h[2] = sum32$1(this.h[2], c2);
5937
- this.h[3] = sum32$1(this.h[3], d2);
5879
+ this.h[2] = sum32$1(this.h[2], c);
5880
+ this.h[3] = sum32$1(this.h[3], d);
5938
5881
  this.h[4] = sum32$1(this.h[4], e);
5939
5882
  this.h[5] = sum32$1(this.h[5], f2);
5940
- this.h[6] = sum32$1(this.h[6], g2);
5883
+ this.h[6] = sum32$1(this.h[6], g);
5941
5884
  this.h[7] = sum32$1(this.h[7], h2);
5942
5885
  };
5943
5886
  SHA256$1.prototype._digest = function digest3(enc) {
@@ -6951,7 +6894,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
6951
6894
  userPwd: [
6952
6895
  {
6953
6896
  required: true,
6954
- message: t("user.user_pwd1_msg1"),
6897
+ message: t("uc_user.user_pwd1_msg1"),
6955
6898
  trigger: ["blur", "change"]
6956
6899
  }
6957
6900
  ],
@@ -6961,12 +6904,12 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
6961
6904
  trigger: ["blur", "change"],
6962
6905
  validator: (rule, value) => {
6963
6906
  if (!value) {
6964
- return Promise.reject(t("user.user_pwd2_msg2"));
6907
+ return Promise.reject(t("uc_user.user_pwd2_msg2"));
6965
6908
  }
6966
6909
  if (form.userPwd === value) {
6967
6910
  return Promise.resolve();
6968
6911
  } else {
6969
- return Promise.reject(t("user.user_pwd2_msg1"));
6912
+ return Promise.reject(t("uc_user.user_pwd2_msg1"));
6970
6913
  }
6971
6914
  }
6972
6915
  }
@@ -6998,8 +6941,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
6998
6941
  });
6999
6942
  emit("ok", result);
7000
6943
  message.success({
7001
- title: t("register.msg5"),
7002
- content: t("user.tip1")
6944
+ content: t("uc_user.tip1")
7003
6945
  });
7004
6946
  }
7005
6947
  });
@@ -7019,7 +6961,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7019
6961
  open: visible.value,
7020
6962
  "onUpdate:open": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
7021
6963
  style: { "top": "280px" },
7022
- title: _ctx.$t("user.title4"),
6964
+ title: _ctx.$t("uc_user.title4"),
7023
6965
  destroyOnClose: destroyOnClose.value
7024
6966
  }, {
7025
6967
  default: withCtx(() => [
@@ -7033,7 +6975,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7033
6975
  }, {
7034
6976
  default: withCtx(() => [
7035
6977
  createVNode(_component_a_form_item, mergeProps({
7036
- label: _ctx.$t("user.user_pwd1")
6978
+ label: _ctx.$t("uc_user.user_pwd1")
7037
6979
  }, formItemLayout, {
7038
6980
  style: { "margin-bottom": "0" },
7039
6981
  name: "userPwd"
@@ -7042,7 +6984,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7042
6984
  createVNode(_component_a_input, {
7043
6985
  type: "password",
7044
6986
  style: { "width": "100%" },
7045
- placeholder: _ctx.$t("user.user_pwd1_placeholder"),
6987
+ placeholder: _ctx.$t("uc_user.user_pwd1_placeholder"),
7046
6988
  value: form.userPwd,
7047
6989
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.userPwd = $event)
7048
6990
  }, null, 8, ["placeholder", "value"])
@@ -7050,13 +6992,13 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7050
6992
  _: 1
7051
6993
  }, 16, ["label"]),
7052
6994
  createVNode(_component_a_form_item, mergeProps({
7053
- label: _ctx.$t("user.user_pwd2")
6995
+ label: _ctx.$t("uc_user.user_pwd2")
7054
6996
  }, formItemLayout, { name: "userPwd1" }), {
7055
6997
  default: withCtx(() => [
7056
6998
  createVNode(_component_a_input, {
7057
6999
  type: "password",
7058
7000
  style: { "width": "100%" },
7059
- placeholder: _ctx.$t("user.user_pwd2"),
7001
+ placeholder: _ctx.$t("uc_user.user_pwd2"),
7060
7002
  value: form.userPwd1,
7061
7003
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.userPwd1 = $event)
7062
7004
  }, null, 8, ["placeholder", "value"])
@@ -7122,19 +7064,19 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7122
7064
  };
7123
7065
  const columns = computed(() => [
7124
7066
  {
7125
- title: t("user.user_id"),
7067
+ title: t("uc_user.user_id"),
7126
7068
  dataIndex: "userCode",
7127
7069
  width: "180px",
7128
7070
  key: "userCode"
7129
7071
  },
7130
7072
  {
7131
- title: t("user.user_name"),
7073
+ title: t("uc_user.user_name"),
7132
7074
  dataIndex: "userName",
7133
7075
  width: "150px",
7134
7076
  key: "userName"
7135
7077
  },
7136
7078
  {
7137
- title: t("user.branchId"),
7079
+ title: t("uc_user.branchId"),
7138
7080
  dataIndex: "branchId",
7139
7081
  width: "150px",
7140
7082
  key: "branchId",
@@ -7143,7 +7085,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7143
7085
  customFilterDropdown: true
7144
7086
  },
7145
7087
  {
7146
- title: t("user.mainRoleName"),
7088
+ title: t("uc_user.mainRoleName"),
7147
7089
  dataIndex: "mainRoleName",
7148
7090
  width: "180px",
7149
7091
  key: "mainRoleName",
@@ -7156,7 +7098,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7156
7098
  filterResetToDefaultFilteredValue: true
7157
7099
  },
7158
7100
  {
7159
- title: t("user.user_status"),
7101
+ title: t("uc_user.user_status"),
7160
7102
  dataIndex: "userStatus",
7161
7103
  width: "80px",
7162
7104
  key: "userStatus",
@@ -7174,7 +7116,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7174
7116
  }
7175
7117
  },
7176
7118
  {
7177
- title: t("user.action"),
7119
+ title: t("uc_user.action"),
7178
7120
  key: "action",
7179
7121
  fixed: "right",
7180
7122
  width: "180px"
@@ -7220,7 +7162,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7220
7162
  const onRemove = async (record) => {
7221
7163
  const { result } = await setUserDelete({ userId: record.userId });
7222
7164
  if (result) {
7223
- message.success(t("assetclass.del_success"));
7165
+ message.success(t("uc_assetclass.del_success"));
7224
7166
  tableRef.value && tableRef.value.refresh();
7225
7167
  }
7226
7168
  };
@@ -7295,7 +7237,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7295
7237
  createElementVNode("div", _hoisted_1$q, [
7296
7238
  createElementVNode("div", _hoisted_2$c, [
7297
7239
  createVNode(_component_a_input_search, {
7298
- placeholder: _ctx.$t("user.search_placeholder"),
7240
+ placeholder: _ctx.$t("uc_user.search_placeholder"),
7299
7241
  ref: "inputSearch",
7300
7242
  allowClear: "",
7301
7243
  size: "middle",
@@ -7342,7 +7284,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7342
7284
  style: { "margin-right": "8px" }
7343
7285
  }, {
7344
7286
  default: withCtx(() => [
7345
- createTextVNode(toDisplayString(_ctx.$t("warehouse.sure")), 1)
7287
+ createTextVNode(toDisplayString(_ctx.$t("uc_warehouse.sure")), 1)
7346
7288
  ]),
7347
7289
  _: 2
7348
7290
  }, 1032, ["onClick"]),
@@ -7351,7 +7293,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7351
7293
  size: "small"
7352
7294
  }, {
7353
7295
  default: withCtx(() => [
7354
- createTextVNode(toDisplayString(_ctx.$t("warehouse.reset")), 1)
7296
+ createTextVNode(toDisplayString(_ctx.$t("uc_warehouse.reset")), 1)
7355
7297
  ]),
7356
7298
  _: 2
7357
7299
  }, 1032, ["onClick"])
@@ -7726,7 +7668,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
7726
7668
  allowClear: false,
7727
7669
  value: selectValues.value,
7728
7670
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => selectValues.value = $event),
7729
- placeholder: _ctx.$t("region.tree_placeholder"),
7671
+ placeholder: _ctx.$t("uc_region.tree_placeholder"),
7730
7672
  disabled: __props.disabled,
7731
7673
  onDropdownVisibleChange: onPopupVisibleChange,
7732
7674
  onChange
@@ -7791,9 +7733,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7791
7733
  const { t } = useI18n();
7792
7734
  const regionRef = ref(null);
7793
7735
  const data = ref([
7794
- { description: `${t("personal_center.no")}`, value: "" },
7795
- { description: `${t("personal_center.name")}`, value: "" },
7796
- { description: `${t("personal_center.area")}`, value: "" }
7736
+ { description: `${t("uc_personal_center.no")}`, value: "" },
7737
+ { description: `${t("uc_personal_center.name")}`, value: "" },
7738
+ { description: `${t("uc_personal_center.area")}`, value: "" }
7797
7739
  ]);
7798
7740
  const init2 = async () => {
7799
7741
  var _a;
@@ -7814,7 +7756,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7814
7756
  const _component_a_list_item = ListItem;
7815
7757
  const _component_a_list = List;
7816
7758
  return openBlock(), createElementBlock("div", null, [
7817
- createElementVNode("p", _hoisted_1$n, toDisplayString(_ctx.$t("personal_center.tab1")), 1),
7759
+ createElementVNode("p", _hoisted_1$n, toDisplayString(_ctx.$t("uc_personal_center.tab1")), 1),
7818
7760
  withDirectives(createVNode(RegionSelect, {
7819
7761
  ref_key: "regionRef",
7820
7762
  ref: regionRef
@@ -7830,7 +7772,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7830
7772
  default: withCtx(() => [
7831
7773
  createVNode(_component_a_list_item_meta, null, {
7832
7774
  title: withCtx(() => [
7833
- createElementVNode("a", null, toDisplayString(index2 == "0" ? _ctx.$t("personal_center.no") : index2 == "1" ? _ctx.$t("personal_center.name") : _ctx.$t("personal_center.area")), 1)
7775
+ createElementVNode("a", null, toDisplayString(index2 == "0" ? _ctx.$t("uc_personal_center.no") : index2 == "1" ? _ctx.$t("uc_personal_center.name") : _ctx.$t("uc_personal_center.area")), 1)
7834
7776
  ]),
7835
7777
  description: withCtx(() => [
7836
7778
  createElementVNode("span", null, [
@@ -7902,7 +7844,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
7902
7844
  return;
7903
7845
  }
7904
7846
  if (!form.email) {
7905
- message.error(t("personal_center.email_placeholder"));
7847
+ message.error(t("uc_personal_center.email_placeholder"));
7906
7848
  return;
7907
7849
  }
7908
7850
  if (btnClass.value === "sendBtn") {
@@ -7991,7 +7933,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
7991
7933
  };
7992
7934
  const handlePasswordLevel = (rule, value) => {
7993
7935
  if (!value) {
7994
- return Promise.reject(t("personal_center.user_pwd1_msg1"));
7936
+ return Promise.reject(t("uc_personal_center.user_pwd1_msg1"));
7995
7937
  }
7996
7938
  pwdStrength.value = 0;
7997
7939
  if (/[0-9]/.test(value)) {
@@ -8009,13 +7951,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8009
7951
  oldPwd: [
8010
7952
  {
8011
7953
  required: true,
8012
- message: t("personal_center.user_pwd3_msg1")
7954
+ message: t("uc_personal_center.user_pwd3_msg1")
8013
7955
  }
8014
7956
  ],
8015
7957
  newPwd: [
8016
7958
  {
8017
7959
  required: true,
8018
- message: t("personal_center.user_pwd1_msg1"),
7960
+ message: t("uc_personal_center.user_pwd1_msg1"),
8019
7961
  validator: handlePasswordLevel
8020
7962
  }
8021
7963
  ],
@@ -8024,12 +7966,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8024
7966
  required: true,
8025
7967
  validator: function(rule, value) {
8026
7968
  if (!value) {
8027
- return Promise.reject(t("personal_center.user_pwd2_msg2"));
7969
+ return Promise.reject(t("uc_personal_center.user_pwd2_msg2"));
8028
7970
  }
8029
7971
  if (form.newPwd === value) {
8030
7972
  return Promise.resolve();
8031
7973
  } else {
8032
- return Promise.reject(t("personal_center.user_pwd2_msg1"));
7974
+ return Promise.reject(t("uc_personal_center.user_pwd2_msg1"));
8033
7975
  }
8034
7976
  }
8035
7977
  }
@@ -8039,13 +7981,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8039
7981
  pwd: [
8040
7982
  {
8041
7983
  required: true,
8042
- message: t("personal_center.user_pwd4_msg1")
7984
+ message: t("uc_personal_center.user_pwd4_msg1")
8043
7985
  }
8044
7986
  ],
8045
7987
  mobile: [
8046
7988
  {
8047
7989
  required: true,
8048
- message: t("personal_center.mobile_placeholder")
7990
+ message: t("uc_personal_center.mobile_placeholder")
8049
7991
  }
8050
7992
  ]
8051
7993
  });
@@ -8053,7 +7995,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8053
7995
  pwd: [
8054
7996
  {
8055
7997
  required: true,
8056
- message: t("personal_center.user_pwd4_msg1")
7998
+ message: t("uc_personal_center.user_pwd4_msg1")
8057
7999
  }
8058
8000
  ],
8059
8001
  email: [
@@ -8062,9 +8004,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8062
8004
  trigger: ["blur"],
8063
8005
  validator: function(rule, value) {
8064
8006
  if (!value) {
8065
- return Promise.reject(t("personal_center.email_placeholder"));
8007
+ return Promise.reject(t("uc_personal_center.email_placeholder"));
8066
8008
  } else if (!isValidEmail(value)) {
8067
- return Promise.reject(t("personal_center.email_validate"));
8009
+ return Promise.reject(t("uc_personal_center.email_validate"));
8068
8010
  } else {
8069
8011
  return Promise.resolve();
8070
8012
  }
@@ -8077,9 +8019,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8077
8019
  trigger: ["blur"],
8078
8020
  validator: function(rule, value) {
8079
8021
  if (!value) {
8080
- return Promise.reject(t("personal_center.verify_code_placeholder"));
8022
+ return Promise.reject(t("uc_personal_center.verify_code_placeholder"));
8081
8023
  } else if (!isValidVerifyCode(value)) {
8082
- return Promise.reject(t("personal_center.verify_code_msg"));
8024
+ return Promise.reject(t("uc_personal_center.verify_code_msg"));
8083
8025
  } else {
8084
8026
  return Promise.resolve();
8085
8027
  }
@@ -8107,7 +8049,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8107
8049
  "onUpdate:open": _cache[12] || (_cache[12] = ($event) => visible.value = $event),
8108
8050
  closable: false,
8109
8051
  style: { "top": "280px" },
8110
- title: pram.value == "1" ? _ctx.$t("personal_center.title1") : pram.value == "2" ? _ctx.$t("personal_center.title2") : pram.value == "3" ? _ctx.$t("personal_center.title3") : _ctx.$t("personal_center.title5"),
8052
+ title: pram.value == "1" ? _ctx.$t("uc_personal_center.title1") : pram.value == "2" ? _ctx.$t("uc_personal_center.title2") : pram.value == "3" ? _ctx.$t("uc_personal_center.title3") : _ctx.$t("uc_personal_center.title5"),
8111
8053
  destroyOnClose: true
8112
8054
  }, {
8113
8055
  footer: withCtx(() => [
@@ -8143,12 +8085,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8143
8085
  }, {
8144
8086
  default: withCtx(() => [
8145
8087
  createVNode(_component_a_form_item, mergeProps({
8146
- label: _ctx.$t("personal_center.user_pwd3")
8088
+ label: _ctx.$t("uc_personal_center.user_pwd3")
8147
8089
  }, formItemLayout.value, { name: "oldPwd" }), {
8148
8090
  default: withCtx(() => [
8149
8091
  createVNode(_component_a_input, {
8150
8092
  type: "password",
8151
- placeholder: _ctx.$t("personal_center.user_pwd3_msg1"),
8093
+ placeholder: _ctx.$t("uc_personal_center.user_pwd3_msg1"),
8152
8094
  value: form.oldPwd,
8153
8095
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.oldPwd = $event)
8154
8096
  }, null, 8, ["placeholder", "value"])
@@ -8156,12 +8098,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8156
8098
  _: 1
8157
8099
  }, 16, ["label"]),
8158
8100
  createVNode(_component_a_form_item, mergeProps({
8159
- label: _ctx.$t("personal_center.user_pwd1")
8101
+ label: _ctx.$t("uc_personal_center.user_pwd1")
8160
8102
  }, formItemLayout.value, { name: "newPwd" }), {
8161
8103
  default: withCtx(() => [
8162
8104
  createVNode(_component_a_input, {
8163
8105
  type: "password",
8164
- placeholder: _ctx.$t("personal_center.user_pwd1_placeholder"),
8106
+ placeholder: _ctx.$t("uc_personal_center.user_pwd1_placeholder"),
8165
8107
  value: form.newPwd,
8166
8108
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.newPwd = $event)
8167
8109
  }, null, 8, ["placeholder", "value"])
@@ -8169,12 +8111,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8169
8111
  _: 1
8170
8112
  }, 16, ["label"]),
8171
8113
  createVNode(_component_a_form_item, mergeProps({
8172
- label: _ctx.$t("personal_center.user_pwd2")
8114
+ label: _ctx.$t("uc_personal_center.user_pwd2")
8173
8115
  }, formItemLayout.value, { name: "userPwd1" }), {
8174
8116
  default: withCtx(() => [
8175
8117
  createVNode(_component_a_input, {
8176
8118
  type: "password",
8177
- placeholder: _ctx.$t("personal_center.user_pwd2_placeholder"),
8119
+ placeholder: _ctx.$t("uc_personal_center.user_pwd2_placeholder"),
8178
8120
  value: form.userPwd1,
8179
8121
  "onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.userPwd1 = $event)
8180
8122
  }, null, 8, ["placeholder", "value"])
@@ -8182,7 +8124,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8182
8124
  _: 1
8183
8125
  }, 16, ["label"]),
8184
8126
  createVNode(_component_a_form_item, mergeProps({
8185
- label: _ctx.$t("personal_center.psw_strength")
8127
+ label: _ctx.$t("uc_personal_center.psw_strength")
8186
8128
  }, formItemLayout.value, { name: "pwdStrength" }), {
8187
8129
  default: withCtx(() => [
8188
8130
  createVNode(_component_a_rate, {
@@ -8208,12 +8150,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8208
8150
  }, {
8209
8151
  default: withCtx(() => [
8210
8152
  createVNode(_component_a_form_item, mergeProps({
8211
- label: _ctx.$t("personal_center.user_pwd4")
8153
+ label: _ctx.$t("uc_personal_center.user_pwd4")
8212
8154
  }, formItemLayout.value, { name: "pwd" }), {
8213
8155
  default: withCtx(() => [
8214
8156
  createVNode(_component_a_input, {
8215
8157
  type: "password",
8216
- placeholder: _ctx.$t("personal_center.user_pwd4_msg1"),
8158
+ placeholder: _ctx.$t("uc_personal_center.user_pwd4_msg1"),
8217
8159
  value: form.pwd,
8218
8160
  "onUpdate:value": _cache[4] || (_cache[4] = ($event) => form.pwd = $event)
8219
8161
  }, null, 8, ["placeholder", "value"])
@@ -8221,13 +8163,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8221
8163
  _: 1
8222
8164
  }, 16, ["label"]),
8223
8165
  createVNode(_component_a_form_item, mergeProps({
8224
- label: _ctx.$t("personal_center.mobile")
8166
+ label: _ctx.$t("uc_personal_center.mobile")
8225
8167
  }, formItemLayout.value, { name: "mobile" }), {
8226
8168
  default: withCtx(() => [
8227
8169
  createVNode(_component_a_input, {
8228
8170
  value: form.mobile,
8229
8171
  "onUpdate:value": _cache[5] || (_cache[5] = ($event) => form.mobile = $event),
8230
- placeholder: _ctx.$t("personal_center.mobile_placeholder")
8172
+ placeholder: _ctx.$t("uc_personal_center.mobile_placeholder")
8231
8173
  }, null, 8, ["value", "placeholder"])
8232
8174
  ]),
8233
8175
  _: 1
@@ -8246,12 +8188,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8246
8188
  }, {
8247
8189
  default: withCtx(() => [
8248
8190
  createVNode(_component_a_form_item, mergeProps({
8249
- label: _ctx.$t("personal_center.user_pwd4")
8191
+ label: _ctx.$t("uc_personal_center.user_pwd4")
8250
8192
  }, formItemLayout.value, { name: "pwd" }), {
8251
8193
  default: withCtx(() => [
8252
8194
  createVNode(_component_a_input, {
8253
8195
  type: "password",
8254
- placeholder: _ctx.$t("personal_center.user_pwd4_msg1"),
8196
+ placeholder: _ctx.$t("uc_personal_center.user_pwd4_msg1"),
8255
8197
  value: form.pwd,
8256
8198
  "onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.pwd = $event)
8257
8199
  }, null, 8, ["placeholder", "value"])
@@ -8259,19 +8201,19 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8259
8201
  _: 1
8260
8202
  }, 16, ["label"]),
8261
8203
  createVNode(_component_a_form_item, mergeProps({
8262
- label: _ctx.$t("personal_center.email1")
8204
+ label: _ctx.$t("uc_personal_center.email1")
8263
8205
  }, formItemLayout.value, { name: "email" }), {
8264
8206
  default: withCtx(() => [
8265
8207
  createVNode(_component_a_input, {
8266
8208
  value: form.email,
8267
8209
  "onUpdate:value": _cache[7] || (_cache[7] = ($event) => form.email = $event),
8268
- placeholder: _ctx.$t("personal_center.email_placeholder")
8210
+ placeholder: _ctx.$t("uc_personal_center.email_placeholder")
8269
8211
  }, null, 8, ["value", "placeholder"])
8270
8212
  ]),
8271
8213
  _: 1
8272
8214
  }, 16, ["label"]),
8273
8215
  createVNode(_component_a_form_item, mergeProps({
8274
- label: _ctx.$t("personal_center.verify_code")
8216
+ label: _ctx.$t("uc_personal_center.verify_code")
8275
8217
  }, formItemLayout.value, { name: "captcha" }), {
8276
8218
  default: withCtx(() => [
8277
8219
  createVNode(_component_a_input, {
@@ -8279,7 +8221,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8279
8221
  autocomplete: "off",
8280
8222
  value: form.captcha,
8281
8223
  "onUpdate:value": _cache[8] || (_cache[8] = ($event) => form.captcha = $event),
8282
- placeholder: _ctx.$t("personal_center.verify_code_placeholder")
8224
+ placeholder: _ctx.$t("uc_personal_center.verify_code_placeholder")
8283
8225
  }, null, 8, ["value", "placeholder"])
8284
8226
  ]),
8285
8227
  _: 1
@@ -8292,7 +8234,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8292
8234
  onClick: _cache[9] || (_cache[9] = ($event) => sendCheck("email"))
8293
8235
  }, {
8294
8236
  default: withCtx(() => [
8295
- createTextVNode(toDisplayString(change.value ? _ctx.$t("personal_center.get_verify_code") : secondTip.value), 1)
8237
+ createTextVNode(toDisplayString(change.value ? _ctx.$t("uc_personal_center.get_verify_code") : secondTip.value), 1)
8296
8238
  ]),
8297
8239
  _: 1
8298
8240
  }, 8, ["class"])
@@ -8312,17 +8254,17 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8312
8254
  }, {
8313
8255
  default: withCtx(() => [
8314
8256
  createVNode(_component_a_form_item, mergeProps({
8315
- label: _ctx.$t("personal_center.user_pwd4")
8257
+ label: _ctx.$t("uc_personal_center.user_pwd4")
8316
8258
  }, formItemLayout.value, {
8317
8259
  name: "pwd",
8318
8260
  rules: [
8319
- { required: true, message: _ctx.$t("personal_center.user_pwd3_msg1") }
8261
+ { required: true, message: _ctx.$t("uc_personal_center.user_pwd3_msg1") }
8320
8262
  ]
8321
8263
  }), {
8322
8264
  default: withCtx(() => [
8323
8265
  createVNode(_component_a_input, {
8324
8266
  type: "password",
8325
- placeholder: _ctx.$t("personal_center.user_pwd4_msg1"),
8267
+ placeholder: _ctx.$t("uc_personal_center.user_pwd4_msg1"),
8326
8268
  value: form.pwd,
8327
8269
  "onUpdate:value": _cache[10] || (_cache[10] = ($event) => form.pwd = $event)
8328
8270
  }, null, 8, ["placeholder", "value"])
@@ -8330,10 +8272,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
8330
8272
  _: 1
8331
8273
  }, 16, ["label", "rules"]),
8332
8274
  createVNode(_component_a_form_item, mergeProps({
8333
- label: _ctx.$t("personal_center.code")
8275
+ label: _ctx.$t("uc_personal_center.code")
8334
8276
  }, formItemLayout.value, {
8335
8277
  name: "userCode",
8336
- rules: [{ required: true, message: _ctx.$t("personal_center.code_msg1") }]
8278
+ rules: [{ required: true, message: _ctx.$t("uc_personal_center.code_msg1") }]
8337
8279
  }), {
8338
8280
  default: withCtx(() => [
8339
8281
  createVNode(_component_a_input, {
@@ -8428,38 +8370,38 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8428
8370
  const dataSource = computed(() => {
8429
8371
  return [
8430
8372
  {
8431
- title: t("personal_center.account"),
8373
+ title: t("uc_personal_center.account"),
8432
8374
  description: [
8433
- t("personal_center.no"),
8434
- t("personal_center.role"),
8435
- t("personal_center.last_time")
8375
+ t("uc_personal_center.no"),
8376
+ t("uc_personal_center.role"),
8377
+ t("uc_personal_center.last_time")
8436
8378
  ],
8437
8379
  value: data.value.account
8438
8380
  },
8439
8381
  {
8440
- title: t("personal_center.account_psw"),
8441
- description: [t("personal_center.psw_strength")],
8382
+ title: t("uc_personal_center.account_psw"),
8383
+ description: [t("uc_personal_center.psw_strength")],
8442
8384
  value: data.value.account_psw,
8443
8385
  actions: {
8444
- title: t("personal_center.edit"),
8386
+ title: t("uc_personal_center.edit"),
8445
8387
  callback: () => onEdit("1")
8446
8388
  }
8447
8389
  },
8448
8390
  {
8449
- title: t("personal_center.tel"),
8450
- description: [t("personal_center.using_tel")],
8391
+ title: t("uc_personal_center.tel"),
8392
+ description: [t("uc_personal_center.using_tel")],
8451
8393
  value: data.value.tel,
8452
8394
  actions: {
8453
- title: t("personal_center.edit"),
8395
+ title: t("uc_personal_center.edit"),
8454
8396
  callback: () => onEdit("2")
8455
8397
  }
8456
8398
  },
8457
8399
  {
8458
- title: t("personal_center.email"),
8459
- description: [t("personal_center.using_email")],
8400
+ title: t("uc_personal_center.email"),
8401
+ description: [t("uc_personal_center.using_email")],
8460
8402
  value: data.value.email,
8461
8403
  actions: {
8462
- title: t("personal_center.edit"),
8404
+ title: t("uc_personal_center.edit"),
8463
8405
  callback: () => onEdit("3")
8464
8406
  }
8465
8407
  }
@@ -8492,7 +8434,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
8492
8434
  const _component_a_list_item = ListItem;
8493
8435
  const _component_a_list = List;
8494
8436
  return openBlock(), createElementBlock("div", null, [
8495
- createElementVNode("p", _hoisted_1$m, toDisplayString(_ctx.$t("personal_center.tab3")), 1),
8437
+ createElementVNode("p", _hoisted_1$m, toDisplayString(_ctx.$t("uc_personal_center.tab3")), 1),
8496
8438
  getData.value ? (openBlock(), createBlock(_component_a_list, {
8497
8439
  key: 0,
8498
8440
  itemLayout: "horizontal",
@@ -8627,16 +8569,16 @@ function T(t, e, i) {
8627
8569
  return s2;
8628
8570
  }
8629
8571
  function N(t) {
8630
- var e = new DataView(t), i = e.byteLength, s2, r2, o, h2, a, n, c2, l, f2, p;
8572
+ var e = new DataView(t), i = e.byteLength, s2, r2, o, h2, a, n, c, l, f2, p;
8631
8573
  if (e.getUint8(0) === 255 && e.getUint8(1) === 216)
8632
8574
  for (f2 = 2; f2 < i; ) {
8633
8575
  if (e.getUint8(f2) === 255 && e.getUint8(f2 + 1) === 225) {
8634
- c2 = f2;
8576
+ c = f2;
8635
8577
  break;
8636
8578
  }
8637
8579
  f2++;
8638
8580
  }
8639
- if (c2 && (r2 = c2 + 4, o = c2 + 10, T(e, r2, 4) === "Exif" && (n = e.getUint16(o), a = n === 18761, (a || n === 19789) && e.getUint16(o + 2, a) === 42 && (h2 = e.getUint32(o + 4, a), h2 >= 8 && (l = o + h2)))), l) {
8581
+ if (c && (r2 = c + 4, o = c + 10, T(e, r2, 4) === "Exif" && (n = e.getUint16(o), a = n === 18761, (a || n === 19789) && e.getUint16(o + 2, a) === 42 && (h2 = e.getUint32(o + 4, a), h2 >= 8 && (l = o + h2)))), l) {
8640
8582
  for (i = e.getUint16(l, a), p = 0; p < i; p++)
8641
8583
  if (f2 = l + p * 12 + 2, e.getUint16(f2, a) === 274) {
8642
8584
  f2 += 8, s2 = e.getUint16(f2, a);
@@ -8981,9 +8923,9 @@ const $ = (t, e) => {
8981
8923
  Math.pow(i.x - r2.x, 2) + Math.pow(i.y - r2.y, 2)
8982
8924
  ), a = Math.sqrt(
8983
8925
  Math.pow(s2.x - o.x, 2) + Math.pow(s2.y - o.y, 2)
8984
- ), n = a - h2, c2 = 1;
8985
- c2 = c2 / this.trueWidth > c2 / this.trueHeight ? c2 / this.trueHeight : c2 / this.trueWidth, c2 = c2 > 0.1 ? 0.1 : c2;
8986
- var l = c2 * n;
8926
+ ), n = a - h2, c = 1;
8927
+ c = c / this.trueWidth > c / this.trueHeight ? c / this.trueHeight : c / this.trueWidth, c = c > 0.1 ? 0.1 : c;
8928
+ var l = c * n;
8987
8929
  if (!this.touchNow) {
8988
8930
  if (this.touchNow = true, n > 0 ? e += Math.abs(l) : n < 0 && e > Math.abs(l) && (e -= Math.abs(l)), this.touches = t.touches, setTimeout(() => {
8989
8931
  this.touchNow = false;
@@ -9001,19 +8943,19 @@ const $ = (t, e) => {
9001
8943
  let e = "clientX" in t ? t.clientX : t.touches[0].clientX, i = "clientY" in t ? t.clientY : t.touches[0].clientY, s2, r2;
9002
8944
  s2 = e - this.moveX, r2 = i - this.moveY, this.$nextTick(() => {
9003
8945
  if (this.centerBox) {
9004
- let o = this.getImgAxis(s2, r2, this.scale), h2 = this.getCropAxis(), a = this.trueHeight * this.scale, n = this.trueWidth * this.scale, c2, l, f2, p;
8946
+ let o = this.getImgAxis(s2, r2, this.scale), h2 = this.getCropAxis(), a = this.trueHeight * this.scale, n = this.trueWidth * this.scale, c, l, f2, p;
9005
8947
  switch (this.rotate) {
9006
8948
  case 1:
9007
8949
  case -1:
9008
8950
  case 3:
9009
8951
  case -3:
9010
- c2 = this.cropOffsertX - this.trueWidth * (1 - this.scale) / 2 + (a - n) / 2, l = this.cropOffsertY - this.trueHeight * (1 - this.scale) / 2 + (n - a) / 2, f2 = c2 - a + this.cropW, p = l - n + this.cropH;
8952
+ c = this.cropOffsertX - this.trueWidth * (1 - this.scale) / 2 + (a - n) / 2, l = this.cropOffsertY - this.trueHeight * (1 - this.scale) / 2 + (n - a) / 2, f2 = c - a + this.cropW, p = l - n + this.cropH;
9011
8953
  break;
9012
8954
  default:
9013
- c2 = this.cropOffsertX - this.trueWidth * (1 - this.scale) / 2, l = this.cropOffsertY - this.trueHeight * (1 - this.scale) / 2, f2 = c2 - n + this.cropW, p = l - a + this.cropH;
8955
+ c = this.cropOffsertX - this.trueWidth * (1 - this.scale) / 2, l = this.cropOffsertY - this.trueHeight * (1 - this.scale) / 2, f2 = c - n + this.cropW, p = l - a + this.cropH;
9014
8956
  break;
9015
8957
  }
9016
- o.x1 >= h2.x1 && (s2 = c2), o.y1 >= h2.y1 && (r2 = l), o.x2 <= h2.x2 && (s2 = f2), o.y2 <= h2.y2 && (r2 = p);
8958
+ o.x1 >= h2.x1 && (s2 = c), o.y1 >= h2.y1 && (r2 = l), o.x2 <= h2.x2 && (s2 = f2), o.y2 <= h2.y2 && (r2 = p);
9017
8959
  }
9018
8960
  this.x = s2, this.y = r2, this.$emit("img-moving", {
9019
8961
  moving: true,
@@ -9081,13 +9023,13 @@ const $ = (t, e) => {
9081
9023
  var e = "clientX" in t ? t.clientX : t.touches ? t.touches[0].clientX : 0, i = "clientY" in t ? t.clientY : t.touches ? t.touches[0].clientY : 0;
9082
9024
  let s2 = this.w, r2 = this.h, o = 0, h2 = 0;
9083
9025
  if (this.centerBox) {
9084
- let c2 = this.getImgAxis(), l = c2.x2, f2 = c2.y2;
9085
- o = c2.x1 > 0 ? c2.x1 : 0, h2 = c2.y1 > 0 ? c2.y1 : 0, s2 > l && (s2 = l), r2 > f2 && (r2 = f2);
9026
+ let c = this.getImgAxis(), l = c.x2, f2 = c.y2;
9027
+ o = c.x1 > 0 ? c.x1 : 0, h2 = c.y1 > 0 ? c.y1 : 0, s2 > l && (s2 = l), r2 > f2 && (r2 = f2);
9086
9028
  }
9087
9029
  const [a, n] = this.checkCropLimitSize();
9088
9030
  this.$nextTick(() => {
9089
- var c2 = e - this.cropX, l = i - this.cropY;
9090
- if (this.canChangeX && (this.changeCropTypeX === 1 ? this.cropOldW - c2 < a ? (this.cropW = a, this.cropOffsertX = this.cropOldW + this.cropChangeX - o - a) : this.cropOldW - c2 > 0 ? (this.cropW = s2 - this.cropChangeX - c2 <= s2 - o ? this.cropOldW - c2 : this.cropOldW + this.cropChangeX - o, this.cropOffsertX = s2 - this.cropChangeX - c2 <= s2 - o ? this.cropChangeX + c2 : o) : (this.cropW = Math.abs(c2) + this.cropChangeX <= s2 ? Math.abs(c2) - this.cropOldW : s2 - this.cropOldW - this.cropChangeX, this.cropOffsertX = this.cropChangeX + this.cropOldW) : this.changeCropTypeX === 2 && (this.cropOldW + c2 < a ? this.cropW = a : this.cropOldW + c2 > 0 ? (this.cropW = this.cropOldW + c2 + this.cropOffsertX <= s2 ? this.cropOldW + c2 : s2 - this.cropOffsertX, this.cropOffsertX = this.cropChangeX) : (this.cropW = s2 - this.cropChangeX + Math.abs(c2 + this.cropOldW) <= s2 - o ? Math.abs(c2 + this.cropOldW) : this.cropChangeX - o, this.cropOffsertX = s2 - this.cropChangeX + Math.abs(c2 + this.cropOldW) <= s2 - o ? this.cropChangeX - Math.abs(c2 + this.cropOldW) : o))), this.canChangeY && (this.changeCropTypeY === 1 ? this.cropOldH - l < n ? (this.cropH = n, this.cropOffsertY = this.cropOldH + this.cropChangeY - h2 - n) : this.cropOldH - l > 0 ? (this.cropH = r2 - this.cropChangeY - l <= r2 - h2 ? this.cropOldH - l : this.cropOldH + this.cropChangeY - h2, this.cropOffsertY = r2 - this.cropChangeY - l <= r2 - h2 ? this.cropChangeY + l : h2) : (this.cropH = Math.abs(l) + this.cropChangeY <= r2 ? Math.abs(l) - this.cropOldH : r2 - this.cropOldH - this.cropChangeY, this.cropOffsertY = this.cropChangeY + this.cropOldH) : this.changeCropTypeY === 2 && (this.cropOldH + l < n ? this.cropH = n : this.cropOldH + l > 0 ? (this.cropH = this.cropOldH + l + this.cropOffsertY <= r2 ? this.cropOldH + l : r2 - this.cropOffsertY, this.cropOffsertY = this.cropChangeY) : (this.cropH = r2 - this.cropChangeY + Math.abs(l + this.cropOldH) <= r2 - h2 ? Math.abs(l + this.cropOldH) : this.cropChangeY - h2, this.cropOffsertY = r2 - this.cropChangeY + Math.abs(l + this.cropOldH) <= r2 - h2 ? this.cropChangeY - Math.abs(l + this.cropOldH) : h2))), this.canChangeX && this.fixed) {
9031
+ var c = e - this.cropX, l = i - this.cropY;
9032
+ if (this.canChangeX && (this.changeCropTypeX === 1 ? this.cropOldW - c < a ? (this.cropW = a, this.cropOffsertX = this.cropOldW + this.cropChangeX - o - a) : this.cropOldW - c > 0 ? (this.cropW = s2 - this.cropChangeX - c <= s2 - o ? this.cropOldW - c : this.cropOldW + this.cropChangeX - o, this.cropOffsertX = s2 - this.cropChangeX - c <= s2 - o ? this.cropChangeX + c : o) : (this.cropW = Math.abs(c) + this.cropChangeX <= s2 ? Math.abs(c) - this.cropOldW : s2 - this.cropOldW - this.cropChangeX, this.cropOffsertX = this.cropChangeX + this.cropOldW) : this.changeCropTypeX === 2 && (this.cropOldW + c < a ? this.cropW = a : this.cropOldW + c > 0 ? (this.cropW = this.cropOldW + c + this.cropOffsertX <= s2 ? this.cropOldW + c : s2 - this.cropOffsertX, this.cropOffsertX = this.cropChangeX) : (this.cropW = s2 - this.cropChangeX + Math.abs(c + this.cropOldW) <= s2 - o ? Math.abs(c + this.cropOldW) : this.cropChangeX - o, this.cropOffsertX = s2 - this.cropChangeX + Math.abs(c + this.cropOldW) <= s2 - o ? this.cropChangeX - Math.abs(c + this.cropOldW) : o))), this.canChangeY && (this.changeCropTypeY === 1 ? this.cropOldH - l < n ? (this.cropH = n, this.cropOffsertY = this.cropOldH + this.cropChangeY - h2 - n) : this.cropOldH - l > 0 ? (this.cropH = r2 - this.cropChangeY - l <= r2 - h2 ? this.cropOldH - l : this.cropOldH + this.cropChangeY - h2, this.cropOffsertY = r2 - this.cropChangeY - l <= r2 - h2 ? this.cropChangeY + l : h2) : (this.cropH = Math.abs(l) + this.cropChangeY <= r2 ? Math.abs(l) - this.cropOldH : r2 - this.cropOldH - this.cropChangeY, this.cropOffsertY = this.cropChangeY + this.cropOldH) : this.changeCropTypeY === 2 && (this.cropOldH + l < n ? this.cropH = n : this.cropOldH + l > 0 ? (this.cropH = this.cropOldH + l + this.cropOffsertY <= r2 ? this.cropOldH + l : r2 - this.cropOffsertY, this.cropOffsertY = this.cropChangeY) : (this.cropH = r2 - this.cropChangeY + Math.abs(l + this.cropOldH) <= r2 - h2 ? Math.abs(l + this.cropOldH) : this.cropChangeY - h2, this.cropOffsertY = r2 - this.cropChangeY + Math.abs(l + this.cropOldH) <= r2 - h2 ? this.cropChangeY - Math.abs(l + this.cropOldH) : h2))), this.canChangeX && this.fixed) {
9091
9033
  var f2 = this.cropW / this.fixedNumber[0] * this.fixedNumber[1];
9092
9034
  f2 < n ? (this.cropH = n, this.cropW = this.fixedNumber[0] * n / this.fixedNumber[1], this.changeCropTypeX === 1 && (this.cropOffsertX = this.cropChangeX + (this.cropOldW - this.cropW))) : f2 + this.cropOffsertY > r2 ? (this.cropH = r2 - this.cropOffsertY, this.cropW = this.cropH / this.fixedNumber[1] * this.fixedNumber[0], this.changeCropTypeX === 1 && (this.cropOffsertX = this.cropChangeX + (this.cropOldW - this.cropW))) : this.cropH = f2;
9093
9035
  }
@@ -9202,87 +9144,87 @@ const $ = (t, e) => {
9202
9144
  if (this.cropW !== 0) {
9203
9145
  let p = 1;
9204
9146
  this.high & !this.full && (p = window.devicePixelRatio), this.enlarge !== 1 & !this.full && (p = Math.abs(Number(this.enlarge)));
9205
- let d2 = this.cropW * p, C = this.cropH * p, u2 = o * this.scale * p, g2 = h2 * this.scale * p, m2 = (this.x - a + this.trueWidth * (1 - this.scale) / 2) * p, v = (this.y - n + this.trueHeight * (1 - this.scale) / 2) * p;
9206
- switch (f2(d2, C), i.save(), r2) {
9147
+ let d = this.cropW * p, C = this.cropH * p, u = o * this.scale * p, g = h2 * this.scale * p, m = (this.x - a + this.trueWidth * (1 - this.scale) / 2) * p, v = (this.y - n + this.trueHeight * (1 - this.scale) / 2) * p;
9148
+ switch (f2(d, C), i.save(), r2) {
9207
9149
  case 0:
9208
- this.full ? (f2(d2 / this.scale, C / this.scale), i.drawImage(
9150
+ this.full ? (f2(d / this.scale, C / this.scale), i.drawImage(
9209
9151
  s2,
9210
- m2 / this.scale,
9152
+ m / this.scale,
9211
9153
  v / this.scale,
9212
- u2 / this.scale,
9213
- g2 / this.scale
9214
- )) : i.drawImage(s2, m2, v, u2, g2);
9154
+ u / this.scale,
9155
+ g / this.scale
9156
+ )) : i.drawImage(s2, m, v, u, g);
9215
9157
  break;
9216
9158
  case 1:
9217
9159
  case -3:
9218
- this.full ? (f2(d2 / this.scale, C / this.scale), m2 = m2 / this.scale + (u2 / this.scale - g2 / this.scale) / 2, v = v / this.scale + (g2 / this.scale - u2 / this.scale) / 2, i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(
9160
+ this.full ? (f2(d / this.scale, C / this.scale), m = m / this.scale + (u / this.scale - g / this.scale) / 2, v = v / this.scale + (g / this.scale - u / this.scale) / 2, i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(
9219
9161
  s2,
9220
9162
  v,
9221
- -m2 - g2 / this.scale,
9222
- u2 / this.scale,
9223
- g2 / this.scale
9224
- )) : (m2 = m2 + (u2 - g2) / 2, v = v + (g2 - u2) / 2, i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(s2, v, -m2 - g2, u2, g2));
9163
+ -m - g / this.scale,
9164
+ u / this.scale,
9165
+ g / this.scale
9166
+ )) : (m = m + (u - g) / 2, v = v + (g - u) / 2, i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(s2, v, -m - g, u, g));
9225
9167
  break;
9226
9168
  case 2:
9227
9169
  case -2:
9228
- this.full ? (f2(d2 / this.scale, C / this.scale), i.rotate(r2 * 90 * Math.PI / 180), m2 = m2 / this.scale, v = v / this.scale, i.drawImage(
9170
+ this.full ? (f2(d / this.scale, C / this.scale), i.rotate(r2 * 90 * Math.PI / 180), m = m / this.scale, v = v / this.scale, i.drawImage(
9229
9171
  s2,
9230
- -m2 - u2 / this.scale,
9231
- -v - g2 / this.scale,
9232
- u2 / this.scale,
9233
- g2 / this.scale
9234
- )) : (i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(s2, -m2 - u2, -v - g2, u2, g2));
9172
+ -m - u / this.scale,
9173
+ -v - g / this.scale,
9174
+ u / this.scale,
9175
+ g / this.scale
9176
+ )) : (i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(s2, -m - u, -v - g, u, g));
9235
9177
  break;
9236
9178
  case 3:
9237
9179
  case -1:
9238
- this.full ? (f2(d2 / this.scale, C / this.scale), m2 = m2 / this.scale + (u2 / this.scale - g2 / this.scale) / 2, v = v / this.scale + (g2 / this.scale - u2 / this.scale) / 2, i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(
9180
+ this.full ? (f2(d / this.scale, C / this.scale), m = m / this.scale + (u / this.scale - g / this.scale) / 2, v = v / this.scale + (g / this.scale - u / this.scale) / 2, i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(
9239
9181
  s2,
9240
- -v - u2 / this.scale,
9241
- m2,
9242
- u2 / this.scale,
9243
- g2 / this.scale
9244
- )) : (m2 = m2 + (u2 - g2) / 2, v = v + (g2 - u2) / 2, i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(s2, -v - u2, m2, u2, g2));
9182
+ -v - u / this.scale,
9183
+ m,
9184
+ u / this.scale,
9185
+ g / this.scale
9186
+ )) : (m = m + (u - g) / 2, v = v + (g - u) / 2, i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(s2, -v - u, m, u, g));
9245
9187
  break;
9246
9188
  default:
9247
- this.full ? (f2(d2 / this.scale, C / this.scale), i.drawImage(
9189
+ this.full ? (f2(d / this.scale, C / this.scale), i.drawImage(
9248
9190
  s2,
9249
- m2 / this.scale,
9191
+ m / this.scale,
9250
9192
  v / this.scale,
9251
- u2 / this.scale,
9252
- g2 / this.scale
9253
- )) : i.drawImage(s2, m2, v, u2, g2);
9193
+ u / this.scale,
9194
+ g / this.scale
9195
+ )) : i.drawImage(s2, m, v, u, g);
9254
9196
  }
9255
9197
  i.restore();
9256
9198
  } else {
9257
- let p = o * this.scale, d2 = h2 * this.scale;
9199
+ let p = o * this.scale, d = h2 * this.scale;
9258
9200
  switch (i.save(), r2) {
9259
9201
  case 0:
9260
- f2(p, d2), i.drawImage(s2, 0, 0, p, d2);
9202
+ f2(p, d), i.drawImage(s2, 0, 0, p, d);
9261
9203
  break;
9262
9204
  case 1:
9263
9205
  case -3:
9264
- f2(d2, p), i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(s2, 0, -d2, p, d2);
9206
+ f2(d, p), i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(s2, 0, -d, p, d);
9265
9207
  break;
9266
9208
  case 2:
9267
9209
  case -2:
9268
- f2(p, d2), i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(s2, -p, -d2, p, d2);
9210
+ f2(p, d), i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(s2, -p, -d, p, d);
9269
9211
  break;
9270
9212
  case 3:
9271
9213
  case -1:
9272
- f2(d2, p), i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(s2, -p, 0, p, d2);
9214
+ f2(d, p), i.rotate(r2 * 90 * Math.PI / 180), i.drawImage(s2, -p, 0, p, d);
9273
9215
  break;
9274
9216
  default:
9275
- f2(p, d2), i.drawImage(s2, 0, 0, p, d2);
9217
+ f2(p, d), i.drawImage(s2, 0, 0, p, d);
9276
9218
  }
9277
9219
  i.restore();
9278
9220
  }
9279
9221
  t(e);
9280
9222
  };
9281
- var c2 = this.img.substr(0, 4);
9282
- c2 !== "data" && (s2.crossOrigin = "Anonymous"), s2.src = this.imgs;
9223
+ var c = this.img.substr(0, 4);
9224
+ c !== "data" && (s2.crossOrigin = "Anonymous"), s2.src = this.imgs;
9283
9225
  const l = this.fillColor;
9284
- function f2(p, d2) {
9285
- e.width = Math.round(p), e.height = Math.round(d2), l && (i.fillStyle = l, i.fillRect(0, 0, e.width, e.height));
9226
+ function f2(p, d) {
9227
+ e.width = Math.round(p), e.height = Math.round(d), l && (i.fillStyle = l, i.fillRect(0, 0, e.width, e.height));
9286
9228
  }
9287
9229
  },
9288
9230
  getCropData(t) {
@@ -9416,8 +9358,8 @@ const $ = (t, e) => {
9416
9358
  if (o >= this.cropW && h2 >= this.cropH)
9417
9359
  this.scale = i;
9418
9360
  else {
9419
- const a = this.cropW / s2, n = this.cropH / r2, c2 = this.cropH <= r2 * a ? a : n;
9420
- this.scale = c2, o = s2 * c2, h2 = r2 * c2;
9361
+ const a = this.cropW / s2, n = this.cropH / r2, c = this.cropH <= r2 * a ? a : n;
9362
+ this.scale = c, o = s2 * c, h2 = r2 * c;
9421
9363
  }
9422
9364
  this.imgIsQqualCrop || (t.x1 >= e.x1 && (this.isRotateRightOrLeft ? this.x = e.x1 - (s2 - o) / 2 - (o - h2) / 2 : this.x = e.x1 - (s2 - o) / 2), t.x2 <= e.x2 && (this.isRotateRightOrLeft ? this.x = e.x1 - (s2 - o) / 2 - (o - h2) / 2 - h2 + this.cropW : this.x = e.x2 - (s2 - o) / 2 - o), t.y1 >= e.y1 && (this.isRotateRightOrLeft ? this.y = e.y1 - (r2 - h2) / 2 - (h2 - o) / 2 : this.y = e.y1 - (r2 - h2) / 2), t.y2 <= e.y2 && (this.isRotateRightOrLeft ? this.y = e.y2 - (r2 - h2) / 2 - (h2 - o) / 2 - o : this.y = e.y2 - (r2 - h2) / 2 - h2)), (o < this.cropW || h2 < this.cropH) && (this.imgIsQqualCrop = true);
9423
9365
  }
@@ -9605,12 +9547,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9605
9547
  const beforeUpload = (file) => {
9606
9548
  const isJpgOrPng = file.type === "image/png";
9607
9549
  if (!isJpgOrPng) {
9608
- message.error(t("personal_center.tips3"));
9550
+ message.error(t("uc_personal_center.tips3"));
9609
9551
  return;
9610
9552
  }
9611
9553
  const isLt2K = file.size / 1024 / 10 < 2;
9612
9554
  if (!isLt2K) {
9613
- message.error(t("personal_center.tips4"));
9555
+ message.error(t("uc_personal_center.tips4"));
9614
9556
  return;
9615
9557
  }
9616
9558
  fileList.value = [file];
@@ -9623,7 +9565,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9623
9565
  };
9624
9566
  const finish = () => {
9625
9567
  if (!fileList.value.length) {
9626
- message.info(t("personal_center.tips5"));
9568
+ message.info(t("uc_personal_center.tips5"));
9627
9569
  return;
9628
9570
  }
9629
9571
  const formData = new FormData();
@@ -9632,11 +9574,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9632
9574
  });
9633
9575
  userInfoUpdateHead(formData).then(({ result }) => {
9634
9576
  if (result) {
9635
- message.success(t("personal_center.tips1"));
9577
+ message.success(t("uc_personal_center.tips1"));
9636
9578
  emit("ok");
9637
9579
  visible.value = false;
9638
9580
  } else {
9639
- message.error(t("personal_center.tips2"));
9581
+ message.error(t("uc_personal_center.tips2"));
9640
9582
  }
9641
9583
  });
9642
9584
  };
@@ -9654,7 +9596,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9654
9596
  const _component_a_upload = Upload;
9655
9597
  const _component_a_modal = Modal$1;
9656
9598
  return openBlock(), createBlock(_component_a_modal, {
9657
- title: _ctx.$t("personal_center.title4"),
9599
+ title: _ctx.$t("uc_personal_center.title4"),
9658
9600
  open: visible.value,
9659
9601
  "onUpdate:open": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
9660
9602
  maskClosable: false,
@@ -9722,7 +9664,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9722
9664
  icon: h(unref(UploadOutlined))
9723
9665
  }, {
9724
9666
  default: withCtx(() => [
9725
- createTextVNode(toDisplayString(_ctx.$t("personal_center.select_btn")), 1)
9667
+ createTextVNode(toDisplayString(_ctx.$t("uc_personal_center.select_btn")), 1)
9726
9668
  ]),
9727
9669
  _: 1
9728
9670
  }, 8, ["icon"])
@@ -9766,7 +9708,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9766
9708
  onClick: finish
9767
9709
  }, {
9768
9710
  default: withCtx(() => [
9769
- createTextVNode(toDisplayString(_ctx.$t("personal_center.save_btn")), 1)
9711
+ createTextVNode(toDisplayString(_ctx.$t("uc_personal_center.save_btn")), 1)
9770
9712
  ]),
9771
9713
  _: 1
9772
9714
  })
@@ -9856,9 +9798,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9856
9798
  };
9857
9799
  const { result } = await userInfoUpdateBase(paramsData);
9858
9800
  if (result) {
9859
- message.success(t("personal_center.tips1"));
9801
+ message.success(t("uc_personal_center.tips1"));
9860
9802
  } else {
9861
- message.error(t("personal_center.tips2"));
9803
+ message.error(t("uc_personal_center.tips2"));
9862
9804
  }
9863
9805
  });
9864
9806
  };
@@ -9878,7 +9820,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9878
9820
  const _component_a_button = Button;
9879
9821
  const _component_a_form = Form;
9880
9822
  return openBlock(), createElementBlock("div", _hoisted_1$k, [
9881
- createElementVNode("p", _hoisted_2$6, toDisplayString(_ctx.$t("personal_center.tab2")), 1),
9823
+ createElementVNode("p", _hoisted_2$6, toDisplayString(_ctx.$t("uc_personal_center.tab2")), 1),
9882
9824
  createVNode(_component_a_row, null, {
9883
9825
  default: withCtx(() => [
9884
9826
  createVNode(_component_a_col, {
@@ -9904,7 +9846,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9904
9846
  }, {
9905
9847
  default: withCtx(() => [
9906
9848
  createVNode(_component_a_form_item, {
9907
- label: _ctx.$t("personal_center.no"),
9849
+ label: _ctx.$t("uc_personal_center.no"),
9908
9850
  name: "userId"
9909
9851
  }, {
9910
9852
  default: withCtx(() => [
@@ -9927,7 +9869,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9927
9869
  }, {
9928
9870
  default: withCtx(() => [
9929
9871
  createVNode(_component_a_form_item, {
9930
- label: _ctx.$t("personal_center.code"),
9872
+ label: _ctx.$t("uc_personal_center.code"),
9931
9873
  name: "userCode"
9932
9874
  }, {
9933
9875
  default: withCtx(() => [
@@ -9955,7 +9897,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9955
9897
  }, {
9956
9898
  default: withCtx(() => [
9957
9899
  createVNode(_component_a_form_item, {
9958
- label: _ctx.$t("personal_center.name"),
9900
+ label: _ctx.$t("uc_personal_center.name"),
9959
9901
  name: "name"
9960
9902
  }, {
9961
9903
  default: withCtx(() => [
@@ -9977,7 +9919,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9977
9919
  }, {
9978
9920
  default: withCtx(() => [
9979
9921
  createVNode(_component_a_form_item, {
9980
- label: _ctx.$t("personal_center.sex"),
9922
+ label: _ctx.$t("uc_personal_center.sex"),
9981
9923
  name: "sex"
9982
9924
  }, {
9983
9925
  default: withCtx(() => [
@@ -10005,7 +9947,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
10005
9947
  }, {
10006
9948
  default: withCtx(() => [
10007
9949
  createVNode(_component_a_form_item, {
10008
- label: _ctx.$t("personal_center.birthday"),
9950
+ label: _ctx.$t("uc_personal_center.birthday"),
10009
9951
  name: "birthday"
10010
9952
  }, {
10011
9953
  default: withCtx(() => [
@@ -10027,7 +9969,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
10027
9969
  }, {
10028
9970
  default: withCtx(() => [
10029
9971
  createVNode(_component_a_form_item, {
10030
- label: _ctx.$t("personal_center.work_tel"),
9972
+ label: _ctx.$t("uc_personal_center.work_tel"),
10031
9973
  name: "workTel"
10032
9974
  }, {
10033
9975
  default: withCtx(() => [
@@ -10054,7 +9996,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
10054
9996
  }, {
10055
9997
  default: withCtx(() => [
10056
9998
  createVNode(_component_a_form_item, {
10057
- label: _ctx.$t("personal_center.home_add"),
9999
+ label: _ctx.$t("uc_personal_center.home_add"),
10058
10000
  name: "homeAdd"
10059
10001
  }, {
10060
10002
  default: withCtx(() => [
@@ -10076,7 +10018,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
10076
10018
  }, {
10077
10019
  default: withCtx(() => [
10078
10020
  createVNode(_component_a_form_item, {
10079
- label: _ctx.$t("personal_center.home_tel"),
10021
+ label: _ctx.$t("uc_personal_center.home_tel"),
10080
10022
  name: "homeTel"
10081
10023
  }, {
10082
10024
  default: withCtx(() => [
@@ -10107,7 +10049,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
10107
10049
  onClick: onSubmit
10108
10050
  }, {
10109
10051
  default: withCtx(() => [
10110
- createTextVNode(toDisplayString(_ctx.$t("personal_center.btn_text")), 1)
10052
+ createTextVNode(toDisplayString(_ctx.$t("uc_personal_center.btn_text")), 1)
10111
10053
  ]),
10112
10054
  _: 1
10113
10055
  })
@@ -10208,8 +10150,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
10208
10150
  headerContent: withCtx(() => [
10209
10151
  createElementVNode("div", _hoisted_1$j, [
10210
10152
  createElementVNode("div", _hoisted_2$5, [
10211
- createTextVNode(toDisplayString(new Date().getHours() < 9 ? _ctx.$t("welcome.msg1") : new Date().getHours() <= 11 ? _ctx.$t("welcome.msg2") : new Date().getHours() <= 13 ? _ctx.$t("welcome.msg3") : new Date().getHours() < 20 ? _ctx.$t("welcome.msg4") : _ctx.$t("welcome.msg5")) + ", " + toDisplayString(userInfo.value.username), 1),
10212
- createElementVNode("span", _hoisted_3$4, ", " + toDisplayString(_ctx.$t(`welcome.welcome${unref(systemId)}system`)), 1)
10153
+ createTextVNode(toDisplayString(new Date().getHours() < 9 ? _ctx.$t("uc_welcome.msg1") : new Date().getHours() <= 11 ? _ctx.$t("uc_welcome.msg2") : new Date().getHours() <= 13 ? _ctx.$t("uc_welcome.msg3") : new Date().getHours() < 20 ? _ctx.$t("uc_welcome.msg4") : _ctx.$t("uc_welcome.msg5")) + ", " + toDisplayString(userInfo.value.username), 1),
10154
+ createElementVNode("span", _hoisted_3$4, ", " + toDisplayString(_ctx.$t(`uc_welcome.welcome${unref(systemId)}system`)), 1)
10213
10155
  ]),
10214
10156
  createElementVNode("div", null, toDisplayString(userInfo.value.role.name) + " | " + toDisplayString(userInfo.value.deptInfo.join(" / ")), 1)
10215
10157
  ])
@@ -10226,7 +10168,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
10226
10168
  default: withCtx(() => [
10227
10169
  createVNode(_component_a_tab_pane, { key: "1" }, {
10228
10170
  tab: withCtx(() => [
10229
- createElementVNode("span", null, toDisplayString(_ctx.$t("personal_center.tab1")), 1)
10171
+ createElementVNode("span", null, toDisplayString(_ctx.$t("uc_personal_center.tab1")), 1)
10230
10172
  ]),
10231
10173
  default: withCtx(() => [
10232
10174
  activeKey.value == "1" ? (openBlock(), createBlock(OrgInfo, { key: 0 })) : createCommentVNode("v-if", true)
@@ -10235,7 +10177,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
10235
10177
  }),
10236
10178
  createVNode(_component_a_tab_pane, { key: "2" }, {
10237
10179
  tab: withCtx(() => [
10238
- createElementVNode("span", null, toDisplayString(_ctx.$t("personal_center.tab2")), 1)
10180
+ createElementVNode("span", null, toDisplayString(_ctx.$t("uc_personal_center.tab2")), 1)
10239
10181
  ]),
10240
10182
  default: withCtx(() => [
10241
10183
  activeKey.value == "2" ? (openBlock(), createBlock(PersonInfo, { key: 0 })) : createCommentVNode("v-if", true)
@@ -10244,7 +10186,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
10244
10186
  }),
10245
10187
  createVNode(_component_a_tab_pane, { key: "3" }, {
10246
10188
  tab: withCtx(() => [
10247
- createElementVNode("span", null, toDisplayString(_ctx.$t("personal_center.tab3")), 1)
10189
+ createElementVNode("span", null, toDisplayString(_ctx.$t("uc_personal_center.tab3")), 1)
10248
10190
  ]),
10249
10191
  default: withCtx(() => [
10250
10192
  activeKey.value == "3" ? (openBlock(), createBlock(Security, { key: 0 })) : createCommentVNode("v-if", true)
@@ -10347,7 +10289,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
10347
10289
  loading.value = false;
10348
10290
  if (result) {
10349
10291
  emit("ok", result);
10350
- message.success(t("lang.msg1"));
10292
+ message.success(t("uc_lang.msg1"));
10351
10293
  }
10352
10294
  });
10353
10295
  };
@@ -10365,7 +10307,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
10365
10307
  open: visible.value,
10366
10308
  "onUpdate:open": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
10367
10309
  destroyOnClose: true,
10368
- title: _ctx.$t("lang.title1"),
10310
+ title: _ctx.$t("uc_lang.title1"),
10369
10311
  onOk: onSubmit,
10370
10312
  onCancel: handleCancel
10371
10313
  }, {
@@ -10379,20 +10321,20 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
10379
10321
  }, {
10380
10322
  default: withCtx(() => [
10381
10323
  createVNode(_component_a_form_item, mergeProps({
10382
- label: _ctx.$t("lang.lang_type")
10324
+ label: _ctx.$t("uc_lang.lang_type")
10383
10325
  }, formItemLayout, {
10384
10326
  name: "langType",
10385
10327
  rules: [
10386
10328
  {
10387
10329
  required: true,
10388
- message: _ctx.$t("lang.lang_type_placeholder"),
10330
+ message: _ctx.$t("uc_lang.lang_type_placeholder"),
10389
10331
  trigger: "blur"
10390
10332
  }
10391
10333
  ]
10392
10334
  }), {
10393
10335
  default: withCtx(() => [
10394
10336
  createVNode(_component_a_input, {
10395
- placeholder: _ctx.$t("lang.lang_type_placeholder"),
10337
+ placeholder: _ctx.$t("uc_lang.lang_type_placeholder"),
10396
10338
  value: form.langType,
10397
10339
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.langType = $event)
10398
10340
  }, null, 8, ["placeholder", "value"])
@@ -10400,20 +10342,20 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
10400
10342
  _: 1
10401
10343
  }, 16, ["label", "rules"]),
10402
10344
  createVNode(_component_a_form_item, mergeProps({
10403
- label: _ctx.$t("lang.id")
10345
+ label: _ctx.$t("uc_lang.id")
10404
10346
  }, formItemLayout, {
10405
10347
  name: "id",
10406
10348
  rules: [
10407
10349
  {
10408
10350
  required: true,
10409
- message: _ctx.$t("lang.id_placeholder"),
10351
+ message: _ctx.$t("uc_lang.id_placeholder"),
10410
10352
  trigger: "blur"
10411
10353
  }
10412
10354
  ]
10413
10355
  }), {
10414
10356
  default: withCtx(() => [
10415
10357
  createVNode(_component_a_input, {
10416
- placeholder: _ctx.$t("lang.id_placeholder"),
10358
+ placeholder: _ctx.$t("uc_lang.id_placeholder"),
10417
10359
  value: form.id,
10418
10360
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.id = $event)
10419
10361
  }, null, 8, ["placeholder", "value"])
@@ -10434,7 +10376,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
10434
10376
  }), {
10435
10377
  default: withCtx(() => [
10436
10378
  createVNode(_component_a_input, {
10437
- placeholder: _ctx.$t("lang.content_placeholder"),
10379
+ placeholder: _ctx.$t("uc_lang.content_placeholder"),
10438
10380
  value: form["lang" + item.langId],
10439
10381
  "onUpdate:value": ($event) => form["lang" + item.langId] = $event
10440
10382
  }, null, 8, ["placeholder", "value", "onUpdate:value"])
@@ -10525,31 +10467,31 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10525
10467
  };
10526
10468
  const columns = computed(() => [
10527
10469
  {
10528
- title: t("lang.lang_type"),
10470
+ title: t("uc_lang.lang_type"),
10529
10471
  dataIndex: "langType",
10530
10472
  width: "150px",
10531
10473
  key: "langType"
10532
10474
  },
10533
10475
  {
10534
- title: t("lang.id"),
10476
+ title: t("uc_lang.id"),
10535
10477
  dataIndex: "id",
10536
10478
  width: "200px",
10537
10479
  key: "id"
10538
10480
  },
10539
10481
  {
10540
- title: t("lang.lang1"),
10482
+ title: t("uc_lang.lang1"),
10541
10483
  dataIndex: "lang1",
10542
10484
  width: "350px",
10543
10485
  key: "lang1"
10544
10486
  },
10545
10487
  {
10546
- title: t("lang.lang2"),
10488
+ title: t("uc_lang.lang2"),
10547
10489
  dataIndex: "lang2",
10548
10490
  width: "350px",
10549
10491
  key: "lang2"
10550
10492
  },
10551
10493
  {
10552
- title: t("lang.lang3"),
10494
+ title: t("uc_lang.lang3"),
10553
10495
  dataIndex: "lang3",
10554
10496
  width: "350px",
10555
10497
  key: "lang3"
@@ -10575,7 +10517,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10575
10517
  const onUpdate = async (record) => {
10576
10518
  const { result } = await setLangUpdate(record);
10577
10519
  if (result) {
10578
- message.success(t("lang.msg1"));
10520
+ message.success(t("uc_lang.msg1"));
10579
10521
  expandedRowKeys.value = [];
10580
10522
  }
10581
10523
  };
@@ -10590,7 +10532,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10590
10532
  const onDelete = async (record) => {
10591
10533
  const { result } = await setLangDelete(record);
10592
10534
  if (result) {
10593
- message.success(t("lang.msg1"));
10535
+ message.success(t("uc_lang.msg1"));
10594
10536
  expandedRowKeys.value = [];
10595
10537
  handleRefreshTable();
10596
10538
  }
@@ -10606,7 +10548,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10606
10548
  }
10607
10549
  }
10608
10550
  if (!exits) {
10609
- message.error(t("lang.msg2") + types, 10);
10551
+ message.error(t("uc_lang.msg2") + types, 10);
10610
10552
  return false;
10611
10553
  }
10612
10554
  return true;
@@ -10664,7 +10606,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10664
10606
  default: withCtx(() => [
10665
10607
  createVNode(_component_a_spin, {
10666
10608
  spinning: loading.value,
10667
- tip: _ctx.$t("lang.tip"),
10609
+ tip: _ctx.$t("uc_lang.tip"),
10668
10610
  size: "large"
10669
10611
  }, {
10670
10612
  default: withCtx(() => [
@@ -10677,40 +10619,40 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10677
10619
  }, {
10678
10620
  default: withCtx(() => [
10679
10621
  createVNode(_component_a_form_item, {
10680
- label: _ctx.$t("lang.lang_type"),
10622
+ label: _ctx.$t("uc_lang.lang_type"),
10681
10623
  style: { "width": "200px", "padding-right": "20px" }
10682
10624
  }, {
10683
10625
  default: withCtx(() => [
10684
10626
  createVNode(_component_a_input, {
10685
10627
  value: queryParam.langType,
10686
10628
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => queryParam.langType = $event),
10687
- placeholder: _ctx.$t("lang.lang_type_placeholder")
10629
+ placeholder: _ctx.$t("uc_lang.lang_type_placeholder")
10688
10630
  }, null, 8, ["value", "placeholder"])
10689
10631
  ]),
10690
10632
  _: 1
10691
10633
  }, 8, ["label"]),
10692
10634
  createVNode(_component_a_form_item, {
10693
- label: _ctx.$t("lang.id"),
10635
+ label: _ctx.$t("uc_lang.id"),
10694
10636
  style: { "width": "200px", "padding-right": "20px" }
10695
10637
  }, {
10696
10638
  default: withCtx(() => [
10697
10639
  createVNode(_component_a_input, {
10698
10640
  value: queryParam.id,
10699
10641
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => queryParam.id = $event),
10700
- placeholder: _ctx.$t("lang.id_placeholder")
10642
+ placeholder: _ctx.$t("uc_lang.id_placeholder")
10701
10643
  }, null, 8, ["value", "placeholder"])
10702
10644
  ]),
10703
10645
  _: 1
10704
10646
  }, 8, ["label"]),
10705
10647
  createVNode(_component_a_form_item, {
10706
- label: _ctx.$t("lang.content"),
10648
+ label: _ctx.$t("uc_lang.content"),
10707
10649
  style: { "width": "200px", "padding-right": "20px" }
10708
10650
  }, {
10709
10651
  default: withCtx(() => [
10710
10652
  createVNode(_component_a_input, {
10711
10653
  value: queryParam.lang1,
10712
10654
  "onUpdate:value": _cache[2] || (_cache[2] = ($event) => queryParam.lang1 = $event),
10713
- placeholder: _ctx.$t("lang.content_placeholder")
10655
+ placeholder: _ctx.$t("uc_lang.content_placeholder")
10714
10656
  }, null, 8, ["value", "placeholder"])
10715
10657
  ]),
10716
10658
  _: 1
@@ -10776,7 +10718,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10776
10718
  "onUpdate:expandedRowKeys": _cache[3] || (_cache[3] = ($event) => expandedRowKeys.value = $event)
10777
10719
  }, {
10778
10720
  expandColumnTitle: withCtx(() => [
10779
- createTextVNode(toDisplayString(_ctx.$t("device.index1")), 1)
10721
+ createTextVNode(toDisplayString(_ctx.$t("uc_device.index1")), 1)
10780
10722
  ]),
10781
10723
  expandIcon: withCtx(({ expanded, record }) => [
10782
10724
  createVNode(unref(Icon__default), {
@@ -10819,7 +10761,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10819
10761
  }, {
10820
10762
  default: withCtx(() => [
10821
10763
  createVNode(_component_a_input, {
10822
- placeholder: _ctx.$t("lang.content_placeholder"),
10764
+ placeholder: _ctx.$t("uc_lang.content_placeholder"),
10823
10765
  value: record["lang" + item.langId],
10824
10766
  "onUpdate:value": ($event) => record["lang" + item.langId] = $event
10825
10767
  }, null, 8, ["placeholder", "value", "onUpdate:value"])
@@ -11003,7 +10945,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
11003
10945
  style: { "width": "100%" },
11004
10946
  value: currValue.value,
11005
10947
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => currValue.value = $event),
11006
- placeholder: !__props.placeholder ? _ctx.$t("zone.pbl_select") : __props.placeholder,
10948
+ placeholder: !__props.placeholder ? _ctx.$t("uc_zone.pbl_select") : __props.placeholder,
11007
10949
  mode: __props.mode,
11008
10950
  disabled: __props.disabled,
11009
10951
  onChange
@@ -11268,11 +11210,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11268
11210
  orgName: [
11269
11211
  {
11270
11212
  required: true,
11271
- message: t("org.org_name_msg1"),
11213
+ message: t("uc_org.org_name_msg1"),
11272
11214
  trigger: "change",
11273
11215
  validator: (rule, value) => {
11274
11216
  if (value == "") {
11275
- return Promise.reject(t("org.org_name_msg1"));
11217
+ return Promise.reject(t("uc_org.org_name_msg1"));
11276
11218
  } else {
11277
11219
  return Promise.resolve();
11278
11220
  }
@@ -11282,13 +11224,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11282
11224
  orgType: [
11283
11225
  {
11284
11226
  required: true,
11285
- message: t("org.org_type_msg1"),
11227
+ message: t("uc_org.org_type_msg1"),
11286
11228
  trigger: "change",
11287
11229
  validator: (rule, value) => {
11288
11230
  if (Array.isArray(value) && value.length !== 0) {
11289
11231
  return Promise.resolve();
11290
11232
  } else {
11291
- return Promise.reject(t("org.org_type_msg1"));
11233
+ return Promise.reject(t("uc_org.org_type_msg1"));
11292
11234
  }
11293
11235
  }
11294
11236
  }
@@ -11296,13 +11238,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11296
11238
  industryCode: [
11297
11239
  {
11298
11240
  required: true,
11299
- message: t("org.industry_msg1"),
11241
+ message: t("uc_org.industry_msg1"),
11300
11242
  trigger: "change",
11301
11243
  validator: (rule, value) => {
11302
11244
  if (Array.isArray(value) && value.length !== 0) {
11303
11245
  return Promise.resolve();
11304
11246
  } else {
11305
- return Promise.reject(t("org.industry_msg1"));
11247
+ return Promise.reject(t("uc_org.industry_msg1"));
11306
11248
  }
11307
11249
  }
11308
11250
  }
@@ -11310,11 +11252,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11310
11252
  zoneCode: [
11311
11253
  {
11312
11254
  required: true,
11313
- message: t("org.zone_code_msg1"),
11255
+ message: t("uc_org.zone_code_msg1"),
11314
11256
  trigger: ["change", "blur"],
11315
11257
  validator: (rule, value) => {
11316
11258
  if (value == "") {
11317
- return Promise.reject(t("org.zone_code_msg1"));
11259
+ return Promise.reject(t("uc_org.zone_code_msg1"));
11318
11260
  } else {
11319
11261
  return Promise.resolve();
11320
11262
  }
@@ -11324,13 +11266,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11324
11266
  timezone: [
11325
11267
  {
11326
11268
  required: true,
11327
- message: t("org.timezone_type_msg1"),
11269
+ message: t("uc_org.timezone_type_msg1"),
11328
11270
  trigger: ["change", "blur"],
11329
11271
  validator: (rule, value) => {
11330
11272
  if (Array.isArray(value) && value.length !== 0) {
11331
11273
  return Promise.resolve();
11332
11274
  } else {
11333
- return Promise.reject(t("org.timezone_type_msg1"));
11275
+ return Promise.reject(t("uc_org.timezone_type_msg1"));
11334
11276
  }
11335
11277
  }
11336
11278
  }
@@ -11339,26 +11281,26 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11339
11281
  {
11340
11282
  required: true,
11341
11283
  trigger: ["change", "blur"],
11342
- message: t("org.dateformat_msg1")
11284
+ message: t("uc_org.dateformat_msg1")
11343
11285
  }
11344
11286
  ],
11345
11287
  monetaryyUnit: [
11346
11288
  {
11347
11289
  required: true,
11348
11290
  trigger: ["change", "blur"],
11349
- message: t("org.monery_unit_msg1")
11291
+ message: t("uc_org.monery_unit_msg1")
11350
11292
  }
11351
11293
  ],
11352
11294
  langId: [
11353
11295
  {
11354
11296
  required: true,
11355
- message: t("org.lang_msg1"),
11297
+ message: t("uc_org.lang_msg1"),
11356
11298
  trigger: "change",
11357
11299
  validator: (rule, value) => {
11358
11300
  if (Array.isArray(value) && value.length !== 0) {
11359
11301
  return Promise.resolve();
11360
11302
  } else {
11361
- return Promise.reject(t("org.lang_msg1"));
11303
+ return Promise.reject(t("uc_org.lang_msg1"));
11362
11304
  }
11363
11305
  }
11364
11306
  }
@@ -11366,14 +11308,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11366
11308
  equiNum: [
11367
11309
  {
11368
11310
  required: true,
11369
- message: t("org.equi_num_msg1"),
11311
+ message: t("uc_org.equi_num_msg1"),
11370
11312
  trigger: "change"
11371
11313
  }
11372
11314
  ],
11373
11315
  userNum: [
11374
11316
  {
11375
11317
  required: true,
11376
- message: t("org.user_num_msg1"),
11318
+ message: t("uc_org.user_num_msg1"),
11377
11319
  trigger: "change"
11378
11320
  }
11379
11321
  ]
@@ -11393,7 +11335,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11393
11335
  const _component_a_card = Card;
11394
11336
  return openBlock(), createBlock(_component_a_card, {
11395
11337
  bordered: false,
11396
- title: __props.params.opType == "1" ? _ctx.$t("org.title") : _ctx.$t("org.title4")
11338
+ title: __props.params.opType == "1" ? _ctx.$t("uc_org.title") : _ctx.$t("uc_org.title4")
11397
11339
  }, {
11398
11340
  default: withCtx(() => [
11399
11341
  createVNode(_component_a_spin, { spinning: loading.value }, {
@@ -11415,14 +11357,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11415
11357
  }, {
11416
11358
  default: withCtx(() => [
11417
11359
  createVNode(_component_a_form_item, {
11418
- label: _ctx.$t("org.user_name"),
11360
+ label: _ctx.$t("uc_org.user_name"),
11419
11361
  name: "userName"
11420
11362
  }, {
11421
11363
  default: withCtx(() => [
11422
11364
  createVNode(_component_a_input, {
11423
11365
  type: "userName",
11424
11366
  disabled: "",
11425
- placeholder: _ctx.$t("org.user_name"),
11367
+ placeholder: _ctx.$t("uc_org.user_name"),
11426
11368
  value: form.userName,
11427
11369
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.userName = $event)
11428
11370
  }, null, 8, ["placeholder", "value"])
@@ -11440,12 +11382,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11440
11382
  }, {
11441
11383
  default: withCtx(() => [
11442
11384
  createVNode(_component_a_form_item, {
11443
- label: _ctx.$t("user.mobile"),
11385
+ label: _ctx.$t("uc_user.mobile"),
11444
11386
  name: "mobile"
11445
11387
  }, {
11446
11388
  default: withCtx(() => [
11447
11389
  createVNode(_component_a_input, {
11448
- placeholder: _ctx.$t("user.mobile"),
11390
+ placeholder: _ctx.$t("uc_user.mobile"),
11449
11391
  disabled: __props.params.opType == "2",
11450
11392
  value: form.mobile,
11451
11393
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.mobile = $event)
@@ -11464,12 +11406,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11464
11406
  }, {
11465
11407
  default: withCtx(() => [
11466
11408
  createVNode(_component_a_form_item, {
11467
- label: _ctx.$t("user.email"),
11409
+ label: _ctx.$t("uc_user.email"),
11468
11410
  name: "email"
11469
11411
  }, {
11470
11412
  default: withCtx(() => [
11471
11413
  createVNode(_component_a_input, {
11472
- placeholder: _ctx.$t("user.email"),
11414
+ placeholder: _ctx.$t("uc_user.email"),
11473
11415
  disabled: __props.params.opType == "2",
11474
11416
  value: form.email,
11475
11417
  "onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.email = $event)
@@ -11492,17 +11434,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11492
11434
  }, {
11493
11435
  default: withCtx(() => [
11494
11436
  createVNode(_component_a_form_item, {
11495
- label: _ctx.$t("org.org_name"),
11437
+ label: _ctx.$t("uc_org.org_name"),
11496
11438
  name: "orgName"
11497
11439
  }, {
11498
11440
  default: withCtx(() => [
11499
11441
  createVNode(PhTip, { className: "tip-wrapper" }, {
11500
11442
  title: withCtx(() => [
11501
- createTextVNode(toDisplayString(_ctx.$t("org.org_name_placeholder")), 1)
11443
+ createTextVNode(toDisplayString(_ctx.$t("uc_org.org_name_placeholder")), 1)
11502
11444
  ]),
11503
11445
  default: withCtx(() => [
11504
11446
  createVNode(_component_a_input, {
11505
- placeholder: _ctx.$t("org.org_name_placeholder"),
11447
+ placeholder: _ctx.$t("uc_org.org_name_placeholder"),
11506
11448
  value: form.orgName,
11507
11449
  "onUpdate:value": _cache[3] || (_cache[3] = ($event) => form.orgName = $event)
11508
11450
  }, null, 8, ["placeholder", "value"])
@@ -11523,13 +11465,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11523
11465
  }, {
11524
11466
  default: withCtx(() => [
11525
11467
  createVNode(_component_a_form_item, {
11526
- label: _ctx.$t("org.org_type"),
11468
+ label: _ctx.$t("uc_org.org_type"),
11527
11469
  name: "orgType"
11528
11470
  }, {
11529
11471
  default: withCtx(() => [
11530
11472
  createVNode(DictEx, {
11531
11473
  type: "ORG_TYPE",
11532
- placeholder: _ctx.$t("org.org_type_placeholder"),
11474
+ placeholder: _ctx.$t("uc_org.org_type_placeholder"),
11533
11475
  value: form.orgType,
11534
11476
  "onUpdate:value": _cache[4] || (_cache[4] = ($event) => form.orgType = $event)
11535
11477
  }, null, 8, ["placeholder", "value"])
@@ -11547,13 +11489,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11547
11489
  }, {
11548
11490
  default: withCtx(() => [
11549
11491
  createVNode(_component_a_form_item, {
11550
- label: _ctx.$t("org.industry"),
11492
+ label: _ctx.$t("uc_org.industry"),
11551
11493
  name: "industryCode"
11552
11494
  }, {
11553
11495
  default: withCtx(() => [
11554
11496
  createVNode(DictEx, {
11555
11497
  type: "INDUSTRY_CODE",
11556
- placeholder: _ctx.$t("org.industry_placeholder"),
11498
+ placeholder: _ctx.$t("uc_org.industry_placeholder"),
11557
11499
  value: form.industryCode,
11558
11500
  "onUpdate:value": _cache[5] || (_cache[5] = ($event) => form.industryCode = $event)
11559
11501
  }, null, 8, ["placeholder", "value"])
@@ -11576,12 +11518,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11576
11518
  }, {
11577
11519
  default: withCtx(() => [
11578
11520
  createVNode(_component_a_form_item, {
11579
- label: _ctx.$t("org.zone_code"),
11521
+ label: _ctx.$t("uc_org.zone_code"),
11580
11522
  name: "zoneCode"
11581
11523
  }, {
11582
11524
  default: withCtx(() => [
11583
11525
  createVNode(RegionSelect, {
11584
- placeholder: _ctx.$t("org.zone_code_placeholder"),
11526
+ placeholder: _ctx.$t("uc_org.zone_code_placeholder"),
11585
11527
  ref_key: "regionSelRef",
11586
11528
  ref: regionSelRef,
11587
11529
  onChange: changeRegion,
@@ -11600,12 +11542,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11600
11542
  }, {
11601
11543
  default: withCtx(() => [
11602
11544
  createVNode(_component_a_form_item, {
11603
- label: _ctx.$t("org.timezone"),
11545
+ label: _ctx.$t("uc_org.timezone"),
11604
11546
  name: "timezone"
11605
11547
  }, {
11606
11548
  default: withCtx(() => [
11607
11549
  createVNode(TimeZone, {
11608
- placeholder: _ctx.$t("org.timezone_placeholder"),
11550
+ placeholder: _ctx.$t("uc_org.timezone_placeholder"),
11609
11551
  disabled: true,
11610
11552
  value: form.timezone,
11611
11553
  "onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.timezone = $event)
@@ -11624,7 +11566,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11624
11566
  }, {
11625
11567
  default: withCtx(() => [
11626
11568
  createVNode(_component_a_form_item, {
11627
- label: _ctx.$t("org.dateformat"),
11569
+ label: _ctx.$t("uc_org.dateformat"),
11628
11570
  name: "dateFormat"
11629
11571
  }, {
11630
11572
  default: withCtx(() => [
@@ -11653,17 +11595,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11653
11595
  }, {
11654
11596
  default: withCtx(() => [
11655
11597
  createVNode(_component_a_form_item, {
11656
- label: _ctx.$t("org.monery_unit"),
11598
+ label: _ctx.$t("uc_org.monery_unit"),
11657
11599
  name: "monetaryyUnit"
11658
11600
  }, {
11659
11601
  default: withCtx(() => [
11660
11602
  createVNode(PhTip, { className: "tip-wrapper" }, {
11661
11603
  title: withCtx(() => [
11662
- createTextVNode(toDisplayString(_ctx.$t("org.monery_unit_placeholder")), 1)
11604
+ createTextVNode(toDisplayString(_ctx.$t("uc_org.monery_unit_placeholder")), 1)
11663
11605
  ]),
11664
11606
  default: withCtx(() => [
11665
11607
  createVNode(_component_a_input, {
11666
- placeholder: _ctx.$t("org.monery_unit_placeholder"),
11608
+ placeholder: _ctx.$t("uc_org.monery_unit_placeholder"),
11667
11609
  disabled: true,
11668
11610
  style: { "width": "100%" },
11669
11611
  value: form.monetaryyUnit,
@@ -11684,9 +11626,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11684
11626
  :md="{ span: 12 }"\r
11685
11627
  :sm="24"\r
11686
11628
  >\r
11687
- <a-form-item :label="$t('org.monery_deci')" name="monetaryyDeci">\r
11629
+ <a-form-item :label="$t('uc_org.monery_deci')" name="monetaryyDeci">\r
11688
11630
  <a-input\r
11689
- :placeholder="$t('org.monery_deci_placeholder')"\r
11631
+ :placeholder="$t('uc_org.monery_deci_placeholder')"\r
11690
11632
  v-model:value="form.monetaryyDeci"\r
11691
11633
  />\r
11692
11634
  </a-form-item>\r
@@ -11698,12 +11640,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11698
11640
  }, {
11699
11641
  default: withCtx(() => [
11700
11642
  createVNode(_component_a_form_item, {
11701
- label: _ctx.$t("org.lang"),
11643
+ label: _ctx.$t("uc_org.lang"),
11702
11644
  name: "langId"
11703
11645
  }, {
11704
11646
  default: withCtx(() => [
11705
11647
  createVNode(LangCombo, {
11706
- placeholder: _ctx.$t("org.lang_placeholder"),
11648
+ placeholder: _ctx.$t("uc_org.lang_placeholder"),
11707
11649
  value: form.langId,
11708
11650
  "onUpdate:value": _cache[9] || (_cache[9] = ($event) => form.langId = $event)
11709
11651
  }, null, 8, ["placeholder", "value"])
@@ -11720,13 +11662,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11720
11662
  }, {
11721
11663
  default: withCtx(() => [
11722
11664
  createVNode(_component_a_form_item, {
11723
- label: _ctx.$t("org.equi_num"),
11665
+ label: _ctx.$t("uc_org.equi_num"),
11724
11666
  name: "equiNum"
11725
11667
  }, {
11726
11668
  default: withCtx(() => [
11727
11669
  createVNode(_component_a_input_number, {
11728
11670
  style: { "width": "100%" },
11729
- placeholder: _ctx.$t("org.equi_num_placeholder"),
11671
+ placeholder: _ctx.$t("uc_org.equi_num_placeholder"),
11730
11672
  min: 1,
11731
11673
  value: form.equiNum,
11732
11674
  "onUpdate:value": _cache[10] || (_cache[10] = ($event) => form.equiNum = $event)
@@ -11750,13 +11692,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11750
11692
  }, {
11751
11693
  default: withCtx(() => [
11752
11694
  createVNode(_component_a_form_item, {
11753
- label: _ctx.$t("org.user_num"),
11695
+ label: _ctx.$t("uc_org.user_num"),
11754
11696
  name: "userNum"
11755
11697
  }, {
11756
11698
  default: withCtx(() => [
11757
11699
  createVNode(_component_a_input_number, {
11758
11700
  style: { "width": "100%" },
11759
- placeholder: _ctx.$t("org.user_num_placeholder"),
11701
+ placeholder: _ctx.$t("uc_org.user_num_placeholder"),
11760
11702
  min: 1,
11761
11703
  value: form.userNum,
11762
11704
  "onUpdate:value": _cache[11] || (_cache[11] = ($event) => form.userNum = $event)
@@ -11846,18 +11788,18 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
11846
11788
  userPwd: [
11847
11789
  {
11848
11790
  required: true,
11849
- message: t("org.user_pwd1_msg1")
11791
+ message: t("uc_org.user_pwd1_msg1")
11850
11792
  }
11851
11793
  ],
11852
11794
  userPwd1: [
11853
11795
  {
11854
11796
  required: true,
11855
- message: t("org.user_pwd2_msg1"),
11797
+ message: t("uc_org.user_pwd2_msg1"),
11856
11798
  validator: (rule, value) => {
11857
11799
  if (value == form.userPwd) {
11858
11800
  return Promise.resolve();
11859
11801
  } else {
11860
- return Promise.reject(t("org.user_pwd2_msg1"));
11802
+ return Promise.reject(t("uc_org.user_pwd2_msg1"));
11861
11803
  }
11862
11804
  }
11863
11805
  }
@@ -11875,7 +11817,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
11875
11817
  open: visible.value,
11876
11818
  "onUpdate:open": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
11877
11819
  style: { "top": "280px" },
11878
- title: _ctx.$t("org.user_pwd2_msg"),
11820
+ title: _ctx.$t("uc_org.user_pwd2_msg"),
11879
11821
  destroyOnClose: destroyOnClose.value
11880
11822
  }, {
11881
11823
  default: withCtx(() => [
@@ -11888,7 +11830,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
11888
11830
  }, {
11889
11831
  default: withCtx(() => [
11890
11832
  createVNode(_component_a_form_item, mergeProps({
11891
- label: _ctx.$t("org.user_pwd1")
11833
+ label: _ctx.$t("uc_org.user_pwd1")
11892
11834
  }, formItemLayout, {
11893
11835
  style: { "margin-bottom": "0" },
11894
11836
  name: "userPwd"
@@ -11896,7 +11838,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
11896
11838
  default: withCtx(() => [
11897
11839
  createVNode(_component_a_input, {
11898
11840
  type: "password",
11899
- placeholder: _ctx.$t("org.user_pwd1_placeholder"),
11841
+ placeholder: _ctx.$t("uc_org.user_pwd1_placeholder"),
11900
11842
  value: form.userPwd,
11901
11843
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.userPwd = $event)
11902
11844
  }, null, 8, ["placeholder", "value"])
@@ -11904,12 +11846,12 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
11904
11846
  _: 1
11905
11847
  }, 16, ["label"]),
11906
11848
  createVNode(_component_a_form_item, mergeProps({
11907
- label: _ctx.$t("org.user_pwd2")
11849
+ label: _ctx.$t("uc_org.user_pwd2")
11908
11850
  }, formItemLayout, { name: "userPwd1" }), {
11909
11851
  default: withCtx(() => [
11910
11852
  createVNode(_component_a_input, {
11911
11853
  type: "password",
11912
- placeholder: _ctx.$t("org.user_pwd2_placeholder"),
11854
+ placeholder: _ctx.$t("uc_org.user_pwd2_placeholder"),
11913
11855
  value: form.userPwd1,
11914
11856
  "onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.userPwd1 = $event)
11915
11857
  }, null, 8, ["placeholder", "value"])
@@ -11987,7 +11929,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
11987
11929
  const onDelete = (record) => {
11988
11930
  deleteOrg({ orgId: record.orgId }).then(() => {
11989
11931
  tableRef.value.refresh();
11990
- message.success(t("assetclass.del_success"));
11932
+ message.success(t("uc_assetclass.del_success"));
11991
11933
  });
11992
11934
  };
11993
11935
  const onSubmit = () => {
@@ -12000,49 +11942,49 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
12000
11942
  };
12001
11943
  const columns = computed(() => [
12002
11944
  {
12003
- title: t("device.index1"),
11945
+ title: t("uc_device.index1"),
12004
11946
  width: "50px",
12005
11947
  align: "center",
12006
11948
  key: "index1"
12007
11949
  },
12008
11950
  {
12009
- title: t("org.id"),
11951
+ title: t("uc_org.id"),
12010
11952
  dataIndex: "orgId",
12011
11953
  width: "150px",
12012
11954
  key: "orgId"
12013
11955
  },
12014
11956
  {
12015
- title: t("org.org_name"),
11957
+ title: t("uc_org.org_name"),
12016
11958
  dataIndex: "orgName",
12017
11959
  width: "150px",
12018
11960
  key: "orgName"
12019
11961
  },
12020
11962
  {
12021
- title: t("org.zone_code"),
11963
+ title: t("uc_org.zone_code"),
12022
11964
  dataIndex: "zoneCode",
12023
11965
  width: "150px",
12024
11966
  key: "zoneCode"
12025
11967
  },
12026
11968
  {
12027
- title: t("org.timezone"),
11969
+ title: t("uc_org.timezone"),
12028
11970
  dataIndex: "timezone",
12029
11971
  width: "100px",
12030
11972
  key: "timezone"
12031
11973
  },
12032
11974
  {
12033
- title: t("org.user_name"),
11975
+ title: t("uc_org.user_name"),
12034
11976
  dataIndex: "userId",
12035
11977
  width: "150px",
12036
11978
  key: "userId"
12037
11979
  },
12038
11980
  {
12039
- title: t("org.mobile"),
11981
+ title: t("uc_org.mobile"),
12040
11982
  dataIndex: "mobile",
12041
11983
  width: "110px",
12042
11984
  key: "mobile"
12043
11985
  },
12044
11986
  {
12045
- title: t("org.user_status"),
11987
+ title: t("uc_org.user_status"),
12046
11988
  dataIndex: "orgStatus",
12047
11989
  width: "80px",
12048
11990
  key: "orgStatus",
@@ -12051,19 +11993,19 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
12051
11993
  }
12052
11994
  },
12053
11995
  {
12054
- title: t("org.coperator"),
11996
+ title: t("uc_org.coperator"),
12055
11997
  dataIndex: "coperator",
12056
11998
  width: "80px",
12057
11999
  key: "coperator"
12058
12000
  },
12059
12001
  {
12060
- title: t("org.cdate"),
12002
+ title: t("uc_org.cdate"),
12061
12003
  dataIndex: "cdate",
12062
12004
  width: "160px",
12063
12005
  key: "cdate"
12064
12006
  },
12065
12007
  {
12066
- title: t("org.action"),
12008
+ title: t("uc_org.action"),
12067
12009
  key: "action",
12068
12010
  width: "140px",
12069
12011
  fixed: "right"
@@ -12096,11 +12038,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
12096
12038
  createElementVNode("div", _hoisted_2$3, [
12097
12039
  createVNode(PhTip, null, {
12098
12040
  title: withCtx(() => [
12099
- createTextVNode(toDisplayString(_ctx.$t("org.nameInput")), 1)
12041
+ createTextVNode(toDisplayString(_ctx.$t("uc_org.nameInput")), 1)
12100
12042
  ]),
12101
12043
  default: withCtx(() => [
12102
12044
  createVNode(_component_a_input_search, {
12103
- placeholder: _ctx.$t("org.nameInput"),
12045
+ placeholder: _ctx.$t("uc_org.nameInput"),
12104
12046
  ref: "inputSearch",
12105
12047
  value: queryParam.orgName,
12106
12048
  "onUpdate:value": _cache[0] || (_cache[0] = ($event) => queryParam.orgName = $event),
@@ -12370,12 +12312,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
12370
12312
  const beforeUpload = (file) => {
12371
12313
  const isJpgOrPng = file.type === "image/jpeg" || file.type === "image/png";
12372
12314
  if (!isJpgOrPng) {
12373
- message.error(t("param.tips1"));
12315
+ message.error(t("uc_param.tips1"));
12374
12316
  return false;
12375
12317
  }
12376
12318
  const isLt2M = file.size / 1024 / 1024 < 2;
12377
12319
  if (!isLt2M) {
12378
- message.error(t("param.tips2"));
12320
+ message.error(t("uc_param.tips2"));
12379
12321
  return false;
12380
12322
  }
12381
12323
  formData.fileName = file;
@@ -12475,7 +12417,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
12475
12417
  ]);
12476
12418
  }), 64))
12477
12419
  ]),
12478
- createElementVNode("span", _hoisted_6, toDisplayString(_ctx.$t("param.tip")), 1)
12420
+ createElementVNode("span", _hoisted_6, toDisplayString(_ctx.$t("uc_param.tip")), 1)
12479
12421
  ])) : createCommentVNode("v-if", true)
12480
12422
  ]),
12481
12423
  _: 2
@@ -12491,7 +12433,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
12491
12433
  class: "sub_btn"
12492
12434
  }, {
12493
12435
  default: withCtx(() => [
12494
- createTextVNode(toDisplayString(_ctx.$t("param.btn_ok")), 1)
12436
+ createTextVNode(toDisplayString(_ctx.$t("uc_param.btn_ok")), 1)
12495
12437
  ]),
12496
12438
  _: 1
12497
12439
  })) : createCommentVNode("v-if", true)
@@ -12706,7 +12648,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
12706
12648
  class: "sub_btn"
12707
12649
  }, {
12708
12650
  default: withCtx(() => [
12709
- createTextVNode(toDisplayString(_ctx.$t("param.btn_ok")), 1)
12651
+ createTextVNode(toDisplayString(_ctx.$t("uc_param.btn_ok")), 1)
12710
12652
  ]),
12711
12653
  _: 1
12712
12654
  })) : createCommentVNode("v-if", true)
@@ -12747,7 +12689,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
12747
12689
  cloneData.value = record;
12748
12690
  };
12749
12691
  const success = () => {
12750
- message.success(t("param.tips3"));
12692
+ message.success(t("uc_param.tips3"));
12751
12693
  };
12752
12694
  return (_ctx, _cache) => {
12753
12695
  const _component_a_card = Card;