xyvcard-itsmsys 0.0.5 → 0.0.7

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 (38) hide show
  1. package/dist/{edit-DPM0jGQT.mjs → edit-B2gR_6I8.mjs} +1 -1
  2. package/dist/{edit-DLAiwJjs.mjs → edit-BbJa_Nfr.mjs} +10 -10
  3. package/dist/{edit-CIm8Y0Be.mjs → edit-C42Omp9z.mjs} +1 -1
  4. package/dist/{edit-DZJU5ZPt.mjs → edit-Dfay8i1B.mjs} +1 -1
  5. package/dist/{edit-CWVYUzgf.mjs → edit-Dm9CXMA6.mjs} +11 -10
  6. package/dist/{edit-D82hX9if.mjs → edit-Fi1_QjAr.mjs} +1 -1
  7. package/dist/{edit-BhRXuYku.mjs → edit-GlkC3kLR.mjs} +15 -15
  8. package/dist/{edit.vue_vue_type_script_setup_true_lang-Bt5P3H7c.mjs → edit.vue_vue_type_script_setup_true_lang-C26lz_HM.mjs} +24 -23
  9. package/dist/{edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs → edit.vue_vue_type_script_setup_true_lang-Cj-FgUgJ.mjs} +49 -48
  10. package/dist/{edit.vue_vue_type_script_setup_true_lang-BIx7D8XA.mjs → edit.vue_vue_type_script_setup_true_lang-CoB3CDY2.mjs} +46 -45
  11. package/dist/{edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs → edit.vue_vue_type_script_setup_true_lang-r4tQk9wV.mjs} +2 -2
  12. package/dist/index-B6FMyHxQ.mjs +99 -0
  13. package/dist/index-B6vJj_z6.mjs +74 -0
  14. package/dist/{index-B_cot8iN.mjs → index-BHLCtDlx.mjs} +126 -133
  15. package/dist/{index-C6KvLUoL.mjs → index-BV8SsW14.mjs} +1 -1
  16. package/dist/{index-CEUyLrKg.mjs → index-CSMVzE7h.mjs} +101 -108
  17. package/dist/{index-BkHGzL0R.mjs → index-Ce07ACPH.mjs} +130 -137
  18. package/dist/{index-CogdeN09.mjs → index-DTjJvEfz.mjs} +103 -124
  19. package/dist/{index-ClU157bA.mjs → index-N57BEkTO.mjs} +116 -130
  20. package/dist/index-Up4lAJrU.mjs +364 -0
  21. package/dist/index.mjs +1096 -1055
  22. package/dist/index.vue_vue_type_script_setup_true_lang-C5j_HTke.mjs +191 -0
  23. package/dist/{info-BWgVN2mJ.mjs → info-BVrtvDle.mjs} +1 -1
  24. package/dist/{info-70H0sycC.mjs → info-Bc3bycK1.mjs} +2 -2
  25. package/dist/{info-CE-ZnFj5.mjs → info-Bz6yHt3N.mjs} +1 -1
  26. package/dist/{info-MYJGcyMX.mjs → info-D-ykgDrJ.mjs} +1 -1
  27. package/dist/{info-Z5LuCRmr.mjs → info-D7YAHptq.mjs} +2 -2
  28. package/dist/{info-Kf11Ye-N.mjs → info-DO3PSaAZ.mjs} +2 -2
  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/dts/src/index.d.ts +1 -0
  34. package/package.json +1 -1
  35. package/dist/index-BQRtMgmZ.mjs +0 -340
  36. package/dist/index-ChTssr8-.mjs +0 -123
  37. package/dist/index-DOXuGEyW.mjs +0 -62
  38. 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 { Constant as q, sysUserExtApi as re } from "./index.mjs";
6
+ import { _ as ie } from "./edit.vue_vue_type_script_setup_true_lang-CoB3CDY2.mjs";
7
+ import { D as S } from "./index-B6FMyHxQ.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
  };