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,35 +1,29 @@
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";
1
+ import { defineComponent as J, ref as P, resolveComponent as s, resolveDirective as W, openBlock as i, createElementBlock as h, createElementVNode as $, createVNode as n, withCtx as l, withKeys as V, unref as a, createTextVNode as m, toDisplayString as d, withDirectives as f, createBlock as C, isRef as N, createCommentVNode as X } from "vue";
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 { C as ee, D as te } from "./index-ChTssr8-.mjs";
6
- import { sysOrgApi as oe } from "./index.mjs";
5
+ import { Constant as ee, sysOrgApi as te } from "./index.mjs";
6
+ import { D as oe } from "./index-B6FMyHxQ.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) {
10
- const { t: R } = Z(), w = x(), r = V({
10
+ const { t: O } = Z(), v = x(), u = P({
11
11
  orgType: ee.orgType.outsource
12
12
  }), {
13
- tableHooks: u,
13
+ tableHooks: r,
14
14
  multipleTableRef: T,
15
15
  queryFormRef: E,
16
16
  listLoading: I,
17
- tableData: j,
17
+ tableData: R,
18
18
  total: _
19
- } = Y(R, oe, r);
20
- let y = V([
19
+ } = Y(O, te, u);
20
+ let c = P([
21
21
  {
22
22
  label: "sysOut.orgName",
23
23
  prop: "orgName",
24
24
  width: "270",
25
25
  isColumn: !0
26
26
  },
27
- {
28
- label: "sysOut.address",
29
- prop: "address",
30
- width: "350",
31
- isColumn: !0
32
- },
33
27
  {
34
28
  label: "sysOut.contactPerson",
35
29
  prop: "contactPerson",
@@ -50,6 +44,12 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
50
44
  width: "200",
51
45
  isColumn: !0
52
46
  },
47
+ {
48
+ label: "sysOut.address",
49
+ prop: "address",
50
+ width: "350",
51
+ isColumn: !0
52
+ },
53
53
  {
54
54
  label: "sysOut.status",
55
55
  prop: "status",
@@ -67,76 +67,55 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
67
67
  isColumn: !0
68
68
  }
69
69
  ]);
70
- function S(o) {
70
+ function j(o) {
71
71
  o.mobileEncrypt = !o.mobileEncrypt;
72
72
  }
73
- function U() {
74
- w.push({ path: "/rawitsmsys/itsm-sys-out/edit" });
73
+ function S() {
74
+ v.push({ path: "/rawitsmsys/itsm-sys-out/edit" });
75
75
  }
76
- function q(o) {
77
- w.push({
76
+ function D(o) {
77
+ v.push({
78
78
  path: "/rawitsmsys/itsm-sys-out/edit",
79
79
  query: { entityKey: o.orgId }
80
80
  });
81
81
  }
82
- function D(o) {
83
- w.push({
82
+ function U(o) {
83
+ v.push({
84
84
  path: "/rawitsmsys/itsm-sys-out/outInfo",
85
85
  query: { orgId: o.orgId }
86
86
  });
87
87
  }
88
- function M(o) {
89
- u.selectionRows.value = o;
88
+ function q(o) {
89
+ r.selectionRows.value = o;
90
90
  }
91
- function z(o) {
92
- u.handleSort(o.prop, o.order);
91
+ function M(o) {
92
+ r.handleSort(o.prop, o.order);
93
93
  }
94
- return u.getList(), (o, t) => {
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");
94
+ return r.getList(), (o, t) => {
95
+ const z = s("el-input"), w = s("el-form-item"), y = s("el-col"), K = s("jmash-select"), g = s("el-button"), k = s("el-row"), L = s("el-form"), Q = 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
96
  return i(), h("div", le, [
97
- O("div", ne, [
98
- l(Q, {
97
+ $("div", ne, [
98
+ n(L, {
99
99
  ref_key: "queryFormRef",
100
100
  ref: E,
101
- model: r.value,
101
+ model: u.value,
102
102
  inline: !0
103
103
  }, {
104
- default: n(() => [
105
- l(k, null, {
106
- default: n(() => [
107
- l(p, { span: 6 }, {
108
- default: n(() => [
109
- l(g, {
104
+ default: l(() => [
105
+ n(k, null, {
106
+ default: l(() => [
107
+ n(y, { span: 6 }, {
108
+ default: l(() => [
109
+ n(w, {
110
110
  label: o.$t("sysOut.orgName"),
111
111
  prop: "likeOrgName"
112
112
  }, {
113
- default: n(() => [
114
- l($, {
115
- modelValue: r.value.likeOrgName,
116
- "onUpdate:modelValue": t[0] || (t[0] = (e) => r.value.likeOrgName = e),
113
+ default: l(() => [
114
+ n(z, {
115
+ modelValue: u.value.likeOrgName,
116
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => u.value.likeOrgName = e),
117
117
  placeholder: o.$t("sysOut.orgNameRequired"),
118
- onKeyup: t[1] || (t[1] = C((e) => a(u).handleQuery(), ["enter"])),
119
- class: "!w-[203px]",
120
- clearable: ""
121
- }, null, 8, ["modelValue", "placeholder"])
122
- ]),
123
- _: 1
124
- }, 8, ["label"])
125
- ]),
126
- _: 1
127
- }),
128
- l(p, { span: 6 }, {
129
- default: n(() => [
130
- l(g, {
131
- label: o.$t("sysOut.contactPerson"),
132
- prop: "contactPerson"
133
- }, {
134
- default: n(() => [
135
- l($, {
136
- modelValue: r.value.contactPerson,
137
- "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value.contactPerson = e),
138
- placeholder: o.$t("sysOut.contactPersonRequired"),
139
- onKeyup: t[3] || (t[3] = C((e) => a(u).handleQuery(), ["enter"])),
118
+ onKeyup: t[1] || (t[1] = V((e) => a(r).handleQuery(), ["enter"])),
140
119
  class: "!w-[203px]",
141
120
  clearable: ""
142
121
  }, null, 8, ["modelValue", "placeholder"])
@@ -146,20 +125,20 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
146
125
  ]),
147
126
  _: 1
148
127
  }),
149
- l(p, { span: 6 }, {
150
- default: n(() => [
151
- l(g, {
128
+ n(y, { span: 6 }, {
129
+ default: l(() => [
130
+ n(w, {
152
131
  label: o.$t("sysOut.status"),
153
132
  prop: "status"
154
133
  }, {
155
- default: n(() => [
156
- l(K, {
157
- modelValue: r.value.status,
158
- "onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.status = e),
134
+ default: l(() => [
135
+ n(K, {
136
+ modelValue: u.value.status,
137
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => u.value.status = e),
159
138
  placeholder: o.$t("sysOut.statusRequired"),
160
- data: a(te).hasStatusDict.values,
139
+ data: a(oe).hasStatusDict.values,
161
140
  clearable: "",
162
- onKeyup: t[5] || (t[5] = C((e) => a(u).handleQuery(), ["enter"]))
141
+ onKeyup: t[3] || (t[3] = V((e) => a(r).handleQuery(), ["enter"]))
163
142
  }, null, 8, ["modelValue", "placeholder", "data"])
164
143
  ]),
165
144
  _: 1
@@ -167,23 +146,23 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
167
146
  ]),
168
147
  _: 1
169
148
  }),
170
- l(p, { span: 6 }, {
171
- default: n(() => [
172
- l(g, { class: "search-btn" }, {
173
- default: n(() => [
174
- l(v, {
149
+ n(y, { span: 12 }, {
150
+ default: l(() => [
151
+ n(w, { class: "search-btn" }, {
152
+ default: l(() => [
153
+ n(g, {
175
154
  type: "primary",
176
- onClick: t[6] || (t[6] = (e) => a(u).handleQuery())
155
+ onClick: t[4] || (t[4] = (e) => a(r).handleQuery())
177
156
  }, {
178
- default: n(() => [
157
+ default: l(() => [
179
158
  m(d(o.$t("common.search")), 1)
180
159
  ]),
181
160
  _: 1
182
161
  }),
183
- l(v, {
184
- onClick: t[7] || (t[7] = (e) => a(u).resetQuery())
162
+ n(g, {
163
+ onClick: t[5] || (t[5] = (e) => a(r).resetQuery())
185
164
  }, {
186
- default: n(() => [
165
+ default: l(() => [
187
166
  m(d(o.$t("common.reset")), 1)
188
167
  ]),
189
168
  _: 1
@@ -200,33 +179,33 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
200
179
  ]),
201
180
  _: 1
202
181
  }, 8, ["model"]),
203
- t[14] || (t[14] = O("div", { class: "clear" }, null, -1))
182
+ t[12] || (t[12] = $("div", { class: "clear" }, null, -1))
204
183
  ]),
205
- l(G, {
184
+ n(G, {
206
185
  shadow: "never",
207
186
  class: "table-container"
208
187
  }, {
209
- header: n(() => [
210
- l(k, null, {
211
- default: n(() => [
212
- l(p, { span: 17 }, {
213
- default: n(() => [
214
- f((i(), P(v, {
188
+ header: l(() => [
189
+ n(k, null, {
190
+ default: l(() => [
191
+ n(y, { span: 17 }, {
192
+ default: l(() => [
193
+ f((i(), C(g, {
215
194
  type: "primary",
216
- onClick: U
195
+ onClick: S
217
196
  }, {
218
- default: n(() => [
197
+ default: l(() => [
219
198
  m(d(o.$t("common.add")), 1)
220
199
  ]),
221
200
  _: 1
222
201
  })), [
223
202
  [b, ["itsmsys:sys_out:add"]]
224
203
  ]),
225
- f((i(), P(v, {
204
+ f((i(), C(g, {
226
205
  type: "primary",
227
- onClick: t[8] || (t[8] = (e) => a(u).deleteRecords())
206
+ onClick: t[6] || (t[6] = (e) => a(r).deleteRecords())
228
207
  }, {
229
- default: n(() => [
208
+ default: l(() => [
230
209
  m(d(o.$t("common.batchDelete")), 1)
231
210
  ]),
232
211
  _: 1
@@ -236,14 +215,14 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
236
215
  ]),
237
216
  _: 1
238
217
  }),
239
- l(p, {
218
+ n(y, {
240
219
  span: 7,
241
220
  class: "container-float"
242
221
  }, {
243
- default: n(() => [
244
- l(L, {
245
- modelValue: a(y),
246
- "onUpdate:modelValue": t[9] || (t[9] = (e) => N(y) ? y.value = e : y = e),
222
+ default: l(() => [
223
+ n(Q, {
224
+ modelValue: a(c),
225
+ "onUpdate:modelValue": t[7] || (t[7] = (e) => N(c) ? c.value = e : c = e),
247
226
  "label-name": "itsmsys/itsm-sys-out"
248
227
  }, null, 8, ["modelValue"])
249
228
  ]),
@@ -253,48 +232,48 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
253
232
  _: 1
254
233
  })
255
234
  ]),
256
- footer: n(() => [
257
- a(_) > 0 ? (i(), P(H, {
235
+ footer: l(() => [
236
+ a(_) > 0 ? (i(), C(H, {
258
237
  key: 0,
259
238
  total: a(_),
260
- "onUpdate:total": t[10] || (t[10] = (e) => N(_) ? _.value = e : null),
261
- "current-page": r.value.curPage,
262
- "onUpdate:currentPage": t[11] || (t[11] = (e) => r.value.curPage = e),
263
- "page-size": r.value.pageSize,
264
- "onUpdate:pageSize": t[12] || (t[12] = (e) => r.value.pageSize = e),
265
- onPagination: t[13] || (t[13] = (e) => a(u).getList())
239
+ "onUpdate:total": t[8] || (t[8] = (e) => N(_) ? _.value = e : null),
240
+ "current-page": u.value.curPage,
241
+ "onUpdate:currentPage": t[9] || (t[9] = (e) => u.value.curPage = e),
242
+ "page-size": u.value.pageSize,
243
+ "onUpdate:pageSize": t[10] || (t[10] = (e) => u.value.pageSize = e),
244
+ onPagination: t[11] || (t[11] = (e) => a(r).getList())
266
245
  }, null, 8, ["total", "current-page", "page-size"])) : X("", !0)
267
246
  ]),
268
- default: n(() => [
269
- l(F, {
247
+ default: l(() => [
248
+ n(F, {
270
249
  ref_key: "multipleTableRef",
271
250
  ref: T,
272
251
  "row-key": "orgId",
273
252
  "list-loading": a(I),
274
- data: a(j),
275
- "table-label": a(y),
276
- onSelectionChange: M,
277
- onSortChange: z
253
+ data: a(R),
254
+ "table-label": a(c),
255
+ onSelectionChange: q,
256
+ onSortChange: M
278
257
  }, {
279
- contactPersonMobile: n((e) => [
280
- l(B, {
258
+ contactPersonMobile: l((e) => [
259
+ n(B, {
281
260
  mobilePhoneIns: e.data.row.contactPersonMobileIns,
282
261
  mobilePhone: e.data.row.contactPersonMobile,
283
262
  mobileEncrypt: e.data.row.mobileEncrypt,
284
- onToggleEncrypt: (c) => S(e.data.row)
263
+ onToggleEncrypt: (p) => j(e.data.row)
285
264
  }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
286
265
  ]),
287
- status: n((e) => [
288
- l(A, {
266
+ status: l((e) => [
267
+ n(A, {
289
268
  modelValue: 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)
269
+ "onUpdate:modelValue": (p) => e.data.row.status = p,
270
+ onChange: (p) => a(r).enableRecord(e.data.row, e.data.row.status)
292
271
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
293
272
  ]),
294
- operation: n((e) => [
273
+ operation: l((e) => [
295
274
  f((i(), h("span", {
296
275
  class: "el-button-color",
297
- onClick: (c) => q(e.data.row)
276
+ onClick: (p) => D(e.data.row)
298
277
  }, [
299
278
  m(d(o.$t("common.edit")), 1)
300
279
  ], 8, ae)), [
@@ -302,7 +281,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
302
281
  ]),
303
282
  f((i(), h("span", {
304
283
  class: "el-button-color dropdown-left",
305
- onClick: (c) => a(u).deleteRecord(e.data.row)
284
+ onClick: (p) => a(r).deleteRecord(e.data.row)
306
285
  }, [
307
286
  m(d(o.$t("common.delete")), 1)
308
287
  ], 8, se)), [
@@ -310,7 +289,7 @@ const le = { class: "app-container" }, ne = { class: "search-container" }, ae =
310
289
  ]),
311
290
  f((i(), h("span", {
312
291
  class: "el-button-color dropdown-left",
313
- onClick: (c) => D(e.data.row)
292
+ onClick: (p) => U(e.data.row)
314
293
  }, [
315
294
  m(d(o.$t("common.view")), 1)
316
295
  ], 8, re)), [