xyvcard-itsmsys 0.0.15 → 0.0.17
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/{edit-BKRcHRhe.mjs → edit-BAH_6b13.mjs} +1 -1
- package/dist/{edit-mVmM-PRk.mjs → edit-CJKLiFvj.mjs} +2 -2
- package/dist/{edit-DzjV79y1.mjs → edit-CfJWdgBx.mjs} +1 -1
- package/dist/{edit-b2ih9M1u.mjs → edit-DdBemEtp.mjs} +2 -2
- package/dist/{edit-BOYD0hK4.mjs → edit-DgxHpvC6.mjs} +2 -2
- package/dist/{edit-BjOW2vs6.mjs → edit-a4L0fy11.mjs} +1 -1
- package/dist/{edit-DNMyksDd.mjs → edit-pCyaGLeW.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CfUAkfJW.mjs → edit.vue_vue_type_script_setup_true_lang-Bs8-z-IO.mjs} +3 -3
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CHEDA0A_.mjs → edit.vue_vue_type_script_setup_true_lang-CZ1mhblw.mjs} +3 -3
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DCq50Piw.mjs → edit.vue_vue_type_script_setup_true_lang-V7Qgl4pY.mjs} +89 -89
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CAq_h6E3.mjs → edit.vue_vue_type_script_setup_true_lang-ygCvblxi.mjs} +1 -1
- package/dist/{import-upload-DBaTv04c.mjs → import-upload-BISlCHWj.mjs} +25 -25
- package/dist/import-upload-CzXWmSM6.mjs +161 -0
- package/dist/{import-upload-DZJ0GptW.mjs → import-upload-TERPQdeq.mjs} +7 -7
- package/dist/{index-BXbOuSmq.mjs → index-B8RLzH1x.mjs} +87 -87
- package/dist/index-BxdZzcjP.mjs +462 -0
- package/dist/{index-Cz0VExll.mjs → index-C57850Qg.mjs} +16 -13
- package/dist/{index-qfyel9S8.mjs → index-DGX9vRbo.mjs} +1 -1
- package/dist/{index-D12MySRa.mjs → index-DRzFGqnW.mjs} +47 -47
- package/dist/{index-XoL9Os_9.mjs → index-byYol6y6.mjs} +40 -41
- package/dist/{index-Cy9iOhxs.mjs → index-ekie5iUI.mjs} +2 -3
- package/dist/{index-CvZlFuc4.mjs → index-rAUwvtcF.mjs} +2 -3
- package/dist/index.mjs +10 -9
- package/dist/{index.vue_vue_type_script_setup_true_lang-MCS-o6Sy.mjs → index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs} +2 -2
- package/dist/{info--MGKuszF.mjs → info-BNw5IiGi.mjs} +1 -1
- package/dist/{info-CIwhiTud.mjs → info-BqQdA6b-.mjs} +1 -1
- package/dist/{info-0NbCPcmX.mjs → info-BraECWiO.mjs} +1 -1
- package/dist/{info-CPTCNZK-.mjs → info-Cjx0ceNM.mjs} +1 -1
- package/dist/{info-CCwx_-dG.mjs → info-DHxVt25p.mjs} +1 -1
- package/dist/{info-D-UkVKd0.mjs → info-to4iDhQX.mjs} +46 -46
- package/dist/style.css +1 -1
- package/dts/api/itsm-sys-user-ext/types.d.ts +1 -1
- package/dts/constant.d.ts +1 -0
- package/dts/views/itsmsys/itsm-sys-user-man/import-upload.vue.d.ts +31 -0
- package/package.json +1 -1
- package/dist/index-Cd5F5D4a.mjs +0 -423
|
@@ -4,9 +4,9 @@ import { s as E } from "./index-B2xwBTw-.mjs";
|
|
|
4
4
|
import { useI18n as D } from "vue-i18n";
|
|
5
5
|
import { useRoute as J, useRouter as z } from "vue-router";
|
|
6
6
|
import { routerUtil as v } from "jmash-core";
|
|
7
|
-
import { C as b } from "./index-
|
|
7
|
+
import { C as b } from "./index-C57850Qg.mjs";
|
|
8
8
|
import { sysOrgApi as y } from "./index.mjs";
|
|
9
|
-
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs";
|
|
10
10
|
const Q = { class: "app-container" }, se = /* @__PURE__ */ I({
|
|
11
11
|
__name: "edit",
|
|
12
12
|
setup(W) {
|
|
@@ -3,9 +3,9 @@ import { ElMessage as $ } from "element-plus";
|
|
|
3
3
|
import { s as E } from "./index-B2xwBTw-.mjs";
|
|
4
4
|
import { useI18n as D } from "vue-i18n";
|
|
5
5
|
import { useRoute as J, useRouter as z } from "vue-router";
|
|
6
|
-
import { C as b } from "./index-
|
|
6
|
+
import { C as b } from "./index-C57850Qg.mjs";
|
|
7
7
|
import { sysOrgApi as y } from "./index.mjs";
|
|
8
|
-
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs";
|
|
9
9
|
import { routerUtil as v } from "jmash-core";
|
|
10
10
|
const Q = { class: "app-container" }, re = /* @__PURE__ */ I({
|
|
11
11
|
__name: "edit",
|
|
@@ -4,9 +4,9 @@ import { s as J } from "./index-B2xwBTw-.mjs";
|
|
|
4
4
|
import { useI18n as H } from "vue-i18n";
|
|
5
5
|
import { useRoute as Q, useRouter as W } from "vue-router";
|
|
6
6
|
import { routerUtil as $ } from "jmash-core";
|
|
7
|
-
import { C as y, D as R } from "./index-
|
|
7
|
+
import { C as y, D as R } from "./index-C57850Qg.mjs";
|
|
8
8
|
import { sysOrgApi as b } from "./index.mjs";
|
|
9
|
-
import { _ as X } from "./index.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as X } from "./index.vue_vue_type_script_setup_true_lang-CFepWDIx.mjs";
|
|
10
10
|
const Y = { class: "app-container" }, de = /* @__PURE__ */ A({
|
|
11
11
|
__name: "edit",
|
|
12
12
|
setup(Z) {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as B, mergeModels as R, ref as $, useModel as A, reacti
|
|
|
2
2
|
import { ElMessage as j } from "element-plus";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
4
|
import { sysUserExtApi as b } from "./index.mjs";
|
|
5
|
-
import { D as f, C as y } from "./index-
|
|
5
|
+
import { D as f, C as y } from "./index-C57850Qg.mjs";
|
|
6
6
|
const L = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
|
|
7
7
|
__name: "edit",
|
|
8
8
|
props: /* @__PURE__ */ R({
|
|
@@ -87,12 +87,12 @@ const L = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
|
|
|
87
87
|
var l;
|
|
88
88
|
await ((l = U.value) == null ? void 0 : l.validate((a) => {
|
|
89
89
|
a && (O.value ? b.update(o).then((n) => {
|
|
90
|
-
|
|
90
|
+
n.status === 200 && (j({
|
|
91
91
|
message: m("common.submitSuccess"),
|
|
92
92
|
type: "success"
|
|
93
93
|
}), p.value && (p.value = !1), V("refresh", n.status === 200));
|
|
94
94
|
}) : b.create(o).then((n) => {
|
|
95
|
-
|
|
95
|
+
n.status === 200 && (j({
|
|
96
96
|
message: m("common.submitSuccess"),
|
|
97
97
|
type: "success"
|
|
98
98
|
}), p.value && (p.value = !1), V("refresh", n.status === 200));
|
|
@@ -2,7 +2,7 @@ import { defineComponent as B, mergeModels as R, ref as $, useModel as A, reacti
|
|
|
2
2
|
import { ElMessage as j } from "element-plus";
|
|
3
3
|
import { useI18n as Z } from "vue-i18n";
|
|
4
4
|
import { sysUserExtApi as b } from "./index.mjs";
|
|
5
|
-
import { D as f, C as y } from "./index-
|
|
5
|
+
import { D as f, C as y } from "./index-C57850Qg.mjs";
|
|
6
6
|
const L = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
|
|
7
7
|
__name: "edit",
|
|
8
8
|
props: /* @__PURE__ */ R({
|
|
@@ -87,12 +87,12 @@ const L = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
|
|
|
87
87
|
var l;
|
|
88
88
|
await ((l = U.value) == null ? void 0 : l.validate((a) => {
|
|
89
89
|
a && (O.value ? b.update(o).then((n) => {
|
|
90
|
-
|
|
90
|
+
n.status === 200 && (j({
|
|
91
91
|
message: m("common.submitSuccess"),
|
|
92
92
|
type: "success"
|
|
93
93
|
}), p.value && (p.value = !1), V("refresh", n.status === 200));
|
|
94
94
|
}) : b.create(o).then((n) => {
|
|
95
|
-
|
|
95
|
+
n.status === 200 && (j({
|
|
96
96
|
message: m("common.submitSuccess"),
|
|
97
97
|
type: "success"
|
|
98
98
|
}), p.value && (p.value = !1), V("refresh", n.status === 200));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as Q, mergeModels as S, ref as b, useModel as W, reactive as A, resolveComponent as m, openBlock as U, createBlock as V, withCtx as
|
|
1
|
+
import { defineComponent as Q, mergeModels as S, ref as b, useModel as W, reactive as A, resolveComponent as m, openBlock as U, createBlock as V, withCtx as s, createElementVNode as Y, createVNode as l, createTextVNode as I, toDisplayString as M, unref as r, createCommentVNode as D } from "vue";
|
|
2
2
|
import { ElMessage as C } from "element-plus";
|
|
3
3
|
import { useI18n as x } from "vue-i18n";
|
|
4
|
-
import { D as y, C as w } from "./index-
|
|
4
|
+
import { D as y, C as w } from "./index-C57850Qg.mjs";
|
|
5
5
|
import { deptApi as ee, jobApi as le, roleApi as ae } from "jmash-rbac";
|
|
6
|
-
import { sysUserExtApi as $, sysOrgApi as
|
|
7
|
-
import { generateRandomKey as
|
|
6
|
+
import { sysUserExtApi as $, sysOrgApi as se } from "./index.mjs";
|
|
7
|
+
import { generateRandomKey as oe } from "jmash-core";
|
|
8
8
|
const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
9
9
|
__name: "edit",
|
|
10
10
|
props: /* @__PURE__ */ S({
|
|
@@ -19,7 +19,7 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
19
19
|
}),
|
|
20
20
|
emits: /* @__PURE__ */ S(["refresh"], ["update:modelValue"]),
|
|
21
21
|
setup(q, { emit: O }) {
|
|
22
|
-
const { t:
|
|
22
|
+
const { t: u } = x(), v = b(), R = b(), N = b(), j = b(), p = W(q, "modelValue"), _ = O;
|
|
23
23
|
y.sysOrgBizDict.useValues(), y.parentIdBizDict.useValues();
|
|
24
24
|
let a = A({
|
|
25
25
|
requestId: Math.random() * 10 + "",
|
|
@@ -27,13 +27,13 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
27
27
|
userType: w.userType.companyManager,
|
|
28
28
|
jobStatus: w.jobStatus.working
|
|
29
29
|
});
|
|
30
|
-
const B = (e,
|
|
31
|
-
|
|
30
|
+
const B = (e, o, i) => {
|
|
31
|
+
o === void 0 && i(new Error(u("sysUserMan.mobilePhoneRequired"))), /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(o) || i(new Error(u("sysUserMan.mobilePhoneRequireds"))), i();
|
|
32
32
|
}, E = A({
|
|
33
33
|
realName: [
|
|
34
34
|
{
|
|
35
35
|
required: !0,
|
|
36
|
-
message:
|
|
36
|
+
message: u("sysUserMan.realNameRequired"),
|
|
37
37
|
trigger: "blur"
|
|
38
38
|
}
|
|
39
39
|
],
|
|
@@ -47,42 +47,42 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
47
47
|
email: [
|
|
48
48
|
{
|
|
49
49
|
pattern: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/,
|
|
50
|
-
message:
|
|
50
|
+
message: u("sysUserMan.emailRequireds"),
|
|
51
51
|
trigger: "blur"
|
|
52
52
|
}
|
|
53
53
|
],
|
|
54
54
|
idNo: [
|
|
55
55
|
{
|
|
56
56
|
pattern: /^[1-9]\d{5}(18|19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2]\d|3[0-1])\d{3}(\d|X)$/,
|
|
57
|
-
message:
|
|
57
|
+
message: u("sysUserMan.idNoLengthRequired"),
|
|
58
58
|
trigger: "blur"
|
|
59
59
|
}
|
|
60
60
|
],
|
|
61
61
|
orgId: [
|
|
62
62
|
{
|
|
63
63
|
required: !0,
|
|
64
|
-
message:
|
|
64
|
+
message: u("sysUserMan.orgIdRequired"),
|
|
65
65
|
trigger: "change"
|
|
66
66
|
}
|
|
67
67
|
],
|
|
68
68
|
userPassword: [
|
|
69
69
|
{
|
|
70
70
|
required: !0,
|
|
71
|
-
message:
|
|
71
|
+
message: u("sysUserMan.userPasswordRequired"),
|
|
72
72
|
trigger: "blur"
|
|
73
73
|
}
|
|
74
74
|
],
|
|
75
75
|
loginName: [
|
|
76
76
|
{
|
|
77
77
|
required: !0,
|
|
78
|
-
message:
|
|
78
|
+
message: u("sysUserMan.loginNameRequired"),
|
|
79
79
|
trigger: "blur"
|
|
80
80
|
}
|
|
81
81
|
],
|
|
82
82
|
roleIds: [
|
|
83
83
|
{
|
|
84
84
|
required: !0,
|
|
85
|
-
message:
|
|
85
|
+
message: u("sysUserMan.roleIdsRequired"),
|
|
86
86
|
trigger: "blur"
|
|
87
87
|
}
|
|
88
88
|
]
|
|
@@ -92,17 +92,17 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
92
92
|
});
|
|
93
93
|
const T = async () => {
|
|
94
94
|
var e;
|
|
95
|
-
await ((e = j.value) == null ? void 0 : e.validate((
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
message:
|
|
95
|
+
await ((e = j.value) == null ? void 0 : e.validate((o) => {
|
|
96
|
+
o && (g.value ? $.update(a).then((i) => {
|
|
97
|
+
i.status === 200 && (C({
|
|
98
|
+
message: u("common.submitSuccess"),
|
|
99
99
|
type: "success"
|
|
100
|
-
}), p.value && (p.value = !1), _("refresh",
|
|
101
|
-
}) : $.create(a).then((
|
|
102
|
-
|
|
103
|
-
message:
|
|
100
|
+
}), p.value && (p.value = !1), _("refresh", i.status === 200));
|
|
101
|
+
}) : $.create(a).then((i) => {
|
|
102
|
+
i.status === 200 && (C({
|
|
103
|
+
message: u("common.submitSuccess"),
|
|
104
104
|
type: "success"
|
|
105
|
-
}), p.value && (p.value = !1), _("refresh",
|
|
105
|
+
}), p.value && (p.value = !1), _("refresh", i.status === 200));
|
|
106
106
|
}));
|
|
107
107
|
}));
|
|
108
108
|
};
|
|
@@ -117,28 +117,28 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
117
117
|
}
|
|
118
118
|
K();
|
|
119
119
|
function F() {
|
|
120
|
-
g.value ||
|
|
120
|
+
g.value || se.findPage({ orgType: w.orgType.cloud }).then(({ data: { results: e } }) => {
|
|
121
121
|
a.orgId = e[0].orgId;
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
124
|
F();
|
|
125
125
|
function Z() {
|
|
126
|
-
a.userPassword =
|
|
126
|
+
a.userPassword = oe();
|
|
127
127
|
}
|
|
128
128
|
function k() {
|
|
129
129
|
p.value && (p.value = !1);
|
|
130
130
|
}
|
|
131
|
-
return (e,
|
|
132
|
-
const
|
|
131
|
+
return (e, o) => {
|
|
132
|
+
const i = m("jmash-select"), d = m("el-form-item"), n = m("el-col"), f = m("el-input"), G = m("jmash-enum-select"), c = m("el-tree-select"), J = m("jmash-enum-radio"), h = m("el-button"), L = m("el-row"), X = m("el-form"), H = m("el-dialog");
|
|
133
133
|
return U(), V(H, {
|
|
134
134
|
modelValue: p.value,
|
|
135
|
-
"onUpdate:modelValue":
|
|
135
|
+
"onUpdate:modelValue": o[13] || (o[13] = (t) => p.value = t),
|
|
136
136
|
onClose: k
|
|
137
137
|
}, {
|
|
138
|
-
footer:
|
|
138
|
+
footer: s(() => [
|
|
139
139
|
Y("div", re, [
|
|
140
140
|
l(h, { onClick: k }, {
|
|
141
|
-
default:
|
|
141
|
+
default: s(() => [
|
|
142
142
|
I(M(e.$t("common.cancel")), 1)
|
|
143
143
|
]),
|
|
144
144
|
_: 1
|
|
@@ -147,14 +147,14 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
147
147
|
type: "primary",
|
|
148
148
|
onClick: T
|
|
149
149
|
}, {
|
|
150
|
-
default:
|
|
150
|
+
default: s(() => [
|
|
151
151
|
I(M(e.$t("common.confirm")), 1)
|
|
152
152
|
]),
|
|
153
153
|
_: 1
|
|
154
154
|
})
|
|
155
155
|
])
|
|
156
156
|
]),
|
|
157
|
-
default:
|
|
157
|
+
default: s(() => [
|
|
158
158
|
l(X, {
|
|
159
159
|
ref_key: "sysUserExtFormRef",
|
|
160
160
|
ref: j,
|
|
@@ -162,19 +162,19 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
162
162
|
"label-width": "100px",
|
|
163
163
|
rules: E
|
|
164
164
|
}, {
|
|
165
|
-
default:
|
|
165
|
+
default: s(() => [
|
|
166
166
|
l(L, null, {
|
|
167
|
-
default:
|
|
168
|
-
l(
|
|
169
|
-
default:
|
|
167
|
+
default: s(() => [
|
|
168
|
+
l(n, { span: 12 }, {
|
|
169
|
+
default: s(() => [
|
|
170
170
|
l(d, {
|
|
171
171
|
label: e.$t("sysUserMan.orgId"),
|
|
172
172
|
prop: "orgId"
|
|
173
173
|
}, {
|
|
174
|
-
default:
|
|
175
|
-
l(
|
|
174
|
+
default: s(() => [
|
|
175
|
+
l(i, {
|
|
176
176
|
modelValue: r(a).orgId,
|
|
177
|
-
"onUpdate:modelValue":
|
|
177
|
+
"onUpdate:modelValue": o[0] || (o[0] = (t) => r(a).orgId = t),
|
|
178
178
|
placeholder: e.$t("sysUserMan.orgIdRequired"),
|
|
179
179
|
data: r(y).sysOrgBizDict.values,
|
|
180
180
|
clearable: "",
|
|
@@ -186,19 +186,19 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
186
186
|
]),
|
|
187
187
|
_: 1
|
|
188
188
|
}),
|
|
189
|
-
g.value ? D("", !0) : (U(), V(
|
|
189
|
+
g.value ? D("", !0) : (U(), V(n, {
|
|
190
190
|
key: 0,
|
|
191
191
|
span: 12
|
|
192
192
|
}, {
|
|
193
|
-
default:
|
|
193
|
+
default: s(() => [
|
|
194
194
|
l(d, {
|
|
195
195
|
label: e.$t("sysUserMan.loginName"),
|
|
196
196
|
prop: "loginName"
|
|
197
197
|
}, {
|
|
198
|
-
default:
|
|
198
|
+
default: s(() => [
|
|
199
199
|
l(f, {
|
|
200
200
|
modelValue: r(a).loginName,
|
|
201
|
-
"onUpdate:modelValue":
|
|
201
|
+
"onUpdate:modelValue": o[1] || (o[1] = (t) => r(a).loginName = t),
|
|
202
202
|
clearable: "",
|
|
203
203
|
placeholder: e.$t("sysUserMan.loginNameRequired"),
|
|
204
204
|
maxlength: "30",
|
|
@@ -210,16 +210,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
210
210
|
]),
|
|
211
211
|
_: 1
|
|
212
212
|
})),
|
|
213
|
-
l(
|
|
214
|
-
default:
|
|
213
|
+
l(n, { span: 12 }, {
|
|
214
|
+
default: s(() => [
|
|
215
215
|
l(d, {
|
|
216
216
|
label: e.$t("sysUserMan.realName"),
|
|
217
217
|
prop: "realName"
|
|
218
218
|
}, {
|
|
219
|
-
default:
|
|
219
|
+
default: s(() => [
|
|
220
220
|
l(f, {
|
|
221
221
|
modelValue: r(a).realName,
|
|
222
|
-
"onUpdate:modelValue":
|
|
222
|
+
"onUpdate:modelValue": o[2] || (o[2] = (t) => r(a).realName = t),
|
|
223
223
|
placeholder: e.$t("sysUserMan.realNameRequired"),
|
|
224
224
|
maxlength: "8",
|
|
225
225
|
"show-word-limit": "",
|
|
@@ -231,16 +231,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
231
231
|
]),
|
|
232
232
|
_: 1
|
|
233
233
|
}),
|
|
234
|
-
l(
|
|
235
|
-
default:
|
|
234
|
+
l(n, { span: 12 }, {
|
|
235
|
+
default: s(() => [
|
|
236
236
|
l(d, {
|
|
237
237
|
label: e.$t("sysUserMan.gender"),
|
|
238
238
|
prop: "gender"
|
|
239
239
|
}, {
|
|
240
|
-
default:
|
|
240
|
+
default: s(() => [
|
|
241
241
|
l(G, {
|
|
242
242
|
modelValue: r(a).gender,
|
|
243
|
-
"onUpdate:modelValue":
|
|
243
|
+
"onUpdate:modelValue": o[3] || (o[3] = (t) => r(a).gender = t),
|
|
244
244
|
clearable: "",
|
|
245
245
|
placeholder: e.$t("sysUserMan.genderRequired"),
|
|
246
246
|
"enum-type": "jmash.protobuf.Gender",
|
|
@@ -252,16 +252,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
252
252
|
]),
|
|
253
253
|
_: 1
|
|
254
254
|
}),
|
|
255
|
-
l(
|
|
256
|
-
default:
|
|
255
|
+
l(n, { span: 12 }, {
|
|
256
|
+
default: s(() => [
|
|
257
257
|
l(d, {
|
|
258
258
|
label: e.$t("sysUserMan.mobilePhone"),
|
|
259
259
|
prop: "mobilePhone"
|
|
260
260
|
}, {
|
|
261
|
-
default:
|
|
261
|
+
default: s(() => [
|
|
262
262
|
l(f, {
|
|
263
263
|
modelValue: r(a).mobilePhone,
|
|
264
|
-
"onUpdate:modelValue":
|
|
264
|
+
"onUpdate:modelValue": o[4] || (o[4] = (t) => r(a).mobilePhone = t),
|
|
265
265
|
placeholder: e.$t("sysUserMan.mobilePhoneRequired"),
|
|
266
266
|
maxlength: "11",
|
|
267
267
|
"show-word-limit": "",
|
|
@@ -273,16 +273,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
273
273
|
]),
|
|
274
274
|
_: 1
|
|
275
275
|
}),
|
|
276
|
-
l(
|
|
277
|
-
default:
|
|
276
|
+
l(n, { span: 12 }, {
|
|
277
|
+
default: s(() => [
|
|
278
278
|
l(d, {
|
|
279
279
|
label: e.$t("sysUserMan.email"),
|
|
280
280
|
prop: "email"
|
|
281
281
|
}, {
|
|
282
|
-
default:
|
|
282
|
+
default: s(() => [
|
|
283
283
|
l(f, {
|
|
284
284
|
modelValue: r(a).email,
|
|
285
|
-
"onUpdate:modelValue":
|
|
285
|
+
"onUpdate:modelValue": o[5] || (o[5] = (t) => r(a).email = t),
|
|
286
286
|
placeholder: e.$t("sysUserMan.emailRequired"),
|
|
287
287
|
maxlength: "30",
|
|
288
288
|
"show-word-limit": "",
|
|
@@ -294,16 +294,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
294
294
|
]),
|
|
295
295
|
_: 1
|
|
296
296
|
}),
|
|
297
|
-
l(
|
|
298
|
-
default:
|
|
297
|
+
l(n, { span: 12 }, {
|
|
298
|
+
default: s(() => [
|
|
299
299
|
l(d, {
|
|
300
300
|
label: e.$t("sysUserOps.idNo"),
|
|
301
301
|
prop: "idNo"
|
|
302
302
|
}, {
|
|
303
|
-
default:
|
|
303
|
+
default: s(() => [
|
|
304
304
|
l(f, {
|
|
305
305
|
modelValue: r(a).idNo,
|
|
306
|
-
"onUpdate:modelValue":
|
|
306
|
+
"onUpdate:modelValue": o[6] || (o[6] = (t) => r(a).idNo = t),
|
|
307
307
|
placeholder: e.$t("sysUserOps.idNoRequired"),
|
|
308
308
|
maxlength: "18",
|
|
309
309
|
"show-word-limit": "",
|
|
@@ -315,16 +315,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
315
315
|
]),
|
|
316
316
|
_: 1
|
|
317
317
|
}),
|
|
318
|
-
l(
|
|
319
|
-
default:
|
|
318
|
+
l(n, { span: 12 }, {
|
|
319
|
+
default: s(() => [
|
|
320
320
|
l(d, {
|
|
321
321
|
label: e.$t("sysUserMan.deptId"),
|
|
322
322
|
prop: "deptId"
|
|
323
323
|
}, {
|
|
324
|
-
default:
|
|
324
|
+
default: s(() => [
|
|
325
325
|
l(c, {
|
|
326
326
|
modelValue: r(a).deptId,
|
|
327
|
-
"onUpdate:modelValue":
|
|
327
|
+
"onUpdate:modelValue": o[7] || (o[7] = (t) => r(a).deptId = t),
|
|
328
328
|
data: v.value,
|
|
329
329
|
"render-after-expand": !1,
|
|
330
330
|
filterable: "",
|
|
@@ -339,16 +339,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
339
339
|
]),
|
|
340
340
|
_: 1
|
|
341
341
|
}),
|
|
342
|
-
l(
|
|
343
|
-
default:
|
|
342
|
+
l(n, { span: 12 }, {
|
|
343
|
+
default: s(() => [
|
|
344
344
|
l(d, {
|
|
345
345
|
label: e.$t("sysUserMan.jobId"),
|
|
346
346
|
prop: "jobId"
|
|
347
347
|
}, {
|
|
348
|
-
default:
|
|
348
|
+
default: s(() => [
|
|
349
349
|
l(c, {
|
|
350
350
|
modelValue: r(a).jobId,
|
|
351
|
-
"onUpdate:modelValue":
|
|
351
|
+
"onUpdate:modelValue": o[8] || (o[8] = (t) => r(a).jobId = t),
|
|
352
352
|
data: R.value,
|
|
353
353
|
"render-after-expand": !1,
|
|
354
354
|
filterable: "",
|
|
@@ -363,16 +363,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
363
363
|
]),
|
|
364
364
|
_: 1
|
|
365
365
|
}),
|
|
366
|
-
l(
|
|
367
|
-
default:
|
|
366
|
+
l(n, { span: 12 }, {
|
|
367
|
+
default: s(() => [
|
|
368
368
|
l(d, {
|
|
369
369
|
label: e.$t("sysUserOps.jobStatus"),
|
|
370
370
|
prop: "jobStatus"
|
|
371
371
|
}, {
|
|
372
|
-
default:
|
|
372
|
+
default: s(() => [
|
|
373
373
|
l(J, {
|
|
374
374
|
modelValue: r(a).jobStatus,
|
|
375
|
-
"onUpdate:modelValue":
|
|
375
|
+
"onUpdate:modelValue": o[9] || (o[9] = (t) => r(a).jobStatus = t),
|
|
376
376
|
data: r(y).jobStatusDictEnum.values
|
|
377
377
|
}, null, 8, ["modelValue", "data"])
|
|
378
378
|
]),
|
|
@@ -381,16 +381,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
381
381
|
]),
|
|
382
382
|
_: 1
|
|
383
383
|
}),
|
|
384
|
-
l(
|
|
385
|
-
default:
|
|
384
|
+
l(n, { span: 12 }, {
|
|
385
|
+
default: s(() => [
|
|
386
386
|
l(d, {
|
|
387
387
|
label: e.$t("sysUserMan.roleIds"),
|
|
388
388
|
prop: "roleIds"
|
|
389
389
|
}, {
|
|
390
|
-
default:
|
|
390
|
+
default: s(() => [
|
|
391
391
|
l(c, {
|
|
392
392
|
modelValue: r(a).roleIds,
|
|
393
|
-
"onUpdate:modelValue":
|
|
393
|
+
"onUpdate:modelValue": o[10] || (o[10] = (t) => r(a).roleIds = t),
|
|
394
394
|
data: N.value,
|
|
395
395
|
"render-after-expand": !1,
|
|
396
396
|
"show-checkbox": "",
|
|
@@ -406,27 +406,27 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
406
406
|
]),
|
|
407
407
|
_: 1
|
|
408
408
|
}),
|
|
409
|
-
g.value ? D("", !0) : (U(), V(
|
|
409
|
+
g.value ? D("", !0) : (U(), V(n, {
|
|
410
410
|
key: 1,
|
|
411
411
|
span: 12
|
|
412
412
|
}, {
|
|
413
|
-
default:
|
|
413
|
+
default: s(() => [
|
|
414
414
|
l(d, {
|
|
415
415
|
label: e.$t("sysUserMan.userPassword"),
|
|
416
416
|
prop: "userPassword"
|
|
417
417
|
}, {
|
|
418
|
-
default:
|
|
418
|
+
default: s(() => [
|
|
419
419
|
l(f, {
|
|
420
420
|
modelValue: r(a).userPassword,
|
|
421
|
-
"onUpdate:modelValue":
|
|
421
|
+
"onUpdate:modelValue": o[11] || (o[11] = (t) => r(a).userPassword = t),
|
|
422
422
|
clearable: "",
|
|
423
423
|
type: "password",
|
|
424
424
|
"show-password": "",
|
|
425
425
|
placeholder: e.$t("sysUserMan.userPasswordRequired")
|
|
426
426
|
}, {
|
|
427
|
-
append:
|
|
427
|
+
append: s(() => [
|
|
428
428
|
l(h, { onClick: Z }, {
|
|
429
|
-
default:
|
|
429
|
+
default: s(() => [
|
|
430
430
|
I(M(e.$t("sysUserMan.randomPwd")), 1)
|
|
431
431
|
]),
|
|
432
432
|
_: 1
|
|
@@ -440,16 +440,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
440
440
|
]),
|
|
441
441
|
_: 1
|
|
442
442
|
})),
|
|
443
|
-
l(
|
|
444
|
-
default:
|
|
443
|
+
l(n, { span: 24 }, {
|
|
444
|
+
default: s(() => [
|
|
445
445
|
l(d, {
|
|
446
446
|
label: e.$t("sysUserMan.orgIds"),
|
|
447
447
|
prop: "orgIds"
|
|
448
448
|
}, {
|
|
449
|
-
default:
|
|
449
|
+
default: s(() => [
|
|
450
450
|
l(c, {
|
|
451
451
|
modelValue: r(a).orgIds,
|
|
452
|
-
"onUpdate:modelValue":
|
|
452
|
+
"onUpdate:modelValue": o[12] || (o[12] = (t) => r(a).orgIds = t),
|
|
453
453
|
data: r(y).parentIdBizDict.values,
|
|
454
454
|
filterable: "",
|
|
455
455
|
clearable: "",
|
|
@@ -3,7 +3,7 @@ import { ElMessage as q } from "element-plus";
|
|
|
3
3
|
import { useI18n as L } from "vue-i18n";
|
|
4
4
|
import { useRoute as z } from "vue-router";
|
|
5
5
|
import { s as b } from "./index-B6vJj_z6.mjs";
|
|
6
|
-
import { D as G, C as T } from "./index-
|
|
6
|
+
import { D as G, C as T } from "./index-C57850Qg.mjs";
|
|
7
7
|
const H = { class: "dialog-footer" }, Z = /* @__PURE__ */ K({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ R({
|