xyvcard-itsmsys 0.0.7 → 0.0.9

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 (70) hide show
  1. package/dist/{edit-BbJa_Nfr.mjs → edit-BNe0hNw4.mjs} +9 -8
  2. package/dist/{edit-B2gR_6I8.mjs → edit-BqPZHwxi.mjs} +1 -1
  3. package/dist/{edit-Fi1_QjAr.mjs → edit-CwV1OVfe.mjs} +1 -1
  4. package/dist/{edit-GlkC3kLR.mjs → edit-CyM6IuLb.mjs} +29 -28
  5. package/dist/{edit-C42Omp9z.mjs → edit-DG_Iw1-J.mjs} +1 -1
  6. package/dist/{edit-Dfay8i1B.mjs → edit-DdUUCXSa.mjs} +1 -1
  7. package/dist/{edit-Dm9CXMA6.mjs → edit-RSO388mB.mjs} +3 -3
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-Cj-FgUgJ.mjs → edit.vue_vue_type_script_setup_true_lang-BQeZknmJ.mjs} +39 -39
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-CoB3CDY2.mjs → edit.vue_vue_type_script_setup_true_lang-CX_5__mh.mjs} +12 -12
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-r4tQk9wV.mjs → edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs} +1 -1
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-C26lz_HM.mjs → edit.vue_vue_type_script_setup_true_lang-DsN204D0.mjs} +5 -5
  12. package/dist/{index-DTjJvEfz.mjs → index-CI8Z4rNf.mjs} +4 -4
  13. package/dist/{index-BHLCtDlx.mjs → index-CMBtB1kH.mjs} +3 -3
  14. package/dist/{index-Ce07ACPH.mjs → index-CNGaGeE7.mjs} +3 -3
  15. package/dist/index-CQ5Bo5a2.mjs +135 -0
  16. package/dist/{index-BV8SsW14.mjs → index-DirPUdCN.mjs} +1 -1
  17. package/dist/{index-N57BEkTO.mjs → index-DxILUznW.mjs} +6 -6
  18. package/dist/{index-Up4lAJrU.mjs → index-NugT80P7.mjs} +2 -2
  19. package/dist/{index-CSMVzE7h.mjs → index-w2SWNZRB.mjs} +3 -3
  20. package/dist/index.mjs +1048 -1089
  21. package/dist/{index.vue_vue_type_script_setup_true_lang-C5j_HTke.mjs → index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs} +2 -2
  22. package/dist/{info-D7YAHptq.mjs → info-BFZTqoY3.mjs} +1 -1
  23. package/dist/{info-BVrtvDle.mjs → info-C0OHjgoS.mjs} +1 -1
  24. package/dist/{info-D-ykgDrJ.mjs → info-CXx2899k.mjs} +1 -1
  25. package/dist/{info-DO3PSaAZ.mjs → info-DReeRuaA.mjs} +1 -1
  26. package/dist/{info-Bc3bycK1.mjs → info-Dilg-bji.mjs} +1 -1
  27. package/dist/{info-Bz6yHt3N.mjs → info-DvYUiSRY.mjs} +1 -1
  28. package/package.json +2 -2
  29. package/dist/index-B6FMyHxQ.mjs +0 -99
  30. package/dts/src/App.vue.d.ts +0 -2
  31. package/dts/src/api/dict.d.ts +0 -15
  32. package/dts/src/api/index.d.ts +0 -13
  33. package/dts/src/api/itsm-sys-org/index.d.ts +0 -17
  34. package/dts/src/api/itsm-sys-org/types.d.ts +0 -85
  35. package/dts/src/api/itsm-sys-org-invoice/index.d.ts +0 -14
  36. package/dts/src/api/itsm-sys-org-invoice/types.d.ts +0 -53
  37. package/dts/src/api/itsm-sys-user-ext/index.d.ts +0 -14
  38. package/dts/src/api/itsm-sys-user-ext/types.d.ts +0 -91
  39. package/dts/src/components/TMaps/index.vue.d.ts +0 -20
  40. package/dts/src/constant.d.ts +0 -33
  41. package/dts/src/index.d.ts +0 -12
  42. package/dts/src/lang/index.d.ts +0 -1
  43. package/dts/src/lang/itsmsys/en.d.ts +0 -73
  44. package/dts/src/lang/itsmsys/zh-cn.d.ts +0 -139
  45. package/dts/src/main.d.ts +0 -4
  46. package/dts/src/permission.d.ts +0 -1
  47. package/dts/src/router/index.d.ts +0 -12
  48. package/dts/src/utils/TMap.d.ts +0 -1
  49. package/dts/src/utils/common.d.ts +0 -1
  50. package/dts/src/utils/momentPlugin.d.ts +0 -5
  51. package/dts/src/views/itsmsys/itsm-sys-gov/edit.vue.d.ts +0 -2
  52. package/dts/src/views/itsmsys/itsm-sys-gov/index.vue.d.ts +0 -2
  53. package/dts/src/views/itsmsys/itsm-sys-gov/info.vue.d.ts +0 -2
  54. package/dts/src/views/itsmsys/itsm-sys-org/edit.vue.d.ts +0 -2
  55. package/dts/src/views/itsmsys/itsm-sys-org/index.vue.d.ts +0 -2
  56. package/dts/src/views/itsmsys/itsm-sys-org/info.vue.d.ts +0 -2
  57. package/dts/src/views/itsmsys/itsm-sys-org-invoice/edit.vue.d.ts +0 -22
  58. package/dts/src/views/itsmsys/itsm-sys-org-invoice/index.vue.d.ts +0 -2
  59. package/dts/src/views/itsmsys/itsm-sys-out/edit.vue.d.ts +0 -2
  60. package/dts/src/views/itsmsys/itsm-sys-out/index.vue.d.ts +0 -2
  61. package/dts/src/views/itsmsys/itsm-sys-out/info.vue.d.ts +0 -2
  62. package/dts/src/views/itsmsys/itsm-sys-user-man/edit.vue.d.ts +0 -22
  63. package/dts/src/views/itsmsys/itsm-sys-user-man/index.vue.d.ts +0 -2
  64. package/dts/src/views/itsmsys/itsm-sys-user-man/info.vue.d.ts +0 -2
  65. package/dts/src/views/itsmsys/itsm-sys-user-ops/edit.vue.d.ts +0 -22
  66. package/dts/src/views/itsmsys/itsm-sys-user-ops/index.vue.d.ts +0 -2
  67. package/dts/src/views/itsmsys/itsm-sys-user-ops/info.vue.d.ts +0 -2
  68. package/dts/src/views/itsmsys/itsm-sys-user-out/edit.vue.d.ts +0 -22
  69. package/dts/src/views/itsmsys/itsm-sys-user-out/index.vue.d.ts +0 -2
  70. package/dts/src/views/itsmsys/itsm-sys-user-out/info.vue.d.ts +0 -2
@@ -3,9 +3,10 @@ import { defineComponent as S, ref as f, reactive as O, resolveComponent as i, o
3
3
  import { ElMessage as w } from "element-plus";
4
4
  import { useI18n as F } from "vue-i18n";
5
5
  import { useRoute as G } from "vue-router";
6
- import { Constant as j, sysOrgApi as y } from "./index.mjs";
7
- import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-C5j_HTke.mjs";
8
- const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
6
+ import { C as j } from "./index-CQ5Bo5a2.mjs";
7
+ import { sysOrgApi as y } from "./index.mjs";
8
+ import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs";
9
+ const z = { class: "app-container" }, oe = /* @__PURE__ */ S({
9
10
  __name: "edit",
10
11
  setup(H) {
11
12
  const { t: m } = F(), p = G(), _ = f(), c = f("first"), g = f("");
@@ -92,11 +93,11 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
92
93
  }));
93
94
  };
94
95
  return (t, a) => {
95
- const s = i("el-input"), d = i("el-form-item"), u = i("el-col"), N = K, T = i("el-row"), U = i("el-button"), k = i("el-form"), V = i("el-tab-pane"), C = i("el-tabs"), I = i("el-card");
96
+ const s = i("el-input"), d = i("el-form-item"), u = i("el-col"), N = K, T = i("el-row"), C = i("el-button"), U = i("el-form"), V = i("el-tab-pane"), k = i("el-tabs"), I = i("el-card");
96
97
  return b(), B("div", z, [
97
98
  e(I, { shadow: "never" }, {
98
99
  default: l(() => [
99
- e(C, {
100
+ e(k, {
100
101
  modelValue: c.value,
101
102
  "onUpdate:modelValue": a[8] || (a[8] = (n) => c.value = n),
102
103
  onTabClick: L
@@ -107,7 +108,7 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
107
108
  name: "first"
108
109
  }, {
109
110
  default: l(() => [
110
- e(k, {
111
+ e(U, {
111
112
  ref_key: "sysOrgFormRef",
112
113
  ref: _,
113
114
  model: r(o),
@@ -299,7 +300,7 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
299
300
  }),
300
301
  e(d, null, {
301
302
  default: l(() => [
302
- e(U, {
303
+ e(C, {
303
304
  type: "primary",
304
305
  onClick: M
305
306
  }, {
@@ -338,5 +339,5 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
338
339
  }
339
340
  });
340
341
  export {
341
- ee as default
342
+ oe as default
342
343
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-C26lz_HM.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-DsN204D0.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-Cj-FgUgJ.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-CX_5__mh.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,11 +1,12 @@
1
1
  import { _ as K } from "./index-BRupqW34.mjs";
2
- import { defineComponent as S, ref as f, reactive as O, resolveComponent as i, openBlock as b, createElementBlock as B, createVNode as e, withCtx as l, unref as n, createTextVNode as E, toDisplayString as A, createBlock as q, createCommentVNode as v } from "vue";
2
+ import { defineComponent as S, ref as f, reactive as O, resolveComponent as i, openBlock as b, createElementBlock as B, createVNode as e, withCtx as l, unref as r, createTextVNode as E, toDisplayString as A, createBlock as q, createCommentVNode as v } from "vue";
3
3
  import { ElMessage as w } from "element-plus";
4
4
  import { useI18n as F } from "vue-i18n";
5
5
  import { useRoute as G } from "vue-router";
6
- import { Constant as j, sysOrgApi as y } from "./index.mjs";
7
- import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-C5j_HTke.mjs";
8
- const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
6
+ import { C as j } from "./index-CQ5Bo5a2.mjs";
7
+ import { sysOrgApi as y } from "./index.mjs";
8
+ import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs";
9
+ const z = { class: "app-container" }, oe = /* @__PURE__ */ S({
9
10
  __name: "edit",
10
11
  setup(H) {
11
12
  const { t: m } = F(), g = G(), _ = f(), c = f("first"), p = f("");
@@ -92,13 +93,13 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
92
93
  }));
93
94
  };
94
95
  return (t, a) => {
95
- const s = i("el-input"), u = i("el-form-item"), d = i("el-col"), N = K, T = i("el-row"), U = i("el-button"), k = i("el-form"), V = i("el-tab-pane"), C = i("el-tabs"), I = i("el-card");
96
+ const s = i("el-input"), u = i("el-form-item"), d = i("el-col"), N = K, T = i("el-row"), C = i("el-button"), U = i("el-form"), V = i("el-tab-pane"), k = i("el-tabs"), I = i("el-card");
96
97
  return b(), B("div", z, [
97
98
  e(I, { shadow: "never" }, {
98
99
  default: l(() => [
99
- e(C, {
100
+ e(k, {
100
101
  modelValue: c.value,
101
- "onUpdate:modelValue": a[8] || (a[8] = (r) => c.value = r),
102
+ "onUpdate:modelValue": a[8] || (a[8] = (n) => c.value = n),
102
103
  onTabClick: L
103
104
  }, {
104
105
  default: l(() => [
@@ -107,10 +108,10 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
107
108
  name: "first"
108
109
  }, {
109
110
  default: l(() => [
110
- e(k, {
111
+ e(U, {
111
112
  ref_key: "sysOutFormRef",
112
113
  ref: _,
113
- model: n(o),
114
+ model: r(o),
114
115
  "label-width": "135px",
115
116
  rules: h
116
117
  }, {
@@ -125,8 +126,8 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
125
126
  }, {
126
127
  default: l(() => [
127
128
  e(s, {
128
- modelValue: n(o).orgName,
129
- "onUpdate:modelValue": a[0] || (a[0] = (r) => n(o).orgName = r),
129
+ modelValue: r(o).orgName,
130
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => r(o).orgName = n),
130
131
  placeholder: t.$t("sysOut.orgNameRequired"),
131
132
  maxlength: "50",
132
133
  "show-word-limit": "",
@@ -146,8 +147,8 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
146
147
  }, {
147
148
  default: l(() => [
148
149
  e(s, {
149
- modelValue: n(o).contactPerson,
150
- "onUpdate:modelValue": a[1] || (a[1] = (r) => n(o).contactPerson = r),
150
+ modelValue: r(o).contactPerson,
151
+ "onUpdate:modelValue": a[1] || (a[1] = (n) => r(o).contactPerson = n),
151
152
  placeholder: t.$t("sysOut.contactPersonRequired"),
152
153
  maxlength: "20",
153
154
  "show-word-limit": "",
@@ -167,8 +168,8 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
167
168
  }, {
168
169
  default: l(() => [
169
170
  e(s, {
170
- modelValue: n(o).contactPersonPosi,
171
- "onUpdate:modelValue": a[2] || (a[2] = (r) => n(o).contactPersonPosi = r),
171
+ modelValue: r(o).contactPersonPosi,
172
+ "onUpdate:modelValue": a[2] || (a[2] = (n) => r(o).contactPersonPosi = n),
172
173
  placeholder: t.$t("sysOut.contactPersonPosiRequired"),
173
174
  maxlength: "30",
174
175
  "show-word-limit": "",
@@ -188,8 +189,8 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
188
189
  }, {
189
190
  default: l(() => [
190
191
  e(s, {
191
- modelValue: n(o).contactPersonTel,
192
- "onUpdate:modelValue": a[3] || (a[3] = (r) => n(o).contactPersonTel = r),
192
+ modelValue: r(o).contactPersonTel,
193
+ "onUpdate:modelValue": a[3] || (a[3] = (n) => r(o).contactPersonTel = n),
193
194
  placeholder: t.$t("sysOut.contactPersonTels"),
194
195
  maxlength: "15",
195
196
  "show-word-limit": "",
@@ -209,8 +210,8 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
209
210
  }, {
210
211
  default: l(() => [
211
212
  e(s, {
212
- modelValue: n(o).contactPersonMobile,
213
- "onUpdate:modelValue": a[4] || (a[4] = (r) => n(o).contactPersonMobile = r),
213
+ modelValue: r(o).contactPersonMobile,
214
+ "onUpdate:modelValue": a[4] || (a[4] = (n) => r(o).contactPersonMobile = n),
214
215
  placeholder: t.$t("sysOut.contactPersonMobileRequired"),
215
216
  maxlength: "11",
216
217
  "show-word-limit": "",
@@ -230,8 +231,8 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
230
231
  }, {
231
232
  default: l(() => [
232
233
  e(s, {
233
- modelValue: n(o).address,
234
- "onUpdate:modelValue": a[5] || (a[5] = (r) => n(o).address = r),
234
+ modelValue: r(o).address,
235
+ "onUpdate:modelValue": a[5] || (a[5] = (n) => r(o).address = n),
235
236
  placeholder: t.$t("sysOut.addressRequired"),
236
237
  maxlength: "120",
237
238
  "show-word-limit": "",
@@ -248,7 +249,7 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
248
249
  e(u, null, {
249
250
  default: l(() => [
250
251
  e(N, {
251
- address: n(o).address,
252
+ address: r(o).address,
252
253
  onGetLatLng: $,
253
254
  onGetAddress: R
254
255
  }, null, 8, ["address"])
@@ -266,8 +267,8 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
266
267
  }, {
267
268
  default: l(() => [
268
269
  e(s, {
269
- modelValue: n(o).geoLongitude,
270
- "onUpdate:modelValue": a[6] || (a[6] = (r) => n(o).geoLongitude = r),
270
+ modelValue: r(o).geoLongitude,
271
+ "onUpdate:modelValue": a[6] || (a[6] = (n) => r(o).geoLongitude = n),
271
272
  clearable: ""
272
273
  }, null, 8, ["modelValue"])
273
274
  ]),
@@ -284,8 +285,8 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
284
285
  }, {
285
286
  default: l(() => [
286
287
  e(s, {
287
- modelValue: n(o).geoLatitude,
288
- "onUpdate:modelValue": a[7] || (a[7] = (r) => n(o).geoLatitude = r),
288
+ modelValue: r(o).geoLatitude,
289
+ "onUpdate:modelValue": a[7] || (a[7] = (n) => r(o).geoLatitude = n),
289
290
  clearable: ""
290
291
  }, null, 8, ["modelValue"])
291
292
  ]),
@@ -299,7 +300,7 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
299
300
  }),
300
301
  e(u, null, {
301
302
  default: l(() => [
302
- e(U, {
303
+ e(C, {
303
304
  type: "primary",
304
305
  onClick: M
305
306
  }, {
@@ -338,5 +339,5 @@ const z = { class: "app-container" }, ee = /* @__PURE__ */ S({
338
339
  }
339
340
  });
340
341
  export {
341
- ee as default
342
+ oe as default
342
343
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-CoB3CDY2.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-r4tQk9wV.mjs";
1
+ import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-BQeZknmJ.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3,9 +3,9 @@ import { defineComponent as S, ref as f, reactive as V, resolveComponent as i, o
3
3
  import { ElMessage as h } from "element-plus";
4
4
  import { useI18n as z } from "vue-i18n";
5
5
  import { useRoute as O } from "vue-router";
6
- import { Constant as j, sysOrgApi as y } from "./index.mjs";
7
- import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-C5j_HTke.mjs";
8
- import { D as w } from "./index-B6FMyHxQ.mjs";
6
+ import { D as w, C as j } from "./index-CQ5Bo5a2.mjs";
7
+ import { sysOrgApi as y } from "./index.mjs";
8
+ import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs";
9
9
  const J = { class: "app-container" }, le = /* @__PURE__ */ S({
10
10
  __name: "edit",
11
11
  setup(Q) {
@@ -1,9 +1,9 @@
1
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
2
  import { ElMessage as I } from "element-plus";
3
3
  import { useI18n as X } from "vue-i18n";
4
- import { Constant as Q, sysUserExtApi as w } from "./index.mjs";
5
- import { g as W } from "./common-B2PCBCJ2.mjs";
6
- import { D as f } from "./index-B6FMyHxQ.mjs";
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
7
  const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
8
8
  __name: "edit",
9
9
  props: /* @__PURE__ */ M({
@@ -20,13 +20,13 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
20
20
  setup(q, { emit: T }) {
21
21
  const { t: n } = X(), R = V(), m = G(q, "modelValue"), $ = T, y = V(!1);
22
22
  f.sysOutBizDict.useValues();
23
- let a = S({
23
+ let o = S({
24
24
  requestId: Math.random() * 10 + "",
25
25
  updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,engineeType,engineeJobMode,engineeSpecialty",
26
- userType: Q.userType.outsourceOps
26
+ userType: W.userType.outsourceOps
27
27
  });
28
- const k = (s, o, d) => {
29
- o === void 0 && d(new Error(n("sysUserOps.mobilePhoneRequired"))), /^1[3|4|5|6|7|8|9][0-9]\d{8}$/.test(o) || d(new Error(n("sysUserOps.mobilePhoneRequireds"))), d();
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
30
  }, C = S({
31
31
  realName: [
32
32
  {
@@ -100,17 +100,17 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
100
100
  ]
101
101
  }), _ = q, E = Object.keys(_.entityKey), v = V(E.length >= 1);
102
102
  v.value && w.findById(_.entityKey).then(({ data: s }) => {
103
- Object.assign(a, s);
103
+ Object.assign(o, s);
104
104
  });
105
105
  const D = async () => {
106
106
  var s;
107
- await ((s = R.value) == null ? void 0 : s.validate((o) => {
108
- o && (v.value ? w.update(a).then((d) => {
107
+ await ((s = R.value) == null ? void 0 : s.validate((a) => {
108
+ a && (v.value ? w.update(o).then((d) => {
109
109
  console.log(d), d.status === 200 && (I({
110
110
  message: n("common.submitSuccess"),
111
111
  type: "success"
112
112
  }), m.value && (m.value = !1), $("refresh", d.status === 200));
113
- }) : w.create(a).then((d) => {
113
+ }) : w.create(o).then((d) => {
114
114
  console.log(d), d.status === 200 && (I({
115
115
  message: n("common.submitSuccess"),
116
116
  type: "success"
@@ -119,16 +119,16 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
119
119
  }));
120
120
  };
121
121
  function J() {
122
- a.userPassword = W();
122
+ o.userPassword = Q();
123
123
  }
124
124
  function N() {
125
125
  m.value && (m.value = !1);
126
126
  }
127
- return (s, o) => {
127
+ return (s, a) => {
128
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
129
  return b(), c(Z, {
130
130
  modelValue: m.value,
131
- "onUpdate:modelValue": o[12] || (o[12] = (t) => m.value = t),
131
+ "onUpdate:modelValue": a[12] || (a[12] = (t) => m.value = t),
132
132
  onClose: N
133
133
  }, {
134
134
  footer: l(() => [
@@ -154,7 +154,7 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
154
154
  e(F, {
155
155
  ref_key: "sysUserExtFormRef",
156
156
  ref: R,
157
- model: r(a),
157
+ model: r(o),
158
158
  "label-width": "100px",
159
159
  rules: C
160
160
  }, {
@@ -169,8 +169,8 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
169
169
  }, {
170
170
  default: l(() => [
171
171
  e(d, {
172
- modelValue: r(a).orgId,
173
- "onUpdate:modelValue": o[0] || (o[0] = (t) => r(a).orgId = t),
172
+ modelValue: r(o).orgId,
173
+ "onUpdate:modelValue": a[0] || (a[0] = (t) => r(o).orgId = t),
174
174
  placeholder: s.$t("sysUserOps.orgIdRequired"),
175
175
  data: r(f).sysOutBizDict.values,
176
176
  clearable: "",
@@ -190,8 +190,8 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
190
190
  }, {
191
191
  default: l(() => [
192
192
  e(g, {
193
- modelValue: r(a).realName,
194
- "onUpdate:modelValue": o[1] || (o[1] = (t) => r(a).realName = t),
193
+ modelValue: r(o).realName,
194
+ "onUpdate:modelValue": a[1] || (a[1] = (t) => r(o).realName = t),
195
195
  placeholder: s.$t("sysUserOps.realNameRequired"),
196
196
  maxlength: "8",
197
197
  "show-word-limit": "",
@@ -211,8 +211,8 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
211
211
  }, {
212
212
  default: l(() => [
213
213
  e(z, {
214
- modelValue: r(a).gender,
215
- "onUpdate:modelValue": o[2] || (o[2] = (t) => r(a).gender = t),
214
+ modelValue: r(o).gender,
215
+ "onUpdate:modelValue": a[2] || (a[2] = (t) => r(o).gender = t),
216
216
  clearable: "",
217
217
  placeholder: s.$t("sysUserOps.genderRequired"),
218
218
  "enum-type": "jmash.protobuf.Gender",
@@ -232,8 +232,8 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
232
232
  }, {
233
233
  default: l(() => [
234
234
  e(g, {
235
- modelValue: r(a).mobilePhone,
236
- "onUpdate:modelValue": o[3] || (o[3] = (t) => r(a).mobilePhone = t),
235
+ modelValue: r(o).mobilePhone,
236
+ "onUpdate:modelValue": a[3] || (a[3] = (t) => r(o).mobilePhone = t),
237
237
  placeholder: s.$t("sysUserOps.mobilePhoneRequired"),
238
238
  maxlength: "11",
239
239
  "show-word-limit": "",
@@ -253,8 +253,8 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
253
253
  }, {
254
254
  default: l(() => [
255
255
  e(g, {
256
- modelValue: r(a).email,
257
- "onUpdate:modelValue": o[4] || (o[4] = (t) => r(a).email = t),
256
+ modelValue: r(o).email,
257
+ "onUpdate:modelValue": a[4] || (a[4] = (t) => r(o).email = t),
258
258
  placeholder: s.$t("sysUserOps.emailRequired"),
259
259
  maxlength: "30",
260
260
  "show-word-limit": "",
@@ -274,8 +274,8 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
274
274
  }, {
275
275
  default: l(() => [
276
276
  e(g, {
277
- modelValue: r(a).idNo,
278
- "onUpdate:modelValue": o[5] || (o[5] = (t) => r(a).idNo = t),
277
+ modelValue: r(o).idNo,
278
+ "onUpdate:modelValue": a[5] || (a[5] = (t) => r(o).idNo = t),
279
279
  placeholder: s.$t("sysUserOps.idNoRequired"),
280
280
  maxlength: "18",
281
281
  "show-word-limit": "",
@@ -295,8 +295,8 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
295
295
  }, {
296
296
  default: l(() => [
297
297
  e(d, {
298
- modelValue: r(a).engineeType,
299
- "onUpdate:modelValue": o[6] || (o[6] = (t) => r(a).engineeType = t),
298
+ modelValue: r(o).engineeType,
299
+ "onUpdate:modelValue": a[6] || (a[6] = (t) => r(o).engineeType = t),
300
300
  placeholder: s.$t("sysUserOps.engineeTypeRequired"),
301
301
  data: r(f).engineeTypeDictEnum.values,
302
302
  clearable: "",
@@ -316,8 +316,8 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
316
316
  }, {
317
317
  default: l(() => [
318
318
  e(d, {
319
- modelValue: r(a).engineeJobMode,
320
- "onUpdate:modelValue": o[7] || (o[7] = (t) => r(a).engineeJobMode = t),
319
+ modelValue: r(o).engineeJobMode,
320
+ "onUpdate:modelValue": a[7] || (a[7] = (t) => r(o).engineeJobMode = t),
321
321
  placeholder: s.$t("sysUserOps.engineeJobModeRequired"),
322
322
  data: r(f).engineeJobModeDictEnum.values,
323
323
  clearable: "",
@@ -337,8 +337,8 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
337
337
  }, {
338
338
  default: l(() => [
339
339
  e(d, {
340
- modelValue: r(a).jobStatus,
341
- "onUpdate:modelValue": o[8] || (o[8] = (t) => r(a).jobStatus = t),
340
+ modelValue: r(o).jobStatus,
341
+ "onUpdate:modelValue": a[8] || (a[8] = (t) => r(o).jobStatus = t),
342
342
  placeholder: s.$t("sysUserOps.jobStatusRequired"),
343
343
  data: r(f).jobStatusDictEnum.values,
344
344
  clearable: "",
@@ -350,7 +350,7 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
350
350
  ]),
351
351
  _: 1
352
352
  }),
353
- r(a).userId ? L("", !0) : (b(), c(p, {
353
+ r(o).userId ? L("", !0) : (b(), c(p, {
354
354
  key: 0,
355
355
  span: 12
356
356
  }, {
@@ -361,8 +361,8 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
361
361
  }, {
362
362
  default: l(() => [
363
363
  e(g, {
364
- modelValue: r(a).userPassword,
365
- "onUpdate:modelValue": o[10] || (o[10] = (t) => r(a).userPassword = t),
364
+ modelValue: r(o).userPassword,
365
+ "onUpdate:modelValue": a[10] || (a[10] = (t) => r(o).userPassword = t),
366
366
  clearable: "",
367
367
  type: y.value ? "text" : "password",
368
368
  placeholder: s.$t("sysUserOps.userPasswordRequired")
@@ -377,7 +377,7 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
377
377
  ]),
378
378
  suffix: l(() => [
379
379
  j("span", {
380
- onClick: o[9] || (o[9] = (t) => y.value = !y.value)
380
+ onClick: a[9] || (a[9] = (t) => y.value = !y.value)
381
381
  }, [
382
382
  y.value ? (b(), c(P, { key: 0 }, {
383
383
  default: l(() => [
@@ -408,8 +408,8 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
408
408
  }, {
409
409
  default: l(() => [
410
410
  e(g, {
411
- modelValue: r(a).engineeSpecialty,
412
- "onUpdate:modelValue": o[11] || (o[11] = (t) => r(a).engineeSpecialty = t),
411
+ modelValue: r(o).engineeSpecialty,
412
+ "onUpdate:modelValue": a[11] || (a[11] = (t) => r(o).engineeSpecialty = t),
413
413
  placeholder: s.$t("sysUserOps.engineeSpecialtyRequired"),
414
414
  type: "textarea",
415
415
  autosize: { minRows: 2 },
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as Y, mergeModels as S, ref as g, useModel as x, reactive as C, resolveComponent as u, openBlock as b, createBlock as c, withCtx as a, createElementVNode as O, createVNode as e, createTextVNode as U, toDisplayString as V, unref as r, createCommentVNode as ee } from "vue";
2
2
  import { ElMessage as A } from "element-plus";
3
3
  import { useI18n as le } from "vue-i18n";
4
- import { Constant as D, sysUserExtApi as M, sysOrgApi as ae } from "./index.mjs";
5
- import { deptApi as se, jobApi as oe } from "jmash-rbac";
6
- import { D as w } from "./index-B6FMyHxQ.mjs";
4
+ import { D as M, C as D } from "./index-CQ5Bo5a2.mjs";
5
+ import { deptApi as ae, jobApi as se } from "jmash-rbac";
6
+ import { sysUserExtApi as w, sysOrgApi as oe } from "./index.mjs";
7
7
  import { g as re } from "./common-B2PCBCJ2.mjs";
8
8
  const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ Y({
9
9
  __name: "edit",
@@ -20,7 +20,7 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ Y({
20
20
  emits: /* @__PURE__ */ S(["refresh"], ["update:modelValue"]),
21
21
  setup(_, { emit: E }) {
22
22
  const { t: n } = le(), q = g(), I = g(), v = g(), p = x(_, "modelValue"), j = E, y = g(!1);
23
- w.sysOrgBizDict.useValues();
23
+ M.sysOrgBizDict.useValues();
24
24
  let o = C({
25
25
  requestId: Math.random() * 10 + "",
26
26
  updateMask: "realName,gender,mobilePhone,email,idNo,jobStatus,deptId,jobId,orgId",
@@ -100,18 +100,18 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ Y({
100
100
  }
101
101
  ]
102
102
  }), R = _, T = Object.keys(R.entityKey), $ = g(T.length >= 1);
103
- $.value && M.findById(R.entityKey).then(({ data: l }) => {
103
+ $.value && w.findById(R.entityKey).then(({ data: l }) => {
104
104
  Object.assign(o, l);
105
105
  });
106
106
  const K = async () => {
107
107
  var l;
108
108
  await ((l = v.value) == null ? void 0 : l.validate((s) => {
109
- s && ($.value ? M.update(o).then((d) => {
109
+ s && ($.value ? w.update(o).then((d) => {
110
110
  console.log(d), d.status === 200 && (A({
111
111
  message: n("common.submitSuccess"),
112
112
  type: "success"
113
113
  }), p.value && (p.value = !1), j("refresh", d.status === 200));
114
- }) : M.create(o).then((d) => {
114
+ }) : w.create(o).then((d) => {
115
115
  console.log(d), d.status === 200 && (A({
116
116
  message: n("common.submitSuccess"),
117
117
  type: "success"
@@ -120,15 +120,15 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ Y({
120
120
  }));
121
121
  };
122
122
  function F() {
123
- se.treelistDept().then(({ data: l }) => {
123
+ ae.treelistDept().then(({ data: l }) => {
124
124
  q.value = l.results;
125
- }), oe.treelistJob().then(({ data: l }) => {
125
+ }), se.treelistJob().then(({ data: l }) => {
126
126
  I.value = l.results;
127
127
  });
128
128
  }
129
129
  F();
130
130
  function Z() {
131
- ae.findPage({ orgType: D.orgType.cloud }).then(({ data: { results: l } }) => {
131
+ oe.findPage({ orgType: D.orgType.cloud }).then(({ data: { results: l } }) => {
132
132
  o.orgId = l[0].orgId;
133
133
  });
134
134
  }
@@ -186,7 +186,7 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ Y({
186
186
  modelValue: r(o).orgId,
187
187
  "onUpdate:modelValue": s[0] || (s[0] = (t) => r(o).orgId = t),
188
188
  placeholder: l.$t("sysUserMan.orgIdRequired"),
189
- data: r(w).sysOrgBizDict.values,
189
+ data: r(M).sysOrgBizDict.values,
190
190
  clearable: "",
191
191
  class: "w-full",
192
192
  onChange: Z
@@ -361,7 +361,7 @@ const te = { class: "dialog-footer" }, ge = /* @__PURE__ */ Y({
361
361
  modelValue: r(o).jobStatus,
362
362
  "onUpdate:modelValue": s[8] || (s[8] = (t) => r(o).jobStatus = t),
363
363
  placeholder: l.$t("sysUserOps.jobStatusRequired"),
364
- data: r(w).jobStatusDictEnum.values,
364
+ data: r(M).jobStatusDictEnum.values,
365
365
  clearable: "",
366
366
  class: "w-full"
367
367
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -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-B6FMyHxQ.mjs";
6
+ import { D as L } from "./index-CQ5Bo5a2.mjs";
7
7
  const z = { class: "dialog-footer" }, X = /* @__PURE__ */ D({
8
8
  __name: "edit",
9
9
  props: /* @__PURE__ */ _({
@@ -1,9 +1,9 @@
1
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
2
  import { ElMessage as I } from "element-plus";
3
3
  import { useI18n as X } from "vue-i18n";
4
- import { Constant as Q, sysUserExtApi as w } from "./index.mjs";
5
- import { g as W } from "./common-B2PCBCJ2.mjs";
6
- import { D as y } from "./index-B6FMyHxQ.mjs";
4
+ import { sysUserExtApi as w } from "./index.mjs";
5
+ import { g as Q } from "./common-B2PCBCJ2.mjs";
6
+ import { D as y, C as W } from "./index-CQ5Bo5a2.mjs";
7
7
  const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
8
8
  __name: "edit",
9
9
  props: /* @__PURE__ */ M({
@@ -23,7 +23,7 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
23
23
  let o = S({
24
24
  requestId: Math.random() * 10 + "",
25
25
  updateMask: "orgId,realName,gender,mobilePhone,email,idNo,jobStatus,engineeType,engineeJobMode,engineeSpecialty",
26
- userType: Q.userType.companyOps
26
+ userType: W.userType.companyOps
27
27
  });
28
28
  const k = (s, a, d) => {
29
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();
@@ -119,7 +119,7 @@ const Y = { class: "dialog-footer" }, re = /* @__PURE__ */ H({
119
119
  }));
120
120
  };
121
121
  function J() {
122
- o.userPassword = W();
122
+ o.userPassword = Q();
123
123
  }
124
124
  function N() {
125
125
  m.value && (m.value = !1);
@@ -2,8 +2,8 @@ import { defineComponent as J, ref as P, resolveComponent as s, resolveDirective
2
2
  import { useTableHooks as Y } from "jmash-core";
3
3
  import { useI18n as Z } from "vue-i18n";
4
4
  import { useRouter as x } from "vue-router";
5
- import { Constant as ee, sysOrgApi as te } from "./index.mjs";
6
- import { D as oe } from "./index-B6FMyHxQ.mjs";
5
+ import { C as ee, D as te } from "./index-CQ5Bo5a2.mjs";
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__ */ J({
8
8
  __name: "index",
9
9
  setup(ue) {
@@ -16,7 +16,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
16
16
  listLoading: I,
17
17
  tableData: R,
18
18
  total: _
19
- } = Y(O, te, u);
19
+ } = Y(O, oe, u);
20
20
  let c = P([
21
21
  {
22
22
  label: "sysOut.orgName",
@@ -136,7 +136,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
136
136
  modelValue: u.value.status,
137
137
  "onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.status = e),
138
138
  placeholder: o.$t("sysOut.statusRequired"),
139
- data: a(oe).hasStatusDict.values,
139
+ data: a(te).hasStatusDict.values,
140
140
  clearable: "",
141
141
  onKeyup: t[3] || (t[3] = V((e) => a(r).handleQuery(), ["enter"]))
142
142
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -2,9 +2,9 @@ import { defineComponent as oe, ref as E, reactive as P, resolveComponent as i,
2
2
  import { useTableHooks as ne } from "jmash-core";
3
3
  import { useI18n as ae } from "vue-i18n";
4
4
  import { useRouter as se } from "vue-router";
5
- import { Constant as M, sysUserExtApi as re } from "./index.mjs";
6
- import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-Cj-FgUgJ.mjs";
7
- import { D as m } from "./index-B6FMyHxQ.mjs";
5
+ import { D as m, C as M } from "./index-CQ5Bo5a2.mjs";
6
+ import { sysUserExtApi as re } from "./index.mjs";
7
+ import { _ as ue } from "./edit.vue_vue_type_script_setup_true_lang-BQeZknmJ.mjs";
8
8
  const ie = { class: "app-container" }, de = { class: "search-container" }, me = { key: 0 }, pe = ["onClick"], ye = ["onClick"], be = ["onClick"], Ce = /* @__PURE__ */ oe({
9
9
  __name: "index",
10
10
  setup(ce) {