xyvcard-itsmsys 0.0.18 → 0.0.20
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/README.md +51 -51
- package/dist/{edit-C1zg8B0y.mjs → edit-BrHOGUbU.mjs} +1 -1
- package/dist/{edit-Cs3KIwaz.mjs → edit-CNEVornb.mjs} +100 -100
- package/dist/{edit-CxRGbAP_.mjs → edit-COKceKzl.mjs} +87 -87
- package/dist/{edit-DLN1WFrt.mjs → edit-Czi-Vkbf.mjs} +1 -1
- package/dist/{edit-CNFS8ehW.mjs → edit-DYqAdRsK.mjs} +99 -99
- package/dist/{edit-DlEW6lB8.mjs → edit-DybO5r3p.mjs} +1 -1
- package/dist/{edit-Dmxyf_Gp.mjs → edit-_QJnKCdq.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-jsZCbrsm.mjs → edit.vue_vue_type_script_setup_true_lang-BOvUiQbv.mjs} +136 -136
- package/dist/{edit.vue_vue_type_script_setup_true_lang-MQ4ZtR6S.mjs → edit.vue_vue_type_script_setup_true_lang-CJmMqL9f.mjs} +172 -173
- package/dist/{edit.vue_vue_type_script_setup_true_lang-eMXMvSnV.mjs → edit.vue_vue_type_script_setup_true_lang-CaZa7PUh.mjs} +53 -53
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BKQkhngP.mjs → edit.vue_vue_type_script_setup_true_lang-D2j1brBX.mjs} +108 -108
- package/dist/{import-upload-BvBtwEbI.mjs → import-upload-BaJGVcNb.mjs} +6 -6
- package/dist/{import-upload-BM5kcXdg.mjs → import-upload-CC1Ho43e.mjs} +2 -2
- package/dist/{index-D2e-NU3E.mjs → index-BV5uRZXE.mjs} +24 -22
- package/dist/{index-nhzVBt2y.mjs → index-CAzxJ_Vp.mjs} +38 -38
- package/dist/{index-D2BUGsak.mjs → index-Di1yx94g.mjs} +32 -30
- package/dist/{index-Dsf1qOUx.mjs → index-IpHv0Vzi.mjs} +1 -1
- package/dist/{index-Bxg8G8aA.mjs → index-WHNNztBg.mjs} +30 -28
- package/dist/{index-BzqZLipq.mjs → index-cpyRUYdS.mjs} +57 -55
- package/dist/{index-EhejgmO6.mjs → index-dIcRC4jE.mjs} +7 -13
- package/dist/{index-CdQGs3Vu.mjs → index-q_wZjCJN.mjs} +30 -28
- package/dist/index.mjs +1021 -936
- package/dist/{index.vue_vue_type_script_setup_true_lang-DhcyCvVN.mjs → index.vue_vue_type_script_setup_true_lang-BnhxjAOt.mjs} +2 -2
- package/dist/{info-rnc-sgQt.mjs → info-BUKhtcuu.mjs} +2 -2
- package/dist/{info-DBObKyIh.mjs → info-Bn5mhJtq.mjs} +2 -2
- package/dist/{info-BZ7IZet8.mjs → info-Dx5fzSIP.mjs} +2 -2
- package/dist/{info-B2d8xPwW.mjs → info-EodyqiPm.mjs} +2 -2
- package/dist/{info-CoizfoOq.mjs → info-G1z1-aeX.mjs} +2 -2
- package/dist/{info-CCfX-q4c.mjs → info-bYWisCey.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dts/api/itsm-sys-org/index.d.ts +5 -0
- package/dts/api/itsm-sys-org-invoice/types.d.ts +3 -3
- package/dts/api/itsm-sys-user-ext/types.d.ts +8 -0
- package/dts/constant.d.ts +0 -4
- package/dts/index.d.ts +0 -1
- package/dts/lang/itsmsys/en.d.ts +130 -49
- package/dts/lang/itsmsys/zh-cn.d.ts +0 -3
- package/dts/views/itsmsys/itsm-sys-org-invoice/edit.vue.d.ts +8 -2
- package/dts/views/itsmsys/itsm-sys-user-man/edit.vue.d.ts +8 -2
- package/dts/views/itsmsys/itsm-sys-user-ops/edit.vue.d.ts +8 -2
- package/dts/views/itsmsys/itsm-sys-user-out/edit.vue.d.ts +8 -2
- package/package.json +58 -60
- package/dist/import-upload-CjeTCQBx.mjs +0 -161
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as X, mergeModels as S, ref as y, useModel as Y, reactive as C, resolveComponent as m, openBlock as V, createBlock as I, withCtx as o, createElementVNode as Z, createVNode as l, createTextVNode as h, toDisplayString as w, unref as s, createCommentVNode as E } from "vue";
|
|
2
2
|
import { ElMessage as O } from "element-plus";
|
|
3
3
|
import { useI18n as x } from "vue-i18n";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
const
|
|
4
|
+
import { validatePhoneNumber as ee, validateEmail as le, validateIDCard as ae, generateRandomKey as re } from "jmash-core";
|
|
5
|
+
import { D as b, C as M } from "./index-dIcRC4jE.mjs";
|
|
6
|
+
import { deptApi as oe, jobApi as se, roleApi as te } from "jmash-rbac";
|
|
7
|
+
import { sysUserExtApi as v, sysOrgApi as de } from "./index.mjs";
|
|
8
|
+
const ne = { class: "dialog-footer" }, ye = /* @__PURE__ */ X({
|
|
9
9
|
__name: "edit",
|
|
10
10
|
props: /* @__PURE__ */ S({
|
|
11
11
|
entityKey: {
|
|
@@ -18,165 +18,167 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
18
18
|
modelModifiers: {}
|
|
19
19
|
}),
|
|
20
20
|
emits: /* @__PURE__ */ S(["refresh"], ["update:modelValue"]),
|
|
21
|
-
setup(q, { emit:
|
|
22
|
-
const { t:
|
|
23
|
-
|
|
24
|
-
let
|
|
21
|
+
setup(q, { emit: A }) {
|
|
22
|
+
const { t: i } = x(), N = y(), $ = y(), R = y(), j = y(), p = Y(q, "modelValue"), P = A;
|
|
23
|
+
b.sysOrgBizDict.useValues(), b.parentIdBizDict.useValues();
|
|
24
|
+
let r = C({
|
|
25
25
|
requestId: Math.random() * 10 + "",
|
|
26
26
|
updateMask: "realName,gender,mobilePhone,email,idNo,jobStatus,deptId,jobId,orgId,orgIds,roleIds",
|
|
27
|
-
userType:
|
|
28
|
-
jobStatus:
|
|
27
|
+
userType: M.userType.companyManager,
|
|
28
|
+
jobStatus: M.jobStatus.working
|
|
29
29
|
});
|
|
30
|
-
const B = (e,
|
|
31
|
-
|
|
32
|
-
},
|
|
30
|
+
const B = (e, a, d) => {
|
|
31
|
+
a && (le(a) || d(new Error(i("sysUserMan.emailRequireds")))), d();
|
|
32
|
+
}, T = (e, a, d) => {
|
|
33
|
+
a && (ae(a) || d(new Error(i("sysUserMan.idNoLengthRequired")))), d();
|
|
34
|
+
}, z = C({
|
|
33
35
|
realName: [
|
|
34
36
|
{
|
|
35
37
|
required: !0,
|
|
36
|
-
message:
|
|
38
|
+
message: i("sysUserMan.realNameRequired"),
|
|
37
39
|
trigger: "blur"
|
|
38
40
|
}
|
|
39
41
|
],
|
|
40
42
|
mobilePhone: [
|
|
41
43
|
{
|
|
42
44
|
required: !0,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
validator: (e, a, d) => {
|
|
46
|
+
a ? ee(a) ? d() : d(new Error(i("sysUserMan.mobilePhoneRequireds"))) : d(new Error(i("sysUserMan.mobilePhoneRequired")));
|
|
47
|
+
},
|
|
48
|
+
trigger: "blur"
|
|
45
49
|
}
|
|
46
50
|
],
|
|
47
51
|
email: [
|
|
48
52
|
{
|
|
49
|
-
|
|
50
|
-
message: u("sysUserMan.emailRequireds"),
|
|
53
|
+
validator: B,
|
|
51
54
|
trigger: "blur"
|
|
52
55
|
}
|
|
53
56
|
],
|
|
54
57
|
idNo: [
|
|
55
58
|
{
|
|
56
|
-
|
|
57
|
-
message: u("sysUserMan.idNoLengthRequired"),
|
|
59
|
+
validator: T,
|
|
58
60
|
trigger: "blur"
|
|
59
61
|
}
|
|
60
62
|
],
|
|
61
63
|
orgId: [
|
|
62
64
|
{
|
|
63
65
|
required: !0,
|
|
64
|
-
message:
|
|
66
|
+
message: i("sysUserMan.orgIdRequired"),
|
|
65
67
|
trigger: "change"
|
|
66
68
|
}
|
|
67
69
|
],
|
|
68
70
|
userPassword: [
|
|
69
71
|
{
|
|
70
72
|
required: !0,
|
|
71
|
-
message:
|
|
73
|
+
message: i("sysUserMan.userPasswordRequired"),
|
|
72
74
|
trigger: "blur"
|
|
73
75
|
}
|
|
74
76
|
],
|
|
75
77
|
loginName: [
|
|
76
78
|
{
|
|
77
79
|
required: !0,
|
|
78
|
-
message:
|
|
80
|
+
message: i("sysUserMan.loginNameRequired"),
|
|
79
81
|
trigger: "blur"
|
|
80
82
|
}
|
|
81
83
|
],
|
|
82
84
|
roleIds: [
|
|
83
85
|
{
|
|
84
86
|
required: !0,
|
|
85
|
-
message:
|
|
87
|
+
message: i("sysUserMan.roleIdsRequired"),
|
|
86
88
|
trigger: "blur"
|
|
87
89
|
}
|
|
88
90
|
]
|
|
89
|
-
}),
|
|
90
|
-
|
|
91
|
-
Object.assign(
|
|
91
|
+
}), _ = q, K = Object.keys(_.entityKey), g = y(K.length >= 1);
|
|
92
|
+
g.value && v.findById(_.entityKey).then(({ data: e }) => {
|
|
93
|
+
Object.assign(r, e), r.gender === "unknown" && (r.gender = "");
|
|
92
94
|
});
|
|
93
|
-
const
|
|
95
|
+
const F = async () => {
|
|
94
96
|
var e;
|
|
95
|
-
await ((e = j.value) == null ? void 0 : e.validate((
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
message:
|
|
97
|
+
await ((e = j.value) == null ? void 0 : e.validate((a) => {
|
|
98
|
+
a && (g.value ? v.update(r).then((d) => {
|
|
99
|
+
d.status === 200 && (O({
|
|
100
|
+
message: i("common.submitSuccess"),
|
|
99
101
|
type: "success"
|
|
100
|
-
}), p.value && (p.value = !1),
|
|
101
|
-
}) :
|
|
102
|
-
|
|
103
|
-
message:
|
|
102
|
+
}), p.value && (p.value = !1), P("refresh", d.status === 200));
|
|
103
|
+
}) : v.create(r).then((d) => {
|
|
104
|
+
d.status === 200 && (O({
|
|
105
|
+
message: i("common.submitSuccess"),
|
|
104
106
|
type: "success"
|
|
105
|
-
}), p.value && (p.value = !1),
|
|
107
|
+
}), p.value && (p.value = !1), P("refresh", d.status === 200));
|
|
106
108
|
}));
|
|
107
109
|
}));
|
|
108
110
|
};
|
|
109
|
-
function
|
|
110
|
-
|
|
111
|
-
v.value = e.results;
|
|
112
|
-
}), le.treelistJob().then(({ data: e }) => {
|
|
113
|
-
R.value = e.results;
|
|
114
|
-
}), ae.treelistRole().then(({ data: e }) => {
|
|
111
|
+
function L() {
|
|
112
|
+
oe.treelistDept().then(({ data: e }) => {
|
|
115
113
|
N.value = e.results;
|
|
114
|
+
}), se.treelistJob().then(({ data: e }) => {
|
|
115
|
+
$.value = e.results;
|
|
116
|
+
}), te.treelistRole().then(({ data: e }) => {
|
|
117
|
+
R.value = e.results;
|
|
116
118
|
});
|
|
117
119
|
}
|
|
118
|
-
|
|
119
|
-
function
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
L();
|
|
121
|
+
function J() {
|
|
122
|
+
g.value || de.findOutSourceList({ orgType: M.orgType.cloud }).then(({ data: { results: e } }) => {
|
|
123
|
+
r.orgId = e[0].orgId;
|
|
122
124
|
});
|
|
123
125
|
}
|
|
124
|
-
|
|
125
|
-
function
|
|
126
|
-
|
|
126
|
+
J();
|
|
127
|
+
function G() {
|
|
128
|
+
r.userPassword = re();
|
|
127
129
|
}
|
|
128
130
|
function k() {
|
|
129
131
|
p.value && (p.value = !1);
|
|
130
132
|
}
|
|
131
|
-
return (e,
|
|
132
|
-
const
|
|
133
|
-
return
|
|
133
|
+
return (e, a) => {
|
|
134
|
+
const d = m("jmash-select"), n = m("el-form-item"), u = m("el-col"), f = m("el-input"), D = m("jmash-enum-radio"), c = m("el-tree-select"), U = m("el-button"), H = m("el-row"), Q = m("el-form"), W = m("el-dialog");
|
|
135
|
+
return V(), I(W, {
|
|
134
136
|
modelValue: p.value,
|
|
135
|
-
"onUpdate:modelValue":
|
|
137
|
+
"onUpdate:modelValue": a[13] || (a[13] = (t) => p.value = t),
|
|
136
138
|
onClose: k
|
|
137
139
|
}, {
|
|
138
|
-
footer:
|
|
139
|
-
|
|
140
|
-
l(
|
|
141
|
-
default:
|
|
142
|
-
|
|
140
|
+
footer: o(() => [
|
|
141
|
+
Z("div", ne, [
|
|
142
|
+
l(U, { onClick: k }, {
|
|
143
|
+
default: o(() => [
|
|
144
|
+
h(w(e.$t("common.cancel")), 1)
|
|
143
145
|
]),
|
|
144
146
|
_: 1
|
|
145
147
|
}),
|
|
146
|
-
l(
|
|
148
|
+
l(U, {
|
|
147
149
|
type: "primary",
|
|
148
|
-
onClick:
|
|
150
|
+
onClick: F
|
|
149
151
|
}, {
|
|
150
|
-
default:
|
|
151
|
-
|
|
152
|
+
default: o(() => [
|
|
153
|
+
h(w(e.$t("common.confirm")), 1)
|
|
152
154
|
]),
|
|
153
155
|
_: 1
|
|
154
156
|
})
|
|
155
157
|
])
|
|
156
158
|
]),
|
|
157
|
-
default:
|
|
158
|
-
l(
|
|
159
|
+
default: o(() => [
|
|
160
|
+
l(Q, {
|
|
159
161
|
ref_key: "sysUserExtFormRef",
|
|
160
162
|
ref: j,
|
|
161
|
-
model: r
|
|
163
|
+
model: s(r),
|
|
162
164
|
"label-width": "100px",
|
|
163
|
-
rules:
|
|
165
|
+
rules: z
|
|
164
166
|
}, {
|
|
165
|
-
default:
|
|
166
|
-
l(
|
|
167
|
-
default:
|
|
168
|
-
l(
|
|
169
|
-
default:
|
|
170
|
-
l(
|
|
167
|
+
default: o(() => [
|
|
168
|
+
l(H, null, {
|
|
169
|
+
default: o(() => [
|
|
170
|
+
l(u, { span: 12 }, {
|
|
171
|
+
default: o(() => [
|
|
172
|
+
l(n, {
|
|
171
173
|
label: e.$t("sysUserMan.orgId"),
|
|
172
174
|
prop: "orgId"
|
|
173
175
|
}, {
|
|
174
|
-
default:
|
|
175
|
-
l(
|
|
176
|
-
modelValue: r
|
|
177
|
-
"onUpdate:modelValue":
|
|
176
|
+
default: o(() => [
|
|
177
|
+
l(d, {
|
|
178
|
+
modelValue: s(r).orgId,
|
|
179
|
+
"onUpdate:modelValue": a[0] || (a[0] = (t) => s(r).orgId = t),
|
|
178
180
|
placeholder: e.$t("sysUserMan.orgIdRequired"),
|
|
179
|
-
data:
|
|
181
|
+
data: s(b).sysOrgBizDict.values,
|
|
180
182
|
clearable: "",
|
|
181
183
|
class: "w-full"
|
|
182
184
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -186,19 +188,19 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
186
188
|
]),
|
|
187
189
|
_: 1
|
|
188
190
|
}),
|
|
189
|
-
|
|
191
|
+
g.value ? E("", !0) : (V(), I(u, {
|
|
190
192
|
key: 0,
|
|
191
193
|
span: 12
|
|
192
194
|
}, {
|
|
193
|
-
default:
|
|
194
|
-
l(
|
|
195
|
+
default: o(() => [
|
|
196
|
+
l(n, {
|
|
195
197
|
label: e.$t("sysUserMan.loginName"),
|
|
196
198
|
prop: "loginName"
|
|
197
199
|
}, {
|
|
198
|
-
default:
|
|
200
|
+
default: o(() => [
|
|
199
201
|
l(f, {
|
|
200
|
-
modelValue: r
|
|
201
|
-
"onUpdate:modelValue":
|
|
202
|
+
modelValue: s(r).loginName,
|
|
203
|
+
"onUpdate:modelValue": a[1] || (a[1] = (t) => s(r).loginName = t),
|
|
202
204
|
clearable: "",
|
|
203
205
|
placeholder: e.$t("sysUserMan.loginNameRequired"),
|
|
204
206
|
maxlength: "30",
|
|
@@ -210,16 +212,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
210
212
|
]),
|
|
211
213
|
_: 1
|
|
212
214
|
})),
|
|
213
|
-
l(
|
|
214
|
-
default:
|
|
215
|
-
l(
|
|
215
|
+
l(u, { span: 12 }, {
|
|
216
|
+
default: o(() => [
|
|
217
|
+
l(n, {
|
|
216
218
|
label: e.$t("sysUserMan.realName"),
|
|
217
219
|
prop: "realName"
|
|
218
220
|
}, {
|
|
219
|
-
default:
|
|
221
|
+
default: o(() => [
|
|
220
222
|
l(f, {
|
|
221
|
-
modelValue: r
|
|
222
|
-
"onUpdate:modelValue":
|
|
223
|
+
modelValue: s(r).realName,
|
|
224
|
+
"onUpdate:modelValue": a[2] || (a[2] = (t) => s(r).realName = t),
|
|
223
225
|
placeholder: e.$t("sysUserMan.realNameRequired"),
|
|
224
226
|
maxlength: "8",
|
|
225
227
|
"show-word-limit": "",
|
|
@@ -231,37 +233,34 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
231
233
|
]),
|
|
232
234
|
_: 1
|
|
233
235
|
}),
|
|
234
|
-
l(
|
|
235
|
-
default:
|
|
236
|
-
l(
|
|
236
|
+
l(u, { span: 12 }, {
|
|
237
|
+
default: o(() => [
|
|
238
|
+
l(n, {
|
|
237
239
|
label: e.$t("sysUserMan.gender"),
|
|
238
240
|
prop: "gender"
|
|
239
241
|
}, {
|
|
240
|
-
default:
|
|
241
|
-
l(
|
|
242
|
-
modelValue: r
|
|
243
|
-
"onUpdate:modelValue":
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
"enum-type": "jmash.protobuf.Gender",
|
|
247
|
-
class: "w-full"
|
|
248
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
242
|
+
default: o(() => [
|
|
243
|
+
l(D, {
|
|
244
|
+
modelValue: s(r).gender,
|
|
245
|
+
"onUpdate:modelValue": a[3] || (a[3] = (t) => s(r).gender = t),
|
|
246
|
+
data: s(b).genderDict.values
|
|
247
|
+
}, null, 8, ["modelValue", "data"])
|
|
249
248
|
]),
|
|
250
249
|
_: 1
|
|
251
250
|
}, 8, ["label"])
|
|
252
251
|
]),
|
|
253
252
|
_: 1
|
|
254
253
|
}),
|
|
255
|
-
l(
|
|
256
|
-
default:
|
|
257
|
-
l(
|
|
254
|
+
l(u, { span: 12 }, {
|
|
255
|
+
default: o(() => [
|
|
256
|
+
l(n, {
|
|
258
257
|
label: e.$t("sysUserMan.mobilePhone"),
|
|
259
258
|
prop: "mobilePhone"
|
|
260
259
|
}, {
|
|
261
|
-
default:
|
|
260
|
+
default: o(() => [
|
|
262
261
|
l(f, {
|
|
263
|
-
modelValue: r
|
|
264
|
-
"onUpdate:modelValue":
|
|
262
|
+
modelValue: s(r).mobilePhone,
|
|
263
|
+
"onUpdate:modelValue": a[4] || (a[4] = (t) => s(r).mobilePhone = t),
|
|
265
264
|
placeholder: e.$t("sysUserMan.mobilePhoneRequired"),
|
|
266
265
|
maxlength: "11",
|
|
267
266
|
"show-word-limit": "",
|
|
@@ -273,16 +272,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
273
272
|
]),
|
|
274
273
|
_: 1
|
|
275
274
|
}),
|
|
276
|
-
l(
|
|
277
|
-
default:
|
|
278
|
-
l(
|
|
275
|
+
l(u, { span: 12 }, {
|
|
276
|
+
default: o(() => [
|
|
277
|
+
l(n, {
|
|
279
278
|
label: e.$t("sysUserMan.email"),
|
|
280
279
|
prop: "email"
|
|
281
280
|
}, {
|
|
282
|
-
default:
|
|
281
|
+
default: o(() => [
|
|
283
282
|
l(f, {
|
|
284
|
-
modelValue: r
|
|
285
|
-
"onUpdate:modelValue":
|
|
283
|
+
modelValue: s(r).email,
|
|
284
|
+
"onUpdate:modelValue": a[5] || (a[5] = (t) => s(r).email = t),
|
|
286
285
|
placeholder: e.$t("sysUserMan.emailRequired"),
|
|
287
286
|
maxlength: "30",
|
|
288
287
|
"show-word-limit": "",
|
|
@@ -294,16 +293,16 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
294
293
|
]),
|
|
295
294
|
_: 1
|
|
296
295
|
}),
|
|
297
|
-
l(
|
|
298
|
-
default:
|
|
299
|
-
l(
|
|
296
|
+
l(u, { span: 12 }, {
|
|
297
|
+
default: o(() => [
|
|
298
|
+
l(n, {
|
|
300
299
|
label: e.$t("sysUserOps.idNo"),
|
|
301
300
|
prop: "idNo"
|
|
302
301
|
}, {
|
|
303
|
-
default:
|
|
302
|
+
default: o(() => [
|
|
304
303
|
l(f, {
|
|
305
|
-
modelValue: r
|
|
306
|
-
"onUpdate:modelValue":
|
|
304
|
+
modelValue: s(r).idNo,
|
|
305
|
+
"onUpdate:modelValue": a[6] || (a[6] = (t) => s(r).idNo = t),
|
|
307
306
|
placeholder: e.$t("sysUserOps.idNoRequired"),
|
|
308
307
|
maxlength: "18",
|
|
309
308
|
"show-word-limit": "",
|
|
@@ -315,23 +314,23 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
315
314
|
]),
|
|
316
315
|
_: 1
|
|
317
316
|
}),
|
|
318
|
-
l(
|
|
319
|
-
default:
|
|
320
|
-
l(
|
|
317
|
+
l(u, { span: 12 }, {
|
|
318
|
+
default: o(() => [
|
|
319
|
+
l(n, {
|
|
321
320
|
label: e.$t("sysUserMan.deptId"),
|
|
322
321
|
prop: "deptId"
|
|
323
322
|
}, {
|
|
324
|
-
default:
|
|
323
|
+
default: o(() => [
|
|
325
324
|
l(c, {
|
|
326
|
-
modelValue: r
|
|
327
|
-
"onUpdate:modelValue":
|
|
328
|
-
data:
|
|
325
|
+
modelValue: s(r).deptId,
|
|
326
|
+
"onUpdate:modelValue": a[7] || (a[7] = (t) => s(r).deptId = t),
|
|
327
|
+
data: N.value,
|
|
329
328
|
"render-after-expand": !1,
|
|
330
329
|
filterable: "",
|
|
331
330
|
clearable: "",
|
|
332
331
|
"check-strictly": "",
|
|
333
332
|
placeholder: e.$t("sysUserMan.deptIdRequired"),
|
|
334
|
-
|
|
333
|
+
class: "w-full"
|
|
335
334
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
336
335
|
]),
|
|
337
336
|
_: 1
|
|
@@ -339,23 +338,23 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
339
338
|
]),
|
|
340
339
|
_: 1
|
|
341
340
|
}),
|
|
342
|
-
l(
|
|
343
|
-
default:
|
|
344
|
-
l(
|
|
341
|
+
l(u, { span: 12 }, {
|
|
342
|
+
default: o(() => [
|
|
343
|
+
l(n, {
|
|
345
344
|
label: e.$t("sysUserMan.jobId"),
|
|
346
345
|
prop: "jobId"
|
|
347
346
|
}, {
|
|
348
|
-
default:
|
|
347
|
+
default: o(() => [
|
|
349
348
|
l(c, {
|
|
350
|
-
modelValue: r
|
|
351
|
-
"onUpdate:modelValue":
|
|
352
|
-
data:
|
|
349
|
+
modelValue: s(r).jobId,
|
|
350
|
+
"onUpdate:modelValue": a[8] || (a[8] = (t) => s(r).jobId = t),
|
|
351
|
+
data: $.value,
|
|
353
352
|
"render-after-expand": !1,
|
|
354
353
|
filterable: "",
|
|
355
354
|
clearable: "",
|
|
356
355
|
"check-strictly": "",
|
|
357
356
|
placeholder: e.$t("sysUserMan.jobIdRequired"),
|
|
358
|
-
|
|
357
|
+
class: "w-full"
|
|
359
358
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
360
359
|
]),
|
|
361
360
|
_: 1
|
|
@@ -363,17 +362,17 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
363
362
|
]),
|
|
364
363
|
_: 1
|
|
365
364
|
}),
|
|
366
|
-
l(
|
|
367
|
-
default:
|
|
368
|
-
l(
|
|
365
|
+
l(u, { span: 12 }, {
|
|
366
|
+
default: o(() => [
|
|
367
|
+
l(n, {
|
|
369
368
|
label: e.$t("sysUserOps.jobStatus"),
|
|
370
369
|
prop: "jobStatus"
|
|
371
370
|
}, {
|
|
372
|
-
default:
|
|
373
|
-
l(
|
|
374
|
-
modelValue: r
|
|
375
|
-
"onUpdate:modelValue":
|
|
376
|
-
data:
|
|
371
|
+
default: o(() => [
|
|
372
|
+
l(D, {
|
|
373
|
+
modelValue: s(r).jobStatus,
|
|
374
|
+
"onUpdate:modelValue": a[9] || (a[9] = (t) => s(r).jobStatus = t),
|
|
375
|
+
data: s(b).jobStatusDictEnum.values
|
|
377
376
|
}, null, 8, ["modelValue", "data"])
|
|
378
377
|
]),
|
|
379
378
|
_: 1
|
|
@@ -381,23 +380,23 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
381
380
|
]),
|
|
382
381
|
_: 1
|
|
383
382
|
}),
|
|
384
|
-
l(
|
|
385
|
-
default:
|
|
386
|
-
l(
|
|
383
|
+
l(u, { span: 12 }, {
|
|
384
|
+
default: o(() => [
|
|
385
|
+
l(n, {
|
|
387
386
|
label: e.$t("sysUserMan.roleIds"),
|
|
388
387
|
prop: "roleIds"
|
|
389
388
|
}, {
|
|
390
|
-
default:
|
|
389
|
+
default: o(() => [
|
|
391
390
|
l(c, {
|
|
392
|
-
modelValue: r
|
|
393
|
-
"onUpdate:modelValue":
|
|
394
|
-
data:
|
|
391
|
+
modelValue: s(r).roleIds,
|
|
392
|
+
"onUpdate:modelValue": a[10] || (a[10] = (t) => s(r).roleIds = t),
|
|
393
|
+
data: R.value,
|
|
395
394
|
"render-after-expand": !1,
|
|
396
395
|
"show-checkbox": "",
|
|
397
396
|
"check-strictly": !0,
|
|
398
397
|
multiple: "",
|
|
399
398
|
clearable: "",
|
|
400
|
-
|
|
399
|
+
class: "w-full",
|
|
401
400
|
placeholder: e.$t("sysUserMan.roleIdsRequired")
|
|
402
401
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
403
402
|
]),
|
|
@@ -406,28 +405,28 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
406
405
|
]),
|
|
407
406
|
_: 1
|
|
408
407
|
}),
|
|
409
|
-
|
|
408
|
+
g.value ? E("", !0) : (V(), I(u, {
|
|
410
409
|
key: 1,
|
|
411
410
|
span: 12
|
|
412
411
|
}, {
|
|
413
|
-
default:
|
|
414
|
-
l(
|
|
412
|
+
default: o(() => [
|
|
413
|
+
l(n, {
|
|
415
414
|
label: e.$t("sysUserMan.userPassword"),
|
|
416
415
|
prop: "userPassword"
|
|
417
416
|
}, {
|
|
418
|
-
default:
|
|
417
|
+
default: o(() => [
|
|
419
418
|
l(f, {
|
|
420
|
-
modelValue: r
|
|
421
|
-
"onUpdate:modelValue":
|
|
419
|
+
modelValue: s(r).userPassword,
|
|
420
|
+
"onUpdate:modelValue": a[11] || (a[11] = (t) => s(r).userPassword = t),
|
|
422
421
|
clearable: "",
|
|
423
422
|
type: "password",
|
|
424
423
|
"show-password": "",
|
|
425
424
|
placeholder: e.$t("sysUserMan.userPasswordRequired")
|
|
426
425
|
}, {
|
|
427
|
-
append:
|
|
428
|
-
l(
|
|
429
|
-
default:
|
|
430
|
-
|
|
426
|
+
append: o(() => [
|
|
427
|
+
l(U, { onClick: G }, {
|
|
428
|
+
default: o(() => [
|
|
429
|
+
h(w(e.$t("sysUserMan.randomPwd")), 1)
|
|
431
430
|
]),
|
|
432
431
|
_: 1
|
|
433
432
|
})
|
|
@@ -440,22 +439,22 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
440
439
|
]),
|
|
441
440
|
_: 1
|
|
442
441
|
})),
|
|
443
|
-
l(
|
|
444
|
-
default:
|
|
445
|
-
l(
|
|
442
|
+
l(u, { span: 24 }, {
|
|
443
|
+
default: o(() => [
|
|
444
|
+
l(n, {
|
|
446
445
|
label: e.$t("sysUserMan.orgIds"),
|
|
447
446
|
prop: "orgIds"
|
|
448
447
|
}, {
|
|
449
|
-
default:
|
|
448
|
+
default: o(() => [
|
|
450
449
|
l(c, {
|
|
451
|
-
modelValue: r
|
|
452
|
-
"onUpdate:modelValue":
|
|
453
|
-
data:
|
|
450
|
+
modelValue: s(r).orgIds,
|
|
451
|
+
"onUpdate:modelValue": a[12] || (a[12] = (t) => s(r).orgIds = t),
|
|
452
|
+
data: s(b).parentIdBizDict.values,
|
|
454
453
|
filterable: "",
|
|
455
454
|
clearable: "",
|
|
456
455
|
"check-strictly": "",
|
|
457
456
|
"render-after-expand": !1,
|
|
458
|
-
|
|
457
|
+
class: "w-full",
|
|
459
458
|
placeholder: e.$t("sysUserMan.orgIdsRequired"),
|
|
460
459
|
multiple: ""
|
|
461
460
|
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
@@ -478,5 +477,5 @@ const re = { class: "dialog-footer" }, fe = /* @__PURE__ */ Q({
|
|
|
478
477
|
}
|
|
479
478
|
});
|
|
480
479
|
export {
|
|
481
|
-
|
|
480
|
+
ye as _
|
|
482
481
|
};
|