xyvcard-itsmsys 0.0.4 → 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 (37) hide show
  1. package/dist/{edit-CkaU_6vk.mjs → edit-BNe0hNw4.mjs} +11 -10
  2. package/dist/{edit-D82hX9if.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-DPM0jGQT.mjs → edit-DG_Iw1-J.mjs} +1 -1
  6. package/dist/{edit-DZJU5ZPt.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 +20 -20
  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/index.d.ts +1 -1
  30. package/dts/src/api/itsm-sys-org/types.d.ts +0 -3
  31. package/dts/src/api/itsm-sys-org-invoice/index.d.ts +1 -0
  32. package/dts/src/api/itsm-sys-org-invoice/types.d.ts +5 -1
  33. package/dts/src/constant.d.ts +9 -1
  34. package/package.json +1 -1
  35. package/dist/index-DOXuGEyW.mjs +0 -62
  36. package/dist/index-i7X9N_rj.mjs +0 -341
  37. package/dist/index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs +0 -180
@@ -1,341 +0,0 @@
1
- import { defineComponent as W, ref as P, resolveComponent as s, resolveDirective as X, openBlock as p, createElementBlock as h, createElementVNode as V, createVNode as o, withCtx as l, withKeys as g, unref as a, createTextVNode as m, toDisplayString as u, withDirectives as _, createBlock as T, isRef as Y } from "vue";
2
- import { useTableHooks as Z } from "jmash-core";
3
- import { useI18n as x } from "vue-i18n";
4
- import { C as N, D as ee } from "./index-ChTssr8-.mjs";
5
- import { sysOrgApi as oe } from "./index.mjs";
6
- import { useRouter as te } from "vue-router";
7
- const le = { class: "app-container" }, ne = { class: "search-container" }, se = ["onClick"], ae = ["onClick"], re = ["onClick"], be = /* @__PURE__ */ W({
8
- __name: "index",
9
- setup(de) {
10
- const { t: R } = x(), w = te(), d = P({
11
- depth: N.depth,
12
- orgType: N.orgType.hall
13
- }), { tableHooks: r, multipleTableRef: E, queryFormRef: G, listLoading: I, tableData: B } = Z(R, oe, d);
14
- let y = P([
15
- {
16
- label: "sysGov.orgName",
17
- prop: "orgName",
18
- width: "270",
19
- isColumn: !0
20
- },
21
- {
22
- label: "sysGov.address",
23
- prop: "address",
24
- width: "350",
25
- isColumn: !0
26
- },
27
- {
28
- label: "sysGov.contactPerson",
29
- prop: "contactPerson",
30
- width: "150",
31
- isColumn: !0
32
- },
33
- {
34
- label: "sysOrg.contactPersonMobile",
35
- prop: "contactPersonMobile",
36
- width: "150",
37
- isColumn: !0,
38
- slotName: "contactPersonMobile",
39
- columnType: "slot"
40
- },
41
- {
42
- label: "sysGov.contactPersonTel",
43
- prop: "contactPersonTel",
44
- width: "150",
45
- isColumn: !0
46
- },
47
- {
48
- label: "sysGov.status",
49
- prop: "status",
50
- width: "100",
51
- isColumn: !0,
52
- slotName: "status",
53
- columnType: "slot"
54
- },
55
- {
56
- label: "sysGov.orderBy",
57
- prop: "orderBy",
58
- width: "100",
59
- isColumn: !0,
60
- slotName: "orderBy",
61
- columnType: "slot"
62
- },
63
- {
64
- label: "common.operate",
65
- width: "200",
66
- slotName: "operation",
67
- columnType: "slot",
68
- fixed: "right",
69
- isColumn: !0
70
- }
71
- ]);
72
- function j(t) {
73
- t.mobileEncrypt = !t.mobileEncrypt;
74
- }
75
- function q() {
76
- w.push({ path: "/rawitsmsys/itsm-sys-gov/edit" });
77
- }
78
- function D(t) {
79
- w.push({
80
- path: "/rawitsmsys/itsm-sys-gov/edit",
81
- query: { entityKey: t.orgId }
82
- });
83
- }
84
- function M(t) {
85
- w.push({
86
- path: "/rawitsmsys/itsm-sys-gov/govInfo",
87
- query: { orgId: t.orgId }
88
- });
89
- }
90
- function S(t) {
91
- r.selectionRows.value = t;
92
- }
93
- function U(t) {
94
- r.handleSort(t.prop, t.order);
95
- }
96
- return r.findList(), (t, n) => {
97
- const C = s("el-input"), f = s("el-form-item"), c = s("el-col"), K = s("jmash-select"), v = s("el-button"), k = s("el-row"), O = s("el-form"), Q = s("jmash-column-select"), L = s("jmash-mobileIns-component"), z = s("Bottom"), $ = s("el-icon"), A = s("Top"), F = s("el-switch"), H = s("jmash-table"), J = s("el-card"), b = X("hasPerm");
98
- return p(), h("div", le, [
99
- V("div", ne, [
100
- o(O, {
101
- ref_key: "queryFormRef",
102
- ref: G,
103
- model: d.value,
104
- inline: !0
105
- }, {
106
- default: l(() => [
107
- o(k, null, {
108
- default: l(() => [
109
- o(c, { span: 6 }, {
110
- default: l(() => [
111
- o(f, {
112
- label: t.$t("sysGov.orgName"),
113
- prop: "likeOrgName"
114
- }, {
115
- default: l(() => [
116
- o(C, {
117
- modelValue: d.value.likeOrgName,
118
- "onUpdate:modelValue": n[0] || (n[0] = (e) => d.value.likeOrgName = e),
119
- placeholder: t.$t("sysGov.orgNameRequired"),
120
- onKeyup: n[1] || (n[1] = g((e) => a(r).handleQuery(), ["enter"])),
121
- class: "!w-[203px]",
122
- clearable: ""
123
- }, null, 8, ["modelValue", "placeholder"])
124
- ]),
125
- _: 1
126
- }, 8, ["label"])
127
- ]),
128
- _: 1
129
- }),
130
- o(c, { span: 6 }, {
131
- default: l(() => [
132
- o(f, {
133
- label: t.$t("sysGov.contactPerson"),
134
- prop: "contactPerson"
135
- }, {
136
- default: l(() => [
137
- o(C, {
138
- modelValue: d.value.contactPerson,
139
- "onUpdate:modelValue": n[2] || (n[2] = (e) => d.value.contactPerson = e),
140
- placeholder: t.$t("sysGov.contactPersonRequired"),
141
- onKeyup: n[3] || (n[3] = g((e) => a(r).handleQuery(), ["enter"])),
142
- class: "!w-[203px]",
143
- clearable: ""
144
- }, null, 8, ["modelValue", "placeholder"])
145
- ]),
146
- _: 1
147
- }, 8, ["label"])
148
- ]),
149
- _: 1
150
- }),
151
- o(c, { span: 6 }, {
152
- default: l(() => [
153
- o(f, {
154
- label: t.$t("sysGov.status"),
155
- prop: "status"
156
- }, {
157
- default: l(() => [
158
- o(K, {
159
- modelValue: d.value.status,
160
- "onUpdate:modelValue": n[4] || (n[4] = (e) => d.value.status = e),
161
- placeholder: t.$t("sysGov.statusRequired"),
162
- data: a(ee).hasStatusDict.values,
163
- clearable: "",
164
- onKeyup: n[5] || (n[5] = g((e) => a(r).handleQuery(), ["enter"]))
165
- }, null, 8, ["modelValue", "placeholder", "data"])
166
- ]),
167
- _: 1
168
- }, 8, ["label"])
169
- ]),
170
- _: 1
171
- }),
172
- o(c, { span: 6 }, {
173
- default: l(() => [
174
- o(f, { class: "search-btn" }, {
175
- default: l(() => [
176
- o(v, {
177
- type: "primary",
178
- onClick: n[6] || (n[6] = (e) => a(r).handleQuery())
179
- }, {
180
- default: l(() => [
181
- m(u(t.$t("common.search")), 1)
182
- ]),
183
- _: 1
184
- }),
185
- o(v, {
186
- onClick: n[7] || (n[7] = (e) => a(r).resetQuery())
187
- }, {
188
- default: l(() => [
189
- m(u(t.$t("common.reset")), 1)
190
- ]),
191
- _: 1
192
- })
193
- ]),
194
- _: 1
195
- })
196
- ]),
197
- _: 1
198
- })
199
- ]),
200
- _: 1
201
- })
202
- ]),
203
- _: 1
204
- }, 8, ["model"]),
205
- n[10] || (n[10] = V("div", { class: "clear" }, null, -1))
206
- ]),
207
- o(J, {
208
- shadow: "never",
209
- class: "table-container"
210
- }, {
211
- header: l(() => [
212
- o(k, null, {
213
- default: l(() => [
214
- o(c, { span: 17 }, {
215
- default: l(() => [
216
- _((p(), T(v, {
217
- type: "primary",
218
- onClick: q
219
- }, {
220
- default: l(() => [
221
- m(u(t.$t("common.add")), 1)
222
- ]),
223
- _: 1
224
- })), [
225
- [b, ["itsmsys:sys_gov:add"]]
226
- ]),
227
- _((p(), T(v, {
228
- type: "primary",
229
- onClick: n[8] || (n[8] = (e) => a(r).deleteRecords())
230
- }, {
231
- default: l(() => [
232
- m(u(t.$t("common.batchDelete")), 1)
233
- ]),
234
- _: 1
235
- })), [
236
- [b, ["itsmsys:sys_gov:delete"]]
237
- ])
238
- ]),
239
- _: 1
240
- }),
241
- o(c, {
242
- span: 7,
243
- class: "container-float"
244
- }, {
245
- default: l(() => [
246
- o(Q, {
247
- modelValue: a(y),
248
- "onUpdate:modelValue": n[9] || (n[9] = (e) => Y(y) ? y.value = e : y = e),
249
- "label-name": "itsmsys/itsm-sys-gov"
250
- }, null, 8, ["modelValue"])
251
- ]),
252
- _: 1
253
- })
254
- ]),
255
- _: 1
256
- })
257
- ]),
258
- default: l(() => [
259
- o(H, {
260
- ref_key: "multipleTableRef",
261
- ref: E,
262
- "row-key": "orgId",
263
- "list-loading": a(I),
264
- data: a(B),
265
- "table-label": a(y),
266
- onSelectionChange: S,
267
- onSortChange: U
268
- }, {
269
- contactPersonMobile: l((e) => [
270
- o(L, {
271
- mobilePhoneIns: e.data.row.contactPersonMobileIns,
272
- mobilePhone: e.data.row.contactPersonMobile,
273
- mobileEncrypt: e.data.row.mobileEncrypt,
274
- onToggleEncrypt: (i) => j(e.data.row)
275
- }, null, 8, ["mobilePhoneIns", "mobilePhone", "mobileEncrypt", "onToggleEncrypt"])
276
- ]),
277
- orderBy: l((e) => [
278
- o($, {
279
- size: "16",
280
- onClick: (i) => a(r).handleMove(e.data.row, !1)
281
- }, {
282
- default: l(() => [
283
- o(z)
284
- ]),
285
- _: 2
286
- }, 1032, ["onClick"]),
287
- o($, {
288
- size: "16",
289
- onClick: (i) => a(r).handleMove(e.data.row, !0)
290
- }, {
291
- default: l(() => [
292
- o(A)
293
- ]),
294
- _: 2
295
- }, 1032, ["onClick"])
296
- ]),
297
- status: l((e) => [
298
- o(F, {
299
- modelValue: e.data.row.status,
300
- "onUpdate:modelValue": (i) => e.data.row.status = i,
301
- onChange: (i) => a(r).enableRecord(e.data.row, e.data.row.status)
302
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
303
- ]),
304
- operation: l((e) => [
305
- _((p(), h("span", {
306
- class: "el-button-color",
307
- onClick: (i) => D(e.data.row)
308
- }, [
309
- m(u(t.$t("common.edit")), 1)
310
- ], 8, se)), [
311
- [b, ["itsmsys:sys_gov:update"]]
312
- ]),
313
- _((p(), h("span", {
314
- class: "el-button-color dropdown-left",
315
- onClick: (i) => a(r).deleteRecord(e.data.row)
316
- }, [
317
- m(u(t.$t("common.delete")), 1)
318
- ], 8, ae)), [
319
- [b, ["itsmsys:sys_gov:delete"]]
320
- ]),
321
- _((p(), h("span", {
322
- class: "el-button-color dropdown-left",
323
- onClick: (i) => M(e.data.row)
324
- }, [
325
- m(u(t.$t("common.view")), 1)
326
- ], 8, re)), [
327
- [b, ["itsmsys:sys_gov:view"]]
328
- ])
329
- ]),
330
- _: 1
331
- }, 8, ["list-loading", "data", "table-label"])
332
- ]),
333
- _: 1
334
- })
335
- ]);
336
- };
337
- }
338
- });
339
- export {
340
- be as default
341
- };
@@ -1,180 +0,0 @@
1
- import { defineComponent as A, ref as g, reactive as w, resolveComponent as a, resolveDirective as H, openBlock as r, createElementBlock as y, createVNode as u, withCtx as n, withDirectives as f, createBlock as k, createTextVNode as h, toDisplayString as v, unref as l, isRef as T, createCommentVNode as N, createElementVNode as K } from "vue";
2
- import { useTableHooks as F } from "jmash-core";
3
- import { useI18n as G } from "vue-i18n";
4
- import { useRoute as J } from "vue-router";
5
- import { s as M } from "./index-DOXuGEyW.mjs";
6
- import { _ as Q } from "./edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs";
7
- import { D as W } from "./index-ChTssr8-.mjs";
8
- const X = { class: "app-container" }, Y = ["onClick"], Z = ["onClick"], re = /* @__PURE__ */ A({
9
- __name: "index",
10
- setup(ee) {
11
- const { t: d } = G(), I = J(), m = g({
12
- orgId: I.query.entityKey
13
- }), { tableHooks: s, multipleTableRef: V, listLoading: S, tableData: j, total: p } = F(d, M, m);
14
- let c = g([
15
- {
16
- label: "sysOrgInvoice.invoiceType",
17
- prop: "invoiceType",
18
- width: "150",
19
- isColumn: !0,
20
- slotName: "invoiceType",
21
- columnType: "slot"
22
- },
23
- {
24
- label: "sysOrgInvoice.invoiceTitle",
25
- prop: "invoiceTitle",
26
- width: "150",
27
- isColumn: !0
28
- },
29
- {
30
- label: "sysOrgInvoice.taxNumber",
31
- prop: "taxNumber",
32
- isColumn: !0
33
- },
34
- {
35
- label: "sysOrgInvoice.bankName",
36
- prop: "bankName",
37
- isColumn: !0
38
- },
39
- {
40
- label: "sysOrgInvoice.backNumber",
41
- prop: "backNumber",
42
- isColumn: !0
43
- },
44
- {
45
- label: "common.operate",
46
- width: "200",
47
- slotName: "operation",
48
- columnType: "slot",
49
- fixed: "right",
50
- isColumn: !0
51
- }
52
- ]);
53
- const i = g({
54
- title: d("common.edit"),
55
- visible: !1
56
- });
57
- let b = w({});
58
- function D() {
59
- b = w({}), i.value.title = d("common.add"), i.value.visible = !0;
60
- }
61
- function P(t) {
62
- b.invoiceId = t.invoiceId, i.value.title = d("common.edit"), i.value.visible = !0;
63
- }
64
- function R(t) {
65
- s.selectionRows.value = t;
66
- }
67
- function x(t) {
68
- s.handleSort(t.prop, t.order);
69
- }
70
- function O(t) {
71
- t && s.getList();
72
- }
73
- return s.getList(), (t, o) => {
74
- const $ = a("el-button"), C = a("el-col"), z = a("jmash-column-select"), E = a("el-row"), L = a("jmash-table"), U = a("jmash-pagination"), B = a("el-card"), _ = H("hasPerm");
75
- return r(), y("div", X, [
76
- u(B, {
77
- shadow: "never",
78
- class: "table-container"
79
- }, {
80
- header: n(() => [
81
- u(E, null, {
82
- default: n(() => [
83
- u(C, { span: 17 }, {
84
- default: n(() => [
85
- f((r(), k($, {
86
- type: "primary",
87
- onClick: D
88
- }, {
89
- default: n(() => [
90
- h(v(t.$t("common.add")), 1)
91
- ]),
92
- _: 1
93
- })), [
94
- [_, ["itsmsys:sys_org_invoice:add"]]
95
- ])
96
- ]),
97
- _: 1
98
- }),
99
- u(C, {
100
- span: 7,
101
- class: "container-float"
102
- }, {
103
- default: n(() => [
104
- u(z, {
105
- modelValue: l(c),
106
- "onUpdate:modelValue": o[0] || (o[0] = (e) => T(c) ? c.value = e : c = e),
107
- "label-name": "jobs/job-trigger"
108
- }, null, 8, ["modelValue"])
109
- ]),
110
- _: 1
111
- })
112
- ]),
113
- _: 1
114
- })
115
- ]),
116
- footer: n(() => [
117
- l(p) > 0 ? (r(), k(U, {
118
- key: 0,
119
- total: l(p),
120
- "onUpdate:total": o[1] || (o[1] = (e) => T(p) ? p.value = e : null),
121
- "current-page": m.value.curPage,
122
- "onUpdate:currentPage": o[2] || (o[2] = (e) => m.value.curPage = e),
123
- "page-size": m.value.pageSize,
124
- "onUpdate:pageSize": o[3] || (o[3] = (e) => m.value.pageSize = e),
125
- onPagination: o[4] || (o[4] = (e) => l(s).getList())
126
- }, null, 8, ["total", "current-page", "page-size"])) : N("", !0)
127
- ]),
128
- default: n(() => [
129
- u(L, {
130
- ref_key: "multipleTableRef",
131
- ref: V,
132
- "row-key": "invoiceId",
133
- "list-loading": l(S),
134
- data: l(j),
135
- "table-label": l(c),
136
- onSelectionChange: R,
137
- onSortChange: x
138
- }, {
139
- invoiceType: n((e) => [
140
- K("span", null, v(l(W).invoiceTypeDictEnum.getEnumValue(e.data.row.invoiceType)), 1)
141
- ]),
142
- operation: n((e) => [
143
- f((r(), y("span", {
144
- class: "el-button-color",
145
- onClick: (q) => P(e.data.row)
146
- }, [
147
- h(v(t.$t("common.edit")), 1)
148
- ], 8, Y)), [
149
- [_, ["itsmsys:sys_org_invoice:update"]]
150
- ]),
151
- f((r(), y("span", {
152
- class: "el-button-color dropdown-left",
153
- onClick: (q) => l(s).deleteRecord(e.data.row)
154
- }, [
155
- h(v(t.$t("common.delete")), 1)
156
- ], 8, Z)), [
157
- [_, ["itsmsys:sys_org_invoice:delete"]]
158
- ])
159
- ]),
160
- _: 1
161
- }, 8, ["list-loading", "data", "table-label"])
162
- ]),
163
- _: 1
164
- }),
165
- i.value.visible ? (r(), k(Q, {
166
- key: 0,
167
- modelValue: i.value.visible,
168
- "onUpdate:modelValue": o[5] || (o[5] = (e) => i.value.visible = e),
169
- title: i.value.title,
170
- "entity-key": l(b),
171
- onRefresh: O,
172
- width: "700px"
173
- }, null, 8, ["modelValue", "title", "entity-key"])) : N("", !0)
174
- ]);
175
- };
176
- }
177
- });
178
- export {
179
- re as _
180
- };