xyvcard-itsmsys 0.0.13 → 0.0.14
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-IRLCMnWT.mjs → edit-BKRcHRhe.mjs} +1 -1
- package/dist/{edit-CBnnqc6q.mjs → edit-BOYD0hK4.mjs} +2 -2
- package/dist/{edit-g4L03h6h.mjs → edit-CHMLN0tR.mjs} +1 -1
- package/dist/{edit-CuD0yKla.mjs → edit-DNMyksDd.mjs} +1 -1
- package/dist/{edit-D2lhB7lU.mjs → edit-W7Cqo-_d.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-DD9BucLK.mjs → edit.vue_vue_type_script_setup_true_lang-D31iEutB.mjs} +36 -36
- 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/{edit.vue_vue_type_script_setup_true_lang-CEzM2X-C.mjs → edit.vue_vue_type_script_setup_true_lang-hotcXxq3.mjs} +36 -36
- 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-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-D8h0lcNy.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-Dh_kNwqv.mjs → index-uqlBd_1I.mjs} +32 -32
- 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-bwhmPzeG.mjs → info-C821AMSV.mjs} +21 -21
- package/dist/{info-BHylKqOX.mjs → info-CU4nIMVM.mjs} +1 -1
- package/dist/{info-CDtqpKVD.mjs → info-CXCnXNu4.mjs} +1 -1
- package/dist/{info-dBqoxL-p.mjs → info-CYDV3va6.mjs} +1 -1
- package/dist/{info-BZOWTNSd.mjs → info-DPIIgRG8.mjs} +1 -1
- package/dist/{info-XDDe5ve6.mjs → info-DcUASS45.mjs} +13 -13
- 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
|
@@ -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-Cz0VExll.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-MCS-o6Sy.mjs";
|
|
10
10
|
const Y = { class: "app-container" }, de = /* @__PURE__ */ A({
|
|
11
11
|
__name: "edit",
|
|
12
12
|
setup(Z) {
|
|
@@ -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-Cz0VExll.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-MCS-o6Sy.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 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-Cz0VExll.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-MCS-o6Sy.mjs";
|
|
10
10
|
const Q = { class: "app-container" }, se = /* @__PURE__ */ I({
|
|
11
11
|
__name: "edit",
|
|
12
12
|
setup(W) {
|
|
@@ -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-Cz0VExll.mjs";
|
|
7
7
|
const H = { class: "dialog-footer" }, Z = /* @__PURE__ */ K({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ R({
|
|
@@ -3,7 +3,7 @@ import { ElMessage as C } from "element-plus";
|
|
|
3
3
|
import { useI18n as X } from "vue-i18n";
|
|
4
4
|
import { sysUserExtApi as w } from "./index.mjs";
|
|
5
5
|
import { generateRandomKey as H } from "jmash-core";
|
|
6
|
-
import { D as f, C as y } from "./index-
|
|
6
|
+
import { D as f, C as y } from "./index-Cz0VExll.mjs";
|
|
7
7
|
const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ v({
|
|
@@ -17,16 +17,16 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
17
17
|
modelModifiers: {}
|
|
18
18
|
}),
|
|
19
19
|
emits: /* @__PURE__ */ v(["refresh"], ["update:modelValue"]),
|
|
20
|
-
setup(
|
|
21
|
-
const { t: i } = X(),
|
|
20
|
+
setup(R, { emit: S }) {
|
|
21
|
+
const { t: i } = X(), q = j(), p = Z(R, "modelValue"), $ = S;
|
|
22
22
|
f.sysOutBizDict.useValues();
|
|
23
23
|
let a = M({
|
|
24
24
|
requestId: Math.random() * 10 + "",
|
|
25
|
-
updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,
|
|
25
|
+
updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,engineerType,engineerJobMode,engineerSpecialty,engineerCertificate",
|
|
26
26
|
userType: y.userType.outsourceOps,
|
|
27
27
|
jobStatus: y.jobStatus.working,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
engineerType: y.engineerType.ease_test,
|
|
29
|
+
engineerJobMode: y.engineerJobMode.resident
|
|
30
30
|
});
|
|
31
31
|
const T = (l, o, n) => {
|
|
32
32
|
o === void 0 && n(new Error(i("sysUserOps.mobilePhoneRequired"))), /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(o) || n(new Error(i("sysUserOps.mobilePhoneRequireds"))), n();
|
|
@@ -59,17 +59,17 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
59
59
|
trigger: "blur"
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
|
-
|
|
62
|
+
engineerType: [
|
|
63
63
|
{
|
|
64
64
|
required: !0,
|
|
65
|
-
message: i("sysUserOps.
|
|
65
|
+
message: i("sysUserOps.engineerTypeRequired"),
|
|
66
66
|
trigger: "change"
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
|
-
|
|
69
|
+
engineerJobMode: [
|
|
70
70
|
{
|
|
71
71
|
required: !0,
|
|
72
|
-
message: i("sysUserOps.
|
|
72
|
+
message: i("sysUserOps.engineerJobModeRequired"),
|
|
73
73
|
trigger: "change"
|
|
74
74
|
}
|
|
75
75
|
],
|
|
@@ -94,13 +94,13 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
94
94
|
trigger: "blur"
|
|
95
95
|
}
|
|
96
96
|
]
|
|
97
|
-
}), N =
|
|
97
|
+
}), N = R, I = Object.keys(N.entityKey), b = j(I.length >= 1);
|
|
98
98
|
b.value && w.findById(N.entityKey).then(({ data: l }) => {
|
|
99
99
|
Object.assign(a, l), a.gender === "unknown" && (a.gender = "");
|
|
100
100
|
});
|
|
101
101
|
const k = async () => {
|
|
102
102
|
var l;
|
|
103
|
-
await ((l =
|
|
103
|
+
await ((l = q.value) == null ? void 0 : l.validate((o) => {
|
|
104
104
|
o && (b.value ? w.update(a).then((n) => {
|
|
105
105
|
console.log(n), n.status === 200 && (C({
|
|
106
106
|
message: i("common.submitSuccess"),
|
|
@@ -149,7 +149,7 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
149
149
|
default: s(() => [
|
|
150
150
|
e(K, {
|
|
151
151
|
ref_key: "sysUserExtFormRef",
|
|
152
|
-
ref:
|
|
152
|
+
ref: q,
|
|
153
153
|
model: r(a),
|
|
154
154
|
"label-width": "100px",
|
|
155
155
|
rules: E
|
|
@@ -310,15 +310,15 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
310
310
|
e(u, { span: 12 }, {
|
|
311
311
|
default: s(() => [
|
|
312
312
|
e(d, {
|
|
313
|
-
label: l.$t("sysUserOps.
|
|
314
|
-
prop: "
|
|
313
|
+
label: l.$t("sysUserOps.engineerType"),
|
|
314
|
+
prop: "engineerType"
|
|
315
315
|
}, {
|
|
316
316
|
default: s(() => [
|
|
317
317
|
e(n, {
|
|
318
|
-
modelValue: r(a).
|
|
319
|
-
"onUpdate:modelValue": o[7] || (o[7] = (t) => r(a).
|
|
320
|
-
placeholder: l.$t("sysUserOps.
|
|
321
|
-
data: r(f).
|
|
318
|
+
modelValue: r(a).engineerType,
|
|
319
|
+
"onUpdate:modelValue": o[7] || (o[7] = (t) => r(a).engineerType = t),
|
|
320
|
+
placeholder: l.$t("sysUserOps.engineerTypeRequired"),
|
|
321
|
+
data: r(f).engineerTypeDictEnum.values,
|
|
322
322
|
clearable: "",
|
|
323
323
|
class: "w-full"
|
|
324
324
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -331,15 +331,15 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
331
331
|
e(u, { span: 12 }, {
|
|
332
332
|
default: s(() => [
|
|
333
333
|
e(d, {
|
|
334
|
-
label: l.$t("sysUserOps.
|
|
335
|
-
prop: "
|
|
334
|
+
label: l.$t("sysUserOps.engineerCertificate"),
|
|
335
|
+
prop: "engineerCertificate"
|
|
336
336
|
}, {
|
|
337
337
|
default: s(() => [
|
|
338
338
|
e(z, {
|
|
339
|
-
modelValue: r(a).
|
|
340
|
-
"onUpdate:modelValue": o[8] || (o[8] = (t) => r(a).
|
|
341
|
-
placeholder: l.$t("sysUserOps.
|
|
342
|
-
"type-code": r(y).
|
|
339
|
+
modelValue: r(a).engineerCertificate,
|
|
340
|
+
"onUpdate:modelValue": o[8] || (o[8] = (t) => r(a).engineerCertificate = t),
|
|
341
|
+
placeholder: l.$t("sysUserOps.engineerCertificateRequired"),
|
|
342
|
+
"type-code": r(y).DICT_ENGINEER_GRADE,
|
|
343
343
|
clearable: "",
|
|
344
344
|
filterable: "",
|
|
345
345
|
class: "w-full"
|
|
@@ -353,15 +353,15 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
353
353
|
e(u, { span: 12 }, {
|
|
354
354
|
default: s(() => [
|
|
355
355
|
e(d, {
|
|
356
|
-
label: l.$t("sysUserOps.
|
|
357
|
-
prop: "
|
|
356
|
+
label: l.$t("sysUserOps.engineerJobMode"),
|
|
357
|
+
prop: "engineerJobMode"
|
|
358
358
|
}, {
|
|
359
359
|
default: s(() => [
|
|
360
360
|
e(n, {
|
|
361
|
-
modelValue: r(a).
|
|
362
|
-
"onUpdate:modelValue": o[9] || (o[9] = (t) => r(a).
|
|
363
|
-
placeholder: l.$t("sysUserOps.
|
|
364
|
-
data: r(f).
|
|
361
|
+
modelValue: r(a).engineerJobMode,
|
|
362
|
+
"onUpdate:modelValue": o[9] || (o[9] = (t) => r(a).engineerJobMode = t),
|
|
363
|
+
placeholder: l.$t("sysUserOps.engineerJobModeRequired"),
|
|
364
|
+
data: r(f).engineerJobModeDictEnum.values,
|
|
365
365
|
clearable: "",
|
|
366
366
|
class: "w-full"
|
|
367
367
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -426,14 +426,14 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
426
426
|
e(u, { span: 24 }, {
|
|
427
427
|
default: s(() => [
|
|
428
428
|
e(d, {
|
|
429
|
-
label: l.$t("sysUserOps.
|
|
430
|
-
prop: "
|
|
429
|
+
label: l.$t("sysUserOps.engineerSpecialty"),
|
|
430
|
+
prop: "engineerSpecialty"
|
|
431
431
|
}, {
|
|
432
432
|
default: s(() => [
|
|
433
433
|
e(g, {
|
|
434
|
-
modelValue: r(a).
|
|
435
|
-
"onUpdate:modelValue": o[12] || (o[12] = (t) => r(a).
|
|
436
|
-
placeholder: l.$t("sysUserOps.
|
|
434
|
+
modelValue: r(a).engineerSpecialty,
|
|
435
|
+
"onUpdate:modelValue": o[12] || (o[12] = (t) => r(a).engineerSpecialty = t),
|
|
436
|
+
placeholder: l.$t("sysUserOps.engineerSpecialtyRequired"),
|
|
437
437
|
type: "textarea",
|
|
438
438
|
autosize: { minRows: 2 },
|
|
439
439
|
maxlength: "200",
|
|
@@ -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";
|
|
@@ -3,7 +3,7 @@ import { ElMessage as C } from "element-plus";
|
|
|
3
3
|
import { useI18n as X } from "vue-i18n";
|
|
4
4
|
import { sysUserExtApi as w } from "./index.mjs";
|
|
5
5
|
import { generateRandomKey as H } from "jmash-core";
|
|
6
|
-
import { D as f, C as y } from "./index-
|
|
6
|
+
import { D as f, C as y } from "./index-Cz0VExll.mjs";
|
|
7
7
|
const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
8
8
|
__name: "edit",
|
|
9
9
|
props: /* @__PURE__ */ v({
|
|
@@ -17,16 +17,16 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
17
17
|
modelModifiers: {}
|
|
18
18
|
}),
|
|
19
19
|
emits: /* @__PURE__ */ v(["refresh"], ["update:modelValue"]),
|
|
20
|
-
setup(
|
|
21
|
-
const { t: i } = X(),
|
|
20
|
+
setup(R, { emit: S }) {
|
|
21
|
+
const { t: i } = X(), q = j(), p = Z(R, "modelValue"), $ = S;
|
|
22
22
|
f.sysOrgBizDict.useValues();
|
|
23
23
|
let a = M({
|
|
24
24
|
requestId: Math.random() * 10 + "",
|
|
25
|
-
updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,
|
|
25
|
+
updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,engineerType,engineerJobMode,engineerSpecialty,engineerCertificate",
|
|
26
26
|
userType: y.userType.companyOps,
|
|
27
27
|
jobStatus: y.jobStatus.working,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
engineerType: y.engineerType.ease_test,
|
|
29
|
+
engineerJobMode: y.engineerJobMode.resident
|
|
30
30
|
});
|
|
31
31
|
const T = (l, o, n) => {
|
|
32
32
|
o === void 0 && n(new Error(i("sysUserOps.mobilePhoneRequired"))), /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(o) || n(new Error(i("sysUserOps.mobilePhoneRequireds"))), n();
|
|
@@ -59,17 +59,17 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
59
59
|
trigger: "blur"
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
|
-
|
|
62
|
+
engineerType: [
|
|
63
63
|
{
|
|
64
64
|
required: !0,
|
|
65
|
-
message: i("sysUserOps.
|
|
65
|
+
message: i("sysUserOps.engineerTypeRequired"),
|
|
66
66
|
trigger: "change"
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
|
-
|
|
69
|
+
engineerJobMode: [
|
|
70
70
|
{
|
|
71
71
|
required: !0,
|
|
72
|
-
message: i("sysUserOps.
|
|
72
|
+
message: i("sysUserOps.engineerJobModeRequired"),
|
|
73
73
|
trigger: "change"
|
|
74
74
|
}
|
|
75
75
|
],
|
|
@@ -94,13 +94,13 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
94
94
|
trigger: "blur"
|
|
95
95
|
}
|
|
96
96
|
]
|
|
97
|
-
}), N =
|
|
97
|
+
}), N = R, I = Object.keys(N.entityKey), b = j(I.length >= 1);
|
|
98
98
|
b.value && w.findById(N.entityKey).then(({ data: l }) => {
|
|
99
99
|
Object.assign(a, l), a.gender === "unknown" && (a.gender = "");
|
|
100
100
|
});
|
|
101
101
|
const k = async () => {
|
|
102
102
|
var l;
|
|
103
|
-
await ((l =
|
|
103
|
+
await ((l = q.value) == null ? void 0 : l.validate((o) => {
|
|
104
104
|
o && (b.value ? w.update(a).then((n) => {
|
|
105
105
|
console.log(n), n.status === 200 && (C({
|
|
106
106
|
message: i("common.submitSuccess"),
|
|
@@ -149,7 +149,7 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
149
149
|
default: s(() => [
|
|
150
150
|
e(K, {
|
|
151
151
|
ref_key: "sysUserExtFormRef",
|
|
152
|
-
ref:
|
|
152
|
+
ref: q,
|
|
153
153
|
model: r(a),
|
|
154
154
|
"label-width": "100px",
|
|
155
155
|
rules: E
|
|
@@ -310,15 +310,15 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
310
310
|
e(u, { span: 12 }, {
|
|
311
311
|
default: s(() => [
|
|
312
312
|
e(d, {
|
|
313
|
-
label: l.$t("sysUserOps.
|
|
314
|
-
prop: "
|
|
313
|
+
label: l.$t("sysUserOps.engineerType"),
|
|
314
|
+
prop: "engineerType"
|
|
315
315
|
}, {
|
|
316
316
|
default: s(() => [
|
|
317
317
|
e(n, {
|
|
318
|
-
modelValue: r(a).
|
|
319
|
-
"onUpdate:modelValue": o[7] || (o[7] = (t) => r(a).
|
|
320
|
-
placeholder: l.$t("sysUserOps.
|
|
321
|
-
data: r(f).
|
|
318
|
+
modelValue: r(a).engineerType,
|
|
319
|
+
"onUpdate:modelValue": o[7] || (o[7] = (t) => r(a).engineerType = t),
|
|
320
|
+
placeholder: l.$t("sysUserOps.engineerTypeRequired"),
|
|
321
|
+
data: r(f).engineerTypeDictEnum.values,
|
|
322
322
|
clearable: "",
|
|
323
323
|
class: "w-full"
|
|
324
324
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -331,15 +331,15 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
331
331
|
e(u, { span: 12 }, {
|
|
332
332
|
default: s(() => [
|
|
333
333
|
e(d, {
|
|
334
|
-
label: l.$t("sysUserOps.
|
|
335
|
-
prop: "
|
|
334
|
+
label: l.$t("sysUserOps.engineerCertificate"),
|
|
335
|
+
prop: "engineerCertificate"
|
|
336
336
|
}, {
|
|
337
337
|
default: s(() => [
|
|
338
338
|
e(z, {
|
|
339
|
-
modelValue: r(a).
|
|
340
|
-
"onUpdate:modelValue": o[8] || (o[8] = (t) => r(a).
|
|
341
|
-
placeholder: l.$t("sysUserOps.
|
|
342
|
-
"type-code": r(y).
|
|
339
|
+
modelValue: r(a).engineerCertificate,
|
|
340
|
+
"onUpdate:modelValue": o[8] || (o[8] = (t) => r(a).engineerCertificate = t),
|
|
341
|
+
placeholder: l.$t("sysUserOps.engineerCertificateRequired"),
|
|
342
|
+
"type-code": r(y).DICT_ENGINEER_GRADE,
|
|
343
343
|
clearable: "",
|
|
344
344
|
filterable: "",
|
|
345
345
|
class: "w-full"
|
|
@@ -353,15 +353,15 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
353
353
|
e(u, { span: 12 }, {
|
|
354
354
|
default: s(() => [
|
|
355
355
|
e(d, {
|
|
356
|
-
label: l.$t("sysUserOps.
|
|
357
|
-
prop: "
|
|
356
|
+
label: l.$t("sysUserOps.engineerJobMode"),
|
|
357
|
+
prop: "engineerJobMode"
|
|
358
358
|
}, {
|
|
359
359
|
default: s(() => [
|
|
360
360
|
e(n, {
|
|
361
|
-
modelValue: r(a).
|
|
362
|
-
"onUpdate:modelValue": o[9] || (o[9] = (t) => r(a).
|
|
363
|
-
placeholder: l.$t("sysUserOps.
|
|
364
|
-
data: r(f).
|
|
361
|
+
modelValue: r(a).engineerJobMode,
|
|
362
|
+
"onUpdate:modelValue": o[9] || (o[9] = (t) => r(a).engineerJobMode = t),
|
|
363
|
+
placeholder: l.$t("sysUserOps.engineerJobModeRequired"),
|
|
364
|
+
data: r(f).engineerJobModeDictEnum.values,
|
|
365
365
|
clearable: "",
|
|
366
366
|
class: "w-full"
|
|
367
367
|
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
@@ -426,14 +426,14 @@ const Q = { class: "dialog-footer" }, ae = /* @__PURE__ */ G({
|
|
|
426
426
|
e(u, { span: 24 }, {
|
|
427
427
|
default: s(() => [
|
|
428
428
|
e(d, {
|
|
429
|
-
label: l.$t("sysUserOps.
|
|
430
|
-
prop: "
|
|
429
|
+
label: l.$t("sysUserOps.engineerSpecialty"),
|
|
430
|
+
prop: "engineerSpecialty"
|
|
431
431
|
}, {
|
|
432
432
|
default: s(() => [
|
|
433
433
|
e(g, {
|
|
434
|
-
modelValue: r(a).
|
|
435
|
-
"onUpdate:modelValue": o[12] || (o[12] = (t) => r(a).
|
|
436
|
-
placeholder: l.$t("sysUserOps.
|
|
434
|
+
modelValue: r(a).engineerSpecialty,
|
|
435
|
+
"onUpdate:modelValue": o[12] || (o[12] = (t) => r(a).engineerSpecialty = t),
|
|
436
|
+
placeholder: l.$t("sysUserOps.engineerSpecialtyRequired"),
|
|
437
437
|
type: "textarea",
|
|
438
438
|
autosize: { minRows: 2 },
|
|
439
439
|
maxlength: "200",
|
|
@@ -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",
|
|
@@ -2,9 +2,9 @@ import { defineComponent as le, ref as S, reactive as R, resolveComponent as d,
|
|
|
2
2
|
import { useTableHooks as ae } from "jmash-core";
|
|
3
3
|
import { useI18n as ne } from "vue-i18n";
|
|
4
4
|
import { useRouter as se } from "vue-router";
|
|
5
|
-
import { D as m, C as B } from "./index-
|
|
5
|
+
import { D as m, C as B } from "./index-Cz0VExll.mjs";
|
|
6
6
|
import { sysUserExtApi as re } from "./index.mjs";
|
|
7
|
-
import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-DCq50Piw.mjs";
|
|
8
8
|
const de = { class: "app-container" }, ie = { class: "search-container" }, me = { key: 0 }, pe = ["onClick"], ye = ["onClick"], be = ["onClick"], ke = /* @__PURE__ */ le({
|
|
9
9
|
__name: "index",
|
|
10
10
|
setup(ce) {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as W, ref as $, resolveComponent as s, resolveDirective
|
|
|
2
2
|
import { useTableHooks as Z } from "jmash-core";
|
|
3
3
|
import { useI18n as x } from "vue-i18n";
|
|
4
4
|
import { useRouter as ee } from "vue-router";
|
|
5
|
-
import { C as k, D as te } from "./index-
|
|
5
|
+
import { C as k, D as te } from "./index-Cz0VExll.mjs";
|
|
6
6
|
import { sysOrgApi as oe } from "./index.mjs";
|
|
7
7
|
const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], be = /* @__PURE__ */ W({
|
|
8
8
|
__name: "index",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as te, ref as N, resolveComponent as s, resolveDirectiv
|
|
|
2
2
|
import { useTableHooks as se } from "jmash-core";
|
|
3
3
|
import { ElMessageBox as j, ElMessage as T } from "element-plus";
|
|
4
4
|
import { useI18n as ae } from "vue-i18n";
|
|
5
|
-
import { C as re, D as ie } from "./index-
|
|
5
|
+
import { C as re, D as ie } from "./index-Cz0VExll.mjs";
|
|
6
6
|
import { sysOrgApi as u } from "./index.mjs";
|
|
7
7
|
import { useRouter as me } from "vue-router";
|
|
8
8
|
const ce = { class: "app-container" }, de = { class: "search-container" }, ue = ["onClick"], pe = ["onClick"], fe = ["onClick"], ke = /* @__PURE__ */ te({
|
|
@@ -16,9 +16,9 @@ s(e, "HAS_STATUS", m([
|
|
|
16
16
|
])), // 公司发票类型
|
|
17
17
|
s(e, "ENUM_INVOICE_TYPE", "xyvcard.itsmsys.protobuf.InvoiceType"), // 管理人员工作状态
|
|
18
18
|
s(e, "ENUM_JOB_ATATUS", "xyvcard.itsmsys.protobuf.SysUserJobStatus"), // 运维人员工作模式
|
|
19
|
-
s(e, "
|
|
19
|
+
s(e, "ENUM_ENGINEER_JOB_MODE", "xyvcard.itsmsys.protobuf.SysUserJobMode"), // 人员性别
|
|
20
20
|
s(e, "ENUM_GENDER", "jmash.protobuf.Gender"), // 运维人员工程师类型
|
|
21
|
-
s(e, "
|
|
21
|
+
s(e, "ENUM_ENGINEER_TYPE", "xyvcard.itsmsys.protobuf.SysEngineerType"), // 机构类型
|
|
22
22
|
s(e, "orgType", {
|
|
23
23
|
// 公司
|
|
24
24
|
cloud: "CLOUD",
|
|
@@ -41,7 +41,7 @@ s(e, "userType", {
|
|
|
41
41
|
// 外协运维
|
|
42
42
|
outsourceOps: "OUTSOURCE_OPS"
|
|
43
43
|
}), // 工程师类型
|
|
44
|
-
s(e, "
|
|
44
|
+
s(e, "engineerType", {
|
|
45
45
|
// 等保测评
|
|
46
46
|
ease_test: "EASE_TEST",
|
|
47
47
|
// 安全服务
|
|
@@ -49,7 +49,7 @@ s(e, "engineeType", {
|
|
|
49
49
|
// 密码评价
|
|
50
50
|
password_ecaluation: "PASSWORD_EVALUATION"
|
|
51
51
|
}), // 工作模式
|
|
52
|
-
s(e, "
|
|
52
|
+
s(e, "engineerJobMode", {
|
|
53
53
|
// 驻场人员
|
|
54
54
|
resident: "RESIDENT",
|
|
55
55
|
// 远程人员
|
|
@@ -61,7 +61,7 @@ s(e, "amapConfig", {
|
|
|
61
61
|
// 高德地图安全密钥
|
|
62
62
|
securityJsCode: "9c92eb8120ea30d8c5ce75140e5b5c08"
|
|
63
63
|
}), // 运维工程师资质等级
|
|
64
|
-
s(e, "
|
|
64
|
+
s(e, "DICT_ENGINEER_GRADE", "engineer_grade"), // 公司与外协单位排序
|
|
65
65
|
s(e, "orderBy", {
|
|
66
66
|
// 排序名称
|
|
67
67
|
orderName: "createTime",
|
|
@@ -167,17 +167,17 @@ s(r, "jobStatusDictEnum", new o(
|
|
|
167
167
|
e.MODULE_ITSMSYS,
|
|
168
168
|
e.ENUM_JOB_ATATUS
|
|
169
169
|
)), // 运维人员工作模式
|
|
170
|
-
s(r, "
|
|
170
|
+
s(r, "engineerJobModeDictEnum", new o(
|
|
171
171
|
e.MODULE_ITSMSYS,
|
|
172
|
-
e.
|
|
172
|
+
e.ENUM_ENGINEER_JOB_MODE
|
|
173
173
|
)), // 性别
|
|
174
174
|
s(r, "genderDict", new o(
|
|
175
175
|
e.MODULE_RBAC,
|
|
176
176
|
e.ENUM_GENDER
|
|
177
177
|
)), // 运维人员工程师类型
|
|
178
|
-
s(r, "
|
|
178
|
+
s(r, "engineerTypeDictEnum", new o(
|
|
179
179
|
e.MODULE_ITSMSYS,
|
|
180
|
-
e.
|
|
180
|
+
e.ENUM_ENGINEER_TYPE
|
|
181
181
|
)), // 公司人员选择公司名称
|
|
182
182
|
s(r, "sysOrgBizDict", new p({
|
|
183
183
|
orgType: e.orgType.cloud
|
|
@@ -185,8 +185,8 @@ s(r, "sysOrgBizDict", new p({
|
|
|
185
185
|
s(r, "sysOutBizDict", new p({
|
|
186
186
|
orgType: e.orgType.outsource
|
|
187
187
|
})), // 运维工程师资质等级
|
|
188
|
-
s(r, "
|
|
189
|
-
e.
|
|
188
|
+
s(r, "engineerCertificateDict", new O(
|
|
189
|
+
e.DICT_ENGINEER_GRADE
|
|
190
190
|
)), // 分组
|
|
191
191
|
s(r, "deptBizDict", new M({})), // 岗位
|
|
192
192
|
s(r, "jobBizDict", new I({}));
|