xyvcard-itsmsys 0.0.13 → 0.0.15
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/avatar-DFToerb2.mjs +4 -0
- package/dist/{edit-IRLCMnWT.mjs → edit-BKRcHRhe.mjs} +1 -1
- package/dist/{edit-CBnnqc6q.mjs → edit-BOYD0hK4.mjs} +2 -2
- package/dist/{edit-g4L03h6h.mjs → edit-BjOW2vs6.mjs} +1 -1
- package/dist/{edit-CuD0yKla.mjs → edit-DNMyksDd.mjs} +1 -1
- package/dist/{edit-D2lhB7lU.mjs → edit-DzjV79y1.mjs} +1 -1
- package/dist/{edit-DQ04LbhC.mjs → edit-b2ih9M1u.mjs} +2 -2
- package/dist/{edit-B7N9QLYv.mjs → edit-mVmM-PRk.mjs} +2 -2
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Daxe3FpV.mjs → edit.vue_vue_type_script_setup_true_lang-CAq_h6E3.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CEzM2X-C.mjs → edit.vue_vue_type_script_setup_true_lang-CHEDA0A_.mjs} +106 -182
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DD9BucLK.mjs → edit.vue_vue_type_script_setup_true_lang-CfUAkfJW.mjs} +106 -182
- package/dist/{edit.vue_vue_type_script_setup_true_lang-SzJApeB-.mjs → edit.vue_vue_type_script_setup_true_lang-DCq50Piw.mjs} +1 -1
- package/dist/{import-upload-Bsl-7w0B.mjs → import-upload-DBaTv04c.mjs} +1 -1
- package/dist/{import-upload-COLdGpcs.mjs → import-upload-DZJ0GptW.mjs} +1 -1
- package/dist/{index-Dh_kNwqv.mjs → index-BXbOuSmq.mjs} +32 -32
- package/dist/{index-DNpEXtyQ.mjs → index-Cd5F5D4a.mjs} +2 -2
- package/dist/{index-BxX1lrD5.mjs → index-CvZlFuc4.mjs} +1 -1
- package/dist/{index-BBPQd1dS.mjs → index-Cy9iOhxs.mjs} +1 -1
- package/dist/{index-B4M6ZC7N.mjs → index-Cz0VExll.mjs} +11 -11
- package/dist/{index-n4FekcLF.mjs → index-D12MySRa.mjs} +33 -33
- package/dist/{index-CzVhcXfx.mjs → index-XoL9Os_9.mjs} +1 -1
- package/dist/{index-Dih4mOx4.mjs → index-qfyel9S8.mjs} +1 -1
- package/dist/index.mjs +14 -14
- package/dist/{index.vue_vue_type_script_setup_true_lang-D0pyunau.mjs → index.vue_vue_type_script_setup_true_lang-MCS-o6Sy.mjs} +2 -2
- package/dist/info--MGKuszF.mjs +194 -0
- package/dist/info-0NbCPcmX.mjs +223 -0
- package/dist/info-CCwx_-dG.mjs +223 -0
- package/dist/{info-XDDe5ve6.mjs → info-CIwhiTud.mjs} +61 -57
- package/dist/info-CPTCNZK-.mjs +223 -0
- package/dist/{info-BHylKqOX.mjs → info-D-UkVKd0.mjs} +47 -46
- package/dist/style.css +1 -1
- package/dts/api/index.d.ts +3 -3
- package/dts/api/itsm-sys-user-ext/types.d.ts +16 -16
- package/dts/constant.d.ts +5 -5
- package/dts/lang/itsmsys/en.d.ts +2 -2
- package/dts/lang/itsmsys/zh-cn.d.ts +8 -8
- package/package.json +1 -1
- package/dist/info-BZOWTNSd.mjs +0 -209
- package/dist/info-CDtqpKVD.mjs +0 -209
- package/dist/info-bwhmPzeG.mjs +0 -190
- package/dist/info-dBqoxL-p.mjs +0 -209
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ElMessage as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { sysUserExtApi as
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
1
|
+
import { defineComponent as B, mergeModels as R, ref as $, useModel as A, reactive as q, resolveComponent as u, openBlock as F, createBlock as G, withCtx as s, createElementVNode as K, createVNode as e, createTextVNode as v, toDisplayString as N, unref as r } from "vue";
|
|
2
|
+
import { ElMessage as j } from "element-plus";
|
|
3
|
+
import { useI18n as Z } from "vue-i18n";
|
|
4
|
+
import { sysUserExtApi as b } from "./index.mjs";
|
|
5
|
+
import { D as f, C as y } from "./index-Cz0VExll.mjs";
|
|
6
|
+
const L = { class: "dialog-footer" }, x = /* @__PURE__ */ B({
|
|
8
7
|
__name: "edit",
|
|
9
|
-
props: /* @__PURE__ */
|
|
8
|
+
props: /* @__PURE__ */ R({
|
|
10
9
|
entityKey: {
|
|
11
10
|
type: Object,
|
|
12
11
|
default: () => {
|
|
@@ -16,25 +15,25 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
16
15
|
modelValue: { type: Boolean },
|
|
17
16
|
modelModifiers: {}
|
|
18
17
|
}),
|
|
19
|
-
emits: /* @__PURE__ */
|
|
20
|
-
setup(
|
|
21
|
-
const { t:
|
|
18
|
+
emits: /* @__PURE__ */ R(["refresh"], ["update:modelValue"]),
|
|
19
|
+
setup(c, { emit: M }) {
|
|
20
|
+
const { t: m } = Z(), U = $(), p = A(c, "modelValue"), V = M;
|
|
22
21
|
f.sysOutBizDict.useValues();
|
|
23
|
-
let
|
|
22
|
+
let o = q({
|
|
24
23
|
requestId: Math.random() * 10 + "",
|
|
25
|
-
updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,
|
|
24
|
+
updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,engineerType,engineerJobMode,engineerSpecialty,engineerCertificate",
|
|
26
25
|
userType: y.userType.outsourceOps,
|
|
27
26
|
jobStatus: y.jobStatus.working,
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
engineerType: y.engineerType.ease_test,
|
|
28
|
+
engineerJobMode: y.engineerJobMode.resident
|
|
30
29
|
});
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
},
|
|
30
|
+
const S = (l, a, n) => {
|
|
31
|
+
a === void 0 && n(new Error(m("sysUserOps.mobilePhoneRequired"))), /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(a) || n(new Error(m("sysUserOps.mobilePhoneRequireds"))), n();
|
|
32
|
+
}, C = q({
|
|
34
33
|
realName: [
|
|
35
34
|
{
|
|
36
35
|
required: !0,
|
|
37
|
-
message:
|
|
36
|
+
message: m("sysUserOps.realNameRequired"),
|
|
38
37
|
trigger: "blur"
|
|
39
38
|
}
|
|
40
39
|
],
|
|
@@ -42,122 +41,105 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
42
41
|
{
|
|
43
42
|
required: !0,
|
|
44
43
|
trigger: "blur",
|
|
45
|
-
validator:
|
|
44
|
+
validator: S
|
|
46
45
|
}
|
|
47
46
|
],
|
|
48
47
|
email: [
|
|
49
48
|
{
|
|
50
49
|
pattern: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/,
|
|
51
|
-
message:
|
|
50
|
+
message: m("sysUserOps.emailRequireds"),
|
|
52
51
|
trigger: "blur"
|
|
53
52
|
}
|
|
54
53
|
],
|
|
55
54
|
idNo: [
|
|
56
55
|
{
|
|
57
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)$/,
|
|
58
|
-
message:
|
|
57
|
+
message: m("sysUserOps.idNoLengthRequired"),
|
|
59
58
|
trigger: "blur"
|
|
60
59
|
}
|
|
61
60
|
],
|
|
62
|
-
|
|
61
|
+
engineerType: [
|
|
63
62
|
{
|
|
64
63
|
required: !0,
|
|
65
|
-
message:
|
|
64
|
+
message: m("sysUserOps.engineerTypeRequired"),
|
|
66
65
|
trigger: "change"
|
|
67
66
|
}
|
|
68
67
|
],
|
|
69
|
-
|
|
68
|
+
engineerJobMode: [
|
|
70
69
|
{
|
|
71
70
|
required: !0,
|
|
72
|
-
message:
|
|
71
|
+
message: m("sysUserOps.engineerJobModeRequired"),
|
|
73
72
|
trigger: "change"
|
|
74
73
|
}
|
|
75
74
|
],
|
|
76
75
|
orgId: [
|
|
77
76
|
{
|
|
78
77
|
required: !0,
|
|
79
|
-
message:
|
|
78
|
+
message: m("sysUserOps.orgIdRequired"),
|
|
80
79
|
trigger: "change"
|
|
81
80
|
}
|
|
82
|
-
],
|
|
83
|
-
userPassword: [
|
|
84
|
-
{
|
|
85
|
-
required: !0,
|
|
86
|
-
message: i("sysUserOps.userPasswordRequired"),
|
|
87
|
-
trigger: "blur"
|
|
88
|
-
}
|
|
89
|
-
],
|
|
90
|
-
loginName: [
|
|
91
|
-
{
|
|
92
|
-
required: !0,
|
|
93
|
-
message: i("sysUserOps.loginNameRequired"),
|
|
94
|
-
trigger: "blur"
|
|
95
|
-
}
|
|
96
81
|
]
|
|
97
|
-
}),
|
|
98
|
-
|
|
99
|
-
Object.assign(
|
|
82
|
+
}), h = c, T = Object.keys(h.entityKey), O = $(T.length >= 1);
|
|
83
|
+
O.value && b.findById(h.entityKey).then(({ data: l }) => {
|
|
84
|
+
Object.assign(o, l), o.gender === "unknown" && (o.gender = "");
|
|
100
85
|
});
|
|
101
|
-
const
|
|
86
|
+
const E = async () => {
|
|
102
87
|
var l;
|
|
103
|
-
await ((l =
|
|
104
|
-
|
|
105
|
-
console.log(n), n.status === 200 && (
|
|
106
|
-
message:
|
|
88
|
+
await ((l = U.value) == null ? void 0 : l.validate((a) => {
|
|
89
|
+
a && (O.value ? b.update(o).then((n) => {
|
|
90
|
+
console.log(n), n.status === 200 && (j({
|
|
91
|
+
message: m("common.submitSuccess"),
|
|
107
92
|
type: "success"
|
|
108
|
-
}), p.value && (p.value = !1),
|
|
109
|
-
}) :
|
|
110
|
-
console.log(n), n.status === 200 && (
|
|
111
|
-
message:
|
|
93
|
+
}), p.value && (p.value = !1), V("refresh", n.status === 200));
|
|
94
|
+
}) : b.create(o).then((n) => {
|
|
95
|
+
console.log(n), n.status === 200 && (j({
|
|
96
|
+
message: m("common.submitSuccess"),
|
|
112
97
|
type: "success"
|
|
113
|
-
}), p.value && (p.value = !1),
|
|
98
|
+
}), p.value && (p.value = !1), V("refresh", n.status === 200));
|
|
114
99
|
}));
|
|
115
100
|
}));
|
|
116
101
|
};
|
|
117
|
-
function D() {
|
|
118
|
-
a.userPassword = H();
|
|
119
|
-
}
|
|
120
102
|
function _() {
|
|
121
103
|
p.value && (p.value = !1);
|
|
122
104
|
}
|
|
123
|
-
return (l,
|
|
124
|
-
const n =
|
|
125
|
-
return
|
|
105
|
+
return (l, a) => {
|
|
106
|
+
const n = u("jmash-select"), d = u("el-form-item"), i = u("el-col"), g = u("el-input"), I = u("jmash-enum-select"), D = u("jmash-dict-select"), J = u("jmash-enum-radio"), P = u("el-row"), k = u("el-form"), w = u("el-button"), z = u("el-dialog");
|
|
107
|
+
return F(), G(z, {
|
|
126
108
|
modelValue: p.value,
|
|
127
|
-
"onUpdate:modelValue":
|
|
109
|
+
"onUpdate:modelValue": a[11] || (a[11] = (t) => p.value = t),
|
|
128
110
|
onClose: _
|
|
129
111
|
}, {
|
|
130
112
|
footer: s(() => [
|
|
131
|
-
|
|
132
|
-
e(
|
|
113
|
+
K("div", L, [
|
|
114
|
+
e(w, { onClick: _ }, {
|
|
133
115
|
default: s(() => [
|
|
134
|
-
|
|
116
|
+
v(N(l.$t("common.cancel")), 1)
|
|
135
117
|
]),
|
|
136
118
|
_: 1
|
|
137
119
|
}),
|
|
138
|
-
e(
|
|
120
|
+
e(w, {
|
|
139
121
|
type: "primary",
|
|
140
|
-
onClick:
|
|
122
|
+
onClick: E
|
|
141
123
|
}, {
|
|
142
124
|
default: s(() => [
|
|
143
|
-
|
|
125
|
+
v(N(l.$t("common.confirm")), 1)
|
|
144
126
|
]),
|
|
145
127
|
_: 1
|
|
146
128
|
})
|
|
147
129
|
])
|
|
148
130
|
]),
|
|
149
131
|
default: s(() => [
|
|
150
|
-
e(
|
|
132
|
+
e(k, {
|
|
151
133
|
ref_key: "sysUserExtFormRef",
|
|
152
|
-
ref:
|
|
153
|
-
model: r(
|
|
134
|
+
ref: U,
|
|
135
|
+
model: r(o),
|
|
154
136
|
"label-width": "100px",
|
|
155
|
-
rules:
|
|
137
|
+
rules: C
|
|
156
138
|
}, {
|
|
157
139
|
default: s(() => [
|
|
158
|
-
e(
|
|
140
|
+
e(P, null, {
|
|
159
141
|
default: s(() => [
|
|
160
|
-
e(
|
|
142
|
+
e(i, { span: 12 }, {
|
|
161
143
|
default: s(() => [
|
|
162
144
|
e(d, {
|
|
163
145
|
label: l.$t("sysUserOps.orgId"),
|
|
@@ -165,8 +147,8 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
165
147
|
}, {
|
|
166
148
|
default: s(() => [
|
|
167
149
|
e(n, {
|
|
168
|
-
modelValue: r(
|
|
169
|
-
"onUpdate:modelValue":
|
|
150
|
+
modelValue: r(o).orgId,
|
|
151
|
+
"onUpdate:modelValue": a[0] || (a[0] = (t) => r(o).orgId = t),
|
|
170
152
|
placeholder: l.$t("sysUserOps.orgIdRequired"),
|
|
171
153
|
data: r(f).sysOutBizDict.values,
|
|
172
154
|
clearable: "",
|
|
@@ -178,31 +160,7 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
178
160
|
]),
|
|
179
161
|
_: 1
|
|
180
162
|
}),
|
|
181
|
-
|
|
182
|
-
key: 0,
|
|
183
|
-
span: 12
|
|
184
|
-
}, {
|
|
185
|
-
default: s(() => [
|
|
186
|
-
e(d, {
|
|
187
|
-
label: l.$t("sysUserOps.loginName"),
|
|
188
|
-
prop: "loginName"
|
|
189
|
-
}, {
|
|
190
|
-
default: s(() => [
|
|
191
|
-
e(g, {
|
|
192
|
-
modelValue: r(a).loginName,
|
|
193
|
-
"onUpdate:modelValue": o[1] || (o[1] = (t) => r(a).loginName = t),
|
|
194
|
-
clearable: "",
|
|
195
|
-
placeholder: l.$t("sysUserOps.loginNameRequired"),
|
|
196
|
-
maxlength: "30",
|
|
197
|
-
"show-word-limit": ""
|
|
198
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
199
|
-
]),
|
|
200
|
-
_: 1
|
|
201
|
-
}, 8, ["label"])
|
|
202
|
-
]),
|
|
203
|
-
_: 1
|
|
204
|
-
})),
|
|
205
|
-
e(u, { span: 12 }, {
|
|
163
|
+
e(i, { span: 12 }, {
|
|
206
164
|
default: s(() => [
|
|
207
165
|
e(d, {
|
|
208
166
|
label: l.$t("sysUserOps.realName"),
|
|
@@ -210,8 +168,8 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
210
168
|
}, {
|
|
211
169
|
default: s(() => [
|
|
212
170
|
e(g, {
|
|
213
|
-
modelValue: r(
|
|
214
|
-
"onUpdate:modelValue":
|
|
171
|
+
modelValue: r(o).realName,
|
|
172
|
+
"onUpdate:modelValue": a[1] || (a[1] = (t) => r(o).realName = t),
|
|
215
173
|
placeholder: l.$t("sysUserOps.realNameRequired"),
|
|
216
174
|
maxlength: "8",
|
|
217
175
|
"show-word-limit": "",
|
|
@@ -223,16 +181,16 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
223
181
|
]),
|
|
224
182
|
_: 1
|
|
225
183
|
}),
|
|
226
|
-
e(
|
|
184
|
+
e(i, { span: 12 }, {
|
|
227
185
|
default: s(() => [
|
|
228
186
|
e(d, {
|
|
229
187
|
label: l.$t("sysUserOps.gender"),
|
|
230
188
|
prop: "gender"
|
|
231
189
|
}, {
|
|
232
190
|
default: s(() => [
|
|
233
|
-
e(
|
|
234
|
-
modelValue: r(
|
|
235
|
-
"onUpdate:modelValue":
|
|
191
|
+
e(I, {
|
|
192
|
+
modelValue: r(o).gender,
|
|
193
|
+
"onUpdate:modelValue": a[2] || (a[2] = (t) => r(o).gender = t),
|
|
236
194
|
clearable: "",
|
|
237
195
|
placeholder: l.$t("sysUserOps.genderRequired"),
|
|
238
196
|
"enum-type": "jmash.protobuf.Gender",
|
|
@@ -244,7 +202,7 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
244
202
|
]),
|
|
245
203
|
_: 1
|
|
246
204
|
}),
|
|
247
|
-
e(
|
|
205
|
+
e(i, { span: 12 }, {
|
|
248
206
|
default: s(() => [
|
|
249
207
|
e(d, {
|
|
250
208
|
label: l.$t("sysUserOps.mobilePhone"),
|
|
@@ -252,8 +210,8 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
252
210
|
}, {
|
|
253
211
|
default: s(() => [
|
|
254
212
|
e(g, {
|
|
255
|
-
modelValue: r(
|
|
256
|
-
"onUpdate:modelValue":
|
|
213
|
+
modelValue: r(o).mobilePhone,
|
|
214
|
+
"onUpdate:modelValue": a[3] || (a[3] = (t) => r(o).mobilePhone = t),
|
|
257
215
|
placeholder: l.$t("sysUserOps.mobilePhoneRequired"),
|
|
258
216
|
maxlength: "11",
|
|
259
217
|
"show-word-limit": "",
|
|
@@ -265,7 +223,7 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
265
223
|
]),
|
|
266
224
|
_: 1
|
|
267
225
|
}),
|
|
268
|
-
e(
|
|
226
|
+
e(i, { span: 12 }, {
|
|
269
227
|
default: s(() => [
|
|
270
228
|
e(d, {
|
|
271
229
|
label: l.$t("sysUserOps.email"),
|
|
@@ -273,8 +231,8 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
273
231
|
}, {
|
|
274
232
|
default: s(() => [
|
|
275
233
|
e(g, {
|
|
276
|
-
modelValue: r(
|
|
277
|
-
"onUpdate:modelValue":
|
|
234
|
+
modelValue: r(o).email,
|
|
235
|
+
"onUpdate:modelValue": a[4] || (a[4] = (t) => r(o).email = t),
|
|
278
236
|
placeholder: l.$t("sysUserOps.emailRequired"),
|
|
279
237
|
maxlength: "30",
|
|
280
238
|
"show-word-limit": "",
|
|
@@ -286,7 +244,7 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
286
244
|
]),
|
|
287
245
|
_: 1
|
|
288
246
|
}),
|
|
289
|
-
e(
|
|
247
|
+
e(i, { span: 12 }, {
|
|
290
248
|
default: s(() => [
|
|
291
249
|
e(d, {
|
|
292
250
|
label: l.$t("sysUserOps.idNo"),
|
|
@@ -294,8 +252,8 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
294
252
|
}, {
|
|
295
253
|
default: s(() => [
|
|
296
254
|
e(g, {
|
|
297
|
-
modelValue: r(
|
|
298
|
-
"onUpdate:modelValue":
|
|
255
|
+
modelValue: r(o).idNo,
|
|
256
|
+
"onUpdate:modelValue": a[5] || (a[5] = (t) => r(o).idNo = t),
|
|
299
257
|
placeholder: l.$t("sysUserOps.idNoRequired"),
|
|
300
258
|
maxlength: "18",
|
|
301
259
|
"show-word-limit": "",
|
|
@@ -307,18 +265,18 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
307
265
|
]),
|
|
308
266
|
_: 1
|
|
309
267
|
}),
|
|
310
|
-
e(
|
|
268
|
+
e(i, { span: 12 }, {
|
|
311
269
|
default: s(() => [
|
|
312
270
|
e(d, {
|
|
313
|
-
label: l.$t("sysUserOps.
|
|
314
|
-
prop: "
|
|
271
|
+
label: l.$t("sysUserOps.engineerType"),
|
|
272
|
+
prop: "engineerType"
|
|
315
273
|
}, {
|
|
316
274
|
default: s(() => [
|
|
317
275
|
e(n, {
|
|
318
|
-
modelValue: r(
|
|
319
|
-
"onUpdate:modelValue":
|
|
320
|
-
placeholder: l.$t("sysUserOps.
|
|
321
|
-
data: r(f).
|
|
276
|
+
modelValue: r(o).engineerType,
|
|
277
|
+
"onUpdate:modelValue": a[6] || (a[6] = (t) => r(o).engineerType = t),
|
|
278
|
+
placeholder: l.$t("sysUserOps.engineerTypeRequired"),
|
|
279
|
+
data: r(f).engineerTypeDictEnum.values,
|
|
322
280
|
clearable: "",
|
|
323
281
|
class: "w-full"
|
|
324
282
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -328,18 +286,18 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
328
286
|
]),
|
|
329
287
|
_: 1
|
|
330
288
|
}),
|
|
331
|
-
e(
|
|
289
|
+
e(i, { span: 12 }, {
|
|
332
290
|
default: s(() => [
|
|
333
291
|
e(d, {
|
|
334
|
-
label: l.$t("sysUserOps.
|
|
335
|
-
prop: "
|
|
292
|
+
label: l.$t("sysUserOps.engineerCertificate"),
|
|
293
|
+
prop: "engineerCertificate"
|
|
336
294
|
}, {
|
|
337
295
|
default: s(() => [
|
|
338
|
-
e(
|
|
339
|
-
modelValue: r(
|
|
340
|
-
"onUpdate:modelValue":
|
|
341
|
-
placeholder: l.$t("sysUserOps.
|
|
342
|
-
"type-code": r(y).
|
|
296
|
+
e(D, {
|
|
297
|
+
modelValue: r(o).engineerCertificate,
|
|
298
|
+
"onUpdate:modelValue": a[7] || (a[7] = (t) => r(o).engineerCertificate = t),
|
|
299
|
+
placeholder: l.$t("sysUserOps.engineerCertificateRequired"),
|
|
300
|
+
"type-code": r(y).DICT_ENGINEER_GRADE,
|
|
343
301
|
clearable: "",
|
|
344
302
|
filterable: "",
|
|
345
303
|
class: "w-full"
|
|
@@ -350,18 +308,18 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
350
308
|
]),
|
|
351
309
|
_: 1
|
|
352
310
|
}),
|
|
353
|
-
e(
|
|
311
|
+
e(i, { span: 12 }, {
|
|
354
312
|
default: s(() => [
|
|
355
313
|
e(d, {
|
|
356
|
-
label: l.$t("sysUserOps.
|
|
357
|
-
prop: "
|
|
314
|
+
label: l.$t("sysUserOps.engineerJobMode"),
|
|
315
|
+
prop: "engineerJobMode"
|
|
358
316
|
}, {
|
|
359
317
|
default: s(() => [
|
|
360
318
|
e(n, {
|
|
361
|
-
modelValue: r(
|
|
362
|
-
"onUpdate:modelValue":
|
|
363
|
-
placeholder: l.$t("sysUserOps.
|
|
364
|
-
data: r(f).
|
|
319
|
+
modelValue: r(o).engineerJobMode,
|
|
320
|
+
"onUpdate:modelValue": a[8] || (a[8] = (t) => r(o).engineerJobMode = t),
|
|
321
|
+
placeholder: l.$t("sysUserOps.engineerJobModeRequired"),
|
|
322
|
+
data: r(f).engineerJobModeDictEnum.values,
|
|
365
323
|
clearable: "",
|
|
366
324
|
class: "w-full"
|
|
367
325
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -371,16 +329,16 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
371
329
|
]),
|
|
372
330
|
_: 1
|
|
373
331
|
}),
|
|
374
|
-
e(
|
|
332
|
+
e(i, { span: 12 }, {
|
|
375
333
|
default: s(() => [
|
|
376
334
|
e(d, {
|
|
377
335
|
label: l.$t("sysUserOps.jobStatus"),
|
|
378
336
|
prop: "jobStatus"
|
|
379
337
|
}, {
|
|
380
338
|
default: s(() => [
|
|
381
|
-
e(
|
|
382
|
-
modelValue: r(
|
|
383
|
-
"onUpdate:modelValue":
|
|
339
|
+
e(J, {
|
|
340
|
+
modelValue: r(o).jobStatus,
|
|
341
|
+
"onUpdate:modelValue": a[9] || (a[9] = (t) => r(o).jobStatus = t),
|
|
384
342
|
data: r(f).jobStatusDictEnum.values
|
|
385
343
|
}, null, 8, ["modelValue", "data"])
|
|
386
344
|
]),
|
|
@@ -389,51 +347,17 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
389
347
|
]),
|
|
390
348
|
_: 1
|
|
391
349
|
}),
|
|
392
|
-
|
|
393
|
-
key: 1,
|
|
394
|
-
span: 12
|
|
395
|
-
}, {
|
|
396
|
-
default: s(() => [
|
|
397
|
-
e(d, {
|
|
398
|
-
label: l.$t("sysUserOps.userPassword"),
|
|
399
|
-
prop: "userPassword"
|
|
400
|
-
}, {
|
|
401
|
-
default: s(() => [
|
|
402
|
-
e(g, {
|
|
403
|
-
modelValue: r(a).userPassword,
|
|
404
|
-
"onUpdate:modelValue": o[11] || (o[11] = (t) => r(a).userPassword = t),
|
|
405
|
-
clearable: "",
|
|
406
|
-
type: "password",
|
|
407
|
-
"show-password": "",
|
|
408
|
-
placeholder: l.$t("sysUserOps.userPasswordRequired")
|
|
409
|
-
}, {
|
|
410
|
-
append: s(() => [
|
|
411
|
-
e(c, { onClick: D }, {
|
|
412
|
-
default: s(() => [
|
|
413
|
-
h(O(l.$t("sysUserOps.randomPwd")), 1)
|
|
414
|
-
]),
|
|
415
|
-
_: 1
|
|
416
|
-
})
|
|
417
|
-
]),
|
|
418
|
-
_: 1
|
|
419
|
-
}, 8, ["modelValue", "placeholder"])
|
|
420
|
-
]),
|
|
421
|
-
_: 1
|
|
422
|
-
}, 8, ["label"])
|
|
423
|
-
]),
|
|
424
|
-
_: 1
|
|
425
|
-
})),
|
|
426
|
-
e(u, { span: 24 }, {
|
|
350
|
+
e(i, { span: 24 }, {
|
|
427
351
|
default: s(() => [
|
|
428
352
|
e(d, {
|
|
429
|
-
label: l.$t("sysUserOps.
|
|
430
|
-
prop: "
|
|
353
|
+
label: l.$t("sysUserOps.engineerSpecialty"),
|
|
354
|
+
prop: "engineerSpecialty"
|
|
431
355
|
}, {
|
|
432
356
|
default: s(() => [
|
|
433
357
|
e(g, {
|
|
434
|
-
modelValue: r(
|
|
435
|
-
"onUpdate:modelValue":
|
|
436
|
-
placeholder: l.$t("sysUserOps.
|
|
358
|
+
modelValue: r(o).engineerSpecialty,
|
|
359
|
+
"onUpdate:modelValue": a[10] || (a[10] = (t) => r(o).engineerSpecialty = t),
|
|
360
|
+
placeholder: l.$t("sysUserOps.engineerSpecialtyRequired"),
|
|
437
361
|
type: "textarea",
|
|
438
362
|
autosize: { minRows: 2 },
|
|
439
363
|
maxlength: "200",
|
|
@@ -459,5 +383,5 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
459
383
|
}
|
|
460
384
|
});
|
|
461
385
|
export {
|
|
462
|
-
|
|
386
|
+
x as _
|
|
463
387
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 o, 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-Cz0VExll.mjs";
|
|
5
5
|
import { deptApi as ee, jobApi as le, roleApi as ae } from "jmash-rbac";
|
|
6
6
|
import { sysUserExtApi as $, sysOrgApi as oe } from "./index.mjs";
|
|
7
7
|
import { generateRandomKey as se } from "jmash-core";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComp
|
|
|
2
2
|
import { useI18n as L } from "vue-i18n";
|
|
3
3
|
import { ElMessage as f } from "element-plus";
|
|
4
4
|
import { fileApi as w, useUserStore as D } from "jmash-core";
|
|
5
|
-
import { D as I } from "./index-
|
|
5
|
+
import { D as I } from "./index-Cz0VExll.mjs";
|
|
6
6
|
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-primary)" } }, X = { class: "dialog-footer" }, Y = /* @__PURE__ */ A({
|
|
8
8
|
__name: "import-upload",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComp
|
|
|
2
2
|
import { useI18n as L } from "vue-i18n";
|
|
3
3
|
import { ElMessage as f } from "element-plus";
|
|
4
4
|
import { fileApi as w, useUserStore as D } from "jmash-core";
|
|
5
|
-
import { D as I } from "./index-
|
|
5
|
+
import { D as I } from "./index-Cz0VExll.mjs";
|
|
6
6
|
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-primary)" } }, X = { class: "dialog-footer" }, Y = /* @__PURE__ */ A({
|
|
8
8
|
__name: "import-upload",
|