xyvcard-itsmsys 0.0.5 → 0.0.6

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 (36) hide show
  1. package/dist/{edit-DLAiwJjs.mjs → edit-BNe0hNw4.mjs} +4 -3
  2. package/dist/{edit-DPM0jGQT.mjs → edit-BqPZHwxi.mjs} +1 -1
  3. package/dist/{edit-CIm8Y0Be.mjs → edit-CwV1OVfe.mjs} +1 -1
  4. package/dist/{edit-BhRXuYku.mjs → edit-CyM6IuLb.mjs} +30 -29
  5. package/dist/{edit-DZJU5ZPt.mjs → edit-DG_Iw1-J.mjs} +1 -1
  6. package/dist/{edit-D82hX9if.mjs → edit-DdUUCXSa.mjs} +1 -1
  7. package/dist/{edit-CWVYUzgf.mjs → edit-RSO388mB.mjs} +10 -9
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs → edit.vue_vue_type_script_setup_true_lang-BQeZknmJ.mjs} +13 -12
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-BIx7D8XA.mjs → edit.vue_vue_type_script_setup_true_lang-CX_5__mh.mjs} +36 -35
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs → edit.vue_vue_type_script_setup_true_lang-DGAgGwVY.mjs} +2 -2
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-Bt5P3H7c.mjs → edit.vue_vue_type_script_setup_true_lang-DsN204D0.mjs} +21 -20
  12. package/dist/index-B6vJj_z6.mjs +74 -0
  13. package/dist/{index-CogdeN09.mjs → index-CI8Z4rNf.mjs} +101 -122
  14. package/dist/{index-B_cot8iN.mjs → index-CMBtB1kH.mjs} +126 -133
  15. package/dist/{index-BkHGzL0R.mjs → index-CNGaGeE7.mjs} +130 -137
  16. package/dist/{index-ChTssr8-.mjs → index-CQ5Bo5a2.mjs} +30 -18
  17. package/dist/{index-C6KvLUoL.mjs → index-DirPUdCN.mjs} +1 -1
  18. package/dist/{index-ClU157bA.mjs → index-DxILUznW.mjs} +113 -127
  19. package/dist/index-NugT80P7.mjs +364 -0
  20. package/dist/{index-CEUyLrKg.mjs → index-w2SWNZRB.mjs} +101 -108
  21. package/dist/index.mjs +16 -16
  22. package/dist/index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs +191 -0
  23. package/dist/{info-Z5LuCRmr.mjs → info-BFZTqoY3.mjs} +2 -2
  24. package/dist/{info-BWgVN2mJ.mjs → info-C0OHjgoS.mjs} +1 -1
  25. package/dist/{info-MYJGcyMX.mjs → info-CXx2899k.mjs} +1 -1
  26. package/dist/{info-Kf11Ye-N.mjs → info-DReeRuaA.mjs} +2 -2
  27. package/dist/{info-70H0sycC.mjs → info-Dilg-bji.mjs} +2 -2
  28. package/dist/{info-CE-ZnFj5.mjs → info-DvYUiSRY.mjs} +1 -1
  29. package/dts/src/api/itsm-sys-org/types.d.ts +0 -3
  30. package/dts/src/api/itsm-sys-org-invoice/index.d.ts +1 -0
  31. package/dts/src/api/itsm-sys-org-invoice/types.d.ts +5 -1
  32. package/dts/src/constant.d.ts +9 -1
  33. package/package.json +1 -1
  34. package/dist/index-BQRtMgmZ.mjs +0 -340
  35. package/dist/index-DOXuGEyW.mjs +0 -62
  36. package/dist/index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs +0 -180
@@ -1,23 +1,23 @@
1
- import { defineComponent as te, ref as U, reactive as I, resolveComponent as s, resolveDirective as le, openBlock as i, createElementBlock as w, createElementVNode as y, createVNode as a, withCtx as o, withKeys as D, unref as n, createTextVNode as d, toDisplayString as r, withDirectives as c, createBlock as b, isRef as M, createCommentVNode as g, vShow as T } from "vue";
2
- import { useTableHooks as oe } from "jmash-core";
3
- import { useI18n as ae } from "vue-i18n";
4
- import { useRouter as ne } from "vue-router";
5
- import { sysUserExtApi as se } from "./index.mjs";
6
- import { _ as re } from "./edit.vue_vue_type_script_setup_true_lang-BIx7D8XA.mjs";
7
- import { D as j } from "./index-ChTssr8-.mjs";
8
- const ue = { class: "app-container" }, ie = { class: "search-container" }, me = { key: 0 }, de = ["onClick"], pe = ["onClick"], ce = ["onClick"], ke = /* @__PURE__ */ te({
1
+ import { defineComponent as oe, ref as U, reactive as I, resolveComponent as s, resolveDirective as le, openBlock as u, createElementBlock as w, createElementVNode as y, createVNode as a, withCtx as l, withKeys as R, unref as n, createTextVNode as d, toDisplayString as r, withDirectives as c, createBlock as b, isRef as M, createCommentVNode as V, vShow as T } from "vue";
2
+ import { useTableHooks as ae } from "jmash-core";
3
+ import { useI18n as ne } from "vue-i18n";
4
+ import { useRouter as se } from "vue-router";
5
+ import { C as q, D as S } from "./index-CQ5Bo5a2.mjs";
6
+ import { sysUserExtApi as re } from "./index.mjs";
7
+ import { _ as ie } from "./edit.vue_vue_type_script_setup_true_lang-CX_5__mh.mjs";
8
+ const ue = { class: "app-container" }, me = { class: "search-container" }, de = { key: 0 }, pe = ["onClick"], ce = ["onClick"], ye = ["onClick"], Ce = /* @__PURE__ */ oe({
9
9
  __name: "index",
10
- setup(ye) {
11
- const { t: h } = ae(), z = ne(), m = U({
12
- userType: "COMPANY_MANAGER"
10
+ setup(be) {
11
+ const { t: g } = ne(), z = se(), m = U({
12
+ userType: q.userType.companyManager
13
13
  }), {
14
- tableHooks: u,
15
- multipleTableRef: q,
16
- queryFormRef: A,
17
- listLoading: L,
18
- tableData: K,
19
- total: k
20
- } = oe(h, se, m);
14
+ tableHooks: i,
15
+ multipleTableRef: L,
16
+ queryFormRef: K,
17
+ listLoading: Q,
18
+ tableData: B,
19
+ total: h
20
+ } = ae(g, re, m);
21
21
  let f = U([
22
22
  {
23
23
  label: "sysUserMan.realName",
@@ -65,60 +65,60 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, me =
65
65
  isColumn: !0
66
66
  }
67
67
  ]);
68
- function V(l) {
69
- l.showEncrypt = !l.showEncrypt;
68
+ function E(o) {
69
+ o.showEncrypt = !o.showEncrypt;
70
70
  }
71
71
  const p = U({
72
- title: h("common.edit"),
72
+ title: g("common.edit"),
73
73
  visible: !1
74
74
  });
75
- let $ = I({});
76
- function Q() {
77
- $ = I({}), p.value.title = h("common.add"), p.value.visible = !0;
75
+ let j = I({});
76
+ function A() {
77
+ j = I({}), p.value.title = g("common.add"), p.value.visible = !0;
78
78
  }
79
- function B(l) {
80
- $.userId = l.userId, p.value.title = h("common.edit"), p.value.visible = !0;
79
+ function F(o) {
80
+ j.userId = o.userId, p.value.title = g("common.edit"), p.value.visible = !0;
81
81
  }
82
- function F(l) {
82
+ function H(o) {
83
83
  z.push({
84
84
  path: "/rawitsmsys/itsm-sys-user-man/userManInfo",
85
- query: { userId: l.userId }
85
+ query: { userId: o.userId }
86
86
  });
87
87
  }
88
- function G(l) {
89
- u.selectionRows.value = l;
88
+ function G(o) {
89
+ i.selectionRows.value = o;
90
90
  }
91
- function H(l) {
92
- u.handleSort(l.prop, l.order);
91
+ function J(o) {
92
+ i.handleSort(o.prop, o.order);
93
93
  }
94
- function O(l) {
95
- l && u.getList();
94
+ function O(o) {
95
+ o && i.getList();
96
96
  }
97
- return u.getList(), (l, t) => {
98
- const W = s("el-input"), E = s("el-form-item"), _ = s("el-col"), Y = s("jmash-select"), C = s("el-button"), N = s("el-row"), J = s("el-form"), X = s("jmash-column-select"), P = s("el-tag"), R = s("svg-icon"), Z = s("jmash-table"), x = s("jmash-pagination"), ee = s("el-card"), v = le("hasPerm");
99
- return i(), w("div", ue, [
100
- y("div", ie, [
101
- a(J, {
97
+ return i.getList(), (o, t) => {
98
+ const W = s("el-input"), $ = s("el-form-item"), _ = s("el-col"), X = s("jmash-select"), k = s("el-button"), N = s("el-row"), Y = s("el-form"), Z = s("jmash-column-select"), P = s("el-tag"), D = s("svg-icon"), x = s("jmash-table"), ee = s("jmash-pagination"), te = s("el-card"), v = le("hasPerm");
99
+ return u(), w("div", ue, [
100
+ y("div", me, [
101
+ a(Y, {
102
102
  ref_key: "queryFormRef",
103
- ref: A,
103
+ ref: K,
104
104
  model: m.value,
105
105
  inline: !0
106
106
  }, {
107
- default: o(() => [
107
+ default: l(() => [
108
108
  a(N, null, {
109
- default: o(() => [
109
+ default: l(() => [
110
110
  a(_, { span: 6 }, {
111
- default: o(() => [
112
- a(E, {
113
- label: l.$t("sysUserMan.realName"),
111
+ default: l(() => [
112
+ a($, {
113
+ label: o.$t("sysUserMan.realName"),
114
114
  prop: "likeUserName"
115
115
  }, {
116
- default: o(() => [
116
+ default: l(() => [
117
117
  a(W, {
118
118
  modelValue: m.value.likeUserName,
119
119
  "onUpdate:modelValue": t[0] || (t[0] = (e) => m.value.likeUserName = e),
120
- placeholder: l.$t("sysUserMan.realNameRequired"),
121
- onKeyup: t[1] || (t[1] = D((e) => n(u).handleQuery(), ["enter"])),
120
+ placeholder: o.$t("sysUserMan.realNameRequired"),
121
+ onKeyup: t[1] || (t[1] = R((e) => n(i).handleQuery(), ["enter"])),
122
122
  class: "!w-[203px]",
123
123
  clearable: ""
124
124
  }, null, 8, ["modelValue", "placeholder"])
@@ -129,18 +129,18 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, me =
129
129
  _: 1
130
130
  }),
131
131
  a(_, { span: 6 }, {
132
- default: o(() => [
133
- a(E, {
134
- label: l.$t("sysUserMan.jobStatus"),
132
+ default: l(() => [
133
+ a($, {
134
+ label: o.$t("sysUserMan.jobStatus"),
135
135
  prop: "jobStatus"
136
136
  }, {
137
- default: o(() => [
138
- a(Y, {
137
+ default: l(() => [
138
+ a(X, {
139
139
  modelValue: m.value.jobStatus,
140
140
  "onUpdate:modelValue": t[2] || (t[2] = (e) => m.value.jobStatus = e),
141
- placeholder: l.$t("sysUserMan.jobStatusRequired"),
142
- data: n(j).jobStatusDictEnum.values,
143
- onKeyup: t[3] || (t[3] = D((e) => n(u).handleQuery(), ["enter"])),
141
+ placeholder: o.$t("sysUserMan.jobStatusRequired"),
142
+ data: n(S).jobStatusDictEnum.values,
143
+ onKeyup: t[3] || (t[3] = R((e) => n(i).handleQuery(), ["enter"])),
144
144
  clearable: ""
145
145
  }, null, 8, ["modelValue", "placeholder", "data"])
146
146
  ]),
@@ -150,23 +150,23 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, me =
150
150
  _: 1
151
151
  }),
152
152
  a(_, { span: 12 }, {
153
- default: o(() => [
154
- a(E, { class: "search-btn" }, {
155
- default: o(() => [
156
- a(C, {
153
+ default: l(() => [
154
+ a($, { class: "search-btn" }, {
155
+ default: l(() => [
156
+ a(k, {
157
157
  type: "primary",
158
- onClick: t[4] || (t[4] = (e) => n(u).handleQuery())
158
+ onClick: t[4] || (t[4] = (e) => n(i).handleQuery())
159
159
  }, {
160
- default: o(() => [
161
- d(r(l.$t("common.search")), 1)
160
+ default: l(() => [
161
+ d(r(o.$t("common.search")), 1)
162
162
  ]),
163
163
  _: 1
164
164
  }),
165
- a(C, {
166
- onClick: t[5] || (t[5] = (e) => n(u).resetQuery())
165
+ a(k, {
166
+ onClick: t[5] || (t[5] = (e) => n(i).resetQuery())
167
167
  }, {
168
- default: o(() => [
169
- d(r(l.$t("common.reset")), 1)
168
+ default: l(() => [
169
+ d(r(o.$t("common.reset")), 1)
170
170
  ]),
171
171
  _: 1
172
172
  })
@@ -184,32 +184,32 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, me =
184
184
  }, 8, ["model"]),
185
185
  t[13] || (t[13] = y("div", { class: "clear" }, null, -1))
186
186
  ]),
187
- a(ee, {
187
+ a(te, {
188
188
  shadow: "never",
189
189
  class: "table-container"
190
190
  }, {
191
- header: o(() => [
191
+ header: l(() => [
192
192
  a(N, null, {
193
- default: o(() => [
193
+ default: l(() => [
194
194
  a(_, { span: 17 }, {
195
- default: o(() => [
196
- c((i(), b(C, {
195
+ default: l(() => [
196
+ c((u(), b(k, {
197
197
  type: "primary",
198
- onClick: Q
198
+ onClick: A
199
199
  }, {
200
- default: o(() => [
201
- d(r(l.$t("common.add")), 1)
200
+ default: l(() => [
201
+ d(r(o.$t("common.add")), 1)
202
202
  ]),
203
203
  _: 1
204
204
  })), [
205
205
  [v, ["itsmsys:sys_user_man:add"]]
206
206
  ]),
207
- c((i(), b(C, {
207
+ c((u(), b(k, {
208
208
  type: "primary",
209
- onClick: t[6] || (t[6] = (e) => n(u).deleteRecords())
209
+ onClick: t[6] || (t[6] = (e) => n(i).deleteRecords())
210
210
  }, {
211
- default: o(() => [
212
- d(r(l.$t("common.batchDelete")), 1)
211
+ default: l(() => [
212
+ d(r(o.$t("common.batchDelete")), 1)
213
213
  ]),
214
214
  _: 1
215
215
  })), [
@@ -222,8 +222,8 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, me =
222
222
  span: 7,
223
223
  class: "container-float"
224
224
  }, {
225
- default: o(() => [
226
- a(X, {
225
+ default: l(() => [
226
+ a(Z, {
227
227
  modelValue: n(f),
228
228
  "onUpdate:modelValue": t[7] || (t[7] = (e) => M(f) ? f.value = e : f = e),
229
229
  "label-name": "itsmsys/itsm-sys-user-man"
@@ -235,103 +235,96 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, me =
235
235
  _: 1
236
236
  })
237
237
  ]),
238
- footer: o(() => [
239
- n(k) > 0 ? (i(), b(x, {
238
+ footer: l(() => [
239
+ n(h) > 0 ? (u(), b(ee, {
240
240
  key: 0,
241
- total: n(k),
242
- "onUpdate:total": t[8] || (t[8] = (e) => M(k) ? k.value = e : null),
241
+ total: n(h),
242
+ "onUpdate:total": t[8] || (t[8] = (e) => M(h) ? h.value = e : null),
243
243
  "current-page": m.value.curPage,
244
244
  "onUpdate:currentPage": t[9] || (t[9] = (e) => m.value.curPage = e),
245
245
  "page-size": m.value.pageSize,
246
246
  "onUpdate:pageSize": t[10] || (t[10] = (e) => m.value.pageSize = e),
247
- onPagination: t[11] || (t[11] = (e) => n(u).getList())
248
- }, null, 8, ["total", "current-page", "page-size"])) : g("", !0)
247
+ onPagination: t[11] || (t[11] = (e) => n(i).getList())
248
+ }, null, 8, ["total", "current-page", "page-size"])) : V("", !0)
249
249
  ]),
250
- default: o(() => [
251
- a(Z, {
250
+ default: l(() => [
251
+ a(x, {
252
252
  ref_key: "multipleTableRef",
253
- ref: q,
253
+ ref: L,
254
254
  "row-key": "userId",
255
- "list-loading": n(L),
256
- data: n(K),
255
+ "list-loading": n(Q),
256
+ data: n(B),
257
257
  "table-label": n(f),
258
258
  onSelectionChange: G,
259
- onSortChange: H
259
+ onSortChange: J
260
260
  }, {
261
- gender: o((e) => [
262
- y("span", null, r(n(j).genderDict.getEnumValue(e.data.row.gender)), 1)
261
+ gender: l((e) => [
262
+ y("span", null, r(n(S).genderDict.getEnumValue(e.data.row.gender)), 1)
263
263
  ]),
264
- mobilePhone: o((e) => [
264
+ mobilePhone: l((e) => [
265
265
  y("span", null, r(e.data.row.showEncrypt ? e.data.row.mobilePhone : e.data.row.mobilePhoneIns), 1)
266
266
  ]),
267
- email: o((e) => [
267
+ email: l((e) => [
268
268
  y("span", null, r(e.data.row.showEncrypt ? e.data.row.email : e.data.row.emailIns), 1)
269
269
  ]),
270
- jobStatus: o((e) => [
270
+ jobStatus: l((e) => [
271
271
  y("span", null, [
272
- e.data.row.jobStatus === "WORKING" ? (i(), b(P, {
272
+ e.data.row.jobStatus === n(q).jobStatus.working ? (u(), b(P, {
273
273
  key: 0,
274
- type: "success",
275
- size: "small"
274
+ type: "primary"
276
275
  }, {
277
- default: o(() => [
278
- d(r(n(j).jobStatusDictEnum.getEnumValue(
279
- e.data.row.jobStatus
280
- )), 1)
276
+ default: l(() => [
277
+ d(r(n(S).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
281
278
  ]),
282
279
  _: 2
283
- }, 1024)) : g("", !0),
284
- e.data.row.jobStatus === "LEAVE" ? (i(), b(P, {
280
+ }, 1024)) : (u(), b(P, {
285
281
  key: 1,
286
- type: "danger",
287
- size: "small"
282
+ type: "danger"
288
283
  }, {
289
- default: o(() => [
290
- d(r(n(j).jobStatusDictEnum.getEnumValue(
291
- e.data.row.jobStatus
292
- )), 1)
284
+ default: l(() => [
285
+ d(r(n(S).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
293
286
  ]),
294
287
  _: 2
295
- }, 1024)) : g("", !0)
288
+ }, 1024))
296
289
  ])
297
290
  ]),
298
- operation: o((e) => [
299
- e.data.row.mobilePhoneIns || e.data.row.emailIns ? (i(), w("span", me, [
300
- c(a(R, {
291
+ operation: l((e) => [
292
+ e.data.row.mobilePhoneIns || e.data.row.emailIns ? (u(), w("span", de, [
293
+ c(a(D, {
301
294
  "icon-class": "close-eye",
302
- onClick: (S) => V(e.data.row)
295
+ onClick: (C) => E(e.data.row)
303
296
  }, null, 8, ["onClick"]), [
304
297
  [T, !e.data.row.showEncrypt]
305
298
  ]),
306
- c(a(R, {
299
+ c(a(D, {
307
300
  "icon-class": "eye-open",
308
- onClick: (S) => V(e.data.row)
301
+ onClick: (C) => E(e.data.row)
309
302
  }, null, 8, ["onClick"]), [
310
303
  [T, e.data.row.showEncrypt]
311
304
  ])
312
- ])) : g("", !0),
313
- c((i(), w("span", {
305
+ ])) : V("", !0),
306
+ c((u(), w("span", {
314
307
  class: "el-button-color dropdown-left",
315
- onClick: (S) => B(e.data.row)
308
+ onClick: (C) => F(e.data.row)
316
309
  }, [
317
- d(r(l.$t("common.edit")), 1)
318
- ], 8, de)), [
310
+ d(r(o.$t("common.edit")), 1)
311
+ ], 8, pe)), [
319
312
  [v, ["itsmsys:sys_user_man:update"]]
320
313
  ]),
321
- c((i(), w("span", {
314
+ c((u(), w("span", {
322
315
  class: "el-button-color dropdown-left",
323
- onClick: (S) => n(u).deleteRecord(e.data.row)
316
+ onClick: (C) => n(i).deleteRecord(e.data.row)
324
317
  }, [
325
- d(r(l.$t("common.delete")), 1)
326
- ], 8, pe)), [
318
+ d(r(o.$t("common.delete")), 1)
319
+ ], 8, ce)), [
327
320
  [v, ["itsmsys:sys_user_man:delete"]]
328
321
  ]),
329
- c((i(), w("span", {
322
+ c((u(), w("span", {
330
323
  class: "el-button-color dropdown-left",
331
- onClick: (S) => F(e.data.row)
324
+ onClick: (C) => H(e.data.row)
332
325
  }, [
333
- d(r(l.$t("common.view")), 1)
334
- ], 8, ce)), [
326
+ d(r(o.$t("common.view")), 1)
327
+ ], 8, ye)), [
335
328
  [v, ["itsmsys:sys_user_man:view"]]
336
329
  ])
337
330
  ]),
@@ -340,19 +333,19 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, me =
340
333
  ]),
341
334
  _: 1
342
335
  }),
343
- p.value.visible ? (i(), b(re, {
336
+ p.value.visible ? (u(), b(ie, {
344
337
  key: 0,
345
338
  modelValue: p.value.visible,
346
339
  "onUpdate:modelValue": t[12] || (t[12] = (e) => p.value.visible = e),
347
340
  title: p.value.title,
348
- "entity-key": n($),
341
+ "entity-key": n(j),
349
342
  onRefresh: O,
350
343
  width: "900px"
351
- }, null, 8, ["modelValue", "title", "entity-key"])) : g("", !0)
344
+ }, null, 8, ["modelValue", "title", "entity-key"])) : V("", !0)
352
345
  ]);
353
346
  };
354
347
  }
355
348
  });
356
349
  export {
357
- ke as default
350
+ Ce as default
358
351
  };
@@ -1,14 +1,14 @@
1
1
  var y = Object.defineProperty;
2
- var h = (i, r, t) => r in i ? y(i, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[r] = t;
3
- var s = (i, r, t) => h(i, typeof r != "symbol" ? r + "" : r, t);
4
- import { ref as p, reactive as T } from "vue";
5
- import { BizLayDict as S, BizDict as _, EnumDict as u } from "jmash-core";
6
- import { sysOrgApi as l } from "./index.mjs";
2
+ var p = (i, r, t) => r in i ? y(i, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[r] = t;
3
+ var s = (i, r, t) => p(i, typeof r != "symbol" ? r + "" : r, t);
4
+ import { ref as S, reactive as T } from "vue";
5
+ import { BizLayDict as h, BizDict as _, EnumDict as u } from "jmash-core";
6
+ import { sysOrgApi as n } from "./index.mjs";
7
7
  class e {
8
8
  }
9
9
  //模块
10
10
  s(e, "MODULE_RBAC", "rbac"), s(e, "MODULE_ITSMSYS", "itsmsys"), // 公司管理状态
11
- s(e, "HAS_STATUS", p([
11
+ s(e, "HAS_STATUS", S([
12
12
  { key: !0, value: "启用" },
13
13
  { key: !1, value: "禁用" }
14
14
  ])), // 公司发票类型
@@ -24,9 +24,22 @@ s(e, "orgType", {
24
24
  hall: "HALL",
25
25
  // 外协
26
26
  outsource: "OUTSOURCE"
27
- }), // 机构类型厅局深度
28
- s(e, "depth", "0");
29
- class v {
27
+ }), // 工作状态
28
+ s(e, "jobStatus", {
29
+ // 在职
30
+ working: "WORKING",
31
+ // 离职
32
+ leave: "LEAVE"
33
+ }), // 人员类型
34
+ s(e, "userType", {
35
+ // 公司管理
36
+ companyManager: "COMPANY_MANAGER",
37
+ // 公司运维
38
+ companyOps: "COMPANY_OPS",
39
+ // 外协运维
40
+ outsourceOps: "OUTSOURCE_OPS"
41
+ });
42
+ class O {
30
43
  constructor(r, t) {
31
44
  s(this, "values", T([]));
32
45
  // 查询条件
@@ -41,16 +54,16 @@ class v {
41
54
  return "";
42
55
  }
43
56
  }
44
- class M extends S {
57
+ class M extends h {
45
58
  // 实现 useValues 方法
46
59
  useValues() {
47
60
  return new Promise((r, t) => {
48
- if (typeof l.findList > "u") {
61
+ if (typeof n.findList > "u") {
49
62
  r(this.values);
50
63
  return;
51
64
  }
52
65
  const o = { ...this.query };
53
- l.findList(o).then(({ data: E }) => {
66
+ n.findList(o).then(({ data: E }) => {
54
67
  const c = E.results;
55
68
  this.values.length = 0, this.values.push(...this.convertToLayEntryArray(c)), r(this.values);
56
69
  }).catch(t);
@@ -65,11 +78,11 @@ class M extends S {
65
78
  }));
66
79
  }
67
80
  }
68
- class n extends _ {
81
+ class l extends _ {
69
82
  // 实现 useValues 方法
70
83
  useValues() {
71
84
  return new Promise((r, t) => {
72
- l.findPage(this.query).then(({ data: o }) => {
85
+ n.findPage(this.query).then(({ data: o }) => {
73
86
  const E = o.results;
74
87
  this.values.length = 0, this.values.push(
75
88
  ...E.map(
@@ -86,13 +99,12 @@ class n extends _ {
86
99
  class a {
87
100
  }
88
101
  // 公司管理状态
89
- s(a, "hasStatusDict", new v(e.HAS_STATUS, {})), // 公司发票类型
102
+ s(a, "hasStatusDict", new O(e.HAS_STATUS, {})), // 公司发票类型
90
103
  s(a, "invoiceTypeDictEnum", new u(
91
104
  e.MODULE_ITSMSYS,
92
105
  e.ENUM_INVOICE_TYPE
93
106
  )), // 厅局管理父厅级单位
94
107
  s(a, "parentIdBizDict", new M({
95
- depth: e.depth,
96
108
  orgType: e.orgType.hall
97
109
  })), // 管理人员工作状态
98
110
  s(a, "jobStatusDictEnum", new u(
@@ -111,10 +123,10 @@ s(a, "engineeTypeDictEnum", new u(
111
123
  e.MODULE_ITSMSYS,
112
124
  e.ENUM_ENGINEE_TYPE
113
125
  )), // 公司人员选择公司名称
114
- s(a, "sysOrgBizDict", new n({
126
+ s(a, "sysOrgBizDict", new l({
115
127
  orgType: e.orgType.cloud
116
128
  })), // 外协运维人员选择公司名称
117
- s(a, "sysOutBizDict", new n({
129
+ s(a, "sysOutBizDict", new l({
118
130
  orgType: e.orgType.outsource
119
131
  }));
120
132
  export {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs";
1
+ import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-r7jQEFkS.mjs";
2
2
  export {
3
3
  f as default
4
4
  };