@witlink/usercenter 1.2.43 → 1.2.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/usercenter.es.js +373 -374
- package/dist/usercenter.umd.js +1 -1
- package/package.json +1 -1
- package/version.md +5 -1
package/dist/usercenter.es.js
CHANGED
|
@@ -618,7 +618,7 @@ const _sfc_main$Z = Object.assign({
|
|
|
618
618
|
current: 1,
|
|
619
619
|
pageSize: 10,
|
|
620
620
|
total: 0,
|
|
621
|
-
showTotal: (total) => `${t("
|
|
621
|
+
showTotal: (total) => `${t("uc_table.tips4")} ${total} ${t("uc_table.tips5")}`,
|
|
622
622
|
showSizeChanger: true,
|
|
623
623
|
showQuickJumper: false,
|
|
624
624
|
onChange: (current, size) => {
|
|
@@ -865,7 +865,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
865
865
|
value: currValue.value,
|
|
866
866
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => currValue.value = $event),
|
|
867
867
|
getPopupContainer: (triggerNode) => triggerNode.parentNode,
|
|
868
|
-
placeholder: __props.placeholder !== "" ? __props.placeholder : _ctx.$t("
|
|
868
|
+
placeholder: __props.placeholder !== "" ? __props.placeholder : _ctx.$t("uc_dict.pbl_select"),
|
|
869
869
|
mode: __props.mode,
|
|
870
870
|
onChange,
|
|
871
871
|
disabled: __props.disabled,
|
|
@@ -1107,21 +1107,21 @@ const _sfc_main$V = {
|
|
|
1107
1107
|
};
|
|
1108
1108
|
const loading = ref(false);
|
|
1109
1109
|
const rules = {
|
|
1110
|
-
funName: [{ required: true, message: t("
|
|
1110
|
+
funName: [{ required: true, message: t("uc_fun.fun_name_msg1") }],
|
|
1111
1111
|
isPublic: [
|
|
1112
1112
|
{
|
|
1113
1113
|
required: true,
|
|
1114
|
-
message: t("
|
|
1114
|
+
message: t("uc_fun.is_public_msg1"),
|
|
1115
1115
|
validator: (rule, value) => {
|
|
1116
1116
|
if (value && value[0]) {
|
|
1117
1117
|
return Promise.resolve();
|
|
1118
1118
|
} else {
|
|
1119
|
-
return Promise.reject(t("
|
|
1119
|
+
return Promise.reject(t("uc_fun.is_public_msg1"));
|
|
1120
1120
|
}
|
|
1121
1121
|
}
|
|
1122
1122
|
}
|
|
1123
1123
|
],
|
|
1124
|
-
url: [{ required: true, message: t("
|
|
1124
|
+
url: [{ required: true, message: t("uc_fun.fun_name_msg1") }]
|
|
1125
1125
|
};
|
|
1126
1126
|
const initData = async () => {
|
|
1127
1127
|
loading.value = true;
|
|
@@ -1199,11 +1199,11 @@ const _sfc_main$V = {
|
|
|
1199
1199
|
}, {
|
|
1200
1200
|
default: withCtx(() => [
|
|
1201
1201
|
createVNode(_component_a_form_item, mergeProps({
|
|
1202
|
-
label: _ctx.$t("
|
|
1202
|
+
label: _ctx.$t("uc_fun.fun_name")
|
|
1203
1203
|
}, formItemLayout, { name: "funName" }), {
|
|
1204
1204
|
default: withCtx(() => [
|
|
1205
1205
|
createVNode(_component_a_input, {
|
|
1206
|
-
placeholder: _ctx.$t("
|
|
1206
|
+
placeholder: _ctx.$t("uc_fun.fun_name_placeholder"),
|
|
1207
1207
|
value: form.funName,
|
|
1208
1208
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.funName = $event)
|
|
1209
1209
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -1211,11 +1211,11 @@ const _sfc_main$V = {
|
|
|
1211
1211
|
_: 1
|
|
1212
1212
|
}, 16, ["label"]),
|
|
1213
1213
|
createVNode(_component_a_form_item, mergeProps({
|
|
1214
|
-
label: _ctx.$t("
|
|
1214
|
+
label: _ctx.$t("uc_fun.image")
|
|
1215
1215
|
}, formItemLayout, { name: "image" }), {
|
|
1216
1216
|
default: withCtx(() => [
|
|
1217
1217
|
createVNode(_component_a_input, {
|
|
1218
|
-
placeholder: _ctx.$t("
|
|
1218
|
+
placeholder: _ctx.$t("uc_fun.image_placeholder"),
|
|
1219
1219
|
value: form.image,
|
|
1220
1220
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.image = $event)
|
|
1221
1221
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -1223,7 +1223,7 @@ const _sfc_main$V = {
|
|
|
1223
1223
|
_: 1
|
|
1224
1224
|
}, 16, ["label"]),
|
|
1225
1225
|
createVNode(_component_a_form_item, mergeProps({
|
|
1226
|
-
label: _ctx.$t("
|
|
1226
|
+
label: _ctx.$t("uc_fun.is_public")
|
|
1227
1227
|
}, formItemLayout, { name: "isPublic" }), {
|
|
1228
1228
|
default: withCtx(() => [
|
|
1229
1229
|
createVNode(DictEx, {
|
|
@@ -1236,7 +1236,7 @@ const _sfc_main$V = {
|
|
|
1236
1236
|
_: 1
|
|
1237
1237
|
}, 16, ["label"]),
|
|
1238
1238
|
createVNode(_component_a_form_item, mergeProps({
|
|
1239
|
-
label: _ctx.$t("
|
|
1239
|
+
label: _ctx.$t("uc_fun.layout")
|
|
1240
1240
|
}, formItemLayout, { name: "layout" }), {
|
|
1241
1241
|
default: withCtx(() => [
|
|
1242
1242
|
createVNode(DictEx, {
|
|
@@ -1249,11 +1249,11 @@ const _sfc_main$V = {
|
|
|
1249
1249
|
_: 1
|
|
1250
1250
|
}, 16, ["label"]),
|
|
1251
1251
|
createVNode(_component_a_form_item, mergeProps({
|
|
1252
|
-
label: _ctx.$t("
|
|
1252
|
+
label: _ctx.$t("uc_fun.url")
|
|
1253
1253
|
}, formItemLayout, { name: "url" }), {
|
|
1254
1254
|
default: withCtx(() => [
|
|
1255
1255
|
createVNode(_component_a_input, {
|
|
1256
|
-
placeholder: _ctx.$t("
|
|
1256
|
+
placeholder: _ctx.$t("uc_fun.url_placeholder"),
|
|
1257
1257
|
value: form.url,
|
|
1258
1258
|
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => form.url = $event)
|
|
1259
1259
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -1261,7 +1261,7 @@ const _sfc_main$V = {
|
|
|
1261
1261
|
_: 1
|
|
1262
1262
|
}, 16, ["label"]),
|
|
1263
1263
|
createVNode(_component_a_form_item, mergeProps({
|
|
1264
|
-
label: _ctx.$t("
|
|
1264
|
+
label: _ctx.$t("uc_fun.actions")
|
|
1265
1265
|
}, formItemLayout), {
|
|
1266
1266
|
default: withCtx(() => [
|
|
1267
1267
|
createVNode(_component_a_checkbox_group, {
|
|
@@ -1425,20 +1425,20 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
1425
1425
|
key: "index1"
|
|
1426
1426
|
},
|
|
1427
1427
|
{
|
|
1428
|
-
title: t("
|
|
1428
|
+
title: t("uc_fun.fun_name"),
|
|
1429
1429
|
dataIndex: "funName",
|
|
1430
1430
|
width: "150px",
|
|
1431
1431
|
key: "funName"
|
|
1432
1432
|
},
|
|
1433
1433
|
{
|
|
1434
|
-
title: t("
|
|
1434
|
+
title: t("uc_fun.url"),
|
|
1435
1435
|
dataIndex: "url",
|
|
1436
1436
|
width: "150px",
|
|
1437
1437
|
maxWidth: "250px",
|
|
1438
1438
|
key: "url"
|
|
1439
1439
|
},
|
|
1440
1440
|
{
|
|
1441
|
-
title: t("
|
|
1441
|
+
title: t("uc_fun.is_public"),
|
|
1442
1442
|
dataIndex: "isPublic",
|
|
1443
1443
|
width: "150px",
|
|
1444
1444
|
key: "isPublic",
|
|
@@ -1447,19 +1447,19 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
1447
1447
|
}
|
|
1448
1448
|
},
|
|
1449
1449
|
{
|
|
1450
|
-
title: t("
|
|
1450
|
+
title: t("uc_fun.status"),
|
|
1451
1451
|
dataIndex: "status",
|
|
1452
1452
|
width: "150px",
|
|
1453
1453
|
key: "status"
|
|
1454
1454
|
},
|
|
1455
1455
|
{
|
|
1456
|
-
title: t("
|
|
1456
|
+
title: t("uc_fun.image"),
|
|
1457
1457
|
dataIndex: "image",
|
|
1458
1458
|
width: "150px",
|
|
1459
1459
|
key: "image"
|
|
1460
1460
|
},
|
|
1461
1461
|
{
|
|
1462
|
-
title: t("
|
|
1462
|
+
title: t("uc_fun.layout"),
|
|
1463
1463
|
dataIndex: "layout",
|
|
1464
1464
|
width: "150px",
|
|
1465
1465
|
key: "layout",
|
|
@@ -1468,7 +1468,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
1468
1468
|
}
|
|
1469
1469
|
},
|
|
1470
1470
|
{
|
|
1471
|
-
title: t("
|
|
1471
|
+
title: t("uc_fun.action"),
|
|
1472
1472
|
key: "action",
|
|
1473
1473
|
fixed: "right",
|
|
1474
1474
|
width: "120px"
|
|
@@ -1503,14 +1503,14 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
1503
1503
|
const onDelete = (record) => {
|
|
1504
1504
|
setFunctionsDelete({ code: record.code, systemId: record.systemId }).then(
|
|
1505
1505
|
() => {
|
|
1506
|
-
message.success(t("
|
|
1506
|
+
message.success(t("uc_assetclass.del_success"));
|
|
1507
1507
|
funTreeRef.value.reload("init-tree");
|
|
1508
1508
|
handleRefreshTable();
|
|
1509
1509
|
}
|
|
1510
1510
|
);
|
|
1511
1511
|
};
|
|
1512
1512
|
const warningInfo = computed(() => {
|
|
1513
|
-
return t("
|
|
1513
|
+
return t("uc_fun.addmsg1");
|
|
1514
1514
|
});
|
|
1515
1515
|
const onAdd = () => {
|
|
1516
1516
|
if (curSystemId.value === "init") {
|
|
@@ -1520,7 +1520,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
1520
1520
|
title: h(
|
|
1521
1521
|
"div",
|
|
1522
1522
|
{ style: "font-weight: 400;padding-top: 20px;" },
|
|
1523
|
-
t("
|
|
1523
|
+
t("uc_fun.addmsg2")
|
|
1524
1524
|
),
|
|
1525
1525
|
icon: h(CloseCircleOutlined, { style: "color:red" })
|
|
1526
1526
|
});
|
|
@@ -1590,7 +1590,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
1590
1590
|
class: "left-col"
|
|
1591
1591
|
}, {
|
|
1592
1592
|
default: withCtx(() => [
|
|
1593
|
-
createElementVNode("div", _hoisted_2$i, toDisplayString(_ctx.$t("
|
|
1593
|
+
createElementVNode("div", _hoisted_2$i, toDisplayString(_ctx.$t("uc_fun.tree_title")), 1),
|
|
1594
1594
|
createElementVNode("div", _hoisted_3$g, [
|
|
1595
1595
|
createVNode(FunTree, {
|
|
1596
1596
|
onSelect,
|
|
@@ -1613,7 +1613,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
1613
1613
|
default: withCtx(() => [
|
|
1614
1614
|
createVNode(_component_uc_btn_add, {
|
|
1615
1615
|
onClick: onAdd,
|
|
1616
|
-
text: _ctx.$t("
|
|
1616
|
+
text: _ctx.$t("uc_fun.addmenu")
|
|
1617
1617
|
}, null, 8, ["text"])
|
|
1618
1618
|
]),
|
|
1619
1619
|
_: 1
|
|
@@ -1653,7 +1653,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
1653
1653
|
type: "a"
|
|
1654
1654
|
}, null, 8, ["onClick"]),
|
|
1655
1655
|
createVNode(_component_a_tooltip, {
|
|
1656
|
-
title: _ctx.$t("
|
|
1656
|
+
title: _ctx.$t("uc_fun.msg1")
|
|
1657
1657
|
}, {
|
|
1658
1658
|
default: withCtx(() => [
|
|
1659
1659
|
createVNode(_component_a_divider, { type: "vertical" }),
|
|
@@ -1917,7 +1917,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
1917
1917
|
loading.value = false;
|
|
1918
1918
|
if ((result == null ? void 0 : result.code) == 0) {
|
|
1919
1919
|
message.success(
|
|
1920
|
-
`${form.name} ${params.opType == "1" ? t("
|
|
1920
|
+
`${form.name} ${params.opType == "1" ? t("uc_organ.ins_successtip") : t("uc_organ.up_successtip")}`,
|
|
1921
1921
|
5
|
|
1922
1922
|
);
|
|
1923
1923
|
emit("ok", params);
|
|
@@ -1940,7 +1940,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
1940
1940
|
createVNode(_component_a_modal, {
|
|
1941
1941
|
class: "modal",
|
|
1942
1942
|
width: 620,
|
|
1943
|
-
title: _ctx.$t("
|
|
1943
|
+
title: _ctx.$t("uc_organ.dept" + params.opType),
|
|
1944
1944
|
open: visible.value,
|
|
1945
1945
|
"onUpdate:open": _cache[4] || (_cache[4] = ($event) => visible.value = $event),
|
|
1946
1946
|
onCancel,
|
|
@@ -1977,12 +1977,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
1977
1977
|
}, {
|
|
1978
1978
|
default: withCtx(() => [
|
|
1979
1979
|
createVNode(_component_a_form_item, {
|
|
1980
|
-
label: _ctx.$t("
|
|
1980
|
+
label: _ctx.$t("uc_organ.parentBranch"),
|
|
1981
1981
|
name: "parentBranch"
|
|
1982
1982
|
}, {
|
|
1983
1983
|
default: withCtx(() => [
|
|
1984
1984
|
createVNode(_component_a_textarea, {
|
|
1985
|
-
placeholder: _ctx.$t("
|
|
1985
|
+
placeholder: _ctx.$t("uc_organ.parentBranch"),
|
|
1986
1986
|
maxLength: 256,
|
|
1987
1987
|
disabled: "",
|
|
1988
1988
|
value: form.parentBranch,
|
|
@@ -1993,12 +1993,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
1993
1993
|
_: 1
|
|
1994
1994
|
}, 8, ["label"]),
|
|
1995
1995
|
createVNode(_component_a_form_item, {
|
|
1996
|
-
label: _ctx.$t("
|
|
1996
|
+
label: _ctx.$t("uc_organ.superiorRegion"),
|
|
1997
1997
|
name: "superiorRegion"
|
|
1998
1998
|
}, {
|
|
1999
1999
|
default: withCtx(() => [
|
|
2000
2000
|
createVNode(_component_a_textarea, {
|
|
2001
|
-
placeholder: _ctx.$t("
|
|
2001
|
+
placeholder: _ctx.$t("uc_organ.superiorRegion"),
|
|
2002
2002
|
maxLength: 256,
|
|
2003
2003
|
disabled: "",
|
|
2004
2004
|
value: form.parentRegion,
|
|
@@ -2009,23 +2009,23 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
2009
2009
|
_: 1
|
|
2010
2010
|
}, 8, ["label"]),
|
|
2011
2011
|
createVNode(_component_a_form_item, {
|
|
2012
|
-
label: _ctx.$t("
|
|
2012
|
+
label: _ctx.$t("uc_organ.deptName"),
|
|
2013
2013
|
name: "name",
|
|
2014
2014
|
required: ""
|
|
2015
2015
|
}, {
|
|
2016
2016
|
default: withCtx(() => [
|
|
2017
2017
|
createVNode(_component_a_input, {
|
|
2018
|
-
placeholder: _ctx.$t("
|
|
2018
|
+
placeholder: _ctx.$t("uc_organ.deptName"),
|
|
2019
2019
|
maxLength: 50,
|
|
2020
2020
|
value: form.name,
|
|
2021
2021
|
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.name = $event),
|
|
2022
|
-
rules: [{ required: true, message: _ctx.$t("
|
|
2022
|
+
rules: [{ required: true, message: _ctx.$t("uc_organ.deptName_msg1") }]
|
|
2023
2023
|
}, null, 8, ["placeholder", "value", "rules"])
|
|
2024
2024
|
]),
|
|
2025
2025
|
_: 1
|
|
2026
2026
|
}, 8, ["label"]),
|
|
2027
2027
|
createVNode(_component_a_form_item, {
|
|
2028
|
-
label: _ctx.$t("
|
|
2028
|
+
label: _ctx.$t("uc_organ.remarks"),
|
|
2029
2029
|
name: "remarks"
|
|
2030
2030
|
}, {
|
|
2031
2031
|
default: withCtx(() => [
|
|
@@ -2035,7 +2035,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
2035
2035
|
showCount: true,
|
|
2036
2036
|
maxLength: 50,
|
|
2037
2037
|
autoSize: false,
|
|
2038
|
-
placeholder: _ctx.$t("
|
|
2038
|
+
placeholder: _ctx.$t("uc_organ.remarks")
|
|
2039
2039
|
}, null, 8, ["value", "placeholder"])
|
|
2040
2040
|
]),
|
|
2041
2041
|
_: 1
|
|
@@ -2136,7 +2136,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2136
2136
|
if ((res == null ? void 0 : res.code) == 0) {
|
|
2137
2137
|
emit("ok", { ...form });
|
|
2138
2138
|
message.success(
|
|
2139
|
-
`${form.name} ${params.opType == "1" ? t("
|
|
2139
|
+
`${form.name} ${params.opType == "1" ? t("uc_organ.ins_successtip") : t("uc_organ.up_successtip")}`,
|
|
2140
2140
|
5
|
|
2141
2141
|
);
|
|
2142
2142
|
}
|
|
@@ -2158,7 +2158,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2158
2158
|
createVNode(_component_a_modal, {
|
|
2159
2159
|
class: "modal",
|
|
2160
2160
|
width: 620,
|
|
2161
|
-
title: _ctx.$t("
|
|
2161
|
+
title: _ctx.$t("uc_organ.branch_edit" + params.opType),
|
|
2162
2162
|
open: visible.value,
|
|
2163
2163
|
"onUpdate:open": _cache[3] || (_cache[3] = ($event) => visible.value = $event),
|
|
2164
2164
|
onCancel,
|
|
@@ -2195,12 +2195,12 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2195
2195
|
}, {
|
|
2196
2196
|
default: withCtx(() => [
|
|
2197
2197
|
createVNode(_component_a_form_item, {
|
|
2198
|
-
label: _ctx.$t("
|
|
2198
|
+
label: _ctx.$t("uc_organ.parentBranch"),
|
|
2199
2199
|
name: "parentBranch"
|
|
2200
2200
|
}, {
|
|
2201
2201
|
default: withCtx(() => [
|
|
2202
2202
|
createVNode(_component_a_input, {
|
|
2203
|
-
placeholder: _ctx.$t("
|
|
2203
|
+
placeholder: _ctx.$t("uc_organ.parentBranch"),
|
|
2204
2204
|
maxLength: 20,
|
|
2205
2205
|
disabled: "",
|
|
2206
2206
|
value: form.parentBranch,
|
|
@@ -2210,19 +2210,19 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2210
2210
|
_: 1
|
|
2211
2211
|
}, 8, ["label"]),
|
|
2212
2212
|
createVNode(_component_a_form_item, {
|
|
2213
|
-
label: _ctx.$t("
|
|
2213
|
+
label: _ctx.$t("uc_organ.branchName"),
|
|
2214
2214
|
name: "name",
|
|
2215
2215
|
rules: [
|
|
2216
2216
|
{
|
|
2217
2217
|
required: true,
|
|
2218
|
-
message: _ctx.$t("
|
|
2218
|
+
message: _ctx.$t("uc_organ.branchName_msg1"),
|
|
2219
2219
|
trigger: "blur"
|
|
2220
2220
|
}
|
|
2221
2221
|
]
|
|
2222
2222
|
}, {
|
|
2223
2223
|
default: withCtx(() => [
|
|
2224
2224
|
createVNode(_component_a_input, {
|
|
2225
|
-
placeholder: _ctx.$t("
|
|
2225
|
+
placeholder: _ctx.$t("uc_organ.branchName"),
|
|
2226
2226
|
maxLength: 50,
|
|
2227
2227
|
value: form.name,
|
|
2228
2228
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.name = $event)
|
|
@@ -2231,7 +2231,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2231
2231
|
_: 1
|
|
2232
2232
|
}, 8, ["label", "rules"]),
|
|
2233
2233
|
createVNode(_component_a_form_item, {
|
|
2234
|
-
label: _ctx.$t("
|
|
2234
|
+
label: _ctx.$t("uc_organ.remarks"),
|
|
2235
2235
|
name: "remarks"
|
|
2236
2236
|
}, {
|
|
2237
2237
|
default: withCtx(() => [
|
|
@@ -2241,7 +2241,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2241
2241
|
showCount: true,
|
|
2242
2242
|
maxLength: 50,
|
|
2243
2243
|
autoSize: false,
|
|
2244
|
-
placeholder: _ctx.$t("
|
|
2244
|
+
placeholder: _ctx.$t("uc_organ.remarks")
|
|
2245
2245
|
}, null, 8, ["value", "placeholder"])
|
|
2246
2246
|
]),
|
|
2247
2247
|
_: 1
|
|
@@ -2329,42 +2329,42 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
2329
2329
|
onClose: _cache[2] || (_cache[2] = ($event) => onCancel()),
|
|
2330
2330
|
"body-style": { position: "static" },
|
|
2331
2331
|
width: 800,
|
|
2332
|
-
title: _ctx.$t("
|
|
2332
|
+
title: _ctx.$t("uc_organ.BranDetail"),
|
|
2333
2333
|
destroyOnClose: destroyOnClose.value
|
|
2334
2334
|
}, {
|
|
2335
2335
|
default: withCtx(() => [
|
|
2336
2336
|
createElementVNode("div", null, [
|
|
2337
2337
|
createElementVNode("div", _hoisted_1$A, [
|
|
2338
|
-
createElementVNode("span", _hoisted_2$h, toDisplayString(_ctx.$t("
|
|
2338
|
+
createElementVNode("span", _hoisted_2$h, toDisplayString(_ctx.$t("uc_organ.parentBranch")), 1),
|
|
2339
2339
|
createElementVNode("span", _hoisted_3$f, toDisplayString(insertData.parentBranch), 1),
|
|
2340
|
-
createElementVNode("span", _hoisted_4$c, toDisplayString(_ctx.$t("
|
|
2340
|
+
createElementVNode("span", _hoisted_4$c, toDisplayString(_ctx.$t("uc_organ.branchName")), 1),
|
|
2341
2341
|
createElementVNode("span", _hoisted_5$6, toDisplayString(insertData.name), 1),
|
|
2342
|
-
createElementVNode("span", _hoisted_6$6, toDisplayString(_ctx.$t("
|
|
2342
|
+
createElementVNode("span", _hoisted_6$6, toDisplayString(_ctx.$t("uc_organ.associatedFlag")), 1),
|
|
2343
2343
|
createElementVNode("div", _hoisted_7$4, [
|
|
2344
2344
|
createElementVNode("div", {
|
|
2345
2345
|
class: normalizeClass(insertData.associatedFlag == "Y" ? "YFlag" : "NFlag")
|
|
2346
2346
|
}, null, 2),
|
|
2347
|
-
createElementVNode("span", _hoisted_8$2, toDisplayString(_ctx.$t("
|
|
2347
|
+
createElementVNode("span", _hoisted_8$2, toDisplayString(_ctx.$t("uc_organ.YFlag")), 1),
|
|
2348
2348
|
createElementVNode("div", {
|
|
2349
2349
|
class: normalizeClass(insertData.associatedFlag == "N" ? "YFlag" : "NFlag")
|
|
2350
2350
|
}, null, 2),
|
|
2351
|
-
createElementVNode("span", _hoisted_9$2, toDisplayString(_ctx.$t("
|
|
2351
|
+
createElementVNode("span", _hoisted_9$2, toDisplayString(_ctx.$t("uc_organ.NFlag")), 1)
|
|
2352
2352
|
]),
|
|
2353
|
-
createCommentVNode(` <span class="pay_span">{{ $t('
|
|
2353
|
+
createCommentVNode(` <span class="pay_span">{{ $t('uc_organ.refCode') }}</span>\r
|
|
2354
2354
|
<span class="pay_span1">{{ insertData.refCode }}</span>\r
|
|
2355
|
-
<span class="pay_span">{{ $t('
|
|
2355
|
+
<span class="pay_span">{{ $t('uc_organ.orderNo') }}</span>\r
|
|
2356
2356
|
<span class="pay_span1">{{ insertData.orderNo }}</span> `),
|
|
2357
|
-
createElementVNode("span", _hoisted_10$2, toDisplayString(_ctx.$t("
|
|
2357
|
+
createElementVNode("span", _hoisted_10$2, toDisplayString(_ctx.$t("uc_organ.remarks")), 1),
|
|
2358
2358
|
createElementVNode("span", _hoisted_11$2, toDisplayString(insertData.remarks), 1),
|
|
2359
2359
|
createVNode(_component_a_divider, { style: { "margin-top": "40px" } }),
|
|
2360
|
-
createElementVNode("span", _hoisted_12$2, toDisplayString(_ctx.$t("
|
|
2360
|
+
createElementVNode("span", _hoisted_12$2, toDisplayString(_ctx.$t("uc_organ.cdate")), 1),
|
|
2361
2361
|
createVNode(_component_uc_pick_label, {
|
|
2362
2362
|
class: "pay_span1",
|
|
2363
2363
|
defaultValue: insertData.cdate
|
|
2364
2364
|
}, null, 8, ["defaultValue"]),
|
|
2365
|
-
createElementVNode("span", _hoisted_13$1, toDisplayString(_ctx.$t("
|
|
2365
|
+
createElementVNode("span", _hoisted_13$1, toDisplayString(_ctx.$t("uc_organ.coperator")), 1),
|
|
2366
2366
|
createElementVNode("span", _hoisted_14$1, toDisplayString(insertData.coperator), 1),
|
|
2367
|
-
createElementVNode("span", _hoisted_15$1, toDisplayString(_ctx.$t("
|
|
2367
|
+
createElementVNode("span", _hoisted_15$1, toDisplayString(_ctx.$t("uc_organ.udate")), 1),
|
|
2368
2368
|
withDirectives(createVNode(_component_uc_pick_label, {
|
|
2369
2369
|
class: "pay_span1",
|
|
2370
2370
|
defaultValue: insertData.udate
|
|
@@ -2374,7 +2374,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
2374
2374
|
withDirectives(createElementVNode("span", _hoisted_16$1, toDisplayString("--"), 512), [
|
|
2375
2375
|
[vShow, !insertData.udate]
|
|
2376
2376
|
]),
|
|
2377
|
-
createElementVNode("span", _hoisted_17$1, toDisplayString(_ctx.$t("
|
|
2377
|
+
createElementVNode("span", _hoisted_17$1, toDisplayString(_ctx.$t("uc_organ.uoperator")), 1),
|
|
2378
2378
|
createElementVNode("span", _hoisted_18, toDisplayString(insertData.uoperator ? insertData.uoperator : "--"), 1)
|
|
2379
2379
|
])
|
|
2380
2380
|
]),
|
|
@@ -2383,7 +2383,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
2383
2383
|
onClick: _cache[0] || (_cache[0] = ($event) => onCancel())
|
|
2384
2384
|
}, {
|
|
2385
2385
|
default: withCtx(() => [
|
|
2386
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
2386
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_prepay.cancel_btn")), 1)
|
|
2387
2387
|
]),
|
|
2388
2388
|
_: 1
|
|
2389
2389
|
}),
|
|
@@ -2465,33 +2465,33 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2465
2465
|
onClose: _cache[2] || (_cache[2] = ($event) => onCancel()),
|
|
2466
2466
|
"body-style": { position: "static" },
|
|
2467
2467
|
width: 800,
|
|
2468
|
-
title: _ctx.$t("
|
|
2468
|
+
title: _ctx.$t("uc_organ.DeptDetail"),
|
|
2469
2469
|
destroyOnClose: destroyOnClose.value
|
|
2470
2470
|
}, {
|
|
2471
2471
|
default: withCtx(() => [
|
|
2472
2472
|
createElementVNode("div", null, [
|
|
2473
2473
|
createElementVNode("div", _hoisted_1$z, [
|
|
2474
|
-
createElementVNode("span", _hoisted_2$g, toDisplayString(_ctx.$t("
|
|
2474
|
+
createElementVNode("span", _hoisted_2$g, toDisplayString(_ctx.$t("uc_organ.parentBranch")), 1),
|
|
2475
2475
|
createElementVNode("span", _hoisted_3$e, toDisplayString(insertData.parentBranch), 1),
|
|
2476
|
-
createElementVNode("span", _hoisted_4$b, toDisplayString(_ctx.$t("
|
|
2476
|
+
createElementVNode("span", _hoisted_4$b, toDisplayString(_ctx.$t("uc_organ.superiorRegion")), 1),
|
|
2477
2477
|
createElementVNode("span", _hoisted_5$5, toDisplayString(insertData.parentRegion), 1),
|
|
2478
|
-
createElementVNode("span", _hoisted_6$5, toDisplayString(_ctx.$t("
|
|
2478
|
+
createElementVNode("span", _hoisted_6$5, toDisplayString(_ctx.$t("uc_organ.deptName")), 1),
|
|
2479
2479
|
createElementVNode("span", _hoisted_7$3, toDisplayString(insertData.name), 1),
|
|
2480
|
-
createCommentVNode(` <span class="pay_span">{{ $t('
|
|
2480
|
+
createCommentVNode(` <span class="pay_span">{{ $t('uc_organ.depCode') }}</span>\r
|
|
2481
2481
|
<span class="pay_span1">{{ insertData.refCode?insertData.refCode:'--' }}</span>\r
|
|
2482
|
-
<span class="pay_span">{{ $t('
|
|
2482
|
+
<span class="pay_span">{{ $t('uc_organ.orderNo') }}</span>\r
|
|
2483
2483
|
<span class="pay_span1">{{ insertData.orderNo?insertData.orderNo:'--' }}</span> `),
|
|
2484
|
-
createElementVNode("span", _hoisted_8$1, toDisplayString(_ctx.$t("
|
|
2484
|
+
createElementVNode("span", _hoisted_8$1, toDisplayString(_ctx.$t("uc_organ.remarks")), 1),
|
|
2485
2485
|
createElementVNode("span", _hoisted_9$1, toDisplayString(insertData.remarks ? insertData.remarks : "--"), 1),
|
|
2486
2486
|
createVNode(_component_a_divider, { style: { "margin-top": "40px" } }),
|
|
2487
|
-
createElementVNode("span", _hoisted_10$1, toDisplayString(_ctx.$t("
|
|
2487
|
+
createElementVNode("span", _hoisted_10$1, toDisplayString(_ctx.$t("uc_organ.cdate")), 1),
|
|
2488
2488
|
createVNode(_component_uc_pick_label, {
|
|
2489
2489
|
class: "pay_span1",
|
|
2490
2490
|
defaultValue: insertData.cdate
|
|
2491
2491
|
}, null, 8, ["defaultValue"]),
|
|
2492
|
-
createElementVNode("span", _hoisted_11$1, toDisplayString(_ctx.$t("
|
|
2492
|
+
createElementVNode("span", _hoisted_11$1, toDisplayString(_ctx.$t("uc_organ.coperator")), 1),
|
|
2493
2493
|
createElementVNode("span", _hoisted_12$1, toDisplayString(insertData.coperator), 1),
|
|
2494
|
-
createElementVNode("span", _hoisted_13, toDisplayString(_ctx.$t("
|
|
2494
|
+
createElementVNode("span", _hoisted_13, toDisplayString(_ctx.$t("uc_organ.udate")), 1),
|
|
2495
2495
|
withDirectives(createVNode(_component_uc_pick_label, {
|
|
2496
2496
|
class: "pay_span1",
|
|
2497
2497
|
defaultValue: insertData.udate
|
|
@@ -2501,7 +2501,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2501
2501
|
withDirectives(createElementVNode("span", _hoisted_14, toDisplayString("--"), 512), [
|
|
2502
2502
|
[vShow, !insertData.udate]
|
|
2503
2503
|
]),
|
|
2504
|
-
createElementVNode("span", _hoisted_15, toDisplayString(_ctx.$t("
|
|
2504
|
+
createElementVNode("span", _hoisted_15, toDisplayString(_ctx.$t("uc_organ.uoperator")), 1),
|
|
2505
2505
|
createElementVNode("span", _hoisted_16, toDisplayString(insertData.uoperator ? insertData.uoperator : "--"), 1)
|
|
2506
2506
|
])
|
|
2507
2507
|
]),
|
|
@@ -2510,7 +2510,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2510
2510
|
onClick: _cache[0] || (_cache[0] = ($event) => onCancel())
|
|
2511
2511
|
}, {
|
|
2512
2512
|
default: withCtx(() => [
|
|
2513
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
2513
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_prepay.cancel_btn")), 1)
|
|
2514
2514
|
]),
|
|
2515
2515
|
_: 1
|
|
2516
2516
|
}),
|
|
@@ -2619,7 +2619,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2619
2619
|
};
|
|
2620
2620
|
const columns = computed(() => [
|
|
2621
2621
|
{
|
|
2622
|
-
title: t("
|
|
2622
|
+
title: t("uc_organ.name"),
|
|
2623
2623
|
dataIndex: "name",
|
|
2624
2624
|
key: "name",
|
|
2625
2625
|
resizable: true,
|
|
@@ -2627,21 +2627,21 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2627
2627
|
fixed: "left"
|
|
2628
2628
|
},
|
|
2629
2629
|
{
|
|
2630
|
-
title: t("
|
|
2630
|
+
title: t("uc_organ.coperator"),
|
|
2631
2631
|
dataIndex: "coperator",
|
|
2632
2632
|
key: "coperator",
|
|
2633
2633
|
width: 200,
|
|
2634
2634
|
resizable: true
|
|
2635
2635
|
},
|
|
2636
2636
|
{
|
|
2637
|
-
title: t("
|
|
2637
|
+
title: t("uc_organ.cdate"),
|
|
2638
2638
|
dataIndex: "cdate",
|
|
2639
2639
|
key: "cdate",
|
|
2640
2640
|
width: 200,
|
|
2641
2641
|
resizable: true
|
|
2642
2642
|
},
|
|
2643
2643
|
{
|
|
2644
|
-
title: t("
|
|
2644
|
+
title: t("uc_organ.action"),
|
|
2645
2645
|
dataIndex: "action",
|
|
2646
2646
|
key: "action",
|
|
2647
2647
|
resizable: true,
|
|
@@ -2693,14 +2693,14 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2693
2693
|
id: record.id
|
|
2694
2694
|
});
|
|
2695
2695
|
if (res.result) {
|
|
2696
|
-
message.success(`${t("
|
|
2696
|
+
message.success(`${t("uc_organ.setBranchTypeTip")}`, 5);
|
|
2697
2697
|
init2();
|
|
2698
2698
|
}
|
|
2699
2699
|
};
|
|
2700
2700
|
const setUnderlyingInstitution = (record) => {
|
|
2701
2701
|
Modal.confirm({
|
|
2702
|
-
title: t("
|
|
2703
|
-
content: t("
|
|
2702
|
+
title: t("uc_organ.add3"),
|
|
2703
|
+
content: t("uc_organ.setsuperiorRegionInfo"),
|
|
2704
2704
|
icon: h(""),
|
|
2705
2705
|
onOk() {
|
|
2706
2706
|
handleUpdateBranchType(record);
|
|
@@ -2714,30 +2714,30 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2714
2714
|
const onDelete = (record) => {
|
|
2715
2715
|
if (record.type == "3") {
|
|
2716
2716
|
Modal.confirm({
|
|
2717
|
-
title: t("
|
|
2717
|
+
title: t("uc_organ.deleteTip"),
|
|
2718
2718
|
icon: h(ExclamationCircleOutlined, { style: "color:red" }),
|
|
2719
|
-
content: t("
|
|
2719
|
+
content: t("uc_organ.deleteTipInfo"),
|
|
2720
2720
|
okType: "danger",
|
|
2721
2721
|
onOk() {
|
|
2722
2722
|
setOrganDeleteDepartment({ id: record.id }).then((res) => {
|
|
2723
2723
|
if (res == null ? void 0 : res.result) {
|
|
2724
2724
|
init2();
|
|
2725
|
-
message.success(`${record.name} ${t("
|
|
2725
|
+
message.success(`${record.name} ${t("uc_organ.del_successtip")}`, 5);
|
|
2726
2726
|
}
|
|
2727
2727
|
});
|
|
2728
2728
|
}
|
|
2729
2729
|
});
|
|
2730
2730
|
} else {
|
|
2731
2731
|
Modal.confirm({
|
|
2732
|
-
title: t("
|
|
2732
|
+
title: t("uc_organ.deleteTip"),
|
|
2733
2733
|
icon: h(ExclamationCircleOutlined, { style: "color:red" }),
|
|
2734
|
-
content: t("
|
|
2734
|
+
content: t("uc_organ.deleteTipInfo"),
|
|
2735
2735
|
okType: "danger",
|
|
2736
2736
|
onOk() {
|
|
2737
2737
|
setOrganDeleteBranch({ id: record.id }).then((res) => {
|
|
2738
2738
|
if (res == null ? void 0 : res.result) {
|
|
2739
2739
|
init2();
|
|
2740
|
-
message.success(`${record.name} ${t("
|
|
2740
|
+
message.success(`${record.name} ${t("uc_organ.del_successtip")}`, 5);
|
|
2741
2741
|
}
|
|
2742
2742
|
});
|
|
2743
2743
|
}
|
|
@@ -2780,7 +2780,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2780
2780
|
createElementVNode("div", _hoisted_2$f, [
|
|
2781
2781
|
createElementVNode("div", _hoisted_3$d, [
|
|
2782
2782
|
createVNode(_component_a_input_search, {
|
|
2783
|
-
placeholder: _ctx.$t("
|
|
2783
|
+
placeholder: _ctx.$t("uc_organ.search_placeholder"),
|
|
2784
2784
|
ref: "inputSearch",
|
|
2785
2785
|
allowClear: "",
|
|
2786
2786
|
value: queryParam.name,
|
|
@@ -2816,7 +2816,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2816
2816
|
column.key === "name" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
2817
2817
|
createElementVNode("div", {
|
|
2818
2818
|
class: normalizeClass("organ_type" + record.type)
|
|
2819
|
-
}, toDisplayString(_ctx.$t("
|
|
2819
|
+
}, toDisplayString(_ctx.$t("uc_organ.type" + record.type)), 3),
|
|
2820
2820
|
withDirectives(createVNode(_component_a_button, {
|
|
2821
2821
|
type: "link",
|
|
2822
2822
|
onClick: ($event) => onDetail(record)
|
|
@@ -2830,7 +2830,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2830
2830
|
]),
|
|
2831
2831
|
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
2832
2832
|
title: withCtx(() => [
|
|
2833
|
-
createElementVNode("span", null, toDisplayString(_ctx.$t("
|
|
2833
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
|
|
2834
2834
|
]),
|
|
2835
2835
|
default: withCtx(() => [
|
|
2836
2836
|
withDirectives(createVNode(_component_a_button, {
|
|
@@ -2878,7 +2878,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2878
2878
|
onClick: ($event) => onAddDep(record)
|
|
2879
2879
|
}, {
|
|
2880
2880
|
default: withCtx(() => [
|
|
2881
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
2881
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_organ.add2")), 1)
|
|
2882
2882
|
]),
|
|
2883
2883
|
_: 2
|
|
2884
2884
|
}, 1032, ["onClick"]), [
|
|
@@ -2925,7 +2925,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2925
2925
|
onClick: ($event) => setUnderlyingInstitution(record)
|
|
2926
2926
|
}, {
|
|
2927
2927
|
default: withCtx(() => [
|
|
2928
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
2928
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_organ.add3")), 1)
|
|
2929
2929
|
]),
|
|
2930
2930
|
_: 2
|
|
2931
2931
|
}, 1032, ["onClick"])
|
|
@@ -2944,7 +2944,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2944
2944
|
onClick: ($event) => onAdd(record)
|
|
2945
2945
|
}, {
|
|
2946
2946
|
default: withCtx(() => [
|
|
2947
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
2947
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_organ.add1")), 1)
|
|
2948
2948
|
]),
|
|
2949
2949
|
_: 2
|
|
2950
2950
|
}, 1032, ["onClick"]), [
|
|
@@ -2965,7 +2965,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2965
2965
|
onClick: ($event) => onAddDep(record)
|
|
2966
2966
|
}, {
|
|
2967
2967
|
default: withCtx(() => [
|
|
2968
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
2968
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_organ.add2")), 1)
|
|
2969
2969
|
]),
|
|
2970
2970
|
_: 2
|
|
2971
2971
|
}, 1032, ["onClick"]), [
|
|
@@ -3022,7 +3022,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
3022
3022
|
withDirectives(createElementVNode("div", null, [
|
|
3023
3023
|
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
3024
3024
|
title: withCtx(() => [
|
|
3025
|
-
createElementVNode("span", null, toDisplayString(_ctx.$t("
|
|
3025
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
|
|
3026
3026
|
]),
|
|
3027
3027
|
default: withCtx(() => [
|
|
3028
3028
|
withDirectives(createVNode(_component_a_button, {
|
|
@@ -3049,7 +3049,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
3049
3049
|
]),
|
|
3050
3050
|
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
3051
3051
|
title: withCtx(() => [
|
|
3052
|
-
createElementVNode("span", null, toDisplayString(_ctx.$t("
|
|
3052
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
|
|
3053
3053
|
]),
|
|
3054
3054
|
default: withCtx(() => [
|
|
3055
3055
|
withDirectives(createVNode(_component_a_button, {
|
|
@@ -3059,7 +3059,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
3059
3059
|
disabled: ""
|
|
3060
3060
|
}, {
|
|
3061
3061
|
default: withCtx(() => [
|
|
3062
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
3062
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_organ.add2")), 1)
|
|
3063
3063
|
]),
|
|
3064
3064
|
_: 2
|
|
3065
3065
|
}, 1032, ["onClick"]), [
|
|
@@ -3079,7 +3079,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
3079
3079
|
]),
|
|
3080
3080
|
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
3081
3081
|
title: withCtx(() => [
|
|
3082
|
-
createElementVNode("span", null, toDisplayString(_ctx.$t("
|
|
3082
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
|
|
3083
3083
|
]),
|
|
3084
3084
|
default: withCtx(() => [
|
|
3085
3085
|
withDirectives(createVNode(_component_a_button, {
|
|
@@ -3106,7 +3106,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
3106
3106
|
]),
|
|
3107
3107
|
createVNode(_component_a_tooltip, { placement: "top" }, {
|
|
3108
3108
|
title: withCtx(() => [
|
|
3109
|
-
createElementVNode("span", null, toDisplayString(_ctx.$t("
|
|
3109
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("uc_organ.nopermission")), 1)
|
|
3110
3110
|
]),
|
|
3111
3111
|
default: withCtx(() => [
|
|
3112
3112
|
withDirectives(createElementVNode("span", null, [
|
|
@@ -3248,7 +3248,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
3248
3248
|
});
|
|
3249
3249
|
const handleRoleValidator = (rule, value) => {
|
|
3250
3250
|
if (value == "") {
|
|
3251
|
-
return Promise.reject(t("
|
|
3251
|
+
return Promise.reject(t("uc_role.role_name_msg1"));
|
|
3252
3252
|
} else {
|
|
3253
3253
|
return Promise.resolve();
|
|
3254
3254
|
}
|
|
@@ -3282,7 +3282,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
3282
3282
|
width: 560,
|
|
3283
3283
|
onOk: onSubmit,
|
|
3284
3284
|
onCancel,
|
|
3285
|
-
title: _ctx.$t("
|
|
3285
|
+
title: _ctx.$t("uc_role.add_msg"),
|
|
3286
3286
|
style: { "top": "250px" },
|
|
3287
3287
|
destroyOnClose: destroyOnClose.value
|
|
3288
3288
|
}, {
|
|
@@ -3296,20 +3296,20 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
3296
3296
|
}, {
|
|
3297
3297
|
default: withCtx(() => [
|
|
3298
3298
|
createVNode(_component_a_form_item, mergeProps({
|
|
3299
|
-
label: _ctx.$t("
|
|
3299
|
+
label: _ctx.$t("uc_role.role_name")
|
|
3300
3300
|
}, formItemLayout.value, {
|
|
3301
3301
|
name: "roleName",
|
|
3302
3302
|
rules: [
|
|
3303
3303
|
{
|
|
3304
3304
|
required: true,
|
|
3305
|
-
message: _ctx.$t("
|
|
3305
|
+
message: _ctx.$t("uc_role.role_name_msg1"),
|
|
3306
3306
|
validator: handleRoleValidator
|
|
3307
3307
|
}
|
|
3308
3308
|
]
|
|
3309
3309
|
}), {
|
|
3310
3310
|
default: withCtx(() => [
|
|
3311
3311
|
createVNode(_component_a_input, {
|
|
3312
|
-
placeholder: _ctx.$t("
|
|
3312
|
+
placeholder: _ctx.$t("uc_role.role_name_placeholder"),
|
|
3313
3313
|
value: form.value.roleName,
|
|
3314
3314
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.value.roleName = $event)
|
|
3315
3315
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -3317,11 +3317,11 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
3317
3317
|
_: 1
|
|
3318
3318
|
}, 16, ["label", "rules"]),
|
|
3319
3319
|
createVNode(_component_a_form_item, mergeProps({
|
|
3320
|
-
label: _ctx.$t("
|
|
3320
|
+
label: _ctx.$t("uc_role.remark")
|
|
3321
3321
|
}, formItemLayout.value, { name: "remark" }), {
|
|
3322
3322
|
default: withCtx(() => [
|
|
3323
3323
|
createVNode(_component_a_textarea, {
|
|
3324
|
-
placeholder: _ctx.$t("
|
|
3324
|
+
placeholder: _ctx.$t("uc_role.remark_placeholder"),
|
|
3325
3325
|
rows: 4,
|
|
3326
3326
|
value: form.value.remark,
|
|
3327
3327
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.value.remark = $event)
|
|
@@ -3570,7 +3570,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3570
3570
|
onChange: onAllCheckedChange
|
|
3571
3571
|
}, {
|
|
3572
3572
|
default: withCtx(() => [
|
|
3573
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
3573
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_role.operation")), 1)
|
|
3574
3574
|
]),
|
|
3575
3575
|
_: 1
|
|
3576
3576
|
}, 8, ["checked"])
|
|
@@ -3611,7 +3611,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3611
3611
|
disabled: __props.mode === "view"
|
|
3612
3612
|
}, {
|
|
3613
3613
|
default: withCtx(() => [
|
|
3614
|
-
createElementVNode("span", _hoisted_2$e, toDisplayString(_ctx.$t("
|
|
3614
|
+
createElementVNode("span", _hoisted_2$e, toDisplayString(_ctx.$t("uc_role.operation")), 1)
|
|
3615
3615
|
]),
|
|
3616
3616
|
_: 2
|
|
3617
3617
|
}, 1032, ["indeterminate", "checked", "onUpdate:checked", "onChange", "disabled"])) : createCommentVNode("v-if", true),
|
|
@@ -3635,7 +3635,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
3635
3635
|
}, 1024)) : createCommentVNode("v-if", true)
|
|
3636
3636
|
], 64);
|
|
3637
3637
|
}), 256))
|
|
3638
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_4$9, toDisplayString(_ctx.$t("
|
|
3638
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_4$9, toDisplayString(_ctx.$t("uc_actDetail.text")), 1))
|
|
3639
3639
|
]);
|
|
3640
3640
|
};
|
|
3641
3641
|
}
|
|
@@ -3787,7 +3787,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
3787
3787
|
withDirectives(createVNode(_component_a_col, { class: "left" }, {
|
|
3788
3788
|
default: withCtx(() => [
|
|
3789
3789
|
createVNode(_component_a_card, {
|
|
3790
|
-
title: _ctx.$t("
|
|
3790
|
+
title: _ctx.$t("uc_role.svr_list"),
|
|
3791
3791
|
bordered: false
|
|
3792
3792
|
}, {
|
|
3793
3793
|
cover: withCtx(() => [
|
|
@@ -3825,7 +3825,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
3825
3825
|
default: withCtx(() => [
|
|
3826
3826
|
createVNode(_component_a_card, {
|
|
3827
3827
|
bordered: false,
|
|
3828
|
-
title: _ctx.$t("
|
|
3828
|
+
title: _ctx.$t("uc_role.role_info")
|
|
3829
3829
|
}, {
|
|
3830
3830
|
default: withCtx(() => [
|
|
3831
3831
|
createVNode(_component_a_form, {
|
|
@@ -3836,13 +3836,13 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
3836
3836
|
}, {
|
|
3837
3837
|
default: withCtx(() => [
|
|
3838
3838
|
createVNode(_component_a_form_item, {
|
|
3839
|
-
label: _ctx.$t("
|
|
3839
|
+
label: _ctx.$t("uc_role.role_name"),
|
|
3840
3840
|
name: "roleName",
|
|
3841
|
-
rules: [{ required: true, message: _ctx.$t("
|
|
3841
|
+
rules: [{ required: true, message: _ctx.$t("uc_role.role_name_msg1") }]
|
|
3842
3842
|
}, {
|
|
3843
3843
|
default: withCtx(() => [
|
|
3844
3844
|
createVNode(_component_a_input, {
|
|
3845
|
-
placeholder: _ctx.$t("
|
|
3845
|
+
placeholder: _ctx.$t("uc_role.role_name_placeholder"),
|
|
3846
3846
|
value: form.value.roleName,
|
|
3847
3847
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.value.roleName = $event),
|
|
3848
3848
|
disabled: mode.value === "view"
|
|
@@ -3851,13 +3851,13 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
3851
3851
|
_: 1
|
|
3852
3852
|
}, 8, ["label", "rules"]),
|
|
3853
3853
|
createVNode(_component_a_form_item, {
|
|
3854
|
-
label: _ctx.$t("
|
|
3854
|
+
label: _ctx.$t("uc_role.remark"),
|
|
3855
3855
|
name: "remark",
|
|
3856
|
-
rules: [{ message: _ctx.$t("
|
|
3856
|
+
rules: [{ message: _ctx.$t("uc_role.remark_msg1") }]
|
|
3857
3857
|
}, {
|
|
3858
3858
|
default: withCtx(() => [
|
|
3859
3859
|
createVNode(_component_a_input, {
|
|
3860
|
-
placeholder: _ctx.$t("
|
|
3860
|
+
placeholder: _ctx.$t("uc_role.remark_placeholder"),
|
|
3861
3861
|
value: form.value.remark,
|
|
3862
3862
|
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.value.remark = $event),
|
|
3863
3863
|
disabled: mode.value === "view"
|
|
@@ -3874,7 +3874,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
3874
3874
|
createVNode(_component_a_card, {
|
|
3875
3875
|
class: "card",
|
|
3876
3876
|
bordered: false,
|
|
3877
|
-
title: _ctx.$t("
|
|
3877
|
+
title: _ctx.$t("uc_role.role_detail"),
|
|
3878
3878
|
style: { "padding-bottom": "30px" }
|
|
3879
3879
|
}, {
|
|
3880
3880
|
default: withCtx(() => [
|
|
@@ -3962,39 +3962,39 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
3962
3962
|
const editParams = ref({});
|
|
3963
3963
|
const columns = computed(() => [
|
|
3964
3964
|
{
|
|
3965
|
-
title: t("
|
|
3965
|
+
title: t("uc_device.index1"),
|
|
3966
3966
|
width: "50px",
|
|
3967
3967
|
align: "center",
|
|
3968
3968
|
key: "index1"
|
|
3969
3969
|
},
|
|
3970
3970
|
{
|
|
3971
|
-
title: t("
|
|
3971
|
+
title: t("uc_personal_center.role"),
|
|
3972
3972
|
dataIndex: "roleName",
|
|
3973
3973
|
width: "150px",
|
|
3974
3974
|
maxWidth: "250px",
|
|
3975
3975
|
key: "roleName"
|
|
3976
3976
|
},
|
|
3977
3977
|
{
|
|
3978
|
-
title: t("
|
|
3978
|
+
title: t("uc_role.remark"),
|
|
3979
3979
|
dataIndex: "remark",
|
|
3980
3980
|
width: "150px",
|
|
3981
3981
|
maxWidth: "250px",
|
|
3982
3982
|
key: "remark"
|
|
3983
3983
|
},
|
|
3984
3984
|
{
|
|
3985
|
-
title: t("
|
|
3985
|
+
title: t("uc_role.uoperator"),
|
|
3986
3986
|
dataIndex: "uoperator",
|
|
3987
3987
|
width: "150px",
|
|
3988
3988
|
key: "uoperator"
|
|
3989
3989
|
},
|
|
3990
3990
|
{
|
|
3991
|
-
title: t("
|
|
3991
|
+
title: t("uc_role.udate"),
|
|
3992
3992
|
dataIndex: "udate",
|
|
3993
3993
|
width: "160px",
|
|
3994
3994
|
key: "udate"
|
|
3995
3995
|
},
|
|
3996
3996
|
{
|
|
3997
|
-
title: t("
|
|
3997
|
+
title: t("uc_role.action"),
|
|
3998
3998
|
key: "action",
|
|
3999
3999
|
fixed: "right",
|
|
4000
4000
|
width: "120px"
|
|
@@ -4084,7 +4084,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
4084
4084
|
createElementVNode("div", _hoisted_2$d, [
|
|
4085
4085
|
createElementVNode("div", _hoisted_3$b, [
|
|
4086
4086
|
createVNode(_component_a_input_search, {
|
|
4087
|
-
placeholder: _ctx.$t("
|
|
4087
|
+
placeholder: _ctx.$t("uc_role.nameInput"),
|
|
4088
4088
|
ref: "inputSearch",
|
|
4089
4089
|
value: queryParam.value.roleName,
|
|
4090
4090
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => queryParam.value.roleName = $event),
|
|
@@ -4337,7 +4337,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
4337
4337
|
style: normalizeStyle(
|
|
4338
4338
|
__props.type === "expand" ? { width: width.value + "px", minWidth: "200px" } : defaultStyle
|
|
4339
4339
|
),
|
|
4340
|
-
placeholder: __props.placeholder !== "" ? __props.placeholder : _ctx.$t("
|
|
4340
|
+
placeholder: __props.placeholder !== "" ? __props.placeholder : _ctx.$t("uc_dept.tree_placeholder"),
|
|
4341
4341
|
disabled: __props.disabled,
|
|
4342
4342
|
onDropdownVisibleChange: changeVisible,
|
|
4343
4343
|
changeOnSelect: "",
|
|
@@ -4568,16 +4568,16 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4568
4568
|
};
|
|
4569
4569
|
const handleUserCodeValidator = (rule, value) => {
|
|
4570
4570
|
if (!value) {
|
|
4571
|
-
return Promise.reject(t("
|
|
4571
|
+
return Promise.reject(t("uc_user.user_code_msg1"));
|
|
4572
4572
|
}
|
|
4573
4573
|
if (/^[a-zA-Z0-9]+$/.test(value)) {
|
|
4574
4574
|
if (/^.{1,20}$/.test(value)) {
|
|
4575
4575
|
return Promise.resolve();
|
|
4576
4576
|
} else {
|
|
4577
|
-
return Promise.reject(t("
|
|
4577
|
+
return Promise.reject(t("uc_user.user_code_msg3"));
|
|
4578
4578
|
}
|
|
4579
4579
|
} else {
|
|
4580
|
-
return Promise.reject(t("
|
|
4580
|
+
return Promise.reject(t("uc_user.user_code_msg2"));
|
|
4581
4581
|
}
|
|
4582
4582
|
};
|
|
4583
4583
|
const rules = {
|
|
@@ -4585,10 +4585,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4585
4585
|
{
|
|
4586
4586
|
required: true,
|
|
4587
4587
|
trigger: ["change", "blur"],
|
|
4588
|
-
message: t("
|
|
4588
|
+
message: t("uc_user.user_name_msg1"),
|
|
4589
4589
|
validator: (rule, value) => {
|
|
4590
4590
|
if (!value || /^\s+$/.test(value)) {
|
|
4591
|
-
return Promise.reject(t("
|
|
4591
|
+
return Promise.reject(t("uc_user.user_name_msg1"));
|
|
4592
4592
|
} else {
|
|
4593
4593
|
return Promise.resolve();
|
|
4594
4594
|
}
|
|
@@ -4599,10 +4599,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4599
4599
|
{
|
|
4600
4600
|
required: true,
|
|
4601
4601
|
trigger: ["change", "blur"],
|
|
4602
|
-
message: t("
|
|
4602
|
+
message: t("uc_user.branch_msg1"),
|
|
4603
4603
|
validator: (rule, value) => {
|
|
4604
4604
|
if (!value || /^\s+$/.test(value)) {
|
|
4605
|
-
return Promise.reject(t("
|
|
4605
|
+
return Promise.reject(t("uc_user.branch_msg1"));
|
|
4606
4606
|
} else {
|
|
4607
4607
|
return Promise.resolve();
|
|
4608
4608
|
}
|
|
@@ -4612,7 +4612,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4612
4612
|
roleId: [
|
|
4613
4613
|
{
|
|
4614
4614
|
required: true,
|
|
4615
|
-
message: t("
|
|
4615
|
+
message: t("uc_user.role_msg1"),
|
|
4616
4616
|
trigger: ["change", "blur"]
|
|
4617
4617
|
}
|
|
4618
4618
|
]
|
|
@@ -4698,7 +4698,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4698
4698
|
"onUpdate:open": _cache[9] || (_cache[9] = ($event) => visible.value = $event),
|
|
4699
4699
|
onClose: onCancel,
|
|
4700
4700
|
width: 800,
|
|
4701
|
-
title: _ctx.$t("
|
|
4701
|
+
title: _ctx.$t("uc_user.title" + params.opType),
|
|
4702
4702
|
destroyOnClose: true
|
|
4703
4703
|
}, {
|
|
4704
4704
|
default: withCtx(() => [
|
|
@@ -4717,11 +4717,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4717
4717
|
createVNode(_component_a_col, { span: 24 }, {
|
|
4718
4718
|
default: withCtx(() => [
|
|
4719
4719
|
createVNode(_component_a_form_item, mergeProps({
|
|
4720
|
-
label: _ctx.$t("
|
|
4720
|
+
label: _ctx.$t("uc_user.user_id")
|
|
4721
4721
|
}, formItemLayout, { name: "userCode" }), {
|
|
4722
4722
|
default: withCtx(() => [
|
|
4723
4723
|
createVNode(_component_a_input, {
|
|
4724
|
-
placeholder: _ctx.$t("
|
|
4724
|
+
placeholder: _ctx.$t("uc_user.user_id_placeholder"),
|
|
4725
4725
|
disabled: true,
|
|
4726
4726
|
value: form.userCode,
|
|
4727
4727
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.userCode = $event)
|
|
@@ -4740,7 +4740,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4740
4740
|
createVNode(_component_a_col, { span: 24 }, {
|
|
4741
4741
|
default: withCtx(() => [
|
|
4742
4742
|
createVNode(_component_a_form_item, mergeProps({
|
|
4743
|
-
label: _ctx.$t("
|
|
4743
|
+
label: _ctx.$t("uc_user.user_id")
|
|
4744
4744
|
}, formItemLayout, {
|
|
4745
4745
|
name: "userCode",
|
|
4746
4746
|
rules: [
|
|
@@ -4753,7 +4753,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4753
4753
|
}), {
|
|
4754
4754
|
default: withCtx(() => [
|
|
4755
4755
|
createVNode(_component_a_input, {
|
|
4756
|
-
placeholder: _ctx.$t("
|
|
4756
|
+
placeholder: _ctx.$t("uc_user.user_id_placeholder"),
|
|
4757
4757
|
value: form.userCode,
|
|
4758
4758
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.userCode = $event)
|
|
4759
4759
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -4771,11 +4771,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4771
4771
|
createVNode(_component_a_col, { span: 24 }, {
|
|
4772
4772
|
default: withCtx(() => [
|
|
4773
4773
|
createVNode(_component_a_form_item, mergeProps({
|
|
4774
|
-
label: _ctx.$t("
|
|
4774
|
+
label: _ctx.$t("uc_user.user_name")
|
|
4775
4775
|
}, formItemLayout, { name: "userName" }), {
|
|
4776
4776
|
default: withCtx(() => [
|
|
4777
4777
|
createVNode(_component_a_input, {
|
|
4778
|
-
placeholder: _ctx.$t("
|
|
4778
|
+
placeholder: _ctx.$t("uc_user.user_name_placeholder"),
|
|
4779
4779
|
value: form.userName,
|
|
4780
4780
|
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.userName = $event)
|
|
4781
4781
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -4793,7 +4793,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4793
4793
|
createVNode(_component_a_col, { span: 24 }, {
|
|
4794
4794
|
default: withCtx(() => [
|
|
4795
4795
|
createVNode(_component_a_form_item, mergeProps({
|
|
4796
|
-
label: _ctx.$t("
|
|
4796
|
+
label: _ctx.$t("uc_user.branchId")
|
|
4797
4797
|
}, formItemLayout, { name: "branchId" }), {
|
|
4798
4798
|
default: withCtx(() => [
|
|
4799
4799
|
createVNode(BranchSelect, {
|
|
@@ -4814,12 +4814,12 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4814
4814
|
createCommentVNode(` <a-row>\r
|
|
4815
4815
|
<a-col :span="24">\r
|
|
4816
4816
|
<a-form-item\r
|
|
4817
|
-
:label="$t('
|
|
4817
|
+
:label="$t('uc_user.depyId')"\r
|
|
4818
4818
|
v-bind="formItemLayout"\r
|
|
4819
4819
|
name="deptId"\r
|
|
4820
4820
|
>\r
|
|
4821
4821
|
<dept-select\r
|
|
4822
|
-
:placeholder="$t('
|
|
4822
|
+
:placeholder="$t('uc_user.depyId_placeholder')"\r
|
|
4823
4823
|
mode="default"\r
|
|
4824
4824
|
v-model:value="form.deptId"\r
|
|
4825
4825
|
:branchId="form.branchId"\r
|
|
@@ -4834,11 +4834,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4834
4834
|
createVNode(_component_a_col, { span: 24 }, {
|
|
4835
4835
|
default: withCtx(() => [
|
|
4836
4836
|
createVNode(_component_a_form_item, mergeProps({
|
|
4837
|
-
label: _ctx.$t("
|
|
4837
|
+
label: _ctx.$t("uc_user.role")
|
|
4838
4838
|
}, formItemLayout, { name: "roleId" }), {
|
|
4839
4839
|
default: withCtx(() => [
|
|
4840
4840
|
createVNode(RoleSelect, {
|
|
4841
|
-
placeholder: _ctx.$t("
|
|
4841
|
+
placeholder: _ctx.$t("uc_user.role_placeholder"),
|
|
4842
4842
|
mode: "combobox",
|
|
4843
4843
|
value: form.roleId,
|
|
4844
4844
|
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => form.roleId = $event),
|
|
@@ -4858,11 +4858,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4858
4858
|
createVNode(_component_a_col, { span: 24 }, {
|
|
4859
4859
|
default: withCtx(() => [
|
|
4860
4860
|
createVNode(_component_a_form_item, mergeProps({
|
|
4861
|
-
label: _ctx.$t("
|
|
4861
|
+
label: _ctx.$t("uc_user.role_other")
|
|
4862
4862
|
}, formItemLayout, { name: "roleIdOthers" }), {
|
|
4863
4863
|
default: withCtx(() => [
|
|
4864
4864
|
createVNode(RoleSelect, {
|
|
4865
|
-
placeholder: _ctx.$t("
|
|
4865
|
+
placeholder: _ctx.$t("uc_user.role_other_placeholder"),
|
|
4866
4866
|
mode: "multiple",
|
|
4867
4867
|
roleId: String(roleId.value),
|
|
4868
4868
|
value: form.roleIdOthers,
|
|
@@ -4883,12 +4883,12 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4883
4883
|
createVNode(_component_a_col, { span: 24 }, {
|
|
4884
4884
|
default: withCtx(() => [
|
|
4885
4885
|
createVNode(_component_a_form_item, mergeProps({
|
|
4886
|
-
label: _ctx.$t("
|
|
4886
|
+
label: _ctx.$t("uc_user.mobile")
|
|
4887
4887
|
}, formItemLayout, { name: "mobile" }), {
|
|
4888
4888
|
default: withCtx(() => [
|
|
4889
4889
|
createVNode(_component_a_input, {
|
|
4890
4890
|
type: "number",
|
|
4891
|
-
placeholder: _ctx.$t("
|
|
4891
|
+
placeholder: _ctx.$t("uc_user.mobile_placeholder"),
|
|
4892
4892
|
disabled: params.opType == "2",
|
|
4893
4893
|
value: form.mobile,
|
|
4894
4894
|
"onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.mobile = $event)
|
|
@@ -4907,11 +4907,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4907
4907
|
createVNode(_component_a_col, { span: 24 }, {
|
|
4908
4908
|
default: withCtx(() => [
|
|
4909
4909
|
createVNode(_component_a_form_item, mergeProps({
|
|
4910
|
-
label: _ctx.$t("
|
|
4910
|
+
label: _ctx.$t("uc_user.email")
|
|
4911
4911
|
}, formItemLayout, { name: "email" }), {
|
|
4912
4912
|
default: withCtx(() => [
|
|
4913
4913
|
createVNode(_component_a_input, {
|
|
4914
|
-
placeholder: _ctx.$t("
|
|
4914
|
+
placeholder: _ctx.$t("uc_user.email_placeholder"),
|
|
4915
4915
|
disabled: params.opType == "2",
|
|
4916
4916
|
value: form.email,
|
|
4917
4917
|
"onUpdate:value": _cache[7] || (_cache[7] = ($event) => form.email = $event)
|
|
@@ -4930,11 +4930,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4930
4930
|
createVNode(_component_a_col, { span: 24 }, {
|
|
4931
4931
|
default: withCtx(() => [
|
|
4932
4932
|
createVNode(_component_a_form_item, mergeProps({
|
|
4933
|
-
label: _ctx.$t("
|
|
4933
|
+
label: _ctx.$t("uc_user.user_desc")
|
|
4934
4934
|
}, formItemLayout, { name: "userDesc" }), {
|
|
4935
4935
|
default: withCtx(() => [
|
|
4936
4936
|
createVNode(_component_a_input, {
|
|
4937
|
-
placeholder: _ctx.$t("
|
|
4937
|
+
placeholder: _ctx.$t("uc_user.user_desc_placeholder"),
|
|
4938
4938
|
value: form.userDesc,
|
|
4939
4939
|
"onUpdate:value": _cache[8] || (_cache[8] = ($event) => form.userDesc = $event)
|
|
4940
4940
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -5027,7 +5027,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5027
5027
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
5028
5028
|
onClose: onCancel,
|
|
5029
5029
|
width: 800,
|
|
5030
|
-
title: _ctx.$t("
|
|
5030
|
+
title: _ctx.$t("uc_user.title6"),
|
|
5031
5031
|
destroyOnClose: true
|
|
5032
5032
|
}, {
|
|
5033
5033
|
default: withCtx(() => [
|
|
@@ -5038,7 +5038,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5038
5038
|
style: { "text-align": "right", "color": "#333" }
|
|
5039
5039
|
}, {
|
|
5040
5040
|
default: withCtx(() => [
|
|
5041
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
5041
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.user_id")) + ": ", 1)
|
|
5042
5042
|
]),
|
|
5043
5043
|
_: 1
|
|
5044
5044
|
}),
|
|
@@ -5061,7 +5061,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5061
5061
|
style: { "text-align": "right", "color": "#333" }
|
|
5062
5062
|
}, {
|
|
5063
5063
|
default: withCtx(() => [
|
|
5064
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
5064
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.user_name")) + ": ", 1)
|
|
5065
5065
|
]),
|
|
5066
5066
|
_: 1
|
|
5067
5067
|
}),
|
|
@@ -5084,7 +5084,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5084
5084
|
style: { "text-align": "right", "color": "#333" }
|
|
5085
5085
|
}, {
|
|
5086
5086
|
default: withCtx(() => [
|
|
5087
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
5087
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.dept_id")) + ":", 1)
|
|
5088
5088
|
]),
|
|
5089
5089
|
_: 1
|
|
5090
5090
|
}),
|
|
@@ -5102,7 +5102,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5102
5102
|
}),
|
|
5103
5103
|
createCommentVNode(` <a-row style="margin-bottom: 30px">\r
|
|
5104
5104
|
<a-col :span="4" style="text-align: right; color: #333"\r
|
|
5105
|
-
>{{ $t('
|
|
5105
|
+
>{{ $t('uc_user.depyId') }}:</a-col\r
|
|
5106
5106
|
>\r
|
|
5107
5107
|
<a-col :span="20" style="padding-left: 10px">\r
|
|
5108
5108
|
{{ data.departmentName }}\r
|
|
@@ -5115,7 +5115,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5115
5115
|
style: { "text-align": "right", "color": "#333" }
|
|
5116
5116
|
}, {
|
|
5117
5117
|
default: withCtx(() => [
|
|
5118
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
5118
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.role")) + ":", 1)
|
|
5119
5119
|
]),
|
|
5120
5120
|
_: 1
|
|
5121
5121
|
}),
|
|
@@ -5138,7 +5138,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5138
5138
|
style: { "text-align": "right", "color": "#333" }
|
|
5139
5139
|
}, {
|
|
5140
5140
|
default: withCtx(() => [
|
|
5141
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
5141
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.role_other")) + ":", 1)
|
|
5142
5142
|
]),
|
|
5143
5143
|
_: 1
|
|
5144
5144
|
}),
|
|
@@ -5161,7 +5161,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5161
5161
|
style: { "text-align": "right", "color": "#333" }
|
|
5162
5162
|
}, {
|
|
5163
5163
|
default: withCtx(() => [
|
|
5164
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
5164
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.mobile")) + ":", 1)
|
|
5165
5165
|
]),
|
|
5166
5166
|
_: 1
|
|
5167
5167
|
}),
|
|
@@ -5184,7 +5184,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5184
5184
|
style: { "text-align": "right", "color": "#333" }
|
|
5185
5185
|
}, {
|
|
5186
5186
|
default: withCtx(() => [
|
|
5187
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
5187
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.email")) + ":", 1)
|
|
5188
5188
|
]),
|
|
5189
5189
|
_: 1
|
|
5190
5190
|
}),
|
|
@@ -5207,7 +5207,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5207
5207
|
style: { "text-align": "right", "color": "#333" }
|
|
5208
5208
|
}, {
|
|
5209
5209
|
default: withCtx(() => [
|
|
5210
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
5210
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.userDesc")) + ":", 1)
|
|
5211
5211
|
]),
|
|
5212
5212
|
_: 1
|
|
5213
5213
|
}),
|
|
@@ -5231,7 +5231,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5231
5231
|
style: { "text-align": "right", "color": "#333" }
|
|
5232
5232
|
}, {
|
|
5233
5233
|
default: withCtx(() => [
|
|
5234
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
5234
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.cdate")) + ": ", 1)
|
|
5235
5235
|
]),
|
|
5236
5236
|
_: 1
|
|
5237
5237
|
}),
|
|
@@ -5257,7 +5257,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5257
5257
|
style: { "text-align": "right", "color": "#333" }
|
|
5258
5258
|
}, {
|
|
5259
5259
|
default: withCtx(() => [
|
|
5260
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
5260
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.coperator")) + ": ", 1)
|
|
5261
5261
|
]),
|
|
5262
5262
|
_: 1
|
|
5263
5263
|
}),
|
|
@@ -5280,7 +5280,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5280
5280
|
style: { "text-align": "right", "color": "#333" }
|
|
5281
5281
|
}, {
|
|
5282
5282
|
default: withCtx(() => [
|
|
5283
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
5283
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.udate")) + ": ", 1)
|
|
5284
5284
|
]),
|
|
5285
5285
|
_: 1
|
|
5286
5286
|
}),
|
|
@@ -5311,7 +5311,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
5311
5311
|
style: { "text-align": "right", "color": "#333" }
|
|
5312
5312
|
}, {
|
|
5313
5313
|
default: withCtx(() => [
|
|
5314
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
5314
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_user.uoperator")) + ": ", 1)
|
|
5315
5315
|
]),
|
|
5316
5316
|
_: 1
|
|
5317
5317
|
}),
|
|
@@ -6951,7 +6951,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
6951
6951
|
userPwd: [
|
|
6952
6952
|
{
|
|
6953
6953
|
required: true,
|
|
6954
|
-
message: t("
|
|
6954
|
+
message: t("uc_user.user_pwd1_msg1"),
|
|
6955
6955
|
trigger: ["blur", "change"]
|
|
6956
6956
|
}
|
|
6957
6957
|
],
|
|
@@ -6961,12 +6961,12 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
6961
6961
|
trigger: ["blur", "change"],
|
|
6962
6962
|
validator: (rule, value) => {
|
|
6963
6963
|
if (!value) {
|
|
6964
|
-
return Promise.reject(t("
|
|
6964
|
+
return Promise.reject(t("uc_user.user_pwd2_msg2"));
|
|
6965
6965
|
}
|
|
6966
6966
|
if (form.userPwd === value) {
|
|
6967
6967
|
return Promise.resolve();
|
|
6968
6968
|
} else {
|
|
6969
|
-
return Promise.reject(t("
|
|
6969
|
+
return Promise.reject(t("uc_user.user_pwd2_msg1"));
|
|
6970
6970
|
}
|
|
6971
6971
|
}
|
|
6972
6972
|
}
|
|
@@ -6998,8 +6998,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
6998
6998
|
});
|
|
6999
6999
|
emit("ok", result);
|
|
7000
7000
|
message.success({
|
|
7001
|
-
|
|
7002
|
-
content: t("user.tip1")
|
|
7001
|
+
content: t("uc_user.tip1")
|
|
7003
7002
|
});
|
|
7004
7003
|
}
|
|
7005
7004
|
});
|
|
@@ -7019,7 +7018,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
7019
7018
|
open: visible.value,
|
|
7020
7019
|
"onUpdate:open": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
|
|
7021
7020
|
style: { "top": "280px" },
|
|
7022
|
-
title: _ctx.$t("
|
|
7021
|
+
title: _ctx.$t("uc_user.title4"),
|
|
7023
7022
|
destroyOnClose: destroyOnClose.value
|
|
7024
7023
|
}, {
|
|
7025
7024
|
default: withCtx(() => [
|
|
@@ -7033,7 +7032,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
7033
7032
|
}, {
|
|
7034
7033
|
default: withCtx(() => [
|
|
7035
7034
|
createVNode(_component_a_form_item, mergeProps({
|
|
7036
|
-
label: _ctx.$t("
|
|
7035
|
+
label: _ctx.$t("uc_user.user_pwd1")
|
|
7037
7036
|
}, formItemLayout, {
|
|
7038
7037
|
style: { "margin-bottom": "0" },
|
|
7039
7038
|
name: "userPwd"
|
|
@@ -7042,7 +7041,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
7042
7041
|
createVNode(_component_a_input, {
|
|
7043
7042
|
type: "password",
|
|
7044
7043
|
style: { "width": "100%" },
|
|
7045
|
-
placeholder: _ctx.$t("
|
|
7044
|
+
placeholder: _ctx.$t("uc_user.user_pwd1_placeholder"),
|
|
7046
7045
|
value: form.userPwd,
|
|
7047
7046
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.userPwd = $event)
|
|
7048
7047
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -7050,13 +7049,13 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
7050
7049
|
_: 1
|
|
7051
7050
|
}, 16, ["label"]),
|
|
7052
7051
|
createVNode(_component_a_form_item, mergeProps({
|
|
7053
|
-
label: _ctx.$t("
|
|
7052
|
+
label: _ctx.$t("uc_user.user_pwd2")
|
|
7054
7053
|
}, formItemLayout, { name: "userPwd1" }), {
|
|
7055
7054
|
default: withCtx(() => [
|
|
7056
7055
|
createVNode(_component_a_input, {
|
|
7057
7056
|
type: "password",
|
|
7058
7057
|
style: { "width": "100%" },
|
|
7059
|
-
placeholder: _ctx.$t("
|
|
7058
|
+
placeholder: _ctx.$t("uc_user.user_pwd2"),
|
|
7060
7059
|
value: form.userPwd1,
|
|
7061
7060
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.userPwd1 = $event)
|
|
7062
7061
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -7122,19 +7121,19 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7122
7121
|
};
|
|
7123
7122
|
const columns = computed(() => [
|
|
7124
7123
|
{
|
|
7125
|
-
title: t("
|
|
7124
|
+
title: t("uc_user.user_id"),
|
|
7126
7125
|
dataIndex: "userCode",
|
|
7127
7126
|
width: "180px",
|
|
7128
7127
|
key: "userCode"
|
|
7129
7128
|
},
|
|
7130
7129
|
{
|
|
7131
|
-
title: t("
|
|
7130
|
+
title: t("uc_user.user_name"),
|
|
7132
7131
|
dataIndex: "userName",
|
|
7133
7132
|
width: "150px",
|
|
7134
7133
|
key: "userName"
|
|
7135
7134
|
},
|
|
7136
7135
|
{
|
|
7137
|
-
title: t("
|
|
7136
|
+
title: t("uc_user.branchId"),
|
|
7138
7137
|
dataIndex: "branchId",
|
|
7139
7138
|
width: "150px",
|
|
7140
7139
|
key: "branchId",
|
|
@@ -7143,7 +7142,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7143
7142
|
customFilterDropdown: true
|
|
7144
7143
|
},
|
|
7145
7144
|
{
|
|
7146
|
-
title: t("
|
|
7145
|
+
title: t("uc_user.mainRoleName"),
|
|
7147
7146
|
dataIndex: "mainRoleName",
|
|
7148
7147
|
width: "180px",
|
|
7149
7148
|
key: "mainRoleName",
|
|
@@ -7156,7 +7155,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7156
7155
|
filterResetToDefaultFilteredValue: true
|
|
7157
7156
|
},
|
|
7158
7157
|
{
|
|
7159
|
-
title: t("
|
|
7158
|
+
title: t("uc_user.user_status"),
|
|
7160
7159
|
dataIndex: "userStatus",
|
|
7161
7160
|
width: "80px",
|
|
7162
7161
|
key: "userStatus",
|
|
@@ -7174,7 +7173,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7174
7173
|
}
|
|
7175
7174
|
},
|
|
7176
7175
|
{
|
|
7177
|
-
title: t("
|
|
7176
|
+
title: t("uc_user.action"),
|
|
7178
7177
|
key: "action",
|
|
7179
7178
|
fixed: "right",
|
|
7180
7179
|
width: "180px"
|
|
@@ -7220,7 +7219,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7220
7219
|
const onRemove = async (record) => {
|
|
7221
7220
|
const { result } = await setUserDelete({ userId: record.userId });
|
|
7222
7221
|
if (result) {
|
|
7223
|
-
message.success(t("
|
|
7222
|
+
message.success(t("uc_assetclass.del_success"));
|
|
7224
7223
|
tableRef.value && tableRef.value.refresh();
|
|
7225
7224
|
}
|
|
7226
7225
|
};
|
|
@@ -7295,7 +7294,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7295
7294
|
createElementVNode("div", _hoisted_1$q, [
|
|
7296
7295
|
createElementVNode("div", _hoisted_2$c, [
|
|
7297
7296
|
createVNode(_component_a_input_search, {
|
|
7298
|
-
placeholder: _ctx.$t("
|
|
7297
|
+
placeholder: _ctx.$t("uc_user.search_placeholder"),
|
|
7299
7298
|
ref: "inputSearch",
|
|
7300
7299
|
allowClear: "",
|
|
7301
7300
|
size: "middle",
|
|
@@ -7342,7 +7341,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7342
7341
|
style: { "margin-right": "8px" }
|
|
7343
7342
|
}, {
|
|
7344
7343
|
default: withCtx(() => [
|
|
7345
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
7344
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_warehouse.sure")), 1)
|
|
7346
7345
|
]),
|
|
7347
7346
|
_: 2
|
|
7348
7347
|
}, 1032, ["onClick"]),
|
|
@@ -7351,7 +7350,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7351
7350
|
size: "small"
|
|
7352
7351
|
}, {
|
|
7353
7352
|
default: withCtx(() => [
|
|
7354
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
7353
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_warehouse.reset")), 1)
|
|
7355
7354
|
]),
|
|
7356
7355
|
_: 2
|
|
7357
7356
|
}, 1032, ["onClick"])
|
|
@@ -7726,7 +7725,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
7726
7725
|
allowClear: false,
|
|
7727
7726
|
value: selectValues.value,
|
|
7728
7727
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => selectValues.value = $event),
|
|
7729
|
-
placeholder: _ctx.$t("
|
|
7728
|
+
placeholder: _ctx.$t("uc_region.tree_placeholder"),
|
|
7730
7729
|
disabled: __props.disabled,
|
|
7731
7730
|
onDropdownVisibleChange: onPopupVisibleChange,
|
|
7732
7731
|
onChange
|
|
@@ -7791,9 +7790,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
7791
7790
|
const { t } = useI18n();
|
|
7792
7791
|
const regionRef = ref(null);
|
|
7793
7792
|
const data = ref([
|
|
7794
|
-
{ description: `${t("
|
|
7795
|
-
{ description: `${t("
|
|
7796
|
-
{ description: `${t("
|
|
7793
|
+
{ description: `${t("uc_personal_center.no")}`, value: "" },
|
|
7794
|
+
{ description: `${t("uc_personal_center.name")}`, value: "" },
|
|
7795
|
+
{ description: `${t("uc_personal_center.area")}`, value: "" }
|
|
7797
7796
|
]);
|
|
7798
7797
|
const init2 = async () => {
|
|
7799
7798
|
var _a;
|
|
@@ -7814,7 +7813,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
7814
7813
|
const _component_a_list_item = ListItem;
|
|
7815
7814
|
const _component_a_list = List;
|
|
7816
7815
|
return openBlock(), createElementBlock("div", null, [
|
|
7817
|
-
createElementVNode("p", _hoisted_1$n, toDisplayString(_ctx.$t("
|
|
7816
|
+
createElementVNode("p", _hoisted_1$n, toDisplayString(_ctx.$t("uc_personal_center.tab1")), 1),
|
|
7818
7817
|
withDirectives(createVNode(RegionSelect, {
|
|
7819
7818
|
ref_key: "regionRef",
|
|
7820
7819
|
ref: regionRef
|
|
@@ -7830,7 +7829,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
7830
7829
|
default: withCtx(() => [
|
|
7831
7830
|
createVNode(_component_a_list_item_meta, null, {
|
|
7832
7831
|
title: withCtx(() => [
|
|
7833
|
-
createElementVNode("a", null, toDisplayString(index2 == "0" ? _ctx.$t("
|
|
7832
|
+
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
7833
|
]),
|
|
7835
7834
|
description: withCtx(() => [
|
|
7836
7835
|
createElementVNode("span", null, [
|
|
@@ -7902,7 +7901,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
7902
7901
|
return;
|
|
7903
7902
|
}
|
|
7904
7903
|
if (!form.email) {
|
|
7905
|
-
message.error(t("
|
|
7904
|
+
message.error(t("uc_personal_center.email_placeholder"));
|
|
7906
7905
|
return;
|
|
7907
7906
|
}
|
|
7908
7907
|
if (btnClass.value === "sendBtn") {
|
|
@@ -7969,10 +7968,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
7969
7968
|
url: pram.value == "1" ? "/api/sys/userinfo/update-pwd" : pram.value == "2" ? "/api/sys/userinfo/update-mobile" : pram.value == "3" ? "/api/sys/userinfo/update-email" : "/api/sys/userinfo/update-code",
|
|
7970
7969
|
method: "post",
|
|
7971
7970
|
params: data.value
|
|
7972
|
-
}).then((
|
|
7971
|
+
}).then((res) => {
|
|
7973
7972
|
loading.value = false;
|
|
7974
|
-
if (
|
|
7975
|
-
emit("ok",
|
|
7973
|
+
if (res.code == 0) {
|
|
7974
|
+
emit("ok", res);
|
|
7976
7975
|
visible.value = false;
|
|
7977
7976
|
Object.assign(form, {
|
|
7978
7977
|
oldPwd: "",
|
|
@@ -7991,7 +7990,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
7991
7990
|
};
|
|
7992
7991
|
const handlePasswordLevel = (rule, value) => {
|
|
7993
7992
|
if (!value) {
|
|
7994
|
-
return Promise.reject(t("
|
|
7993
|
+
return Promise.reject(t("uc_personal_center.user_pwd1_msg1"));
|
|
7995
7994
|
}
|
|
7996
7995
|
pwdStrength.value = 0;
|
|
7997
7996
|
if (/[0-9]/.test(value)) {
|
|
@@ -8009,13 +8008,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8009
8008
|
oldPwd: [
|
|
8010
8009
|
{
|
|
8011
8010
|
required: true,
|
|
8012
|
-
message: t("
|
|
8011
|
+
message: t("uc_personal_center.user_pwd3_msg1")
|
|
8013
8012
|
}
|
|
8014
8013
|
],
|
|
8015
8014
|
newPwd: [
|
|
8016
8015
|
{
|
|
8017
8016
|
required: true,
|
|
8018
|
-
message: t("
|
|
8017
|
+
message: t("uc_personal_center.user_pwd1_msg1"),
|
|
8019
8018
|
validator: handlePasswordLevel
|
|
8020
8019
|
}
|
|
8021
8020
|
],
|
|
@@ -8024,12 +8023,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8024
8023
|
required: true,
|
|
8025
8024
|
validator: function(rule, value) {
|
|
8026
8025
|
if (!value) {
|
|
8027
|
-
return Promise.reject(t("
|
|
8026
|
+
return Promise.reject(t("uc_personal_center.user_pwd2_msg2"));
|
|
8028
8027
|
}
|
|
8029
8028
|
if (form.newPwd === value) {
|
|
8030
8029
|
return Promise.resolve();
|
|
8031
8030
|
} else {
|
|
8032
|
-
return Promise.reject(t("
|
|
8031
|
+
return Promise.reject(t("uc_personal_center.user_pwd2_msg1"));
|
|
8033
8032
|
}
|
|
8034
8033
|
}
|
|
8035
8034
|
}
|
|
@@ -8039,13 +8038,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8039
8038
|
pwd: [
|
|
8040
8039
|
{
|
|
8041
8040
|
required: true,
|
|
8042
|
-
message: t("
|
|
8041
|
+
message: t("uc_personal_center.user_pwd4_msg1")
|
|
8043
8042
|
}
|
|
8044
8043
|
],
|
|
8045
8044
|
mobile: [
|
|
8046
8045
|
{
|
|
8047
8046
|
required: true,
|
|
8048
|
-
message: t("
|
|
8047
|
+
message: t("uc_personal_center.mobile_placeholder")
|
|
8049
8048
|
}
|
|
8050
8049
|
]
|
|
8051
8050
|
});
|
|
@@ -8053,7 +8052,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8053
8052
|
pwd: [
|
|
8054
8053
|
{
|
|
8055
8054
|
required: true,
|
|
8056
|
-
message: t("
|
|
8055
|
+
message: t("uc_personal_center.user_pwd4_msg1")
|
|
8057
8056
|
}
|
|
8058
8057
|
],
|
|
8059
8058
|
email: [
|
|
@@ -8062,9 +8061,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8062
8061
|
trigger: ["blur"],
|
|
8063
8062
|
validator: function(rule, value) {
|
|
8064
8063
|
if (!value) {
|
|
8065
|
-
return Promise.reject(t("
|
|
8064
|
+
return Promise.reject(t("uc_personal_center.email_placeholder"));
|
|
8066
8065
|
} else if (!isValidEmail(value)) {
|
|
8067
|
-
return Promise.reject(t("
|
|
8066
|
+
return Promise.reject(t("uc_personal_center.email_validate"));
|
|
8068
8067
|
} else {
|
|
8069
8068
|
return Promise.resolve();
|
|
8070
8069
|
}
|
|
@@ -8077,9 +8076,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8077
8076
|
trigger: ["blur"],
|
|
8078
8077
|
validator: function(rule, value) {
|
|
8079
8078
|
if (!value) {
|
|
8080
|
-
return Promise.reject(t("
|
|
8079
|
+
return Promise.reject(t("uc_personal_center.verify_code_placeholder"));
|
|
8081
8080
|
} else if (!isValidVerifyCode(value)) {
|
|
8082
|
-
return Promise.reject(t("
|
|
8081
|
+
return Promise.reject(t("uc_personal_center.verify_code_msg"));
|
|
8083
8082
|
} else {
|
|
8084
8083
|
return Promise.resolve();
|
|
8085
8084
|
}
|
|
@@ -8107,7 +8106,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8107
8106
|
"onUpdate:open": _cache[12] || (_cache[12] = ($event) => visible.value = $event),
|
|
8108
8107
|
closable: false,
|
|
8109
8108
|
style: { "top": "280px" },
|
|
8110
|
-
title: pram.value == "1" ? _ctx.$t("
|
|
8109
|
+
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
8110
|
destroyOnClose: true
|
|
8112
8111
|
}, {
|
|
8113
8112
|
footer: withCtx(() => [
|
|
@@ -8143,12 +8142,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8143
8142
|
}, {
|
|
8144
8143
|
default: withCtx(() => [
|
|
8145
8144
|
createVNode(_component_a_form_item, mergeProps({
|
|
8146
|
-
label: _ctx.$t("
|
|
8145
|
+
label: _ctx.$t("uc_personal_center.user_pwd3")
|
|
8147
8146
|
}, formItemLayout.value, { name: "oldPwd" }), {
|
|
8148
8147
|
default: withCtx(() => [
|
|
8149
8148
|
createVNode(_component_a_input, {
|
|
8150
8149
|
type: "password",
|
|
8151
|
-
placeholder: _ctx.$t("
|
|
8150
|
+
placeholder: _ctx.$t("uc_personal_center.user_pwd3_msg1"),
|
|
8152
8151
|
value: form.oldPwd,
|
|
8153
8152
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.oldPwd = $event)
|
|
8154
8153
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -8156,12 +8155,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8156
8155
|
_: 1
|
|
8157
8156
|
}, 16, ["label"]),
|
|
8158
8157
|
createVNode(_component_a_form_item, mergeProps({
|
|
8159
|
-
label: _ctx.$t("
|
|
8158
|
+
label: _ctx.$t("uc_personal_center.user_pwd1")
|
|
8160
8159
|
}, formItemLayout.value, { name: "newPwd" }), {
|
|
8161
8160
|
default: withCtx(() => [
|
|
8162
8161
|
createVNode(_component_a_input, {
|
|
8163
8162
|
type: "password",
|
|
8164
|
-
placeholder: _ctx.$t("
|
|
8163
|
+
placeholder: _ctx.$t("uc_personal_center.user_pwd1_placeholder"),
|
|
8165
8164
|
value: form.newPwd,
|
|
8166
8165
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.newPwd = $event)
|
|
8167
8166
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -8169,12 +8168,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8169
8168
|
_: 1
|
|
8170
8169
|
}, 16, ["label"]),
|
|
8171
8170
|
createVNode(_component_a_form_item, mergeProps({
|
|
8172
|
-
label: _ctx.$t("
|
|
8171
|
+
label: _ctx.$t("uc_personal_center.user_pwd2")
|
|
8173
8172
|
}, formItemLayout.value, { name: "userPwd1" }), {
|
|
8174
8173
|
default: withCtx(() => [
|
|
8175
8174
|
createVNode(_component_a_input, {
|
|
8176
8175
|
type: "password",
|
|
8177
|
-
placeholder: _ctx.$t("
|
|
8176
|
+
placeholder: _ctx.$t("uc_personal_center.user_pwd2_placeholder"),
|
|
8178
8177
|
value: form.userPwd1,
|
|
8179
8178
|
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.userPwd1 = $event)
|
|
8180
8179
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -8182,7 +8181,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8182
8181
|
_: 1
|
|
8183
8182
|
}, 16, ["label"]),
|
|
8184
8183
|
createVNode(_component_a_form_item, mergeProps({
|
|
8185
|
-
label: _ctx.$t("
|
|
8184
|
+
label: _ctx.$t("uc_personal_center.psw_strength")
|
|
8186
8185
|
}, formItemLayout.value, { name: "pwdStrength" }), {
|
|
8187
8186
|
default: withCtx(() => [
|
|
8188
8187
|
createVNode(_component_a_rate, {
|
|
@@ -8208,12 +8207,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8208
8207
|
}, {
|
|
8209
8208
|
default: withCtx(() => [
|
|
8210
8209
|
createVNode(_component_a_form_item, mergeProps({
|
|
8211
|
-
label: _ctx.$t("
|
|
8210
|
+
label: _ctx.$t("uc_personal_center.user_pwd4")
|
|
8212
8211
|
}, formItemLayout.value, { name: "pwd" }), {
|
|
8213
8212
|
default: withCtx(() => [
|
|
8214
8213
|
createVNode(_component_a_input, {
|
|
8215
8214
|
type: "password",
|
|
8216
|
-
placeholder: _ctx.$t("
|
|
8215
|
+
placeholder: _ctx.$t("uc_personal_center.user_pwd4_msg1"),
|
|
8217
8216
|
value: form.pwd,
|
|
8218
8217
|
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => form.pwd = $event)
|
|
8219
8218
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -8221,13 +8220,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8221
8220
|
_: 1
|
|
8222
8221
|
}, 16, ["label"]),
|
|
8223
8222
|
createVNode(_component_a_form_item, mergeProps({
|
|
8224
|
-
label: _ctx.$t("
|
|
8223
|
+
label: _ctx.$t("uc_personal_center.mobile")
|
|
8225
8224
|
}, formItemLayout.value, { name: "mobile" }), {
|
|
8226
8225
|
default: withCtx(() => [
|
|
8227
8226
|
createVNode(_component_a_input, {
|
|
8228
8227
|
value: form.mobile,
|
|
8229
8228
|
"onUpdate:value": _cache[5] || (_cache[5] = ($event) => form.mobile = $event),
|
|
8230
|
-
placeholder: _ctx.$t("
|
|
8229
|
+
placeholder: _ctx.$t("uc_personal_center.mobile_placeholder")
|
|
8231
8230
|
}, null, 8, ["value", "placeholder"])
|
|
8232
8231
|
]),
|
|
8233
8232
|
_: 1
|
|
@@ -8246,12 +8245,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8246
8245
|
}, {
|
|
8247
8246
|
default: withCtx(() => [
|
|
8248
8247
|
createVNode(_component_a_form_item, mergeProps({
|
|
8249
|
-
label: _ctx.$t("
|
|
8248
|
+
label: _ctx.$t("uc_personal_center.user_pwd4")
|
|
8250
8249
|
}, formItemLayout.value, { name: "pwd" }), {
|
|
8251
8250
|
default: withCtx(() => [
|
|
8252
8251
|
createVNode(_component_a_input, {
|
|
8253
8252
|
type: "password",
|
|
8254
|
-
placeholder: _ctx.$t("
|
|
8253
|
+
placeholder: _ctx.$t("uc_personal_center.user_pwd4_msg1"),
|
|
8255
8254
|
value: form.pwd,
|
|
8256
8255
|
"onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.pwd = $event)
|
|
8257
8256
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -8259,19 +8258,19 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8259
8258
|
_: 1
|
|
8260
8259
|
}, 16, ["label"]),
|
|
8261
8260
|
createVNode(_component_a_form_item, mergeProps({
|
|
8262
|
-
label: _ctx.$t("
|
|
8261
|
+
label: _ctx.$t("uc_personal_center.email1")
|
|
8263
8262
|
}, formItemLayout.value, { name: "email" }), {
|
|
8264
8263
|
default: withCtx(() => [
|
|
8265
8264
|
createVNode(_component_a_input, {
|
|
8266
8265
|
value: form.email,
|
|
8267
8266
|
"onUpdate:value": _cache[7] || (_cache[7] = ($event) => form.email = $event),
|
|
8268
|
-
placeholder: _ctx.$t("
|
|
8267
|
+
placeholder: _ctx.$t("uc_personal_center.email_placeholder")
|
|
8269
8268
|
}, null, 8, ["value", "placeholder"])
|
|
8270
8269
|
]),
|
|
8271
8270
|
_: 1
|
|
8272
8271
|
}, 16, ["label"]),
|
|
8273
8272
|
createVNode(_component_a_form_item, mergeProps({
|
|
8274
|
-
label: _ctx.$t("
|
|
8273
|
+
label: _ctx.$t("uc_personal_center.verify_code")
|
|
8275
8274
|
}, formItemLayout.value, { name: "captcha" }), {
|
|
8276
8275
|
default: withCtx(() => [
|
|
8277
8276
|
createVNode(_component_a_input, {
|
|
@@ -8279,7 +8278,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8279
8278
|
autocomplete: "off",
|
|
8280
8279
|
value: form.captcha,
|
|
8281
8280
|
"onUpdate:value": _cache[8] || (_cache[8] = ($event) => form.captcha = $event),
|
|
8282
|
-
placeholder: _ctx.$t("
|
|
8281
|
+
placeholder: _ctx.$t("uc_personal_center.verify_code_placeholder")
|
|
8283
8282
|
}, null, 8, ["value", "placeholder"])
|
|
8284
8283
|
]),
|
|
8285
8284
|
_: 1
|
|
@@ -8292,7 +8291,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8292
8291
|
onClick: _cache[9] || (_cache[9] = ($event) => sendCheck("email"))
|
|
8293
8292
|
}, {
|
|
8294
8293
|
default: withCtx(() => [
|
|
8295
|
-
createTextVNode(toDisplayString(change.value ? _ctx.$t("
|
|
8294
|
+
createTextVNode(toDisplayString(change.value ? _ctx.$t("uc_personal_center.get_verify_code") : secondTip.value), 1)
|
|
8296
8295
|
]),
|
|
8297
8296
|
_: 1
|
|
8298
8297
|
}, 8, ["class"])
|
|
@@ -8312,17 +8311,17 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8312
8311
|
}, {
|
|
8313
8312
|
default: withCtx(() => [
|
|
8314
8313
|
createVNode(_component_a_form_item, mergeProps({
|
|
8315
|
-
label: _ctx.$t("
|
|
8314
|
+
label: _ctx.$t("uc_personal_center.user_pwd4")
|
|
8316
8315
|
}, formItemLayout.value, {
|
|
8317
8316
|
name: "pwd",
|
|
8318
8317
|
rules: [
|
|
8319
|
-
{ required: true, message: _ctx.$t("
|
|
8318
|
+
{ required: true, message: _ctx.$t("uc_personal_center.user_pwd3_msg1") }
|
|
8320
8319
|
]
|
|
8321
8320
|
}), {
|
|
8322
8321
|
default: withCtx(() => [
|
|
8323
8322
|
createVNode(_component_a_input, {
|
|
8324
8323
|
type: "password",
|
|
8325
|
-
placeholder: _ctx.$t("
|
|
8324
|
+
placeholder: _ctx.$t("uc_personal_center.user_pwd4_msg1"),
|
|
8326
8325
|
value: form.pwd,
|
|
8327
8326
|
"onUpdate:value": _cache[10] || (_cache[10] = ($event) => form.pwd = $event)
|
|
8328
8327
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -8330,10 +8329,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
8330
8329
|
_: 1
|
|
8331
8330
|
}, 16, ["label", "rules"]),
|
|
8332
8331
|
createVNode(_component_a_form_item, mergeProps({
|
|
8333
|
-
label: _ctx.$t("
|
|
8332
|
+
label: _ctx.$t("uc_personal_center.code")
|
|
8334
8333
|
}, formItemLayout.value, {
|
|
8335
8334
|
name: "userCode",
|
|
8336
|
-
rules: [{ required: true, message: _ctx.$t("
|
|
8335
|
+
rules: [{ required: true, message: _ctx.$t("uc_personal_center.code_msg1") }]
|
|
8337
8336
|
}), {
|
|
8338
8337
|
default: withCtx(() => [
|
|
8339
8338
|
createVNode(_component_a_input, {
|
|
@@ -8428,38 +8427,38 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
8428
8427
|
const dataSource = computed(() => {
|
|
8429
8428
|
return [
|
|
8430
8429
|
{
|
|
8431
|
-
title: t("
|
|
8430
|
+
title: t("uc_personal_center.account"),
|
|
8432
8431
|
description: [
|
|
8433
|
-
t("
|
|
8434
|
-
t("
|
|
8435
|
-
t("
|
|
8432
|
+
t("uc_personal_center.no"),
|
|
8433
|
+
t("uc_personal_center.role"),
|
|
8434
|
+
t("uc_personal_center.last_time")
|
|
8436
8435
|
],
|
|
8437
8436
|
value: data.value.account
|
|
8438
8437
|
},
|
|
8439
8438
|
{
|
|
8440
|
-
title: t("
|
|
8441
|
-
description: [t("
|
|
8439
|
+
title: t("uc_personal_center.account_psw"),
|
|
8440
|
+
description: [t("uc_personal_center.psw_strength")],
|
|
8442
8441
|
value: data.value.account_psw,
|
|
8443
8442
|
actions: {
|
|
8444
|
-
title: t("
|
|
8443
|
+
title: t("uc_personal_center.edit"),
|
|
8445
8444
|
callback: () => onEdit("1")
|
|
8446
8445
|
}
|
|
8447
8446
|
},
|
|
8448
8447
|
{
|
|
8449
|
-
title: t("
|
|
8450
|
-
description: [t("
|
|
8448
|
+
title: t("uc_personal_center.tel"),
|
|
8449
|
+
description: [t("uc_personal_center.using_tel")],
|
|
8451
8450
|
value: data.value.tel,
|
|
8452
8451
|
actions: {
|
|
8453
|
-
title: t("
|
|
8452
|
+
title: t("uc_personal_center.edit"),
|
|
8454
8453
|
callback: () => onEdit("2")
|
|
8455
8454
|
}
|
|
8456
8455
|
},
|
|
8457
8456
|
{
|
|
8458
|
-
title: t("
|
|
8459
|
-
description: [t("
|
|
8457
|
+
title: t("uc_personal_center.email"),
|
|
8458
|
+
description: [t("uc_personal_center.using_email")],
|
|
8460
8459
|
value: data.value.email,
|
|
8461
8460
|
actions: {
|
|
8462
|
-
title: t("
|
|
8461
|
+
title: t("uc_personal_center.edit"),
|
|
8463
8462
|
callback: () => onEdit("3")
|
|
8464
8463
|
}
|
|
8465
8464
|
}
|
|
@@ -8492,7 +8491,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
8492
8491
|
const _component_a_list_item = ListItem;
|
|
8493
8492
|
const _component_a_list = List;
|
|
8494
8493
|
return openBlock(), createElementBlock("div", null, [
|
|
8495
|
-
createElementVNode("p", _hoisted_1$m, toDisplayString(_ctx.$t("
|
|
8494
|
+
createElementVNode("p", _hoisted_1$m, toDisplayString(_ctx.$t("uc_personal_center.tab3")), 1),
|
|
8496
8495
|
getData.value ? (openBlock(), createBlock(_component_a_list, {
|
|
8497
8496
|
key: 0,
|
|
8498
8497
|
itemLayout: "horizontal",
|
|
@@ -9605,12 +9604,12 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
9605
9604
|
const beforeUpload = (file) => {
|
|
9606
9605
|
const isJpgOrPng = file.type === "image/png";
|
|
9607
9606
|
if (!isJpgOrPng) {
|
|
9608
|
-
message.error(t("
|
|
9607
|
+
message.error(t("uc_personal_center.tips3"));
|
|
9609
9608
|
return;
|
|
9610
9609
|
}
|
|
9611
9610
|
const isLt2K = file.size / 1024 / 10 < 2;
|
|
9612
9611
|
if (!isLt2K) {
|
|
9613
|
-
message.error(t("
|
|
9612
|
+
message.error(t("uc_personal_center.tips4"));
|
|
9614
9613
|
return;
|
|
9615
9614
|
}
|
|
9616
9615
|
fileList.value = [file];
|
|
@@ -9623,7 +9622,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
9623
9622
|
};
|
|
9624
9623
|
const finish = () => {
|
|
9625
9624
|
if (!fileList.value.length) {
|
|
9626
|
-
message.info(t("
|
|
9625
|
+
message.info(t("uc_personal_center.tips5"));
|
|
9627
9626
|
return;
|
|
9628
9627
|
}
|
|
9629
9628
|
const formData = new FormData();
|
|
@@ -9632,11 +9631,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
9632
9631
|
});
|
|
9633
9632
|
userInfoUpdateHead(formData).then(({ result }) => {
|
|
9634
9633
|
if (result) {
|
|
9635
|
-
message.success(t("
|
|
9634
|
+
message.success(t("uc_personal_center.tips1"));
|
|
9636
9635
|
emit("ok");
|
|
9637
9636
|
visible.value = false;
|
|
9638
9637
|
} else {
|
|
9639
|
-
message.error(t("
|
|
9638
|
+
message.error(t("uc_personal_center.tips2"));
|
|
9640
9639
|
}
|
|
9641
9640
|
});
|
|
9642
9641
|
};
|
|
@@ -9654,7 +9653,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
9654
9653
|
const _component_a_upload = Upload;
|
|
9655
9654
|
const _component_a_modal = Modal$1;
|
|
9656
9655
|
return openBlock(), createBlock(_component_a_modal, {
|
|
9657
|
-
title: _ctx.$t("
|
|
9656
|
+
title: _ctx.$t("uc_personal_center.title4"),
|
|
9658
9657
|
open: visible.value,
|
|
9659
9658
|
"onUpdate:open": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
|
|
9660
9659
|
maskClosable: false,
|
|
@@ -9722,7 +9721,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
9722
9721
|
icon: h(unref(UploadOutlined))
|
|
9723
9722
|
}, {
|
|
9724
9723
|
default: withCtx(() => [
|
|
9725
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
9724
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_personal_center.select_btn")), 1)
|
|
9726
9725
|
]),
|
|
9727
9726
|
_: 1
|
|
9728
9727
|
}, 8, ["icon"])
|
|
@@ -9766,7 +9765,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
9766
9765
|
onClick: finish
|
|
9767
9766
|
}, {
|
|
9768
9767
|
default: withCtx(() => [
|
|
9769
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
9768
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_personal_center.save_btn")), 1)
|
|
9770
9769
|
]),
|
|
9771
9770
|
_: 1
|
|
9772
9771
|
})
|
|
@@ -9856,9 +9855,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
9856
9855
|
};
|
|
9857
9856
|
const { result } = await userInfoUpdateBase(paramsData);
|
|
9858
9857
|
if (result) {
|
|
9859
|
-
message.success(t("
|
|
9858
|
+
message.success(t("uc_personal_center.tips1"));
|
|
9860
9859
|
} else {
|
|
9861
|
-
message.error(t("
|
|
9860
|
+
message.error(t("uc_personal_center.tips2"));
|
|
9862
9861
|
}
|
|
9863
9862
|
});
|
|
9864
9863
|
};
|
|
@@ -9878,7 +9877,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
9878
9877
|
const _component_a_button = Button;
|
|
9879
9878
|
const _component_a_form = Form;
|
|
9880
9879
|
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
9881
|
-
createElementVNode("p", _hoisted_2$6, toDisplayString(_ctx.$t("
|
|
9880
|
+
createElementVNode("p", _hoisted_2$6, toDisplayString(_ctx.$t("uc_personal_center.tab2")), 1),
|
|
9882
9881
|
createVNode(_component_a_row, null, {
|
|
9883
9882
|
default: withCtx(() => [
|
|
9884
9883
|
createVNode(_component_a_col, {
|
|
@@ -9904,7 +9903,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
9904
9903
|
}, {
|
|
9905
9904
|
default: withCtx(() => [
|
|
9906
9905
|
createVNode(_component_a_form_item, {
|
|
9907
|
-
label: _ctx.$t("
|
|
9906
|
+
label: _ctx.$t("uc_personal_center.no"),
|
|
9908
9907
|
name: "userId"
|
|
9909
9908
|
}, {
|
|
9910
9909
|
default: withCtx(() => [
|
|
@@ -9927,7 +9926,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
9927
9926
|
}, {
|
|
9928
9927
|
default: withCtx(() => [
|
|
9929
9928
|
createVNode(_component_a_form_item, {
|
|
9930
|
-
label: _ctx.$t("
|
|
9929
|
+
label: _ctx.$t("uc_personal_center.code"),
|
|
9931
9930
|
name: "userCode"
|
|
9932
9931
|
}, {
|
|
9933
9932
|
default: withCtx(() => [
|
|
@@ -9955,7 +9954,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
9955
9954
|
}, {
|
|
9956
9955
|
default: withCtx(() => [
|
|
9957
9956
|
createVNode(_component_a_form_item, {
|
|
9958
|
-
label: _ctx.$t("
|
|
9957
|
+
label: _ctx.$t("uc_personal_center.name"),
|
|
9959
9958
|
name: "name"
|
|
9960
9959
|
}, {
|
|
9961
9960
|
default: withCtx(() => [
|
|
@@ -9977,7 +9976,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
9977
9976
|
}, {
|
|
9978
9977
|
default: withCtx(() => [
|
|
9979
9978
|
createVNode(_component_a_form_item, {
|
|
9980
|
-
label: _ctx.$t("
|
|
9979
|
+
label: _ctx.$t("uc_personal_center.sex"),
|
|
9981
9980
|
name: "sex"
|
|
9982
9981
|
}, {
|
|
9983
9982
|
default: withCtx(() => [
|
|
@@ -10005,7 +10004,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
10005
10004
|
}, {
|
|
10006
10005
|
default: withCtx(() => [
|
|
10007
10006
|
createVNode(_component_a_form_item, {
|
|
10008
|
-
label: _ctx.$t("
|
|
10007
|
+
label: _ctx.$t("uc_personal_center.birthday"),
|
|
10009
10008
|
name: "birthday"
|
|
10010
10009
|
}, {
|
|
10011
10010
|
default: withCtx(() => [
|
|
@@ -10027,7 +10026,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
10027
10026
|
}, {
|
|
10028
10027
|
default: withCtx(() => [
|
|
10029
10028
|
createVNode(_component_a_form_item, {
|
|
10030
|
-
label: _ctx.$t("
|
|
10029
|
+
label: _ctx.$t("uc_personal_center.work_tel"),
|
|
10031
10030
|
name: "workTel"
|
|
10032
10031
|
}, {
|
|
10033
10032
|
default: withCtx(() => [
|
|
@@ -10054,7 +10053,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
10054
10053
|
}, {
|
|
10055
10054
|
default: withCtx(() => [
|
|
10056
10055
|
createVNode(_component_a_form_item, {
|
|
10057
|
-
label: _ctx.$t("
|
|
10056
|
+
label: _ctx.$t("uc_personal_center.home_add"),
|
|
10058
10057
|
name: "homeAdd"
|
|
10059
10058
|
}, {
|
|
10060
10059
|
default: withCtx(() => [
|
|
@@ -10076,7 +10075,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
10076
10075
|
}, {
|
|
10077
10076
|
default: withCtx(() => [
|
|
10078
10077
|
createVNode(_component_a_form_item, {
|
|
10079
|
-
label: _ctx.$t("
|
|
10078
|
+
label: _ctx.$t("uc_personal_center.home_tel"),
|
|
10080
10079
|
name: "homeTel"
|
|
10081
10080
|
}, {
|
|
10082
10081
|
default: withCtx(() => [
|
|
@@ -10107,7 +10106,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
10107
10106
|
onClick: onSubmit
|
|
10108
10107
|
}, {
|
|
10109
10108
|
default: withCtx(() => [
|
|
10110
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
10109
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_personal_center.btn_text")), 1)
|
|
10111
10110
|
]),
|
|
10112
10111
|
_: 1
|
|
10113
10112
|
})
|
|
@@ -10208,8 +10207,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
10208
10207
|
headerContent: withCtx(() => [
|
|
10209
10208
|
createElementVNode("div", _hoisted_1$j, [
|
|
10210
10209
|
createElementVNode("div", _hoisted_2$5, [
|
|
10211
|
-
createTextVNode(toDisplayString(new Date().getHours() < 9 ? _ctx.$t("
|
|
10212
|
-
createElementVNode("span", _hoisted_3$4, ", " + toDisplayString(_ctx.$t(`
|
|
10210
|
+
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),
|
|
10211
|
+
createElementVNode("span", _hoisted_3$4, ", " + toDisplayString(_ctx.$t(`uc_welcome.welcome${unref(systemId)}system`)), 1)
|
|
10213
10212
|
]),
|
|
10214
10213
|
createElementVNode("div", null, toDisplayString(userInfo.value.role.name) + " | " + toDisplayString(userInfo.value.deptInfo.join(" / ")), 1)
|
|
10215
10214
|
])
|
|
@@ -10226,7 +10225,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
10226
10225
|
default: withCtx(() => [
|
|
10227
10226
|
createVNode(_component_a_tab_pane, { key: "1" }, {
|
|
10228
10227
|
tab: withCtx(() => [
|
|
10229
|
-
createElementVNode("span", null, toDisplayString(_ctx.$t("
|
|
10228
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("uc_personal_center.tab1")), 1)
|
|
10230
10229
|
]),
|
|
10231
10230
|
default: withCtx(() => [
|
|
10232
10231
|
activeKey.value == "1" ? (openBlock(), createBlock(OrgInfo, { key: 0 })) : createCommentVNode("v-if", true)
|
|
@@ -10235,7 +10234,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
10235
10234
|
}),
|
|
10236
10235
|
createVNode(_component_a_tab_pane, { key: "2" }, {
|
|
10237
10236
|
tab: withCtx(() => [
|
|
10238
|
-
createElementVNode("span", null, toDisplayString(_ctx.$t("
|
|
10237
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("uc_personal_center.tab2")), 1)
|
|
10239
10238
|
]),
|
|
10240
10239
|
default: withCtx(() => [
|
|
10241
10240
|
activeKey.value == "2" ? (openBlock(), createBlock(PersonInfo, { key: 0 })) : createCommentVNode("v-if", true)
|
|
@@ -10244,7 +10243,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
10244
10243
|
}),
|
|
10245
10244
|
createVNode(_component_a_tab_pane, { key: "3" }, {
|
|
10246
10245
|
tab: withCtx(() => [
|
|
10247
|
-
createElementVNode("span", null, toDisplayString(_ctx.$t("
|
|
10246
|
+
createElementVNode("span", null, toDisplayString(_ctx.$t("uc_personal_center.tab3")), 1)
|
|
10248
10247
|
]),
|
|
10249
10248
|
default: withCtx(() => [
|
|
10250
10249
|
activeKey.value == "3" ? (openBlock(), createBlock(Security, { key: 0 })) : createCommentVNode("v-if", true)
|
|
@@ -10347,7 +10346,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
10347
10346
|
loading.value = false;
|
|
10348
10347
|
if (result) {
|
|
10349
10348
|
emit("ok", result);
|
|
10350
|
-
message.success(t("
|
|
10349
|
+
message.success(t("uc_lang.msg1"));
|
|
10351
10350
|
}
|
|
10352
10351
|
});
|
|
10353
10352
|
};
|
|
@@ -10365,7 +10364,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
10365
10364
|
open: visible.value,
|
|
10366
10365
|
"onUpdate:open": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
|
|
10367
10366
|
destroyOnClose: true,
|
|
10368
|
-
title: _ctx.$t("
|
|
10367
|
+
title: _ctx.$t("uc_lang.title1"),
|
|
10369
10368
|
onOk: onSubmit,
|
|
10370
10369
|
onCancel: handleCancel
|
|
10371
10370
|
}, {
|
|
@@ -10379,20 +10378,20 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
10379
10378
|
}, {
|
|
10380
10379
|
default: withCtx(() => [
|
|
10381
10380
|
createVNode(_component_a_form_item, mergeProps({
|
|
10382
|
-
label: _ctx.$t("
|
|
10381
|
+
label: _ctx.$t("uc_lang.lang_type")
|
|
10383
10382
|
}, formItemLayout, {
|
|
10384
10383
|
name: "langType",
|
|
10385
10384
|
rules: [
|
|
10386
10385
|
{
|
|
10387
10386
|
required: true,
|
|
10388
|
-
message: _ctx.$t("
|
|
10387
|
+
message: _ctx.$t("uc_lang.lang_type_placeholder"),
|
|
10389
10388
|
trigger: "blur"
|
|
10390
10389
|
}
|
|
10391
10390
|
]
|
|
10392
10391
|
}), {
|
|
10393
10392
|
default: withCtx(() => [
|
|
10394
10393
|
createVNode(_component_a_input, {
|
|
10395
|
-
placeholder: _ctx.$t("
|
|
10394
|
+
placeholder: _ctx.$t("uc_lang.lang_type_placeholder"),
|
|
10396
10395
|
value: form.langType,
|
|
10397
10396
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.langType = $event)
|
|
10398
10397
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -10400,20 +10399,20 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
10400
10399
|
_: 1
|
|
10401
10400
|
}, 16, ["label", "rules"]),
|
|
10402
10401
|
createVNode(_component_a_form_item, mergeProps({
|
|
10403
|
-
label: _ctx.$t("
|
|
10402
|
+
label: _ctx.$t("uc_lang.id")
|
|
10404
10403
|
}, formItemLayout, {
|
|
10405
10404
|
name: "id",
|
|
10406
10405
|
rules: [
|
|
10407
10406
|
{
|
|
10408
10407
|
required: true,
|
|
10409
|
-
message: _ctx.$t("
|
|
10408
|
+
message: _ctx.$t("uc_lang.id_placeholder"),
|
|
10410
10409
|
trigger: "blur"
|
|
10411
10410
|
}
|
|
10412
10411
|
]
|
|
10413
10412
|
}), {
|
|
10414
10413
|
default: withCtx(() => [
|
|
10415
10414
|
createVNode(_component_a_input, {
|
|
10416
|
-
placeholder: _ctx.$t("
|
|
10415
|
+
placeholder: _ctx.$t("uc_lang.id_placeholder"),
|
|
10417
10416
|
value: form.id,
|
|
10418
10417
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.id = $event)
|
|
10419
10418
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -10434,7 +10433,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
10434
10433
|
}), {
|
|
10435
10434
|
default: withCtx(() => [
|
|
10436
10435
|
createVNode(_component_a_input, {
|
|
10437
|
-
placeholder: _ctx.$t("
|
|
10436
|
+
placeholder: _ctx.$t("uc_lang.content_placeholder"),
|
|
10438
10437
|
value: form["lang" + item.langId],
|
|
10439
10438
|
"onUpdate:value": ($event) => form["lang" + item.langId] = $event
|
|
10440
10439
|
}, null, 8, ["placeholder", "value", "onUpdate:value"])
|
|
@@ -10525,31 +10524,31 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10525
10524
|
};
|
|
10526
10525
|
const columns = computed(() => [
|
|
10527
10526
|
{
|
|
10528
|
-
title: t("
|
|
10527
|
+
title: t("uc_lang.lang_type"),
|
|
10529
10528
|
dataIndex: "langType",
|
|
10530
10529
|
width: "150px",
|
|
10531
10530
|
key: "langType"
|
|
10532
10531
|
},
|
|
10533
10532
|
{
|
|
10534
|
-
title: t("
|
|
10533
|
+
title: t("uc_lang.id"),
|
|
10535
10534
|
dataIndex: "id",
|
|
10536
10535
|
width: "200px",
|
|
10537
10536
|
key: "id"
|
|
10538
10537
|
},
|
|
10539
10538
|
{
|
|
10540
|
-
title: t("
|
|
10539
|
+
title: t("uc_lang.lang1"),
|
|
10541
10540
|
dataIndex: "lang1",
|
|
10542
10541
|
width: "350px",
|
|
10543
10542
|
key: "lang1"
|
|
10544
10543
|
},
|
|
10545
10544
|
{
|
|
10546
|
-
title: t("
|
|
10545
|
+
title: t("uc_lang.lang2"),
|
|
10547
10546
|
dataIndex: "lang2",
|
|
10548
10547
|
width: "350px",
|
|
10549
10548
|
key: "lang2"
|
|
10550
10549
|
},
|
|
10551
10550
|
{
|
|
10552
|
-
title: t("
|
|
10551
|
+
title: t("uc_lang.lang3"),
|
|
10553
10552
|
dataIndex: "lang3",
|
|
10554
10553
|
width: "350px",
|
|
10555
10554
|
key: "lang3"
|
|
@@ -10575,7 +10574,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10575
10574
|
const onUpdate = async (record) => {
|
|
10576
10575
|
const { result } = await setLangUpdate(record);
|
|
10577
10576
|
if (result) {
|
|
10578
|
-
message.success(t("
|
|
10577
|
+
message.success(t("uc_lang.msg1"));
|
|
10579
10578
|
expandedRowKeys.value = [];
|
|
10580
10579
|
}
|
|
10581
10580
|
};
|
|
@@ -10590,7 +10589,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10590
10589
|
const onDelete = async (record) => {
|
|
10591
10590
|
const { result } = await setLangDelete(record);
|
|
10592
10591
|
if (result) {
|
|
10593
|
-
message.success(t("
|
|
10592
|
+
message.success(t("uc_lang.msg1"));
|
|
10594
10593
|
expandedRowKeys.value = [];
|
|
10595
10594
|
handleRefreshTable();
|
|
10596
10595
|
}
|
|
@@ -10606,7 +10605,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10606
10605
|
}
|
|
10607
10606
|
}
|
|
10608
10607
|
if (!exits) {
|
|
10609
|
-
message.error(t("
|
|
10608
|
+
message.error(t("uc_lang.msg2") + types, 10);
|
|
10610
10609
|
return false;
|
|
10611
10610
|
}
|
|
10612
10611
|
return true;
|
|
@@ -10664,7 +10663,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10664
10663
|
default: withCtx(() => [
|
|
10665
10664
|
createVNode(_component_a_spin, {
|
|
10666
10665
|
spinning: loading.value,
|
|
10667
|
-
tip: _ctx.$t("
|
|
10666
|
+
tip: _ctx.$t("uc_lang.tip"),
|
|
10668
10667
|
size: "large"
|
|
10669
10668
|
}, {
|
|
10670
10669
|
default: withCtx(() => [
|
|
@@ -10677,40 +10676,40 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10677
10676
|
}, {
|
|
10678
10677
|
default: withCtx(() => [
|
|
10679
10678
|
createVNode(_component_a_form_item, {
|
|
10680
|
-
label: _ctx.$t("
|
|
10679
|
+
label: _ctx.$t("uc_lang.lang_type"),
|
|
10681
10680
|
style: { "width": "200px", "padding-right": "20px" }
|
|
10682
10681
|
}, {
|
|
10683
10682
|
default: withCtx(() => [
|
|
10684
10683
|
createVNode(_component_a_input, {
|
|
10685
10684
|
value: queryParam.langType,
|
|
10686
10685
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => queryParam.langType = $event),
|
|
10687
|
-
placeholder: _ctx.$t("
|
|
10686
|
+
placeholder: _ctx.$t("uc_lang.lang_type_placeholder")
|
|
10688
10687
|
}, null, 8, ["value", "placeholder"])
|
|
10689
10688
|
]),
|
|
10690
10689
|
_: 1
|
|
10691
10690
|
}, 8, ["label"]),
|
|
10692
10691
|
createVNode(_component_a_form_item, {
|
|
10693
|
-
label: _ctx.$t("
|
|
10692
|
+
label: _ctx.$t("uc_lang.id"),
|
|
10694
10693
|
style: { "width": "200px", "padding-right": "20px" }
|
|
10695
10694
|
}, {
|
|
10696
10695
|
default: withCtx(() => [
|
|
10697
10696
|
createVNode(_component_a_input, {
|
|
10698
10697
|
value: queryParam.id,
|
|
10699
10698
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => queryParam.id = $event),
|
|
10700
|
-
placeholder: _ctx.$t("
|
|
10699
|
+
placeholder: _ctx.$t("uc_lang.id_placeholder")
|
|
10701
10700
|
}, null, 8, ["value", "placeholder"])
|
|
10702
10701
|
]),
|
|
10703
10702
|
_: 1
|
|
10704
10703
|
}, 8, ["label"]),
|
|
10705
10704
|
createVNode(_component_a_form_item, {
|
|
10706
|
-
label: _ctx.$t("
|
|
10705
|
+
label: _ctx.$t("uc_lang.content"),
|
|
10707
10706
|
style: { "width": "200px", "padding-right": "20px" }
|
|
10708
10707
|
}, {
|
|
10709
10708
|
default: withCtx(() => [
|
|
10710
10709
|
createVNode(_component_a_input, {
|
|
10711
10710
|
value: queryParam.lang1,
|
|
10712
10711
|
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => queryParam.lang1 = $event),
|
|
10713
|
-
placeholder: _ctx.$t("
|
|
10712
|
+
placeholder: _ctx.$t("uc_lang.content_placeholder")
|
|
10714
10713
|
}, null, 8, ["value", "placeholder"])
|
|
10715
10714
|
]),
|
|
10716
10715
|
_: 1
|
|
@@ -10776,7 +10775,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10776
10775
|
"onUpdate:expandedRowKeys": _cache[3] || (_cache[3] = ($event) => expandedRowKeys.value = $event)
|
|
10777
10776
|
}, {
|
|
10778
10777
|
expandColumnTitle: withCtx(() => [
|
|
10779
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
10778
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_device.index1")), 1)
|
|
10780
10779
|
]),
|
|
10781
10780
|
expandIcon: withCtx(({ expanded, record }) => [
|
|
10782
10781
|
createVNode(unref(Icon__default), {
|
|
@@ -10819,7 +10818,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10819
10818
|
}, {
|
|
10820
10819
|
default: withCtx(() => [
|
|
10821
10820
|
createVNode(_component_a_input, {
|
|
10822
|
-
placeholder: _ctx.$t("
|
|
10821
|
+
placeholder: _ctx.$t("uc_lang.content_placeholder"),
|
|
10823
10822
|
value: record["lang" + item.langId],
|
|
10824
10823
|
"onUpdate:value": ($event) => record["lang" + item.langId] = $event
|
|
10825
10824
|
}, null, 8, ["placeholder", "value", "onUpdate:value"])
|
|
@@ -11003,7 +11002,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
11003
11002
|
style: { "width": "100%" },
|
|
11004
11003
|
value: currValue.value,
|
|
11005
11004
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => currValue.value = $event),
|
|
11006
|
-
placeholder: !__props.placeholder ? _ctx.$t("
|
|
11005
|
+
placeholder: !__props.placeholder ? _ctx.$t("uc_zone.pbl_select") : __props.placeholder,
|
|
11007
11006
|
mode: __props.mode,
|
|
11008
11007
|
disabled: __props.disabled,
|
|
11009
11008
|
onChange
|
|
@@ -11268,11 +11267,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11268
11267
|
orgName: [
|
|
11269
11268
|
{
|
|
11270
11269
|
required: true,
|
|
11271
|
-
message: t("
|
|
11270
|
+
message: t("uc_org.org_name_msg1"),
|
|
11272
11271
|
trigger: "change",
|
|
11273
11272
|
validator: (rule, value) => {
|
|
11274
11273
|
if (value == "") {
|
|
11275
|
-
return Promise.reject(t("
|
|
11274
|
+
return Promise.reject(t("uc_org.org_name_msg1"));
|
|
11276
11275
|
} else {
|
|
11277
11276
|
return Promise.resolve();
|
|
11278
11277
|
}
|
|
@@ -11282,13 +11281,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11282
11281
|
orgType: [
|
|
11283
11282
|
{
|
|
11284
11283
|
required: true,
|
|
11285
|
-
message: t("
|
|
11284
|
+
message: t("uc_org.org_type_msg1"),
|
|
11286
11285
|
trigger: "change",
|
|
11287
11286
|
validator: (rule, value) => {
|
|
11288
11287
|
if (Array.isArray(value) && value.length !== 0) {
|
|
11289
11288
|
return Promise.resolve();
|
|
11290
11289
|
} else {
|
|
11291
|
-
return Promise.reject(t("
|
|
11290
|
+
return Promise.reject(t("uc_org.org_type_msg1"));
|
|
11292
11291
|
}
|
|
11293
11292
|
}
|
|
11294
11293
|
}
|
|
@@ -11296,13 +11295,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11296
11295
|
industryCode: [
|
|
11297
11296
|
{
|
|
11298
11297
|
required: true,
|
|
11299
|
-
message: t("
|
|
11298
|
+
message: t("uc_org.industry_msg1"),
|
|
11300
11299
|
trigger: "change",
|
|
11301
11300
|
validator: (rule, value) => {
|
|
11302
11301
|
if (Array.isArray(value) && value.length !== 0) {
|
|
11303
11302
|
return Promise.resolve();
|
|
11304
11303
|
} else {
|
|
11305
|
-
return Promise.reject(t("
|
|
11304
|
+
return Promise.reject(t("uc_org.industry_msg1"));
|
|
11306
11305
|
}
|
|
11307
11306
|
}
|
|
11308
11307
|
}
|
|
@@ -11310,11 +11309,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11310
11309
|
zoneCode: [
|
|
11311
11310
|
{
|
|
11312
11311
|
required: true,
|
|
11313
|
-
message: t("
|
|
11312
|
+
message: t("uc_org.zone_code_msg1"),
|
|
11314
11313
|
trigger: ["change", "blur"],
|
|
11315
11314
|
validator: (rule, value) => {
|
|
11316
11315
|
if (value == "") {
|
|
11317
|
-
return Promise.reject(t("
|
|
11316
|
+
return Promise.reject(t("uc_org.zone_code_msg1"));
|
|
11318
11317
|
} else {
|
|
11319
11318
|
return Promise.resolve();
|
|
11320
11319
|
}
|
|
@@ -11324,13 +11323,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11324
11323
|
timezone: [
|
|
11325
11324
|
{
|
|
11326
11325
|
required: true,
|
|
11327
|
-
message: t("
|
|
11326
|
+
message: t("uc_org.timezone_type_msg1"),
|
|
11328
11327
|
trigger: ["change", "blur"],
|
|
11329
11328
|
validator: (rule, value) => {
|
|
11330
11329
|
if (Array.isArray(value) && value.length !== 0) {
|
|
11331
11330
|
return Promise.resolve();
|
|
11332
11331
|
} else {
|
|
11333
|
-
return Promise.reject(t("
|
|
11332
|
+
return Promise.reject(t("uc_org.timezone_type_msg1"));
|
|
11334
11333
|
}
|
|
11335
11334
|
}
|
|
11336
11335
|
}
|
|
@@ -11339,26 +11338,26 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11339
11338
|
{
|
|
11340
11339
|
required: true,
|
|
11341
11340
|
trigger: ["change", "blur"],
|
|
11342
|
-
message: t("
|
|
11341
|
+
message: t("uc_org.dateformat_msg1")
|
|
11343
11342
|
}
|
|
11344
11343
|
],
|
|
11345
11344
|
monetaryyUnit: [
|
|
11346
11345
|
{
|
|
11347
11346
|
required: true,
|
|
11348
11347
|
trigger: ["change", "blur"],
|
|
11349
|
-
message: t("
|
|
11348
|
+
message: t("uc_org.monery_unit_msg1")
|
|
11350
11349
|
}
|
|
11351
11350
|
],
|
|
11352
11351
|
langId: [
|
|
11353
11352
|
{
|
|
11354
11353
|
required: true,
|
|
11355
|
-
message: t("
|
|
11354
|
+
message: t("uc_org.lang_msg1"),
|
|
11356
11355
|
trigger: "change",
|
|
11357
11356
|
validator: (rule, value) => {
|
|
11358
11357
|
if (Array.isArray(value) && value.length !== 0) {
|
|
11359
11358
|
return Promise.resolve();
|
|
11360
11359
|
} else {
|
|
11361
|
-
return Promise.reject(t("
|
|
11360
|
+
return Promise.reject(t("uc_org.lang_msg1"));
|
|
11362
11361
|
}
|
|
11363
11362
|
}
|
|
11364
11363
|
}
|
|
@@ -11366,14 +11365,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11366
11365
|
equiNum: [
|
|
11367
11366
|
{
|
|
11368
11367
|
required: true,
|
|
11369
|
-
message: t("
|
|
11368
|
+
message: t("uc_org.equi_num_msg1"),
|
|
11370
11369
|
trigger: "change"
|
|
11371
11370
|
}
|
|
11372
11371
|
],
|
|
11373
11372
|
userNum: [
|
|
11374
11373
|
{
|
|
11375
11374
|
required: true,
|
|
11376
|
-
message: t("
|
|
11375
|
+
message: t("uc_org.user_num_msg1"),
|
|
11377
11376
|
trigger: "change"
|
|
11378
11377
|
}
|
|
11379
11378
|
]
|
|
@@ -11393,7 +11392,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11393
11392
|
const _component_a_card = Card;
|
|
11394
11393
|
return openBlock(), createBlock(_component_a_card, {
|
|
11395
11394
|
bordered: false,
|
|
11396
|
-
title: __props.params.opType == "1" ? _ctx.$t("
|
|
11395
|
+
title: __props.params.opType == "1" ? _ctx.$t("uc_org.title") : _ctx.$t("uc_org.title4")
|
|
11397
11396
|
}, {
|
|
11398
11397
|
default: withCtx(() => [
|
|
11399
11398
|
createVNode(_component_a_spin, { spinning: loading.value }, {
|
|
@@ -11415,14 +11414,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11415
11414
|
}, {
|
|
11416
11415
|
default: withCtx(() => [
|
|
11417
11416
|
createVNode(_component_a_form_item, {
|
|
11418
|
-
label: _ctx.$t("
|
|
11417
|
+
label: _ctx.$t("uc_org.user_name"),
|
|
11419
11418
|
name: "userName"
|
|
11420
11419
|
}, {
|
|
11421
11420
|
default: withCtx(() => [
|
|
11422
11421
|
createVNode(_component_a_input, {
|
|
11423
11422
|
type: "userName",
|
|
11424
11423
|
disabled: "",
|
|
11425
|
-
placeholder: _ctx.$t("
|
|
11424
|
+
placeholder: _ctx.$t("uc_org.user_name"),
|
|
11426
11425
|
value: form.userName,
|
|
11427
11426
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.userName = $event)
|
|
11428
11427
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -11440,12 +11439,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11440
11439
|
}, {
|
|
11441
11440
|
default: withCtx(() => [
|
|
11442
11441
|
createVNode(_component_a_form_item, {
|
|
11443
|
-
label: _ctx.$t("
|
|
11442
|
+
label: _ctx.$t("uc_user.mobile"),
|
|
11444
11443
|
name: "mobile"
|
|
11445
11444
|
}, {
|
|
11446
11445
|
default: withCtx(() => [
|
|
11447
11446
|
createVNode(_component_a_input, {
|
|
11448
|
-
placeholder: _ctx.$t("
|
|
11447
|
+
placeholder: _ctx.$t("uc_user.mobile"),
|
|
11449
11448
|
disabled: __props.params.opType == "2",
|
|
11450
11449
|
value: form.mobile,
|
|
11451
11450
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.mobile = $event)
|
|
@@ -11464,12 +11463,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11464
11463
|
}, {
|
|
11465
11464
|
default: withCtx(() => [
|
|
11466
11465
|
createVNode(_component_a_form_item, {
|
|
11467
|
-
label: _ctx.$t("
|
|
11466
|
+
label: _ctx.$t("uc_user.email"),
|
|
11468
11467
|
name: "email"
|
|
11469
11468
|
}, {
|
|
11470
11469
|
default: withCtx(() => [
|
|
11471
11470
|
createVNode(_component_a_input, {
|
|
11472
|
-
placeholder: _ctx.$t("
|
|
11471
|
+
placeholder: _ctx.$t("uc_user.email"),
|
|
11473
11472
|
disabled: __props.params.opType == "2",
|
|
11474
11473
|
value: form.email,
|
|
11475
11474
|
"onUpdate:value": _cache[2] || (_cache[2] = ($event) => form.email = $event)
|
|
@@ -11492,17 +11491,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11492
11491
|
}, {
|
|
11493
11492
|
default: withCtx(() => [
|
|
11494
11493
|
createVNode(_component_a_form_item, {
|
|
11495
|
-
label: _ctx.$t("
|
|
11494
|
+
label: _ctx.$t("uc_org.org_name"),
|
|
11496
11495
|
name: "orgName"
|
|
11497
11496
|
}, {
|
|
11498
11497
|
default: withCtx(() => [
|
|
11499
11498
|
createVNode(PhTip, { className: "tip-wrapper" }, {
|
|
11500
11499
|
title: withCtx(() => [
|
|
11501
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
11500
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_org.org_name_placeholder")), 1)
|
|
11502
11501
|
]),
|
|
11503
11502
|
default: withCtx(() => [
|
|
11504
11503
|
createVNode(_component_a_input, {
|
|
11505
|
-
placeholder: _ctx.$t("
|
|
11504
|
+
placeholder: _ctx.$t("uc_org.org_name_placeholder"),
|
|
11506
11505
|
value: form.orgName,
|
|
11507
11506
|
"onUpdate:value": _cache[3] || (_cache[3] = ($event) => form.orgName = $event)
|
|
11508
11507
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -11523,13 +11522,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11523
11522
|
}, {
|
|
11524
11523
|
default: withCtx(() => [
|
|
11525
11524
|
createVNode(_component_a_form_item, {
|
|
11526
|
-
label: _ctx.$t("
|
|
11525
|
+
label: _ctx.$t("uc_org.org_type"),
|
|
11527
11526
|
name: "orgType"
|
|
11528
11527
|
}, {
|
|
11529
11528
|
default: withCtx(() => [
|
|
11530
11529
|
createVNode(DictEx, {
|
|
11531
11530
|
type: "ORG_TYPE",
|
|
11532
|
-
placeholder: _ctx.$t("
|
|
11531
|
+
placeholder: _ctx.$t("uc_org.org_type_placeholder"),
|
|
11533
11532
|
value: form.orgType,
|
|
11534
11533
|
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => form.orgType = $event)
|
|
11535
11534
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -11547,13 +11546,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11547
11546
|
}, {
|
|
11548
11547
|
default: withCtx(() => [
|
|
11549
11548
|
createVNode(_component_a_form_item, {
|
|
11550
|
-
label: _ctx.$t("
|
|
11549
|
+
label: _ctx.$t("uc_org.industry"),
|
|
11551
11550
|
name: "industryCode"
|
|
11552
11551
|
}, {
|
|
11553
11552
|
default: withCtx(() => [
|
|
11554
11553
|
createVNode(DictEx, {
|
|
11555
11554
|
type: "INDUSTRY_CODE",
|
|
11556
|
-
placeholder: _ctx.$t("
|
|
11555
|
+
placeholder: _ctx.$t("uc_org.industry_placeholder"),
|
|
11557
11556
|
value: form.industryCode,
|
|
11558
11557
|
"onUpdate:value": _cache[5] || (_cache[5] = ($event) => form.industryCode = $event)
|
|
11559
11558
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -11576,12 +11575,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11576
11575
|
}, {
|
|
11577
11576
|
default: withCtx(() => [
|
|
11578
11577
|
createVNode(_component_a_form_item, {
|
|
11579
|
-
label: _ctx.$t("
|
|
11578
|
+
label: _ctx.$t("uc_org.zone_code"),
|
|
11580
11579
|
name: "zoneCode"
|
|
11581
11580
|
}, {
|
|
11582
11581
|
default: withCtx(() => [
|
|
11583
11582
|
createVNode(RegionSelect, {
|
|
11584
|
-
placeholder: _ctx.$t("
|
|
11583
|
+
placeholder: _ctx.$t("uc_org.zone_code_placeholder"),
|
|
11585
11584
|
ref_key: "regionSelRef",
|
|
11586
11585
|
ref: regionSelRef,
|
|
11587
11586
|
onChange: changeRegion,
|
|
@@ -11600,12 +11599,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11600
11599
|
}, {
|
|
11601
11600
|
default: withCtx(() => [
|
|
11602
11601
|
createVNode(_component_a_form_item, {
|
|
11603
|
-
label: _ctx.$t("
|
|
11602
|
+
label: _ctx.$t("uc_org.timezone"),
|
|
11604
11603
|
name: "timezone"
|
|
11605
11604
|
}, {
|
|
11606
11605
|
default: withCtx(() => [
|
|
11607
11606
|
createVNode(TimeZone, {
|
|
11608
|
-
placeholder: _ctx.$t("
|
|
11607
|
+
placeholder: _ctx.$t("uc_org.timezone_placeholder"),
|
|
11609
11608
|
disabled: true,
|
|
11610
11609
|
value: form.timezone,
|
|
11611
11610
|
"onUpdate:value": _cache[6] || (_cache[6] = ($event) => form.timezone = $event)
|
|
@@ -11624,7 +11623,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11624
11623
|
}, {
|
|
11625
11624
|
default: withCtx(() => [
|
|
11626
11625
|
createVNode(_component_a_form_item, {
|
|
11627
|
-
label: _ctx.$t("
|
|
11626
|
+
label: _ctx.$t("uc_org.dateformat"),
|
|
11628
11627
|
name: "dateFormat"
|
|
11629
11628
|
}, {
|
|
11630
11629
|
default: withCtx(() => [
|
|
@@ -11653,17 +11652,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11653
11652
|
}, {
|
|
11654
11653
|
default: withCtx(() => [
|
|
11655
11654
|
createVNode(_component_a_form_item, {
|
|
11656
|
-
label: _ctx.$t("
|
|
11655
|
+
label: _ctx.$t("uc_org.monery_unit"),
|
|
11657
11656
|
name: "monetaryyUnit"
|
|
11658
11657
|
}, {
|
|
11659
11658
|
default: withCtx(() => [
|
|
11660
11659
|
createVNode(PhTip, { className: "tip-wrapper" }, {
|
|
11661
11660
|
title: withCtx(() => [
|
|
11662
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
11661
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_org.monery_unit_placeholder")), 1)
|
|
11663
11662
|
]),
|
|
11664
11663
|
default: withCtx(() => [
|
|
11665
11664
|
createVNode(_component_a_input, {
|
|
11666
|
-
placeholder: _ctx.$t("
|
|
11665
|
+
placeholder: _ctx.$t("uc_org.monery_unit_placeholder"),
|
|
11667
11666
|
disabled: true,
|
|
11668
11667
|
style: { "width": "100%" },
|
|
11669
11668
|
value: form.monetaryyUnit,
|
|
@@ -11684,9 +11683,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11684
11683
|
:md="{ span: 12 }"\r
|
|
11685
11684
|
:sm="24"\r
|
|
11686
11685
|
>\r
|
|
11687
|
-
<a-form-item :label="$t('
|
|
11686
|
+
<a-form-item :label="$t('uc_org.monery_deci')" name="monetaryyDeci">\r
|
|
11688
11687
|
<a-input\r
|
|
11689
|
-
:placeholder="$t('
|
|
11688
|
+
:placeholder="$t('uc_org.monery_deci_placeholder')"\r
|
|
11690
11689
|
v-model:value="form.monetaryyDeci"\r
|
|
11691
11690
|
/>\r
|
|
11692
11691
|
</a-form-item>\r
|
|
@@ -11698,12 +11697,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11698
11697
|
}, {
|
|
11699
11698
|
default: withCtx(() => [
|
|
11700
11699
|
createVNode(_component_a_form_item, {
|
|
11701
|
-
label: _ctx.$t("
|
|
11700
|
+
label: _ctx.$t("uc_org.lang"),
|
|
11702
11701
|
name: "langId"
|
|
11703
11702
|
}, {
|
|
11704
11703
|
default: withCtx(() => [
|
|
11705
11704
|
createVNode(LangCombo, {
|
|
11706
|
-
placeholder: _ctx.$t("
|
|
11705
|
+
placeholder: _ctx.$t("uc_org.lang_placeholder"),
|
|
11707
11706
|
value: form.langId,
|
|
11708
11707
|
"onUpdate:value": _cache[9] || (_cache[9] = ($event) => form.langId = $event)
|
|
11709
11708
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -11720,13 +11719,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11720
11719
|
}, {
|
|
11721
11720
|
default: withCtx(() => [
|
|
11722
11721
|
createVNode(_component_a_form_item, {
|
|
11723
|
-
label: _ctx.$t("
|
|
11722
|
+
label: _ctx.$t("uc_org.equi_num"),
|
|
11724
11723
|
name: "equiNum"
|
|
11725
11724
|
}, {
|
|
11726
11725
|
default: withCtx(() => [
|
|
11727
11726
|
createVNode(_component_a_input_number, {
|
|
11728
11727
|
style: { "width": "100%" },
|
|
11729
|
-
placeholder: _ctx.$t("
|
|
11728
|
+
placeholder: _ctx.$t("uc_org.equi_num_placeholder"),
|
|
11730
11729
|
min: 1,
|
|
11731
11730
|
value: form.equiNum,
|
|
11732
11731
|
"onUpdate:value": _cache[10] || (_cache[10] = ($event) => form.equiNum = $event)
|
|
@@ -11750,13 +11749,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11750
11749
|
}, {
|
|
11751
11750
|
default: withCtx(() => [
|
|
11752
11751
|
createVNode(_component_a_form_item, {
|
|
11753
|
-
label: _ctx.$t("
|
|
11752
|
+
label: _ctx.$t("uc_org.user_num"),
|
|
11754
11753
|
name: "userNum"
|
|
11755
11754
|
}, {
|
|
11756
11755
|
default: withCtx(() => [
|
|
11757
11756
|
createVNode(_component_a_input_number, {
|
|
11758
11757
|
style: { "width": "100%" },
|
|
11759
|
-
placeholder: _ctx.$t("
|
|
11758
|
+
placeholder: _ctx.$t("uc_org.user_num_placeholder"),
|
|
11760
11759
|
min: 1,
|
|
11761
11760
|
value: form.userNum,
|
|
11762
11761
|
"onUpdate:value": _cache[11] || (_cache[11] = ($event) => form.userNum = $event)
|
|
@@ -11846,18 +11845,18 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
11846
11845
|
userPwd: [
|
|
11847
11846
|
{
|
|
11848
11847
|
required: true,
|
|
11849
|
-
message: t("
|
|
11848
|
+
message: t("uc_org.user_pwd1_msg1")
|
|
11850
11849
|
}
|
|
11851
11850
|
],
|
|
11852
11851
|
userPwd1: [
|
|
11853
11852
|
{
|
|
11854
11853
|
required: true,
|
|
11855
|
-
message: t("
|
|
11854
|
+
message: t("uc_org.user_pwd2_msg1"),
|
|
11856
11855
|
validator: (rule, value) => {
|
|
11857
11856
|
if (value == form.userPwd) {
|
|
11858
11857
|
return Promise.resolve();
|
|
11859
11858
|
} else {
|
|
11860
|
-
return Promise.reject(t("
|
|
11859
|
+
return Promise.reject(t("uc_org.user_pwd2_msg1"));
|
|
11861
11860
|
}
|
|
11862
11861
|
}
|
|
11863
11862
|
}
|
|
@@ -11875,7 +11874,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
11875
11874
|
open: visible.value,
|
|
11876
11875
|
"onUpdate:open": _cache[2] || (_cache[2] = ($event) => visible.value = $event),
|
|
11877
11876
|
style: { "top": "280px" },
|
|
11878
|
-
title: _ctx.$t("
|
|
11877
|
+
title: _ctx.$t("uc_org.user_pwd2_msg"),
|
|
11879
11878
|
destroyOnClose: destroyOnClose.value
|
|
11880
11879
|
}, {
|
|
11881
11880
|
default: withCtx(() => [
|
|
@@ -11888,7 +11887,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
11888
11887
|
}, {
|
|
11889
11888
|
default: withCtx(() => [
|
|
11890
11889
|
createVNode(_component_a_form_item, mergeProps({
|
|
11891
|
-
label: _ctx.$t("
|
|
11890
|
+
label: _ctx.$t("uc_org.user_pwd1")
|
|
11892
11891
|
}, formItemLayout, {
|
|
11893
11892
|
style: { "margin-bottom": "0" },
|
|
11894
11893
|
name: "userPwd"
|
|
@@ -11896,7 +11895,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
11896
11895
|
default: withCtx(() => [
|
|
11897
11896
|
createVNode(_component_a_input, {
|
|
11898
11897
|
type: "password",
|
|
11899
|
-
placeholder: _ctx.$t("
|
|
11898
|
+
placeholder: _ctx.$t("uc_org.user_pwd1_placeholder"),
|
|
11900
11899
|
value: form.userPwd,
|
|
11901
11900
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => form.userPwd = $event)
|
|
11902
11901
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -11904,12 +11903,12 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
11904
11903
|
_: 1
|
|
11905
11904
|
}, 16, ["label"]),
|
|
11906
11905
|
createVNode(_component_a_form_item, mergeProps({
|
|
11907
|
-
label: _ctx.$t("
|
|
11906
|
+
label: _ctx.$t("uc_org.user_pwd2")
|
|
11908
11907
|
}, formItemLayout, { name: "userPwd1" }), {
|
|
11909
11908
|
default: withCtx(() => [
|
|
11910
11909
|
createVNode(_component_a_input, {
|
|
11911
11910
|
type: "password",
|
|
11912
|
-
placeholder: _ctx.$t("
|
|
11911
|
+
placeholder: _ctx.$t("uc_org.user_pwd2_placeholder"),
|
|
11913
11912
|
value: form.userPwd1,
|
|
11914
11913
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => form.userPwd1 = $event)
|
|
11915
11914
|
}, null, 8, ["placeholder", "value"])
|
|
@@ -11987,7 +11986,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
11987
11986
|
const onDelete = (record) => {
|
|
11988
11987
|
deleteOrg({ orgId: record.orgId }).then(() => {
|
|
11989
11988
|
tableRef.value.refresh();
|
|
11990
|
-
message.success(t("
|
|
11989
|
+
message.success(t("uc_assetclass.del_success"));
|
|
11991
11990
|
});
|
|
11992
11991
|
};
|
|
11993
11992
|
const onSubmit = () => {
|
|
@@ -12000,49 +11999,49 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
12000
11999
|
};
|
|
12001
12000
|
const columns = computed(() => [
|
|
12002
12001
|
{
|
|
12003
|
-
title: t("
|
|
12002
|
+
title: t("uc_device.index1"),
|
|
12004
12003
|
width: "50px",
|
|
12005
12004
|
align: "center",
|
|
12006
12005
|
key: "index1"
|
|
12007
12006
|
},
|
|
12008
12007
|
{
|
|
12009
|
-
title: t("
|
|
12008
|
+
title: t("uc_org.id"),
|
|
12010
12009
|
dataIndex: "orgId",
|
|
12011
12010
|
width: "150px",
|
|
12012
12011
|
key: "orgId"
|
|
12013
12012
|
},
|
|
12014
12013
|
{
|
|
12015
|
-
title: t("
|
|
12014
|
+
title: t("uc_org.org_name"),
|
|
12016
12015
|
dataIndex: "orgName",
|
|
12017
12016
|
width: "150px",
|
|
12018
12017
|
key: "orgName"
|
|
12019
12018
|
},
|
|
12020
12019
|
{
|
|
12021
|
-
title: t("
|
|
12020
|
+
title: t("uc_org.zone_code"),
|
|
12022
12021
|
dataIndex: "zoneCode",
|
|
12023
12022
|
width: "150px",
|
|
12024
12023
|
key: "zoneCode"
|
|
12025
12024
|
},
|
|
12026
12025
|
{
|
|
12027
|
-
title: t("
|
|
12026
|
+
title: t("uc_org.timezone"),
|
|
12028
12027
|
dataIndex: "timezone",
|
|
12029
12028
|
width: "100px",
|
|
12030
12029
|
key: "timezone"
|
|
12031
12030
|
},
|
|
12032
12031
|
{
|
|
12033
|
-
title: t("
|
|
12032
|
+
title: t("uc_org.user_name"),
|
|
12034
12033
|
dataIndex: "userId",
|
|
12035
12034
|
width: "150px",
|
|
12036
12035
|
key: "userId"
|
|
12037
12036
|
},
|
|
12038
12037
|
{
|
|
12039
|
-
title: t("
|
|
12038
|
+
title: t("uc_org.mobile"),
|
|
12040
12039
|
dataIndex: "mobile",
|
|
12041
12040
|
width: "110px",
|
|
12042
12041
|
key: "mobile"
|
|
12043
12042
|
},
|
|
12044
12043
|
{
|
|
12045
|
-
title: t("
|
|
12044
|
+
title: t("uc_org.user_status"),
|
|
12046
12045
|
dataIndex: "orgStatus",
|
|
12047
12046
|
width: "80px",
|
|
12048
12047
|
key: "orgStatus",
|
|
@@ -12051,19 +12050,19 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
12051
12050
|
}
|
|
12052
12051
|
},
|
|
12053
12052
|
{
|
|
12054
|
-
title: t("
|
|
12053
|
+
title: t("uc_org.coperator"),
|
|
12055
12054
|
dataIndex: "coperator",
|
|
12056
12055
|
width: "80px",
|
|
12057
12056
|
key: "coperator"
|
|
12058
12057
|
},
|
|
12059
12058
|
{
|
|
12060
|
-
title: t("
|
|
12059
|
+
title: t("uc_org.cdate"),
|
|
12061
12060
|
dataIndex: "cdate",
|
|
12062
12061
|
width: "160px",
|
|
12063
12062
|
key: "cdate"
|
|
12064
12063
|
},
|
|
12065
12064
|
{
|
|
12066
|
-
title: t("
|
|
12065
|
+
title: t("uc_org.action"),
|
|
12067
12066
|
key: "action",
|
|
12068
12067
|
width: "140px",
|
|
12069
12068
|
fixed: "right"
|
|
@@ -12096,11 +12095,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
12096
12095
|
createElementVNode("div", _hoisted_2$3, [
|
|
12097
12096
|
createVNode(PhTip, null, {
|
|
12098
12097
|
title: withCtx(() => [
|
|
12099
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
12098
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_org.nameInput")), 1)
|
|
12100
12099
|
]),
|
|
12101
12100
|
default: withCtx(() => [
|
|
12102
12101
|
createVNode(_component_a_input_search, {
|
|
12103
|
-
placeholder: _ctx.$t("
|
|
12102
|
+
placeholder: _ctx.$t("uc_org.nameInput"),
|
|
12104
12103
|
ref: "inputSearch",
|
|
12105
12104
|
value: queryParam.orgName,
|
|
12106
12105
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => queryParam.orgName = $event),
|
|
@@ -12370,12 +12369,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
12370
12369
|
const beforeUpload = (file) => {
|
|
12371
12370
|
const isJpgOrPng = file.type === "image/jpeg" || file.type === "image/png";
|
|
12372
12371
|
if (!isJpgOrPng) {
|
|
12373
|
-
message.error(t("
|
|
12372
|
+
message.error(t("uc_param.tips1"));
|
|
12374
12373
|
return false;
|
|
12375
12374
|
}
|
|
12376
12375
|
const isLt2M = file.size / 1024 / 1024 < 2;
|
|
12377
12376
|
if (!isLt2M) {
|
|
12378
|
-
message.error(t("
|
|
12377
|
+
message.error(t("uc_param.tips2"));
|
|
12379
12378
|
return false;
|
|
12380
12379
|
}
|
|
12381
12380
|
formData.fileName = file;
|
|
@@ -12475,7 +12474,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
12475
12474
|
]);
|
|
12476
12475
|
}), 64))
|
|
12477
12476
|
]),
|
|
12478
|
-
createElementVNode("span", _hoisted_6, toDisplayString(_ctx.$t("
|
|
12477
|
+
createElementVNode("span", _hoisted_6, toDisplayString(_ctx.$t("uc_param.tip")), 1)
|
|
12479
12478
|
])) : createCommentVNode("v-if", true)
|
|
12480
12479
|
]),
|
|
12481
12480
|
_: 2
|
|
@@ -12491,7 +12490,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
12491
12490
|
class: "sub_btn"
|
|
12492
12491
|
}, {
|
|
12493
12492
|
default: withCtx(() => [
|
|
12494
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
12493
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_param.btn_ok")), 1)
|
|
12495
12494
|
]),
|
|
12496
12495
|
_: 1
|
|
12497
12496
|
})) : createCommentVNode("v-if", true)
|
|
@@ -12706,7 +12705,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
12706
12705
|
class: "sub_btn"
|
|
12707
12706
|
}, {
|
|
12708
12707
|
default: withCtx(() => [
|
|
12709
|
-
createTextVNode(toDisplayString(_ctx.$t("
|
|
12708
|
+
createTextVNode(toDisplayString(_ctx.$t("uc_param.btn_ok")), 1)
|
|
12710
12709
|
]),
|
|
12711
12710
|
_: 1
|
|
12712
12711
|
})) : createCommentVNode("v-if", true)
|
|
@@ -12747,7 +12746,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
12747
12746
|
cloneData.value = record;
|
|
12748
12747
|
};
|
|
12749
12748
|
const success = () => {
|
|
12750
|
-
message.success(t("
|
|
12749
|
+
message.success(t("uc_param.tips3"));
|
|
12751
12750
|
};
|
|
12752
12751
|
return (_ctx, _cache) => {
|
|
12753
12752
|
const _component_a_card = Card;
|