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