xyvcard-itsmsys 0.0.10 → 0.0.11
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-RSO388mB.mjs → edit-BSIP_9Mq.mjs} +112 -114
- package/dist/{edit-DG_Iw1-J.mjs → edit-BcE5qrWo.mjs} +1 -1
- package/dist/{edit-BNe0hNw4.mjs → edit-BsUWSNnA.mjs} +108 -110
- package/dist/{edit-DdUUCXSa.mjs → edit-CW0kqOpj.mjs} +1 -1
- package/dist/{edit-BqPZHwxi.mjs → edit-CiCHPkRg.mjs} +1 -1
- package/dist/{edit-CyM6IuLb.mjs → edit-Dxs-2AFY.mjs} +118 -120
- package/dist/{edit-CwV1OVfe.mjs → edit-znznl9Td.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DsN204D0.mjs → edit.vue_vue_type_script_setup_true_lang-BZ-sa6BZ.mjs} +125 -143
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BQeZknmJ.mjs → edit.vue_vue_type_script_setup_true_lang-DOiO9REN.mjs} +128 -146
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs → edit.vue_vue_type_script_setup_true_lang-DjrTJAzO.mjs} +1 -1
- package/dist/edit.vue_vue_type_script_setup_true_lang-PDq1GpSZ.mjs +404 -0
- package/dist/{index-CMBtB1kH.mjs → index-4qnVgDwe.mjs} +4 -4
- package/dist/index-B2xwBTw-.mjs +20 -0
- package/dist/{index-CI8Z4rNf.mjs → index-BIvJ7rs4.mjs} +1 -1
- package/dist/{index-w2SWNZRB.mjs → index-BTO0NHK6.mjs} +2 -2
- package/dist/{index-NugT80P7.mjs → index-BV3Je3Rq.mjs} +1 -1
- package/dist/{index-DirPUdCN.mjs → index-CNRO77Xg.mjs} +1 -1
- package/dist/{index-DxILUznW.mjs → index-CzE5REdf.mjs} +1 -1
- package/dist/{index-CNGaGeE7.mjs → index-Hh4b5GAI.mjs} +2 -2
- package/dist/{index-CQ5Bo5a2.mjs → index-cBbN-uY2.mjs} +50 -30
- package/dist/index.mjs +481 -483
- package/dist/{index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs → index.vue_vue_type_script_setup_true_lang-B18iZWXl.mjs} +2 -2
- package/dist/{info-Dilg-bji.mjs → info-BCPme1g5.mjs} +1 -1
- package/dist/{info-BFZTqoY3.mjs → info-BP7wPWFZ.mjs} +1 -1
- package/dist/{info-DReeRuaA.mjs → info-CtGMbfQJ.mjs} +1 -1
- package/dist/{info-CXx2899k.mjs → info-DCRqBi8M.mjs} +3 -3
- package/dist/{info-DvYUiSRY.mjs → info-DRYPl2T-.mjs} +3 -3
- package/dist/{info-C0OHjgoS.mjs → info-Dk3RzCIp.mjs} +11 -11
- package/dist/style.css +1 -1
- package/dts/api/itsm-sys-org/types.d.ts +0 -2
- package/dts/api/itsm-sys-org-invoice/types.d.ts +0 -1
- package/dts/api/itsm-sys-user-ext/types.d.ts +0 -1
- package/dts/constant.d.ts +13 -0
- package/dts/index.d.ts +0 -1
- package/dts/lang/itsmsys/zh-cn.d.ts +9 -11
- package/package.json +3 -3
- package/dist/common-B2PCBCJ2.mjs +0 -13
- package/dist/edit.vue_vue_type_script_setup_true_lang-CX_5__mh.mjs +0 -438
- package/dist/index-BRupqW34.mjs +0 -96
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ElMessage as
|
|
3
|
-
import { useI18n as
|
|
1
|
+
import { defineComponent as K, mergeModels as M, ref as N, useModel as Z, reactive as P, resolveComponent as p, openBlock as f, createBlock as O, withCtx as l, createElementVNode as L, createVNode as e, createTextVNode as b, toDisplayString as c, unref as t, createElementBlock as G, Fragment as X, renderList as H, createCommentVNode as Q } from "vue";
|
|
2
|
+
import { ElMessage as S } from "element-plus";
|
|
3
|
+
import { useI18n as W } from "vue-i18n";
|
|
4
4
|
import { sysUserExtApi as w } from "./index.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { D as
|
|
7
|
-
const
|
|
5
|
+
import { generateRandomKey as Y } from "jmash-core";
|
|
6
|
+
import { D as y, C as U } from "./index-cBbN-uY2.mjs";
|
|
7
|
+
const x = { class: "dialog-footer" }, te = /* @__PURE__ */ K({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ M({
|
|
10
10
|
entityKey: {
|
|
@@ -17,162 +17,151 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
|
|
|
17
17
|
modelModifiers: {}
|
|
18
18
|
}),
|
|
19
19
|
emits: /* @__PURE__ */ M(["refresh"], ["update:modelValue"]),
|
|
20
|
-
setup(
|
|
21
|
-
const { t:
|
|
22
|
-
|
|
23
|
-
let
|
|
20
|
+
setup(_, { emit: j }) {
|
|
21
|
+
const { t: u } = W(), q = N(), m = Z(_, "modelValue"), R = j;
|
|
22
|
+
y.sysOrgBizDict.useValues();
|
|
23
|
+
let a = P({
|
|
24
24
|
requestId: Math.random() * 10 + "",
|
|
25
25
|
updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,engineeType,engineeJobMode,engineeSpecialty",
|
|
26
|
-
userType:
|
|
26
|
+
userType: U.userType.companyOps,
|
|
27
|
+
jobStatus: U.jobStatus.working,
|
|
28
|
+
engineeType: U.engineeType.ease_test,
|
|
29
|
+
engineeJobMode: U.engineeJobMode.resident
|
|
27
30
|
});
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
+
const T = (s, o, n) => {
|
|
32
|
+
o === void 0 && n(new Error(u("sysUserOps.mobilePhoneRequired"))), /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(o) || n(new Error(u("sysUserOps.mobilePhoneRequireds"))), n();
|
|
33
|
+
}, k = P({
|
|
31
34
|
realName: [
|
|
32
35
|
{
|
|
33
36
|
required: !0,
|
|
34
|
-
message:
|
|
37
|
+
message: u("sysUserOps.realNameRequired"),
|
|
35
38
|
trigger: "blur"
|
|
36
39
|
}
|
|
37
40
|
],
|
|
38
|
-
gender: [
|
|
39
|
-
{
|
|
40
|
-
required: !0,
|
|
41
|
-
message: n("sysUserOps.genderRequired"),
|
|
42
|
-
trigger: "change"
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
41
|
mobilePhone: [
|
|
46
42
|
{
|
|
47
43
|
required: !0,
|
|
48
44
|
trigger: "blur",
|
|
49
|
-
validator:
|
|
45
|
+
validator: T
|
|
50
46
|
}
|
|
51
47
|
],
|
|
52
48
|
email: [
|
|
53
49
|
{
|
|
54
50
|
pattern: /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/,
|
|
55
|
-
message:
|
|
51
|
+
message: u("sysUserOps.emailRequireds"),
|
|
56
52
|
trigger: "blur"
|
|
57
53
|
}
|
|
58
54
|
],
|
|
59
55
|
idNo: [
|
|
60
56
|
{
|
|
61
57
|
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)$/,
|
|
62
|
-
message:
|
|
58
|
+
message: u("sysUserOps.idNoLengthRequired"),
|
|
63
59
|
trigger: "blur"
|
|
64
60
|
}
|
|
65
61
|
],
|
|
66
|
-
jobStatus: [
|
|
67
|
-
{
|
|
68
|
-
required: !0,
|
|
69
|
-
message: n("sysUserOps.jobStatusRequired"),
|
|
70
|
-
trigger: "change"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
62
|
engineeType: [
|
|
74
63
|
{
|
|
75
64
|
required: !0,
|
|
76
|
-
message:
|
|
65
|
+
message: u("sysUserOps.engineeTypeRequired"),
|
|
77
66
|
trigger: "change"
|
|
78
67
|
}
|
|
79
68
|
],
|
|
80
69
|
engineeJobMode: [
|
|
81
70
|
{
|
|
82
71
|
required: !0,
|
|
83
|
-
message:
|
|
72
|
+
message: u("sysUserOps.engineeJobModeRequired"),
|
|
84
73
|
trigger: "change"
|
|
85
74
|
}
|
|
86
75
|
],
|
|
87
76
|
orgId: [
|
|
88
77
|
{
|
|
89
78
|
required: !0,
|
|
90
|
-
message:
|
|
79
|
+
message: u("sysUserOps.orgIdRequired"),
|
|
91
80
|
trigger: "change"
|
|
92
81
|
}
|
|
93
82
|
],
|
|
94
83
|
userPassword: [
|
|
95
84
|
{
|
|
96
85
|
required: !0,
|
|
97
|
-
message:
|
|
86
|
+
message: u("sysUserOps.userPasswordRequired"),
|
|
98
87
|
trigger: "blur"
|
|
99
88
|
}
|
|
100
89
|
]
|
|
101
|
-
}),
|
|
102
|
-
|
|
103
|
-
Object.assign(
|
|
90
|
+
}), $ = _, E = Object.keys($.entityKey), V = N(E.length >= 1);
|
|
91
|
+
V.value && w.findById($.entityKey).then(({ data: s }) => {
|
|
92
|
+
Object.assign(a, s);
|
|
104
93
|
});
|
|
105
|
-
const
|
|
94
|
+
const I = async () => {
|
|
106
95
|
var s;
|
|
107
|
-
await ((s =
|
|
108
|
-
|
|
109
|
-
console.log(
|
|
110
|
-
message:
|
|
96
|
+
await ((s = q.value) == null ? void 0 : s.validate((o) => {
|
|
97
|
+
o && (V.value ? w.update(a).then((n) => {
|
|
98
|
+
console.log(n), n.status === 200 && (S({
|
|
99
|
+
message: u("common.submitSuccess"),
|
|
111
100
|
type: "success"
|
|
112
|
-
}), m.value && (m.value = !1),
|
|
113
|
-
}) : w.create(
|
|
114
|
-
console.log(
|
|
115
|
-
message:
|
|
101
|
+
}), m.value && (m.value = !1), R("refresh", n.status === 200));
|
|
102
|
+
}) : w.create(a).then((n) => {
|
|
103
|
+
console.log(n), n.status === 200 && (S({
|
|
104
|
+
message: u("common.submitSuccess"),
|
|
116
105
|
type: "success"
|
|
117
|
-
}), m.value && (m.value = !1),
|
|
106
|
+
}), m.value && (m.value = !1), R("refresh", n.status === 200));
|
|
118
107
|
}));
|
|
119
108
|
}));
|
|
120
109
|
};
|
|
121
110
|
function J() {
|
|
122
|
-
|
|
111
|
+
a.userPassword = Y();
|
|
123
112
|
}
|
|
124
|
-
function
|
|
113
|
+
function v() {
|
|
125
114
|
m.value && (m.value = !1);
|
|
126
115
|
}
|
|
127
|
-
return (s,
|
|
128
|
-
const
|
|
129
|
-
return
|
|
116
|
+
return (s, o) => {
|
|
117
|
+
const n = p("jmash-select"), d = p("el-form-item"), i = p("el-col"), g = p("el-input"), C = p("jmash-enum-select"), D = p("el-radio"), B = p("el-radio-group"), h = p("el-button"), z = p("el-row"), A = p("el-form"), F = p("el-dialog");
|
|
118
|
+
return f(), O(F, {
|
|
130
119
|
modelValue: m.value,
|
|
131
|
-
"onUpdate:modelValue":
|
|
132
|
-
onClose:
|
|
120
|
+
"onUpdate:modelValue": o[11] || (o[11] = (r) => m.value = r),
|
|
121
|
+
onClose: v
|
|
133
122
|
}, {
|
|
134
123
|
footer: l(() => [
|
|
135
|
-
|
|
136
|
-
e(
|
|
124
|
+
L("div", x, [
|
|
125
|
+
e(h, { onClick: v }, {
|
|
137
126
|
default: l(() => [
|
|
138
|
-
|
|
127
|
+
b(c(s.$t("common.cancel")), 1)
|
|
139
128
|
]),
|
|
140
129
|
_: 1
|
|
141
130
|
}),
|
|
142
|
-
e(
|
|
131
|
+
e(h, {
|
|
143
132
|
type: "primary",
|
|
144
|
-
onClick:
|
|
133
|
+
onClick: I
|
|
145
134
|
}, {
|
|
146
135
|
default: l(() => [
|
|
147
|
-
|
|
136
|
+
b(c(s.$t("common.confirm")), 1)
|
|
148
137
|
]),
|
|
149
138
|
_: 1
|
|
150
139
|
})
|
|
151
140
|
])
|
|
152
141
|
]),
|
|
153
142
|
default: l(() => [
|
|
154
|
-
e(
|
|
143
|
+
e(A, {
|
|
155
144
|
ref_key: "sysUserExtFormRef",
|
|
156
|
-
ref:
|
|
157
|
-
model:
|
|
145
|
+
ref: q,
|
|
146
|
+
model: t(a),
|
|
158
147
|
"label-width": "100px",
|
|
159
|
-
rules:
|
|
148
|
+
rules: k
|
|
160
149
|
}, {
|
|
161
150
|
default: l(() => [
|
|
162
|
-
e(
|
|
151
|
+
e(z, null, {
|
|
163
152
|
default: l(() => [
|
|
164
|
-
e(
|
|
153
|
+
e(i, { span: 12 }, {
|
|
165
154
|
default: l(() => [
|
|
166
|
-
e(
|
|
155
|
+
e(d, {
|
|
167
156
|
label: s.$t("sysUserOps.orgId"),
|
|
168
157
|
prop: "orgId"
|
|
169
158
|
}, {
|
|
170
159
|
default: l(() => [
|
|
171
|
-
e(
|
|
172
|
-
modelValue:
|
|
173
|
-
"onUpdate:modelValue":
|
|
160
|
+
e(n, {
|
|
161
|
+
modelValue: t(a).orgId,
|
|
162
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => t(a).orgId = r),
|
|
174
163
|
placeholder: s.$t("sysUserOps.orgIdRequired"),
|
|
175
|
-
data:
|
|
164
|
+
data: t(y).sysOrgBizDict.values,
|
|
176
165
|
clearable: "",
|
|
177
166
|
class: "w-full"
|
|
178
167
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -182,16 +171,16 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
|
|
|
182
171
|
]),
|
|
183
172
|
_: 1
|
|
184
173
|
}),
|
|
185
|
-
e(
|
|
174
|
+
e(i, { span: 12 }, {
|
|
186
175
|
default: l(() => [
|
|
187
|
-
e(
|
|
176
|
+
e(d, {
|
|
188
177
|
label: s.$t("sysUserOps.realName"),
|
|
189
178
|
prop: "realName"
|
|
190
179
|
}, {
|
|
191
180
|
default: l(() => [
|
|
192
181
|
e(g, {
|
|
193
|
-
modelValue:
|
|
194
|
-
"onUpdate:modelValue":
|
|
182
|
+
modelValue: t(a).realName,
|
|
183
|
+
"onUpdate:modelValue": o[1] || (o[1] = (r) => t(a).realName = r),
|
|
195
184
|
placeholder: s.$t("sysUserOps.realNameRequired"),
|
|
196
185
|
maxlength: "8",
|
|
197
186
|
"show-word-limit": "",
|
|
@@ -203,16 +192,16 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
|
|
|
203
192
|
]),
|
|
204
193
|
_: 1
|
|
205
194
|
}),
|
|
206
|
-
e(
|
|
195
|
+
e(i, { span: 12 }, {
|
|
207
196
|
default: l(() => [
|
|
208
|
-
e(
|
|
197
|
+
e(d, {
|
|
209
198
|
label: s.$t("sysUserOps.gender"),
|
|
210
199
|
prop: "gender"
|
|
211
200
|
}, {
|
|
212
201
|
default: l(() => [
|
|
213
|
-
e(
|
|
214
|
-
modelValue:
|
|
215
|
-
"onUpdate:modelValue":
|
|
202
|
+
e(C, {
|
|
203
|
+
modelValue: t(a).gender,
|
|
204
|
+
"onUpdate:modelValue": o[2] || (o[2] = (r) => t(a).gender = r),
|
|
216
205
|
clearable: "",
|
|
217
206
|
placeholder: s.$t("sysUserOps.genderRequired"),
|
|
218
207
|
"enum-type": "jmash.protobuf.Gender",
|
|
@@ -224,16 +213,16 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
|
|
|
224
213
|
]),
|
|
225
214
|
_: 1
|
|
226
215
|
}),
|
|
227
|
-
e(
|
|
216
|
+
e(i, { span: 12 }, {
|
|
228
217
|
default: l(() => [
|
|
229
|
-
e(
|
|
218
|
+
e(d, {
|
|
230
219
|
label: s.$t("sysUserOps.mobilePhone"),
|
|
231
220
|
prop: "mobilePhone"
|
|
232
221
|
}, {
|
|
233
222
|
default: l(() => [
|
|
234
223
|
e(g, {
|
|
235
|
-
modelValue:
|
|
236
|
-
"onUpdate:modelValue":
|
|
224
|
+
modelValue: t(a).mobilePhone,
|
|
225
|
+
"onUpdate:modelValue": o[3] || (o[3] = (r) => t(a).mobilePhone = r),
|
|
237
226
|
placeholder: s.$t("sysUserOps.mobilePhoneRequired"),
|
|
238
227
|
maxlength: "11",
|
|
239
228
|
"show-word-limit": "",
|
|
@@ -245,16 +234,16 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
|
|
|
245
234
|
]),
|
|
246
235
|
_: 1
|
|
247
236
|
}),
|
|
248
|
-
e(
|
|
237
|
+
e(i, { span: 12 }, {
|
|
249
238
|
default: l(() => [
|
|
250
|
-
e(
|
|
239
|
+
e(d, {
|
|
251
240
|
label: s.$t("sysUserOps.email"),
|
|
252
241
|
prop: "email"
|
|
253
242
|
}, {
|
|
254
243
|
default: l(() => [
|
|
255
244
|
e(g, {
|
|
256
|
-
modelValue:
|
|
257
|
-
"onUpdate:modelValue":
|
|
245
|
+
modelValue: t(a).email,
|
|
246
|
+
"onUpdate:modelValue": o[4] || (o[4] = (r) => t(a).email = r),
|
|
258
247
|
placeholder: s.$t("sysUserOps.emailRequired"),
|
|
259
248
|
maxlength: "30",
|
|
260
249
|
"show-word-limit": "",
|
|
@@ -266,16 +255,16 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
|
|
|
266
255
|
]),
|
|
267
256
|
_: 1
|
|
268
257
|
}),
|
|
269
|
-
e(
|
|
258
|
+
e(i, { span: 12 }, {
|
|
270
259
|
default: l(() => [
|
|
271
|
-
e(
|
|
260
|
+
e(d, {
|
|
272
261
|
label: s.$t("sysUserOps.idNo"),
|
|
273
262
|
prop: "idNo"
|
|
274
263
|
}, {
|
|
275
264
|
default: l(() => [
|
|
276
265
|
e(g, {
|
|
277
|
-
modelValue:
|
|
278
|
-
"onUpdate:modelValue":
|
|
266
|
+
modelValue: t(a).idNo,
|
|
267
|
+
"onUpdate:modelValue": o[5] || (o[5] = (r) => t(a).idNo = r),
|
|
279
268
|
placeholder: s.$t("sysUserOps.idNoRequired"),
|
|
280
269
|
maxlength: "18",
|
|
281
270
|
"show-word-limit": "",
|
|
@@ -287,18 +276,18 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
|
|
|
287
276
|
]),
|
|
288
277
|
_: 1
|
|
289
278
|
}),
|
|
290
|
-
e(
|
|
279
|
+
e(i, { span: 12 }, {
|
|
291
280
|
default: l(() => [
|
|
292
|
-
e(
|
|
281
|
+
e(d, {
|
|
293
282
|
label: s.$t("sysUserOps.engineeType"),
|
|
294
283
|
prop: "engineeType"
|
|
295
284
|
}, {
|
|
296
285
|
default: l(() => [
|
|
297
|
-
e(
|
|
298
|
-
modelValue:
|
|
299
|
-
"onUpdate:modelValue":
|
|
286
|
+
e(n, {
|
|
287
|
+
modelValue: t(a).engineeType,
|
|
288
|
+
"onUpdate:modelValue": o[6] || (o[6] = (r) => t(a).engineeType = r),
|
|
300
289
|
placeholder: s.$t("sysUserOps.engineeTypeRequired"),
|
|
301
|
-
data:
|
|
290
|
+
data: t(y).engineeTypeDictEnum.values,
|
|
302
291
|
clearable: "",
|
|
303
292
|
class: "w-full"
|
|
304
293
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -308,18 +297,18 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
|
|
|
308
297
|
]),
|
|
309
298
|
_: 1
|
|
310
299
|
}),
|
|
311
|
-
e(
|
|
300
|
+
e(i, { span: 12 }, {
|
|
312
301
|
default: l(() => [
|
|
313
|
-
e(
|
|
302
|
+
e(d, {
|
|
314
303
|
label: s.$t("sysUserOps.engineeJobMode"),
|
|
315
304
|
prop: "engineeJobMode"
|
|
316
305
|
}, {
|
|
317
306
|
default: l(() => [
|
|
318
|
-
e(
|
|
319
|
-
modelValue:
|
|
320
|
-
"onUpdate:modelValue":
|
|
307
|
+
e(n, {
|
|
308
|
+
modelValue: t(a).engineeJobMode,
|
|
309
|
+
"onUpdate:modelValue": o[7] || (o[7] = (r) => t(a).engineeJobMode = r),
|
|
321
310
|
placeholder: s.$t("sysUserOps.engineeJobModeRequired"),
|
|
322
|
-
data:
|
|
311
|
+
data: t(y).engineeJobModeDictEnum.values,
|
|
323
312
|
clearable: "",
|
|
324
313
|
class: "w-full"
|
|
325
314
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -329,87 +318,80 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
|
|
|
329
318
|
]),
|
|
330
319
|
_: 1
|
|
331
320
|
}),
|
|
332
|
-
e(
|
|
321
|
+
e(i, { span: 12 }, {
|
|
333
322
|
default: l(() => [
|
|
334
|
-
e(
|
|
323
|
+
e(d, {
|
|
335
324
|
label: s.$t("sysUserOps.jobStatus"),
|
|
336
325
|
prop: "jobStatus"
|
|
337
326
|
}, {
|
|
338
327
|
default: l(() => [
|
|
339
|
-
e(
|
|
340
|
-
modelValue:
|
|
341
|
-
"onUpdate:modelValue":
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
328
|
+
e(B, {
|
|
329
|
+
modelValue: t(a).jobStatus,
|
|
330
|
+
"onUpdate:modelValue": o[8] || (o[8] = (r) => t(a).jobStatus = r)
|
|
331
|
+
}, {
|
|
332
|
+
default: l(() => [
|
|
333
|
+
(f(!0), G(X, null, H(t(y).jobStatusDictEnum.values, (r) => (f(), O(D, {
|
|
334
|
+
key: r.key,
|
|
335
|
+
label: r.key
|
|
336
|
+
}, {
|
|
337
|
+
default: l(() => [
|
|
338
|
+
b(c(r.value), 1)
|
|
339
|
+
]),
|
|
340
|
+
_: 2
|
|
341
|
+
}, 1032, ["label"]))), 128))
|
|
342
|
+
]),
|
|
343
|
+
_: 1
|
|
344
|
+
}, 8, ["modelValue"])
|
|
347
345
|
]),
|
|
348
346
|
_: 1
|
|
349
347
|
}, 8, ["label"])
|
|
350
348
|
]),
|
|
351
349
|
_: 1
|
|
352
350
|
}),
|
|
353
|
-
|
|
351
|
+
V.value ? Q("", !0) : (f(), O(i, {
|
|
354
352
|
key: 0,
|
|
355
353
|
span: 12
|
|
356
354
|
}, {
|
|
357
355
|
default: l(() => [
|
|
358
|
-
e(
|
|
356
|
+
e(d, {
|
|
359
357
|
label: s.$t("sysUserOps.userPassword"),
|
|
360
358
|
prop: "userPassword"
|
|
361
359
|
}, {
|
|
362
360
|
default: l(() => [
|
|
363
361
|
e(g, {
|
|
364
|
-
modelValue:
|
|
365
|
-
"onUpdate:modelValue":
|
|
362
|
+
modelValue: t(a).userPassword,
|
|
363
|
+
"onUpdate:modelValue": o[9] || (o[9] = (r) => t(a).userPassword = r),
|
|
366
364
|
clearable: "",
|
|
367
|
-
type:
|
|
365
|
+
type: "password",
|
|
366
|
+
"show-password": "",
|
|
368
367
|
placeholder: s.$t("sysUserOps.userPasswordRequired")
|
|
369
368
|
}, {
|
|
370
369
|
append: l(() => [
|
|
371
|
-
e(
|
|
370
|
+
e(h, { onClick: J }, {
|
|
372
371
|
default: l(() => [
|
|
373
|
-
|
|
372
|
+
b(c(s.$t("sysUserOps.randomPwd")), 1)
|
|
374
373
|
]),
|
|
375
374
|
_: 1
|
|
376
375
|
})
|
|
377
376
|
]),
|
|
378
|
-
suffix: l(() => [
|
|
379
|
-
j("span", {
|
|
380
|
-
onClick: a[9] || (a[9] = (t) => y.value = !y.value)
|
|
381
|
-
}, [
|
|
382
|
-
y.value ? (b(), c(P, { key: 0 }, {
|
|
383
|
-
default: l(() => [
|
|
384
|
-
e(B)
|
|
385
|
-
]),
|
|
386
|
-
_: 1
|
|
387
|
-
})) : (b(), c(P, { key: 1 }, {
|
|
388
|
-
default: l(() => [
|
|
389
|
-
e(A)
|
|
390
|
-
]),
|
|
391
|
-
_: 1
|
|
392
|
-
}))
|
|
393
|
-
])
|
|
394
|
-
]),
|
|
395
377
|
_: 1
|
|
396
|
-
}, 8, ["modelValue", "
|
|
378
|
+
}, 8, ["modelValue", "placeholder"])
|
|
397
379
|
]),
|
|
398
380
|
_: 1
|
|
399
381
|
}, 8, ["label"])
|
|
400
382
|
]),
|
|
401
383
|
_: 1
|
|
402
384
|
})),
|
|
403
|
-
e(
|
|
385
|
+
e(i, { span: 24 }, {
|
|
404
386
|
default: l(() => [
|
|
405
|
-
e(
|
|
387
|
+
e(d, {
|
|
406
388
|
label: s.$t("sysUserOps.engineeSpecialty"),
|
|
407
389
|
prop: "engineeSpecialty"
|
|
408
390
|
}, {
|
|
409
391
|
default: l(() => [
|
|
410
392
|
e(g, {
|
|
411
|
-
modelValue:
|
|
412
|
-
"onUpdate:modelValue":
|
|
393
|
+
modelValue: t(a).engineeSpecialty,
|
|
394
|
+
"onUpdate:modelValue": o[10] || (o[10] = (r) => t(a).engineeSpecialty = r),
|
|
413
395
|
placeholder: s.$t("sysUserOps.engineeSpecialtyRequired"),
|
|
414
396
|
type: "textarea",
|
|
415
397
|
autosize: { minRows: 2 },
|
|
@@ -436,5 +418,5 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
|
|
|
436
418
|
}
|
|
437
419
|
});
|
|
438
420
|
export {
|
|
439
|
-
|
|
421
|
+
te as _
|
|
440
422
|
};
|
|
@@ -3,7 +3,7 @@ import { ElMessage as T } from "element-plus";
|
|
|
3
3
|
import { useI18n as S } from "vue-i18n";
|
|
4
4
|
import { useRoute as A } from "vue-router";
|
|
5
5
|
import { s as b } from "./index-B6vJj_z6.mjs";
|
|
6
|
-
import { D as L } from "./index-
|
|
6
|
+
import { D as L } from "./index-cBbN-uY2.mjs";
|
|
7
7
|
const z = { class: "dialog-footer" }, X = /* @__PURE__ */ D({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ _({
|