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 j, reactive as M, resolveComponent as r, resolveDirective as oe, openBlock as d, createElementBlock as w, createElementVNode as y, createVNode as n, withCtx as o, withKeys as E, unref as a, createTextVNode as m, toDisplayString as s, withDirectives as b, createBlock as g, isRef as R, createCommentVNode as h, vShow as I } from "vue";
2
- import { useTableHooks as le } from "jmash-core";
3
- import { useI18n as ne } from "vue-i18n";
4
- import { useRouter as ae } from "vue-router";
5
- import { sysUserExtApi as se } from "./index.mjs";
6
- import { _ as re } from "./edit.vue_vue_type_script_setup_true_lang-Bt5P3H7c.mjs";
7
- import { D as c } from "./index-ChTssr8-.mjs";
8
- const ue = { class: "app-container" }, ie = { class: "search-container" }, de = { key: 0 }, me = ["onClick"], pe = ["onClick"], ye = ["onClick"], ke = /* @__PURE__ */ te({
1
+ import { defineComponent as oe, ref as j, reactive as M, resolveComponent as r, resolveDirective as le, openBlock as d, createElementBlock as w, createElementVNode as y, createVNode as n, withCtx as o, withKeys as V, unref as a, createTextVNode as m, toDisplayString as s, withDirectives as b, createBlock as g, isRef as R, createCommentVNode as E, vShow as I } from "vue";
2
+ import { useTableHooks as ne } from "jmash-core";
3
+ import { useI18n as ae } from "vue-i18n";
4
+ import { useRouter as se } from "vue-router";
5
+ import { Constant as J, sysUserExtApi as re } from "./index.mjs";
6
+ import { _ as ie } from "./edit.vue_vue_type_script_setup_true_lang-C26lz_HM.mjs";
7
+ import { D as c } from "./index-B6FMyHxQ.mjs";
8
+ const ue = { class: "app-container" }, de = { class: "search-container" }, me = { key: 0 }, pe = ["onClick"], ye = ["onClick"], be = ["onClick"], Ce = /* @__PURE__ */ oe({
9
9
  __name: "index",
10
- setup(be) {
11
- const { t: k } = ne(), J = ae(), u = j({
12
- userType: "COMPANY_OPS"
10
+ setup(ce) {
11
+ const { t: h } = ae(), q = se(), i = j({
12
+ userType: J.userType.companyOps
13
13
  }), {
14
- tableHooks: i,
15
- multipleTableRef: q,
16
- queryFormRef: z,
17
- listLoading: K,
18
- tableData: L,
19
- total: C
20
- } = le(k, se, u);
14
+ tableHooks: u,
15
+ multipleTableRef: z,
16
+ queryFormRef: K,
17
+ listLoading: L,
18
+ tableData: Q,
19
+ total: k
20
+ } = ne(h, re, i);
21
21
  let v = j([
22
22
  {
23
23
  label: "sysUserOps.realName",
@@ -81,60 +81,60 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, de =
81
81
  isColumn: !0
82
82
  }
83
83
  ]);
84
- function N(l) {
84
+ function T(l) {
85
85
  l.showEncrypt = !l.showEncrypt;
86
86
  }
87
87
  const p = j({
88
- title: k("common.edit"),
88
+ title: h("common.edit"),
89
89
  visible: !1
90
90
  });
91
91
  let $ = M({});
92
- function Q() {
93
- $ = M({}), p.value.title = k("common.add"), p.value.visible = !0;
92
+ function B() {
93
+ $ = M({}), p.value.title = h("common.add"), p.value.visible = !0;
94
94
  }
95
95
  function A(l) {
96
- $.userId = l.userId, p.value.title = k("common.edit"), p.value.visible = !0;
96
+ $.userId = l.userId, p.value.title = h("common.edit"), p.value.visible = !0;
97
97
  }
98
- function B(l) {
99
- J.push({
98
+ function F(l) {
99
+ q.push({
100
100
  path: "/rawitsmsys/itsm-sys-user-ops/userOpsInfo",
101
101
  query: { userId: l.userId }
102
102
  });
103
103
  }
104
- function F(l) {
105
- i.selectionRows.value = l;
106
- }
107
104
  function H(l) {
108
- i.handleSort(l.prop, l.order);
105
+ u.selectionRows.value = l;
109
106
  }
110
107
  function G(l) {
111
- l && i.getList();
108
+ u.handleSort(l.prop, l.order);
109
+ }
110
+ function W(l) {
111
+ l && u.getList();
112
112
  }
113
- return i.getList(), (l, t) => {
114
- const W = r("el-input"), S = r("el-form-item"), f = r("el-col"), T = r("jmash-select"), U = r("el-button"), O = r("el-row"), Y = r("el-form"), X = r("jmash-column-select"), P = r("el-tag"), D = r("svg-icon"), Z = r("jmash-table"), x = r("jmash-pagination"), ee = r("el-card"), _ = oe("hasPerm");
113
+ return u.getList(), (l, t) => {
114
+ const X = r("el-input"), C = r("el-form-item"), f = r("el-col"), N = r("jmash-select"), S = r("el-button"), D = r("el-row"), Y = r("el-form"), Z = r("jmash-column-select"), O = r("el-tag"), P = r("svg-icon"), x = r("jmash-table"), ee = r("jmash-pagination"), te = r("el-card"), _ = le("hasPerm");
115
115
  return d(), w("div", ue, [
116
- y("div", ie, [
116
+ y("div", de, [
117
117
  n(Y, {
118
118
  ref_key: "queryFormRef",
119
- ref: z,
120
- model: u.value,
119
+ ref: K,
120
+ model: i.value,
121
121
  inline: !0
122
122
  }, {
123
123
  default: o(() => [
124
- n(O, null, {
124
+ n(D, null, {
125
125
  default: o(() => [
126
126
  n(f, { span: 6 }, {
127
127
  default: o(() => [
128
- n(S, {
128
+ n(C, {
129
129
  label: l.$t("sysUserOps.realName"),
130
130
  prop: "likeUserName"
131
131
  }, {
132
132
  default: o(() => [
133
- n(W, {
134
- modelValue: u.value.likeUserName,
135
- "onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.likeUserName = e),
133
+ n(X, {
134
+ modelValue: i.value.likeUserName,
135
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => i.value.likeUserName = e),
136
136
  placeholder: l.$t("sysUserOps.realNameRequired"),
137
- onKeyup: t[1] || (t[1] = E((e) => a(i).handleQuery(), ["enter"])),
137
+ onKeyup: t[1] || (t[1] = V((e) => a(u).handleQuery(), ["enter"])),
138
138
  class: "!w-[203px]"
139
139
  }, null, 8, ["modelValue", "placeholder"])
140
140
  ]),
@@ -145,17 +145,17 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, de =
145
145
  }),
146
146
  n(f, { span: 6 }, {
147
147
  default: o(() => [
148
- n(S, {
148
+ n(C, {
149
149
  label: l.$t("sysUserOps.engineeJobMode"),
150
150
  prop: "engineeJobMode"
151
151
  }, {
152
152
  default: o(() => [
153
- n(T, {
154
- modelValue: u.value.engineeJobMode,
155
- "onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.engineeJobMode = e),
153
+ n(N, {
154
+ modelValue: i.value.engineeJobMode,
155
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => i.value.engineeJobMode = e),
156
156
  placeholder: l.$t("sysUserOps.engineeJobModeRequired"),
157
157
  data: a(c).engineeJobModeDictEnum.values,
158
- onKeyup: t[3] || (t[3] = E((e) => a(i).handleQuery(), ["enter"])),
158
+ onKeyup: t[3] || (t[3] = V((e) => a(u).handleQuery(), ["enter"])),
159
159
  clearable: ""
160
160
  }, null, 8, ["modelValue", "placeholder", "data"])
161
161
  ]),
@@ -166,17 +166,17 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, de =
166
166
  }),
167
167
  n(f, { span: 6 }, {
168
168
  default: o(() => [
169
- n(S, {
169
+ n(C, {
170
170
  label: l.$t("sysUserOps.jobStatus"),
171
171
  prop: "jobStatus"
172
172
  }, {
173
173
  default: o(() => [
174
- n(T, {
175
- modelValue: u.value.jobStatus,
176
- "onUpdate:modelValue": t[4] || (t[4] = (e) => u.value.jobStatus = e),
174
+ n(N, {
175
+ modelValue: i.value.jobStatus,
176
+ "onUpdate:modelValue": t[4] || (t[4] = (e) => i.value.jobStatus = e),
177
177
  placeholder: l.$t("sysUserOps.jobStatusRequired"),
178
178
  data: a(c).jobStatusDictEnum.values,
179
- onKeyup: t[5] || (t[5] = E((e) => a(i).handleQuery(), ["enter"])),
179
+ onKeyup: t[5] || (t[5] = V((e) => a(u).handleQuery(), ["enter"])),
180
180
  clearable: ""
181
181
  }, null, 8, ["modelValue", "placeholder", "data"])
182
182
  ]),
@@ -187,19 +187,19 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, de =
187
187
  }),
188
188
  n(f, { span: 6 }, {
189
189
  default: o(() => [
190
- n(S, { class: "search-btn" }, {
190
+ n(C, { class: "search-btn" }, {
191
191
  default: o(() => [
192
- n(U, {
192
+ n(S, {
193
193
  type: "primary",
194
- onClick: t[6] || (t[6] = (e) => a(i).handleQuery())
194
+ onClick: t[6] || (t[6] = (e) => a(u).handleQuery())
195
195
  }, {
196
196
  default: o(() => [
197
197
  m(s(l.$t("common.search")), 1)
198
198
  ]),
199
199
  _: 1
200
200
  }),
201
- n(U, {
202
- onClick: t[7] || (t[7] = (e) => a(i).resetQuery())
201
+ n(S, {
202
+ onClick: t[7] || (t[7] = (e) => a(u).resetQuery())
203
203
  }, {
204
204
  default: o(() => [
205
205
  m(s(l.$t("common.reset")), 1)
@@ -220,18 +220,18 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, de =
220
220
  }, 8, ["model"]),
221
221
  t[15] || (t[15] = y("div", { class: "clear" }, null, -1))
222
222
  ]),
223
- n(ee, {
223
+ n(te, {
224
224
  shadow: "never",
225
225
  class: "table-container"
226
226
  }, {
227
227
  header: o(() => [
228
- n(O, null, {
228
+ n(D, null, {
229
229
  default: o(() => [
230
230
  n(f, { span: 17 }, {
231
231
  default: o(() => [
232
- b((d(), g(U, {
232
+ b((d(), g(S, {
233
233
  type: "primary",
234
- onClick: Q
234
+ onClick: B
235
235
  }, {
236
236
  default: o(() => [
237
237
  m(s(l.$t("common.add")), 1)
@@ -240,9 +240,9 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, de =
240
240
  })), [
241
241
  [_, ["itsmsys:sys_user_ops:add"]]
242
242
  ]),
243
- b((d(), g(U, {
243
+ b((d(), g(S, {
244
244
  type: "primary",
245
- onClick: t[8] || (t[8] = (e) => a(i).deleteRecords())
245
+ onClick: t[8] || (t[8] = (e) => a(u).deleteRecords())
246
246
  }, {
247
247
  default: o(() => [
248
248
  m(s(l.$t("common.batchDelete")), 1)
@@ -259,7 +259,7 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, de =
259
259
  class: "container-float"
260
260
  }, {
261
261
  default: o(() => [
262
- n(X, {
262
+ n(Z, {
263
263
  modelValue: a(v),
264
264
  "onUpdate:modelValue": t[9] || (t[9] = (e) => R(v) ? v.value = e : v = e),
265
265
  "label-name": "itsmsys/itsm-sys-user-ops"
@@ -272,27 +272,27 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, de =
272
272
  })
273
273
  ]),
274
274
  footer: o(() => [
275
- a(C) > 0 ? (d(), g(x, {
275
+ a(k) > 0 ? (d(), g(ee, {
276
276
  key: 0,
277
- total: a(C),
278
- "onUpdate:total": t[10] || (t[10] = (e) => R(C) ? C.value = e : null),
279
- "current-page": u.value.curPage,
280
- "onUpdate:currentPage": t[11] || (t[11] = (e) => u.value.curPage = e),
281
- "page-size": u.value.pageSize,
282
- "onUpdate:pageSize": t[12] || (t[12] = (e) => u.value.pageSize = e),
283
- onPagination: t[13] || (t[13] = (e) => a(i).getList())
284
- }, null, 8, ["total", "current-page", "page-size"])) : h("", !0)
277
+ total: a(k),
278
+ "onUpdate:total": t[10] || (t[10] = (e) => R(k) ? k.value = e : null),
279
+ "current-page": i.value.curPage,
280
+ "onUpdate:currentPage": t[11] || (t[11] = (e) => i.value.curPage = e),
281
+ "page-size": i.value.pageSize,
282
+ "onUpdate:pageSize": t[12] || (t[12] = (e) => i.value.pageSize = e),
283
+ onPagination: t[13] || (t[13] = (e) => a(u).getList())
284
+ }, null, 8, ["total", "current-page", "page-size"])) : E("", !0)
285
285
  ]),
286
286
  default: o(() => [
287
- n(Z, {
287
+ n(x, {
288
288
  ref_key: "multipleTableRef",
289
- ref: q,
289
+ ref: z,
290
290
  "row-key": "userId",
291
- "list-loading": a(K),
292
- data: a(L),
291
+ "list-loading": a(L),
292
+ data: a(Q),
293
293
  "table-label": a(v),
294
- onSelectionChange: F,
295
- onSortChange: H
294
+ onSelectionChange: H,
295
+ onSortChange: G
296
296
  }, {
297
297
  gender: o((e) => [
298
298
  y("span", null, s(a(c).genderDict.getEnumValue(e.data.row.gender)), 1)
@@ -305,30 +305,23 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, de =
305
305
  ]),
306
306
  jobStatus: o((e) => [
307
307
  y("span", null, [
308
- e.data.row.jobStatus === "WORKING" ? (d(), g(P, {
308
+ e.data.row.jobStatus === a(J).jobStatus.working ? (d(), g(O, {
309
309
  key: 0,
310
- type: "success",
311
- size: "small"
310
+ type: "primary"
312
311
  }, {
313
312
  default: o(() => [
314
- m(s(a(c).jobStatusDictEnum.getEnumValue(
315
- e.data.row.jobStatus
316
- )), 1)
313
+ m(s(a(c).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
317
314
  ]),
318
315
  _: 2
319
- }, 1024)) : h("", !0),
320
- e.data.row.jobStatus === "LEAVE" ? (d(), g(P, {
316
+ }, 1024)) : (d(), g(O, {
321
317
  key: 1,
322
- type: "danger",
323
- size: "small"
318
+ type: "danger"
324
319
  }, {
325
320
  default: o(() => [
326
- m(s(a(c).jobStatusDictEnum.getEnumValue(
327
- e.data.row.jobStatus
328
- )), 1)
321
+ m(s(a(c).jobStatusDictEnum.getEnumValue(e.data.row.jobStatus)), 1)
329
322
  ]),
330
323
  _: 2
331
- }, 1024)) : h("", !0)
324
+ }, 1024))
332
325
  ])
333
326
  ]),
334
327
  engineeType: o((e) => [
@@ -342,42 +335,42 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, de =
342
335
  )), 1)
343
336
  ]),
344
337
  operation: o((e) => [
345
- e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), w("span", de, [
346
- b(n(D, {
338
+ e.data.row.mobilePhoneIns || e.data.row.emailIns ? (d(), w("span", me, [
339
+ b(n(P, {
347
340
  "icon-class": "close-eye",
348
- onClick: (V) => N(e.data.row)
341
+ onClick: (U) => T(e.data.row)
349
342
  }, null, 8, ["onClick"]), [
350
343
  [I, !e.data.row.showEncrypt]
351
344
  ]),
352
- b(n(D, {
345
+ b(n(P, {
353
346
  "icon-class": "eye-open",
354
- onClick: (V) => N(e.data.row)
347
+ onClick: (U) => T(e.data.row)
355
348
  }, null, 8, ["onClick"]), [
356
349
  [I, e.data.row.showEncrypt]
357
350
  ])
358
- ])) : h("", !0),
351
+ ])) : E("", !0),
359
352
  b((d(), w("span", {
360
353
  class: "el-button-color dropdown-left",
361
- onClick: (V) => A(e.data.row)
354
+ onClick: (U) => A(e.data.row)
362
355
  }, [
363
356
  m(s(l.$t("common.edit")), 1)
364
- ], 8, me)), [
357
+ ], 8, pe)), [
365
358
  [_, ["itsmsys:sys_user_ops:update"]]
366
359
  ]),
367
360
  b((d(), w("span", {
368
361
  class: "el-button-color dropdown-left",
369
- onClick: (V) => a(i).deleteRecord(e.data.row)
362
+ onClick: (U) => a(u).deleteRecord(e.data.row)
370
363
  }, [
371
364
  m(s(l.$t("common.delete")), 1)
372
- ], 8, pe)), [
365
+ ], 8, ye)), [
373
366
  [_, ["itsmsys:sys_user_ops:delete"]]
374
367
  ]),
375
368
  b((d(), w("span", {
376
369
  class: "el-button-color dropdown-left",
377
- onClick: (V) => B(e.data.row)
370
+ onClick: (U) => F(e.data.row)
378
371
  }, [
379
372
  m(s(l.$t("common.view")), 1)
380
- ], 8, ye)), [
373
+ ], 8, be)), [
381
374
  [_, ["itsmsys:sys_user_ops:view"]]
382
375
  ])
383
376
  ]),
@@ -386,19 +379,19 @@ const ue = { class: "app-container" }, ie = { class: "search-container" }, de =
386
379
  ]),
387
380
  _: 1
388
381
  }),
389
- p.value.visible ? (d(), g(re, {
382
+ p.value.visible ? (d(), g(ie, {
390
383
  key: 0,
391
384
  modelValue: p.value.visible,
392
385
  "onUpdate:modelValue": t[14] || (t[14] = (e) => p.value.visible = e),
393
386
  title: p.value.title,
394
387
  "entity-key": a($),
395
- onRefresh: G,
388
+ onRefresh: W,
396
389
  width: "900px"
397
- }, null, 8, ["modelValue", "title", "entity-key"])) : h("", !0)
390
+ }, null, 8, ["modelValue", "title", "entity-key"])) : E("", !0)
398
391
  ]);
399
392
  };
400
393
  }
401
394
  });
402
395
  export {
403
- ke as default
396
+ Ce as default
404
397
  };