xyvcard-itsmsys 0.0.9 → 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.
Files changed (74) hide show
  1. package/dist/{edit-RSO388mB.mjs → edit-BSIP_9Mq.mjs} +112 -114
  2. package/dist/{edit-DG_Iw1-J.mjs → edit-BcE5qrWo.mjs} +1 -1
  3. package/dist/{edit-BNe0hNw4.mjs → edit-BsUWSNnA.mjs} +108 -110
  4. package/dist/{edit-DdUUCXSa.mjs → edit-CW0kqOpj.mjs} +1 -1
  5. package/dist/{edit-BqPZHwxi.mjs → edit-CiCHPkRg.mjs} +1 -1
  6. package/dist/{edit-CyM6IuLb.mjs → edit-Dxs-2AFY.mjs} +118 -120
  7. package/dist/{edit-CwV1OVfe.mjs → edit-znznl9Td.mjs} +1 -1
  8. 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
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-BQeZknmJ.mjs → edit.vue_vue_type_script_setup_true_lang-DOiO9REN.mjs} +128 -146
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs → edit.vue_vue_type_script_setup_true_lang-DjrTJAzO.mjs} +1 -1
  11. package/dist/edit.vue_vue_type_script_setup_true_lang-PDq1GpSZ.mjs +404 -0
  12. package/dist/{index-CMBtB1kH.mjs → index-4qnVgDwe.mjs} +4 -4
  13. package/dist/index-B2xwBTw-.mjs +20 -0
  14. package/dist/{index-CI8Z4rNf.mjs → index-BIvJ7rs4.mjs} +1 -1
  15. package/dist/{index-w2SWNZRB.mjs → index-BTO0NHK6.mjs} +2 -2
  16. package/dist/{index-NugT80P7.mjs → index-BV3Je3Rq.mjs} +1 -1
  17. package/dist/{index-DirPUdCN.mjs → index-CNRO77Xg.mjs} +1 -1
  18. package/dist/{index-DxILUznW.mjs → index-CzE5REdf.mjs} +1 -1
  19. package/dist/{index-CNGaGeE7.mjs → index-Hh4b5GAI.mjs} +2 -2
  20. package/dist/{index-CQ5Bo5a2.mjs → index-cBbN-uY2.mjs} +50 -30
  21. package/dist/index.mjs +481 -483
  22. package/dist/{index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs → index.vue_vue_type_script_setup_true_lang-B18iZWXl.mjs} +2 -2
  23. package/dist/{info-Dilg-bji.mjs → info-BCPme1g5.mjs} +1 -1
  24. package/dist/{info-BFZTqoY3.mjs → info-BP7wPWFZ.mjs} +1 -1
  25. package/dist/{info-DReeRuaA.mjs → info-CtGMbfQJ.mjs} +1 -1
  26. package/dist/{info-CXx2899k.mjs → info-DCRqBi8M.mjs} +3 -3
  27. package/dist/{info-DvYUiSRY.mjs → info-DRYPl2T-.mjs} +3 -3
  28. package/dist/{info-C0OHjgoS.mjs → info-Dk3RzCIp.mjs} +11 -11
  29. package/dist/style.css +1 -1
  30. package/dts/App.vue.d.ts +2 -0
  31. package/dts/api/dict.d.ts +15 -0
  32. package/dts/api/index.d.ts +13 -0
  33. package/dts/api/itsm-sys-org/index.d.ts +17 -0
  34. package/dts/api/itsm-sys-org/types.d.ts +83 -0
  35. package/dts/api/itsm-sys-org-invoice/index.d.ts +14 -0
  36. package/dts/api/itsm-sys-org-invoice/types.d.ts +52 -0
  37. package/dts/api/itsm-sys-user-ext/index.d.ts +14 -0
  38. package/dts/api/itsm-sys-user-ext/types.d.ts +90 -0
  39. package/dts/components/TMaps/index.vue.d.ts +20 -0
  40. package/dts/constant.d.ts +46 -0
  41. package/dts/index.d.ts +11 -0
  42. package/dts/lang/index.d.ts +1 -0
  43. package/dts/lang/itsmsys/en.d.ts +73 -0
  44. package/dts/lang/itsmsys/zh-cn.d.ts +137 -0
  45. package/dts/main.d.ts +4 -0
  46. package/dts/permission.d.ts +1 -0
  47. package/dts/router/index.d.ts +12 -0
  48. package/dts/utils/TMap.d.ts +1 -0
  49. package/dts/utils/common.d.ts +1 -0
  50. package/dts/utils/momentPlugin.d.ts +5 -0
  51. package/dts/views/itsmsys/itsm-sys-gov/edit.vue.d.ts +2 -0
  52. package/dts/views/itsmsys/itsm-sys-gov/index.vue.d.ts +2 -0
  53. package/dts/views/itsmsys/itsm-sys-gov/info.vue.d.ts +2 -0
  54. package/dts/views/itsmsys/itsm-sys-org/edit.vue.d.ts +2 -0
  55. package/dts/views/itsmsys/itsm-sys-org/index.vue.d.ts +2 -0
  56. package/dts/views/itsmsys/itsm-sys-org/info.vue.d.ts +2 -0
  57. package/dts/views/itsmsys/itsm-sys-org-invoice/edit.vue.d.ts +22 -0
  58. package/dts/views/itsmsys/itsm-sys-org-invoice/index.vue.d.ts +2 -0
  59. package/dts/views/itsmsys/itsm-sys-out/edit.vue.d.ts +2 -0
  60. package/dts/views/itsmsys/itsm-sys-out/index.vue.d.ts +2 -0
  61. package/dts/views/itsmsys/itsm-sys-out/info.vue.d.ts +2 -0
  62. package/dts/views/itsmsys/itsm-sys-user-man/edit.vue.d.ts +22 -0
  63. package/dts/views/itsmsys/itsm-sys-user-man/index.vue.d.ts +2 -0
  64. package/dts/views/itsmsys/itsm-sys-user-man/info.vue.d.ts +2 -0
  65. package/dts/views/itsmsys/itsm-sys-user-ops/edit.vue.d.ts +22 -0
  66. package/dts/views/itsmsys/itsm-sys-user-ops/index.vue.d.ts +2 -0
  67. package/dts/views/itsmsys/itsm-sys-user-ops/info.vue.d.ts +2 -0
  68. package/dts/views/itsmsys/itsm-sys-user-out/edit.vue.d.ts +22 -0
  69. package/dts/views/itsmsys/itsm-sys-user-out/index.vue.d.ts +2 -0
  70. package/dts/views/itsmsys/itsm-sys-user-out/info.vue.d.ts +2 -0
  71. package/package.json +4 -4
  72. package/dist/common-B2PCBCJ2.mjs +0 -13
  73. package/dist/edit.vue_vue_type_script_setup_true_lang-CX_5__mh.mjs +0 -438
  74. package/dist/index-BRupqW34.mjs +0 -96
@@ -1,10 +1,10 @@
1
- import { defineComponent as H, mergeModels as M, ref as V, useModel as G, reactive as S, resolveComponent as i, openBlock as b, createBlock as c, withCtx as l, createElementVNode as j, createVNode as e, createTextVNode as h, toDisplayString as O, unref as r, createCommentVNode as L } from "vue";
2
- import { ElMessage as I } from "element-plus";
3
- import { useI18n as X } from "vue-i18n";
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 { g as Q } from "./common-B2PCBCJ2.mjs";
6
- import { D as f, C as W } from "./index-CQ5Bo5a2.mjs";
7
- const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
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(q, { emit: T }) {
21
- const { t: n } = X(), R = V(), m = G(q, "modelValue"), $ = T, y = V(!1);
22
- f.sysOutBizDict.useValues();
23
- let o = S({
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: W.userType.outsourceOps
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 k = (s, a, d) => {
29
- a === void 0 && d(new Error(n("sysUserOps.mobilePhoneRequired"))), /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(a) || d(new Error(n("sysUserOps.mobilePhoneRequireds"))), d();
30
- }, C = S({
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: n("sysUserOps.realNameRequired"),
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: k
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: n("sysUserOps.emailRequireds"),
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: n("sysUserOps.idNoLengthRequired"),
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: n("sysUserOps.engineeTypeRequired"),
65
+ message: u("sysUserOps.engineeTypeRequired"),
77
66
  trigger: "change"
78
67
  }
79
68
  ],
80
69
  engineeJobMode: [
81
70
  {
82
71
  required: !0,
83
- message: n("sysUserOps.engineeJobModeRequired"),
72
+ message: u("sysUserOps.engineeJobModeRequired"),
84
73
  trigger: "change"
85
74
  }
86
75
  ],
87
76
  orgId: [
88
77
  {
89
78
  required: !0,
90
- message: n("sysUserOps.orgIdRequired"),
79
+ message: u("sysUserOps.orgIdRequired"),
91
80
  trigger: "change"
92
81
  }
93
82
  ],
94
83
  userPassword: [
95
84
  {
96
85
  required: !0,
97
- message: n("sysUserOps.userPasswordRequired"),
86
+ message: u("sysUserOps.userPasswordRequired"),
98
87
  trigger: "blur"
99
88
  }
100
89
  ]
101
- }), _ = q, E = Object.keys(_.entityKey), v = V(E.length >= 1);
102
- v.value && w.findById(_.entityKey).then(({ data: s }) => {
103
- Object.assign(o, s);
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 D = async () => {
94
+ const I = async () => {
106
95
  var s;
107
- await ((s = R.value) == null ? void 0 : s.validate((a) => {
108
- a && (v.value ? w.update(o).then((d) => {
109
- console.log(d), d.status === 200 && (I({
110
- message: n("common.submitSuccess"),
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), $("refresh", d.status === 200));
113
- }) : w.create(o).then((d) => {
114
- console.log(d), d.status === 200 && (I({
115
- message: n("common.submitSuccess"),
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), $("refresh", d.status === 200));
106
+ }), m.value && (m.value = !1), R("refresh", n.status === 200));
118
107
  }));
119
108
  }));
120
109
  };
121
110
  function J() {
122
- o.userPassword = Q();
111
+ a.userPassword = Y();
123
112
  }
124
- function N() {
113
+ function v() {
125
114
  m.value && (m.value = !1);
126
115
  }
127
- return (s, a) => {
128
- const d = i("jmash-select"), u = i("el-form-item"), p = i("el-col"), g = i("el-input"), z = i("jmash-enum-select"), U = i("el-button"), B = i("View"), P = i("el-icon"), A = i("Hide"), K = i("el-row"), F = i("el-form"), Z = i("el-dialog");
129
- return b(), c(Z, {
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": a[12] || (a[12] = (t) => m.value = t),
132
- onClose: N
120
+ "onUpdate:modelValue": o[11] || (o[11] = (r) => m.value = r),
121
+ onClose: v
133
122
  }, {
134
123
  footer: l(() => [
135
- j("div", Y, [
136
- e(U, { onClick: N }, {
124
+ L("div", x, [
125
+ e(h, { onClick: v }, {
137
126
  default: l(() => [
138
- h(O(s.$t("common.cancel")), 1)
127
+ b(c(s.$t("common.cancel")), 1)
139
128
  ]),
140
129
  _: 1
141
130
  }),
142
- e(U, {
131
+ e(h, {
143
132
  type: "primary",
144
- onClick: D
133
+ onClick: I
145
134
  }, {
146
135
  default: l(() => [
147
- h(O(s.$t("common.confirm")), 1)
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(F, {
143
+ e(A, {
155
144
  ref_key: "sysUserExtFormRef",
156
- ref: R,
157
- model: r(o),
145
+ ref: q,
146
+ model: t(a),
158
147
  "label-width": "100px",
159
- rules: C
148
+ rules: k
160
149
  }, {
161
150
  default: l(() => [
162
- e(K, null, {
151
+ e(z, null, {
163
152
  default: l(() => [
164
- e(p, { span: 12 }, {
153
+ e(i, { span: 12 }, {
165
154
  default: l(() => [
166
- e(u, {
155
+ e(d, {
167
156
  label: s.$t("sysUserOps.orgId"),
168
157
  prop: "orgId"
169
158
  }, {
170
159
  default: l(() => [
171
- e(d, {
172
- modelValue: r(o).orgId,
173
- "onUpdate:modelValue": a[0] || (a[0] = (t) => r(o).orgId = t),
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: r(f).sysOutBizDict.values,
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(p, { span: 12 }, {
174
+ e(i, { span: 12 }, {
186
175
  default: l(() => [
187
- e(u, {
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: r(o).realName,
194
- "onUpdate:modelValue": a[1] || (a[1] = (t) => r(o).realName = t),
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(p, { span: 12 }, {
195
+ e(i, { span: 12 }, {
207
196
  default: l(() => [
208
- e(u, {
197
+ e(d, {
209
198
  label: s.$t("sysUserOps.gender"),
210
199
  prop: "gender"
211
200
  }, {
212
201
  default: l(() => [
213
- e(z, {
214
- modelValue: r(o).gender,
215
- "onUpdate:modelValue": a[2] || (a[2] = (t) => r(o).gender = t),
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(p, { span: 12 }, {
216
+ e(i, { span: 12 }, {
228
217
  default: l(() => [
229
- e(u, {
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: r(o).mobilePhone,
236
- "onUpdate:modelValue": a[3] || (a[3] = (t) => r(o).mobilePhone = t),
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(p, { span: 12 }, {
237
+ e(i, { span: 12 }, {
249
238
  default: l(() => [
250
- e(u, {
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: r(o).email,
257
- "onUpdate:modelValue": a[4] || (a[4] = (t) => r(o).email = t),
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(p, { span: 12 }, {
258
+ e(i, { span: 12 }, {
270
259
  default: l(() => [
271
- e(u, {
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: r(o).idNo,
278
- "onUpdate:modelValue": a[5] || (a[5] = (t) => r(o).idNo = t),
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(p, { span: 12 }, {
279
+ e(i, { span: 12 }, {
291
280
  default: l(() => [
292
- e(u, {
281
+ e(d, {
293
282
  label: s.$t("sysUserOps.engineeType"),
294
283
  prop: "engineeType"
295
284
  }, {
296
285
  default: l(() => [
297
- e(d, {
298
- modelValue: r(o).engineeType,
299
- "onUpdate:modelValue": a[6] || (a[6] = (t) => r(o).engineeType = t),
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: r(f).engineeTypeDictEnum.values,
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(p, { span: 12 }, {
300
+ e(i, { span: 12 }, {
312
301
  default: l(() => [
313
- e(u, {
302
+ e(d, {
314
303
  label: s.$t("sysUserOps.engineeJobMode"),
315
304
  prop: "engineeJobMode"
316
305
  }, {
317
306
  default: l(() => [
318
- e(d, {
319
- modelValue: r(o).engineeJobMode,
320
- "onUpdate:modelValue": a[7] || (a[7] = (t) => r(o).engineeJobMode = t),
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: r(f).engineeJobModeDictEnum.values,
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(p, { span: 12 }, {
321
+ e(i, { span: 12 }, {
333
322
  default: l(() => [
334
- e(u, {
323
+ e(d, {
335
324
  label: s.$t("sysUserOps.jobStatus"),
336
325
  prop: "jobStatus"
337
326
  }, {
338
327
  default: l(() => [
339
- e(d, {
340
- modelValue: r(o).jobStatus,
341
- "onUpdate:modelValue": a[8] || (a[8] = (t) => r(o).jobStatus = t),
342
- placeholder: s.$t("sysUserOps.jobStatusRequired"),
343
- data: r(f).jobStatusDictEnum.values,
344
- clearable: "",
345
- class: "w-full"
346
- }, null, 8, ["modelValue", "placeholder", "data"])
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
- r(o).userId ? L("", !0) : (b(), c(p, {
351
+ V.value ? Q("", !0) : (f(), O(i, {
354
352
  key: 0,
355
353
  span: 12
356
354
  }, {
357
355
  default: l(() => [
358
- e(u, {
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: r(o).userPassword,
365
- "onUpdate:modelValue": a[10] || (a[10] = (t) => r(o).userPassword = t),
362
+ modelValue: t(a).userPassword,
363
+ "onUpdate:modelValue": o[9] || (o[9] = (r) => t(a).userPassword = r),
366
364
  clearable: "",
367
- type: y.value ? "text" : "password",
365
+ type: "password",
366
+ "show-password": "",
368
367
  placeholder: s.$t("sysUserOps.userPasswordRequired")
369
368
  }, {
370
369
  append: l(() => [
371
- e(U, { onClick: J }, {
370
+ e(h, { onClick: J }, {
372
371
  default: l(() => [
373
- h(O(s.$t("sysUserOps.randomPwd")), 1)
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", "type", "placeholder"])
378
+ }, 8, ["modelValue", "placeholder"])
397
379
  ]),
398
380
  _: 1
399
381
  }, 8, ["label"])
400
382
  ]),
401
383
  _: 1
402
384
  })),
403
- e(p, { span: 24 }, {
385
+ e(i, { span: 24 }, {
404
386
  default: l(() => [
405
- e(u, {
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: r(o).engineeSpecialty,
412
- "onUpdate:modelValue": a[11] || (a[11] = (t) => r(o).engineeSpecialty = t),
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
- re as _
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-CQ5Bo5a2.mjs";
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__ */ _({