xyvcard-itsmsys 0.0.3 → 0.0.4

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/common-B2PCBCJ2.mjs +13 -0
  2. package/dist/edit-BhRXuYku.mjs +342 -0
  3. package/dist/edit-CIm8Y0Be.mjs +4 -0
  4. package/dist/edit-CWVYUzgf.mjs +369 -0
  5. package/dist/edit-CkaU_6vk.mjs +342 -0
  6. package/dist/edit-D82hX9if.mjs +4 -0
  7. package/dist/edit-DPM0jGQT.mjs +4 -0
  8. package/dist/edit-DZJU5ZPt.mjs +4 -0
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-BIx7D8XA.mjs +437 -0
  10. package/dist/edit.vue_vue_type_script_setup_true_lang-Bt5P3H7c.mjs +439 -0
  11. package/dist/{invoiceEdit-Chsj8_aC.mjs → edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs} +58 -63
  12. package/dist/edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs +439 -0
  13. package/dist/index-B_cot8iN.mjs +439 -0
  14. package/dist/index-BkHGzL0R.mjs +358 -0
  15. package/dist/index-C6KvLUoL.mjs +4 -0
  16. package/dist/index-CEUyLrKg.mjs +404 -0
  17. package/dist/index-ChTssr8-.mjs +123 -0
  18. package/dist/{index-B02UvpyC.mjs → index-ClU157bA.mjs} +103 -113
  19. package/dist/{index-Cskg0LGf.mjs → index-CogdeN09.mjs} +101 -111
  20. package/dist/{index-CUjT3FVb.mjs → index-i7X9N_rj.mjs} +107 -117
  21. package/dist/index.mjs +2765 -126
  22. package/dist/index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs +180 -0
  23. package/dist/info-70H0sycC.mjs +187 -0
  24. package/dist/info-BWgVN2mJ.mjs +176 -0
  25. package/dist/info-CE-ZnFj5.mjs +179 -0
  26. package/dist/info-Kf11Ye-N.mjs +187 -0
  27. package/dist/info-MYJGcyMX.mjs +179 -0
  28. package/dist/info-Z5LuCRmr.mjs +187 -0
  29. package/dist/style.css +1 -1
  30. package/dts/src/api/dict.d.ts +4 -1
  31. package/dts/src/api/index.d.ts +4 -1
  32. package/dts/src/api/itsm-sys-org/index.d.ts +1 -0
  33. package/dts/src/api/itsm-sys-org/types.d.ts +2 -2
  34. package/dts/src/api/itsm-sys-user-ext/types.d.ts +18 -3
  35. package/dts/src/constant.d.ts +7 -0
  36. package/dts/src/lang/itsmsys/zh-cn.d.ts +27 -11
  37. package/dts/src/router/index.d.ts +6 -4
  38. package/dts/src/utils/common.d.ts +1 -0
  39. package/dts/src/utils/momentPlugin.d.ts +5 -0
  40. package/dts/src/views/itsmsys/{itsm-sys-gov/invoiceEdit.vue.d.ts → itsm-sys-org-invoice/edit.vue.d.ts} +3 -12
  41. package/dts/src/views/itsmsys/itsm-sys-user-ops/index.vue.d.ts +2 -0
  42. package/dts/src/views/itsmsys/itsm-sys-user-ops/info.vue.d.ts +2 -0
  43. package/dts/src/views/itsmsys/{itsm-sys-org/invoiceEdit.vue.d.ts → itsm-sys-user-out/edit.vue.d.ts} +6 -15
  44. package/dts/src/views/itsmsys/itsm-sys-user-out/index.vue.d.ts +2 -0
  45. package/dts/src/views/itsmsys/itsm-sys-user-out/info.vue.d.ts +2 -0
  46. package/package.json +3 -3
  47. package/dist/edit-BeMy_aOl.mjs +0 -548
  48. package/dist/edit-BhXrnHr7.mjs +0 -520
  49. package/dist/edit-BsLAy2-H.mjs +0 -276
  50. package/dist/edit-D7n1rZY2.mjs +0 -240
  51. package/dist/edit-l4-w6Psd.mjs +0 -520
  52. package/dist/index-Bw3EuEs9.mjs +0 -345
  53. package/dist/index-COPul57Z.mjs +0 -84
  54. package/dist/index-CRlIL96y.mjs +0 -334
  55. package/dist/info-7Rre3Mm0.mjs +0 -198
  56. package/dist/info-CYKiOMB6.mjs +0 -198
  57. package/dist/info-Dub2j7gN.mjs +0 -198
  58. package/dist/info-O3dKVGmT.mjs +0 -10
  59. package/dist/invoiceEdit-C5dQG8ZJ.mjs +0 -253
  60. package/dist/invoiceEdit-DuSCNiDz.mjs +0 -253
  61. package/dts/src/api/itsm-sys-gov/index.d.ts +0 -15
  62. package/dts/src/api/itsm-sys-gov/types.d.ts +0 -87
  63. package/dts/src/api/itsm-sys-gov-invoice/index.d.ts +0 -13
  64. package/dts/src/api/itsm-sys-gov-invoice/types.d.ts +0 -48
  65. package/dts/src/views/itsmsys/itsm-sys-out/invoiceEdit.vue.d.ts +0 -31
  66. /package/dts/src/views/{itsmsys-user/itsm-sys-user-man → itsmsys/itsm-sys-org-invoice}/index.vue.d.ts +0 -0
  67. /package/dts/src/views/{itsmsys-user → itsmsys}/itsm-sys-user-man/edit.vue.d.ts +0 -0
  68. /package/dts/src/views/{itsmsys-user/itsm-sys-user-ops → itsmsys/itsm-sys-user-man}/index.vue.d.ts +0 -0
  69. /package/dts/src/views/{itsmsys-user → itsmsys}/itsm-sys-user-man/info.vue.d.ts +0 -0
  70. /package/dts/src/views/{itsmsys-user → itsmsys}/itsm-sys-user-ops/edit.vue.d.ts +0 -0
@@ -1,26 +1,23 @@
1
- import { defineComponent as X, ref as N, resolveComponent as s, resolveDirective as Y, openBlock as i, createElementBlock as c, createElementVNode as R, createVNode as l, withCtx as n, withKeys as C, unref as a, createTextVNode as p, toDisplayString as d, withDirectives as y, createBlock as P, isRef as M, createCommentVNode as S, vShow as E } from "vue";
2
- import { useTableHooks as Z } from "jmash-core";
3
- import { useI18n as x } from "vue-i18n";
4
- import { useRouter as ee } from "vue-router";
5
- import { sysOrgApi as te } from "./index.mjs";
6
- import { D as oe } from "./index-COPul57Z.mjs";
7
- const le = { class: "app-container" }, ne = { class: "search-container" }, ae = { key: 0 }, se = { key: 1 }, re = {
8
- key: 2,
9
- class: "distance-left"
10
- }, ue = ["onClick"], ie = ["onClick"], de = ["onClick"], ve = /* @__PURE__ */ X({
1
+ import { defineComponent as J, ref as V, resolveComponent as s, resolveDirective as W, openBlock as i, createElementBlock as h, createElementVNode as O, createVNode as l, withCtx as n, withKeys as C, unref as a, createTextVNode as m, toDisplayString as d, withDirectives as f, createBlock as P, isRef as N, createCommentVNode as X } from "vue";
2
+ import { useTableHooks as Y } from "jmash-core";
3
+ import { useI18n as Z } from "vue-i18n";
4
+ import { useRouter as x } from "vue-router";
5
+ import { C as ee, D as te } from "./index-ChTssr8-.mjs";
6
+ import { sysOrgApi as oe } from "./index.mjs";
7
+ const le = { class: "app-container" }, ne = { class: "search-container" }, ae = ["onClick"], se = ["onClick"], re = ["onClick"], be = /* @__PURE__ */ J({
11
8
  __name: "index",
12
- setup(me) {
13
- const { t: I } = x(), h = ee(), r = N({
14
- orgType: "OUTSOURCE"
9
+ setup(ue) {
10
+ const { t: R } = Z(), w = x(), r = V({
11
+ orgType: ee.orgType.outsource
15
12
  }), {
16
13
  tableHooks: u,
17
14
  multipleTableRef: T,
18
- queryFormRef: U,
19
- listLoading: j,
20
- tableData: q,
21
- total: v
22
- } = Z(I, te, r);
23
- let b = N([
15
+ queryFormRef: E,
16
+ listLoading: I,
17
+ tableData: j,
18
+ total: _
19
+ } = Y(R, oe, r);
20
+ let y = V([
24
21
  {
25
22
  label: "sysOut.orgName",
26
23
  prop: "orgName",
@@ -70,56 +67,57 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
70
67
  isColumn: !0
71
68
  }
72
69
  ]);
73
- function k(o) {
74
- o.contactPersonMobileEncrypt = !o.contactPersonMobileEncrypt;
70
+ function S(o) {
71
+ o.mobileEncrypt = !o.mobileEncrypt;
75
72
  }
76
- function D() {
77
- h.push({ path: "/itsmsys/itsm-sys-out/editOutInfo" });
73
+ function U() {
74
+ w.push({ path: "/rawitsmsys/itsm-sys-out/edit" });
78
75
  }
79
- function z(o) {
80
- h.push({
81
- path: "/itsmsys/itsm-sys-out/editOutInfo",
76
+ function q(o) {
77
+ w.push({
78
+ path: "/rawitsmsys/itsm-sys-out/edit",
82
79
  query: { entityKey: o.orgId }
83
80
  });
84
81
  }
85
- function K(o) {
86
- h.push({
87
- path: "/itsmsys/itsm-sys-out/outInfo",
82
+ function D(o) {
83
+ w.push({
84
+ path: "/rawitsmsys/itsm-sys-out/outInfo",
88
85
  query: { orgId: o.orgId }
89
86
  });
90
87
  }
91
- function Q(o) {
88
+ function M(o) {
92
89
  u.selectionRows.value = o;
93
90
  }
94
- function L(o) {
91
+ function z(o) {
95
92
  u.handleSort(o.prop, o.order);
96
93
  }
97
94
  return u.getList(), (o, t) => {
98
- const $ = s("el-input"), g = s("el-form-item"), f = s("el-col"), B = s("jmash-select"), w = s("el-button"), V = s("el-row"), A = s("el-form"), F = s("jmash-column-select"), O = s("svg-icon"), H = s("el-switch"), G = s("jmash-table"), J = s("jmash-pagination"), W = s("el-card"), _ = Y("hasPerm");
99
- return i(), c("div", le, [
100
- R("div", ne, [
101
- l(A, {
95
+ const $ = s("el-input"), g = s("el-form-item"), p = s("el-col"), K = s("jmash-select"), v = s("el-button"), k = s("el-row"), Q = s("el-form"), L = s("jmash-column-select"), B = s("jmash-mobileIns-component"), A = s("el-switch"), F = s("jmash-table"), H = s("jmash-pagination"), G = s("el-card"), b = W("hasPerm");
96
+ return i(), h("div", le, [
97
+ O("div", ne, [
98
+ l(Q, {
102
99
  ref_key: "queryFormRef",
103
- ref: U,
100
+ ref: E,
104
101
  model: r.value,
105
102
  inline: !0
106
103
  }, {
107
104
  default: n(() => [
108
- l(V, null, {
105
+ l(k, null, {
109
106
  default: n(() => [
110
- l(f, { span: 6 }, {
107
+ l(p, { span: 6 }, {
111
108
  default: n(() => [
112
109
  l(g, {
113
110
  label: o.$t("sysOut.orgName"),
114
- prop: "orgName"
111
+ prop: "likeOrgName"
115
112
  }, {
116
113
  default: n(() => [
117
114
  l($, {
118
- modelValue: r.value.orgName,
119
- "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.orgName = e),
115
+ modelValue: r.value.likeOrgName,
116
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.likeOrgName = e),
120
117
  placeholder: o.$t("sysOut.orgNameRequired"),
121
118
  onKeyup: t[1] || (t[1] = C((e) => a(u).handleQuery(), ["enter"])),
122
- class: "!w-[203px]"
119
+ class: "!w-[203px]",
120
+ clearable: ""
123
121
  }, null, 8, ["modelValue", "placeholder"])
124
122
  ]),
125
123
  _: 1
@@ -127,7 +125,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
127
125
  ]),
128
126
  _: 1
129
127
  }),
130
- l(f, { span: 6 }, {
128
+ l(p, { span: 6 }, {
131
129
  default: n(() => [
132
130
  l(g, {
133
131
  label: o.$t("sysOut.contactPerson"),
@@ -139,7 +137,8 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
139
137
  "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.contactPerson = e),
140
138
  placeholder: o.$t("sysOut.contactPersonRequired"),
141
139
  onKeyup: t[3] || (t[3] = C((e) => a(u).handleQuery(), ["enter"])),
142
- class: "!w-[203px]"
140
+ class: "!w-[203px]",
141
+ clearable: ""
143
142
  }, null, 8, ["modelValue", "placeholder"])
144
143
  ]),
145
144
  _: 1
@@ -147,18 +146,18 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
147
146
  ]),
148
147
  _: 1
149
148
  }),
150
- l(f, { span: 6 }, {
149
+ l(p, { span: 6 }, {
151
150
  default: n(() => [
152
151
  l(g, {
153
152
  label: o.$t("sysOut.status"),
154
153
  prop: "status"
155
154
  }, {
156
155
  default: n(() => [
157
- l(B, {
156
+ l(K, {
158
157
  modelValue: r.value.status,
159
158
  "onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.status = e),
160
159
  placeholder: o.$t("sysOut.statusRequired"),
161
- data: a(oe).hasStatusDict.values,
160
+ data: a(te).hasStatusDict.values,
162
161
  clearable: "",
163
162
  onKeyup: t[5] || (t[5] = C((e) => a(u).handleQuery(), ["enter"]))
164
163
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -168,24 +167,24 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
168
167
  ]),
169
168
  _: 1
170
169
  }),
171
- l(f, { span: 6 }, {
170
+ l(p, { span: 6 }, {
172
171
  default: n(() => [
173
172
  l(g, { class: "search-btn" }, {
174
173
  default: n(() => [
175
- l(w, {
174
+ l(v, {
176
175
  type: "primary",
177
176
  onClick: t[6] || (t[6] = (e) => a(u).handleQuery())
178
177
  }, {
179
178
  default: n(() => [
180
- p(d(o.$t("common.search")), 1)
179
+ m(d(o.$t("common.search")), 1)
181
180
  ]),
182
181
  _: 1
183
182
  }),
184
- l(w, {
183
+ l(v, {
185
184
  onClick: t[7] || (t[7] = (e) => a(u).resetQuery())
186
185
  }, {
187
186
  default: n(() => [
188
- p(d(o.$t("common.reset")), 1)
187
+ m(d(o.$t("common.reset")), 1)
189
188
  ]),
190
189
  _: 1
191
190
  })
@@ -201,50 +200,50 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
201
200
  ]),
202
201
  _: 1
203
202
  }, 8, ["model"]),
204
- t[14] || (t[14] = R("div", { class: "clear" }, null, -1))
203
+ t[14] || (t[14] = O("div", { class: "clear" }, null, -1))
205
204
  ]),
206
- l(W, {
205
+ l(G, {
207
206
  shadow: "never",
208
207
  class: "table-container"
209
208
  }, {
210
209
  header: n(() => [
211
- l(V, null, {
210
+ l(k, null, {
212
211
  default: n(() => [
213
- l(f, { span: 17 }, {
212
+ l(p, { span: 17 }, {
214
213
  default: n(() => [
215
- y((i(), P(w, {
214
+ f((i(), P(v, {
216
215
  type: "primary",
217
- onClick: D
216
+ onClick: U
218
217
  }, {
219
218
  default: n(() => [
220
- p(d(o.$t("common.add")), 1)
219
+ m(d(o.$t("common.add")), 1)
221
220
  ]),
222
221
  _: 1
223
222
  })), [
224
- [_, ["itsmsys:sys_out:add"]]
223
+ [b, ["itsmsys:sys_out:add"]]
225
224
  ]),
226
- y((i(), P(w, {
225
+ f((i(), P(v, {
227
226
  type: "primary",
228
227
  onClick: t[8] || (t[8] = (e) => a(u).deleteRecords())
229
228
  }, {
230
229
  default: n(() => [
231
- p(d(o.$t("common.batchDelete")), 1)
230
+ m(d(o.$t("common.batchDelete")), 1)
232
231
  ]),
233
232
  _: 1
234
233
  })), [
235
- [_, ["itsmsys:sys_out:delete"]]
234
+ [b, ["itsmsys:sys_out:delete"]]
236
235
  ])
237
236
  ]),
238
237
  _: 1
239
238
  }),
240
- l(f, {
239
+ l(p, {
241
240
  span: 7,
242
241
  class: "container-float"
243
242
  }, {
244
243
  default: n(() => [
245
- l(F, {
246
- modelValue: a(b),
247
- "onUpdate:modelValue": t[9] || (t[9] = (e) => M(b) ? b.value = e : b = e),
244
+ l(L, {
245
+ modelValue: a(y),
246
+ "onUpdate:modelValue": t[9] || (t[9] = (e) => N(y) ? y.value = e : y = e),
248
247
  "label-name": "itsmsys/itsm-sys-out"
249
248
  }, null, 8, ["modelValue"])
250
249
  ]),
@@ -255,76 +254,67 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
255
254
  })
256
255
  ]),
257
256
  footer: n(() => [
258
- a(v) > 0 ? (i(), P(J, {
257
+ a(_) > 0 ? (i(), P(H, {
259
258
  key: 0,
260
- total: a(v),
261
- "onUpdate:total": t[10] || (t[10] = (e) => M(v) ? v.value = e : null),
259
+ total: a(_),
260
+ "onUpdate:total": t[10] || (t[10] = (e) => N(_) ? _.value = e : null),
262
261
  "current-page": r.value.curPage,
263
262
  "onUpdate:currentPage": t[11] || (t[11] = (e) => r.value.curPage = e),
264
263
  "page-size": r.value.pageSize,
265
264
  "onUpdate:pageSize": t[12] || (t[12] = (e) => r.value.pageSize = e),
266
265
  onPagination: t[13] || (t[13] = (e) => a(u).getList())
267
- }, null, 8, ["total", "current-page", "page-size"])) : S("", !0)
266
+ }, null, 8, ["total", "current-page", "page-size"])) : X("", !0)
268
267
  ]),
269
268
  default: n(() => [
270
- l(G, {
269
+ l(F, {
271
270
  ref_key: "multipleTableRef",
272
271
  ref: T,
273
272
  "row-key": "orgId",
274
- "list-loading": a(j),
275
- data: a(q),
276
- "table-label": a(b),
277
- onSelectionChange: Q,
278
- onSortChange: L
273
+ "list-loading": a(I),
274
+ data: a(j),
275
+ "table-label": a(y),
276
+ onSelectionChange: M,
277
+ onSortChange: z
279
278
  }, {
280
279
  contactPersonMobile: n((e) => [
281
- e.data.row.contactPersonMobileEncrypt ? (i(), c("span", se, d(e.data.row.contactPersonMobile), 1)) : (i(), c("span", ae, d(e.data.row.contactPersonMobileIns), 1)),
282
- e.data.row.contactPersonMobileIns ? (i(), c("span", re, [
283
- y(l(O, {
284
- "icon-class": "close-eye",
285
- onClick: (m) => k(e.data.row)
286
- }, null, 8, ["onClick"]), [
287
- [E, !e.data.row.contactPersonMobileEncrypt]
288
- ]),
289
- y(l(O, {
290
- "icon-class": "eye-open",
291
- onClick: (m) => k(e.data.row)
292
- }, null, 8, ["onClick"]), [
293
- [E, e.data.row.contactPersonMobileEncrypt]
294
- ])
295
- ])) : S("", !0)
280
+ l(B, {
281
+ mobilePhoneIns: e.data.row.contactPersonMobileIns,
282
+ mobilePhone: e.data.row.contactPersonMobile,
283
+ mobileEncrypt: e.data.row.mobileEncrypt,
284
+ onToggleEncrypt: (c) => S(e.data.row)
285
+ }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
296
286
  ]),
297
287
  status: n((e) => [
298
- l(H, {
288
+ l(A, {
299
289
  modelValue: e.data.row.status,
300
- "onUpdate:modelValue": (m) => e.data.row.status = m,
301
- onChange: (m) => a(u).enableRecord(e.data.row, e.data.row.status)
290
+ "onUpdate:modelValue": (c) => e.data.row.status = c,
291
+ onChange: (c) => a(u).enableRecord(e.data.row, e.data.row.status)
302
292
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
303
293
  ]),
304
294
  operation: n((e) => [
305
- y((i(), c("span", {
295
+ f((i(), h("span", {
306
296
  class: "el-button-color",
307
- onClick: (m) => z(e.data.row)
297
+ onClick: (c) => q(e.data.row)
308
298
  }, [
309
- p(d(o.$t("common.edit")), 1)
310
- ], 8, ue)), [
311
- [_, ["itsmsys:sys_out:update"]]
299
+ m(d(o.$t("common.edit")), 1)
300
+ ], 8, ae)), [
301
+ [b, ["itsmsys:sys_out:update"]]
312
302
  ]),
313
- y((i(), c("span", {
303
+ f((i(), h("span", {
314
304
  class: "el-button-color dropdown-left",
315
- onClick: (m) => a(u).deleteRecord(e.data.row)
305
+ onClick: (c) => a(u).deleteRecord(e.data.row)
316
306
  }, [
317
- p(d(o.$t("common.delete")), 1)
318
- ], 8, ie)), [
319
- [_, ["itsmsys:sys_out:delete"]]
307
+ m(d(o.$t("common.delete")), 1)
308
+ ], 8, se)), [
309
+ [b, ["itsmsys:sys_out:delete"]]
320
310
  ]),
321
- y((i(), c("span", {
311
+ f((i(), h("span", {
322
312
  class: "el-button-color dropdown-left",
323
- onClick: (m) => K(e.data.row)
313
+ onClick: (c) => D(e.data.row)
324
314
  }, [
325
- p(d(o.$t("common.view")), 1)
326
- ], 8, de)), [
327
- [_, ["itsmsys:sys_out:view"]]
315
+ m(d(o.$t("common.view")), 1)
316
+ ], 8, re)), [
317
+ [b, ["itsmsys:sys_out:view"]]
328
318
  ])
329
319
  ]),
330
320
  _: 1
@@ -337,5 +327,5 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
337
327
  }
338
328
  });
339
329
  export {
340
- ve as default
330
+ be as default
341
331
  };