xyvcard-itsmsys 0.0.2 → 0.0.3

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