xyvcard-itsmsys 0.0.24 → 0.0.26

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 (33) hide show
  1. package/dist/{FileSaver.min-BeKvLuyk.mjs → FileSaver.min-5d27MsC6.mjs} +12 -12
  2. package/dist/{edit-CNEVornb.mjs → edit-3Y_XpZxY.mjs} +3 -3
  3. package/dist/{edit-CfbonHOl.mjs → edit-4Z-ZnpFy.mjs} +1 -1
  4. package/dist/{edit-BrHOGUbU.mjs → edit-8-gDtIOz.mjs} +1 -1
  5. package/dist/{edit-DybO5r3p.mjs → edit-BlkaYTGl.mjs} +1 -1
  6. package/dist/{edit-COKceKzl.mjs → edit-BuYTlsXr.mjs} +3 -3
  7. package/dist/{edit-_QJnKCdq.mjs → edit-CEYAvHd3.mjs} +1 -1
  8. package/dist/{edit-DYqAdRsK.mjs → edit-diNsokNw.mjs} +3 -3
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-CaZa7PUh.mjs → edit.vue_vue_type_script_setup_true_lang-CFG4x85k.mjs} +2 -2
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-BOvUiQbv.mjs → edit.vue_vue_type_script_setup_true_lang-DeduEUOD.mjs} +6 -2
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-BfQVspxd.mjs → edit.vue_vue_type_script_setup_true_lang-T6aiep4s.mjs} +74 -72
  12. package/dist/{edit.vue_vue_type_script_setup_true_lang-D2j1brBX.mjs → edit.vue_vue_type_script_setup_true_lang-g81nThyI.mjs} +59 -57
  13. package/dist/{import-upload-CC1Ho43e.mjs → import-upload-BxVBkr7-.mjs} +2 -2
  14. package/dist/{import-upload-BaJGVcNb.mjs → import-upload-CtJh5u39.mjs} +2 -2
  15. package/dist/{index-igV06vtf.mjs → index-C2od41K0.mjs} +161 -153
  16. package/dist/{index-BV5uRZXE.mjs → index-CNmDTZ5s.mjs} +64 -58
  17. package/dist/{index-cpyRUYdS.mjs → index-CR3fzc4o.mjs} +79 -73
  18. package/dist/{index-Di1yx94g.mjs → index-Cgq1M4Qb.mjs} +120 -112
  19. package/dist/{index-CAzxJ_Vp.mjs → index-CuCoE8rm.mjs} +104 -98
  20. package/dist/{index-B2xwBTw-.mjs → index-RF4VErgF.mjs} +8 -8
  21. package/dist/{index-IpHv0Vzi.mjs → index-Trc70jRt.mjs} +1 -1
  22. package/dist/{index-WHNNztBg.mjs → index-XMaINj6l.mjs} +207 -194
  23. package/dist/index.mjs +2 -2
  24. package/dist/index.vue_vue_type_script_setup_true_lang-B2_RWC8z.mjs +199 -0
  25. package/dist/{info-G1z1-aeX.mjs → info-0SKOqQd1.mjs} +2 -2
  26. package/dist/{info-DttXGxP3.mjs → info-BLmEh_qP.mjs} +2 -2
  27. package/dist/{info-BUKhtcuu.mjs → info-BVo8clC4.mjs} +2 -2
  28. package/dist/{info-AE3ch4Zw.mjs → info-Bbkgb1XC.mjs} +2 -2
  29. package/dist/{info-EodyqiPm.mjs → info-CSazWjOe.mjs} +2 -2
  30. package/dist/{info-6E3wqxd6.mjs → info-DPpTceEz.mjs} +1 -1
  31. package/dist/style.css +1 -1
  32. package/package.json +4 -4
  33. package/dist/index.vue_vue_type_script_setup_true_lang-BnhxjAOt.mjs +0 -198
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, mergeModels as q, ref as N, useModel as F, reactive as R, resolveComponent as m, openBlock as K, createBlock as A, withCtx as s, createElementVNode as G, createVNode as e, createTextVNode as $, toDisplayString as E, unref as o } from "vue";
1
+ import { defineComponent as z, mergeModels as q, ref as N, useModel as F, reactive as R, resolveComponent as m, createBlock as K, openBlock as A, withCtx as r, createVNode as e, unref as o, createElementVNode as G, createTextVNode as $, toDisplayString as E } from "vue";
2
2
  import { ElMessage as j } from "element-plus";
3
3
  import { useI18n as L } from "vue-i18n";
4
4
  import { validatePhoneNumber as H, validateEmail as Q, validateIDCard as W } from "jmash-core";
@@ -20,7 +20,7 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
20
20
  setup(c, { emit: C }) {
21
21
  const { t: u } = L(), U = N(), p = F(c, "modelValue"), V = C;
22
22
  g.sysOrgBizDict.useValues();
23
- let r = R({
23
+ let s = R({
24
24
  requestId: Math.random() * 10 + "",
25
25
  updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,engineerType,engineerJobMode,engineerSpecialty,engineerCertificate",
26
26
  userType: y.userType.companyOps,
@@ -84,17 +84,17 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
84
84
  ]
85
85
  }), h = c, T = Object.keys(h.entityKey), O = N(T.length >= 1);
86
86
  O.value && b.findById(h.entityKey).then(({ data: a }) => {
87
- Object.assign(r, a), r.gender === "unknown" && (r.gender = "");
87
+ Object.assign(s, a), s.gender === "unknown" && (s.gender = "");
88
88
  });
89
89
  const D = async () => {
90
90
  var a;
91
91
  await ((a = U.value) == null ? void 0 : a.validate((l) => {
92
- l && (O.value ? b.update(r).then((n) => {
92
+ l && (O.value ? b.update(s).then((n) => {
93
93
  n.status === 200 && (j({
94
94
  message: u("common.submitSuccess"),
95
95
  type: "success"
96
96
  }), p.value && (p.value = !1), V("refresh", n.status === 200));
97
- }) : b.create(r).then((n) => {
97
+ }) : b.create(s).then((n) => {
98
98
  n.status === 200 && (j({
99
99
  message: u("common.submitSuccess"),
100
100
  type: "success"
@@ -107,15 +107,17 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
107
107
  }
108
108
  return (a, l) => {
109
109
  const n = m("jmash-select"), d = m("el-form-item"), i = m("el-col"), f = m("el-input"), v = m("jmash-enum-radio"), J = m("jmash-dict-select"), P = m("el-row"), k = m("el-form"), _ = m("el-button"), B = m("el-dialog");
110
- return K(), A(B, {
110
+ return A(), K(B, {
111
111
  modelValue: p.value,
112
112
  "onUpdate:modelValue": l[11] || (l[11] = (t) => p.value = t),
113
+ "close-on-click-modal": !1,
114
+ "close-on-press-escape": !1,
113
115
  onClose: w
114
116
  }, {
115
- footer: s(() => [
117
+ footer: r(() => [
116
118
  G("div", X, [
117
119
  e(_, { onClick: w }, {
118
- default: s(() => [
120
+ default: r(() => [
119
121
  $(E(a.$t("common.cancel")), 1)
120
122
  ]),
121
123
  _: 1
@@ -124,34 +126,34 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
124
126
  type: "primary",
125
127
  onClick: D
126
128
  }, {
127
- default: s(() => [
129
+ default: r(() => [
128
130
  $(E(a.$t("common.confirm")), 1)
129
131
  ]),
130
132
  _: 1
131
133
  })
132
134
  ])
133
135
  ]),
134
- default: s(() => [
136
+ default: r(() => [
135
137
  e(k, {
136
138
  ref_key: "sysUserExtFormRef",
137
139
  ref: U,
138
- model: o(r),
140
+ model: o(s),
139
141
  "label-width": "100px",
140
142
  rules: I
141
143
  }, {
142
- default: s(() => [
144
+ default: r(() => [
143
145
  e(P, null, {
144
- default: s(() => [
146
+ default: r(() => [
145
147
  e(i, { span: 12 }, {
146
- default: s(() => [
148
+ default: r(() => [
147
149
  e(d, {
148
150
  label: a.$t("sysUserOps.orgId"),
149
151
  prop: "orgId"
150
152
  }, {
151
- default: s(() => [
153
+ default: r(() => [
152
154
  e(n, {
153
- modelValue: o(r).orgId,
154
- "onUpdate:modelValue": l[0] || (l[0] = (t) => o(r).orgId = t),
155
+ modelValue: o(s).orgId,
156
+ "onUpdate:modelValue": l[0] || (l[0] = (t) => o(s).orgId = t),
155
157
  placeholder: a.$t("sysUserOps.orgIdRequired"),
156
158
  data: o(g).sysOrgBizDict.values,
157
159
  clearable: "",
@@ -164,15 +166,15 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
164
166
  _: 1
165
167
  }),
166
168
  e(i, { span: 12 }, {
167
- default: s(() => [
169
+ default: r(() => [
168
170
  e(d, {
169
171
  label: a.$t("sysUserOps.realName"),
170
172
  prop: "realName"
171
173
  }, {
172
- default: s(() => [
174
+ default: r(() => [
173
175
  e(f, {
174
- modelValue: o(r).realName,
175
- "onUpdate:modelValue": l[1] || (l[1] = (t) => o(r).realName = t),
176
+ modelValue: o(s).realName,
177
+ "onUpdate:modelValue": l[1] || (l[1] = (t) => o(s).realName = t),
176
178
  placeholder: a.$t("sysUserOps.realNameRequired"),
177
179
  maxlength: "8",
178
180
  "show-word-limit": "",
@@ -185,15 +187,15 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
185
187
  _: 1
186
188
  }),
187
189
  e(i, { span: 12 }, {
188
- default: s(() => [
190
+ default: r(() => [
189
191
  e(d, {
190
192
  label: a.$t("sysUserOps.gender"),
191
193
  prop: "gender"
192
194
  }, {
193
- default: s(() => [
195
+ default: r(() => [
194
196
  e(v, {
195
- modelValue: o(r).gender,
196
- "onUpdate:modelValue": l[2] || (l[2] = (t) => o(r).gender = t),
197
+ modelValue: o(s).gender,
198
+ "onUpdate:modelValue": l[2] || (l[2] = (t) => o(s).gender = t),
197
199
  data: o(g).genderDict.values
198
200
  }, null, 8, ["modelValue", "data"])
199
201
  ]),
@@ -203,15 +205,15 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
203
205
  _: 1
204
206
  }),
205
207
  e(i, { span: 12 }, {
206
- default: s(() => [
208
+ default: r(() => [
207
209
  e(d, {
208
210
  label: a.$t("sysUserOps.mobilePhone"),
209
211
  prop: "mobilePhone"
210
212
  }, {
211
- default: s(() => [
213
+ default: r(() => [
212
214
  e(f, {
213
- modelValue: o(r).mobilePhone,
214
- "onUpdate:modelValue": l[3] || (l[3] = (t) => o(r).mobilePhone = t),
215
+ modelValue: o(s).mobilePhone,
216
+ "onUpdate:modelValue": l[3] || (l[3] = (t) => o(s).mobilePhone = t),
215
217
  placeholder: a.$t("sysUserOps.mobilePhoneRequired"),
216
218
  maxlength: "11",
217
219
  "show-word-limit": "",
@@ -224,15 +226,15 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
224
226
  _: 1
225
227
  }),
226
228
  e(i, { span: 12 }, {
227
- default: s(() => [
229
+ default: r(() => [
228
230
  e(d, {
229
231
  label: a.$t("sysUserOps.email"),
230
232
  prop: "email"
231
233
  }, {
232
- default: s(() => [
234
+ default: r(() => [
233
235
  e(f, {
234
- modelValue: o(r).email,
235
- "onUpdate:modelValue": l[4] || (l[4] = (t) => o(r).email = t),
236
+ modelValue: o(s).email,
237
+ "onUpdate:modelValue": l[4] || (l[4] = (t) => o(s).email = t),
236
238
  placeholder: a.$t("sysUserOps.emailRequired"),
237
239
  maxlength: "30",
238
240
  "show-word-limit": "",
@@ -245,15 +247,15 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
245
247
  _: 1
246
248
  }),
247
249
  e(i, { span: 12 }, {
248
- default: s(() => [
250
+ default: r(() => [
249
251
  e(d, {
250
252
  label: a.$t("sysUserOps.idNo"),
251
253
  prop: "idNo"
252
254
  }, {
253
- default: s(() => [
255
+ default: r(() => [
254
256
  e(f, {
255
- modelValue: o(r).idNo,
256
- "onUpdate:modelValue": l[5] || (l[5] = (t) => o(r).idNo = t),
257
+ modelValue: o(s).idNo,
258
+ "onUpdate:modelValue": l[5] || (l[5] = (t) => o(s).idNo = t),
257
259
  placeholder: a.$t("sysUserOps.idNoRequired"),
258
260
  maxlength: "18",
259
261
  "show-word-limit": "",
@@ -266,15 +268,15 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
266
268
  _: 1
267
269
  }),
268
270
  e(i, { span: 12 }, {
269
- default: s(() => [
271
+ default: r(() => [
270
272
  e(d, {
271
273
  label: a.$t("sysUserOps.engineerType"),
272
274
  prop: "engineerType"
273
275
  }, {
274
- default: s(() => [
276
+ default: r(() => [
275
277
  e(n, {
276
- modelValue: o(r).engineerType,
277
- "onUpdate:modelValue": l[6] || (l[6] = (t) => o(r).engineerType = t),
278
+ modelValue: o(s).engineerType,
279
+ "onUpdate:modelValue": l[6] || (l[6] = (t) => o(s).engineerType = t),
278
280
  placeholder: a.$t("sysUserOps.engineerTypeRequired"),
279
281
  data: o(g).engineerTypeDictEnum.values,
280
282
  clearable: "",
@@ -287,15 +289,15 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
287
289
  _: 1
288
290
  }),
289
291
  e(i, { span: 12 }, {
290
- default: s(() => [
292
+ default: r(() => [
291
293
  e(d, {
292
294
  label: a.$t("sysUserOps.engineerCertificate"),
293
295
  prop: "engineerCertificate"
294
296
  }, {
295
- default: s(() => [
297
+ default: r(() => [
296
298
  e(J, {
297
- modelValue: o(r).engineerCertificate,
298
- "onUpdate:modelValue": l[7] || (l[7] = (t) => o(r).engineerCertificate = t),
299
+ modelValue: o(s).engineerCertificate,
300
+ "onUpdate:modelValue": l[7] || (l[7] = (t) => o(s).engineerCertificate = t),
299
301
  placeholder: a.$t("sysUserOps.engineerCertificateRequired"),
300
302
  "type-code": o(y).DICT_ENGINEER_GRADE,
301
303
  clearable: "",
@@ -309,15 +311,15 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
309
311
  _: 1
310
312
  }),
311
313
  e(i, { span: 12 }, {
312
- default: s(() => [
314
+ default: r(() => [
313
315
  e(d, {
314
316
  label: a.$t("sysUserOps.engineerJobMode"),
315
317
  prop: "engineerJobMode"
316
318
  }, {
317
- default: s(() => [
319
+ default: r(() => [
318
320
  e(n, {
319
- modelValue: o(r).engineerJobMode,
320
- "onUpdate:modelValue": l[8] || (l[8] = (t) => o(r).engineerJobMode = t),
321
+ modelValue: o(s).engineerJobMode,
322
+ "onUpdate:modelValue": l[8] || (l[8] = (t) => o(s).engineerJobMode = t),
321
323
  placeholder: a.$t("sysUserOps.engineerJobModeRequired"),
322
324
  data: o(g).engineerJobModeDictEnum.values,
323
325
  clearable: "",
@@ -330,15 +332,15 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
330
332
  _: 1
331
333
  }),
332
334
  e(i, { span: 12 }, {
333
- default: s(() => [
335
+ default: r(() => [
334
336
  e(d, {
335
337
  label: a.$t("sysUserOps.jobStatus"),
336
338
  prop: "jobStatus"
337
339
  }, {
338
- default: s(() => [
340
+ default: r(() => [
339
341
  e(v, {
340
- modelValue: o(r).jobStatus,
341
- "onUpdate:modelValue": l[9] || (l[9] = (t) => o(r).jobStatus = t),
342
+ modelValue: o(s).jobStatus,
343
+ "onUpdate:modelValue": l[9] || (l[9] = (t) => o(s).jobStatus = t),
342
344
  data: o(g).jobStatusDictEnum.values
343
345
  }, null, 8, ["modelValue", "data"])
344
346
  ]),
@@ -348,15 +350,15 @@ const X = { class: "dialog-footer" }, oe = /* @__PURE__ */ z({
348
350
  _: 1
349
351
  }),
350
352
  e(i, { span: 24 }, {
351
- default: s(() => [
353
+ default: r(() => [
352
354
  e(d, {
353
355
  label: a.$t("sysUserOps.engineerSpecialty"),
354
356
  prop: "engineerSpecialty"
355
357
  }, {
356
- default: s(() => [
358
+ default: r(() => [
357
359
  e(f, {
358
- modelValue: o(r).engineerSpecialty,
359
- "onUpdate:modelValue": l[10] || (l[10] = (t) => o(r).engineerSpecialty = t),
360
+ modelValue: o(s).engineerSpecialty,
361
+ "onUpdate:modelValue": l[10] || (l[10] = (t) => o(s).engineerSpecialty = t),
360
362
  placeholder: a.$t("sysUserOps.engineerSpecialtyRequired"),
361
363
  type: "textarea",
362
364
  autosize: { minRows: 2 },
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComponent as l, openBlock as G, createBlock as J, unref as V, isRef as K, withCtx as o, createElementVNode as a, createVNode as t, createTextVNode as m, toDisplayString as n } from "vue";
1
+ import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComponent as l, createBlock as G, openBlock as J, unref as V, isRef as K, withCtx as o, createVNode as t, createElementVNode as a, toDisplayString as n, createTextVNode as m } from "vue";
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";
@@ -61,7 +61,7 @@ const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-pr
61
61
  }
62
62
  return (e, s) => {
63
63
  const y = l("el-col"), x = l("jmash-select"), F = l("el-row"), M = l("upload-filled"), T = l("el-icon"), j = l("el-upload"), h = l("el-button"), z = l("el-dialog");
64
- return G(), J(z, {
64
+ return J(), G(z, {
65
65
  modelValue: V(p),
66
66
  "onUpdate:modelValue": s[1] || (s[1] = (c) => K(p) ? p.value = c : null),
67
67
  title: e.$t("common.uploadFiles"),
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComponent as l, openBlock as G, createBlock as J, unref as V, isRef as K, withCtx as o, createElementVNode as a, createVNode as t, createTextVNode as m, toDisplayString as n } from "vue";
1
+ import { defineComponent as A, ref as i, reactive as C, toRefs as H, resolveComponent as l, createBlock as G, openBlock as J, unref as V, isRef as K, withCtx as o, createVNode as t, createElementVNode as a, toDisplayString as n, createTextVNode as m } from "vue";
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";
@@ -61,7 +61,7 @@ const Q = { class: "el-upload__text" }, W = { style: { color: "var(--el-color-pr
61
61
  }
62
62
  return (e, s) => {
63
63
  const y = l("el-col"), x = l("jmash-select"), F = l("el-row"), M = l("upload-filled"), T = l("el-icon"), j = l("el-upload"), h = l("el-button"), z = l("el-dialog");
64
- return G(), J(z, {
64
+ return J(), G(z, {
65
65
  modelValue: V(u),
66
66
  "onUpdate:modelValue": s[1] || (s[1] = (c) => K(u) ? u.value = c : null),
67
67
  title: e.$t("common.uploadFiles"),