xyvcard-itsmsys 0.0.2 → 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/edit.vue_vue_type_script_setup_true_lang-CkIn1tAB.mjs +248 -0
  12. package/dist/edit.vue_vue_type_script_setup_true_lang-yCnCh6Q1.mjs +439 -0
  13. package/dist/index-BRupqW34.mjs +96 -0
  14. package/dist/index-B_cot8iN.mjs +439 -0
  15. package/dist/index-BkHGzL0R.mjs +358 -0
  16. package/dist/index-C6KvLUoL.mjs +4 -0
  17. package/dist/index-CEUyLrKg.mjs +404 -0
  18. package/dist/index-ChTssr8-.mjs +123 -0
  19. package/dist/index-ClU157bA.mjs +324 -0
  20. package/dist/index-CogdeN09.mjs +331 -0
  21. package/dist/{index-B-FkgFqA.mjs → index-DOXuGEyW.mjs} +6 -6
  22. package/dist/index-i7X9N_rj.mjs +341 -0
  23. package/dist/index.mjs +2903 -70
  24. package/dist/index.vue_vue_type_script_setup_true_lang-CNEAZibd.mjs +180 -0
  25. package/dist/info-70H0sycC.mjs +187 -0
  26. package/dist/info-BWgVN2mJ.mjs +176 -0
  27. package/dist/info-CE-ZnFj5.mjs +179 -0
  28. package/dist/info-Kf11Ye-N.mjs +187 -0
  29. package/dist/info-MYJGcyMX.mjs +179 -0
  30. package/dist/info-Z5LuCRmr.mjs +187 -0
  31. package/dist/style.css +1 -1
  32. package/dts/src/api/dict.d.ts +9 -1
  33. package/dts/src/api/index.d.ts +8 -1
  34. package/dts/src/api/itsm-sys-org/index.d.ts +2 -0
  35. package/dts/src/api/itsm-sys-org/types.d.ts +14 -6
  36. package/dts/src/api/itsm-sys-user-ext/index.d.ts +14 -0
  37. package/dts/src/api/itsm-sys-user-ext/types.d.ts +91 -0
  38. package/dts/src/constant.d.ts +11 -0
  39. package/dts/src/index.d.ts +2 -0
  40. package/dts/src/lang/itsmsys/zh-cn.d.ts +87 -10
  41. package/dts/src/router/index.d.ts +8 -1
  42. package/dts/src/utils/common.d.ts +1 -0
  43. package/dts/src/utils/momentPlugin.d.ts +5 -0
  44. package/dts/src/views/itsmsys/itsm-sys-gov/edit.vue.d.ts +1 -21
  45. package/dts/src/views/itsmsys/itsm-sys-gov/info.vue.d.ts +2 -0
  46. package/dts/src/views/itsmsys/{itsm-sys-org/invoiceEdit.vue.d.ts → itsm-sys-org-invoice/edit.vue.d.ts} +3 -12
  47. package/dts/src/views/itsmsys/itsm-sys-org-invoice/index.vue.d.ts +2 -0
  48. package/dts/src/views/itsmsys/itsm-sys-out/edit.vue.d.ts +2 -0
  49. package/dts/src/views/itsmsys/itsm-sys-out/index.vue.d.ts +2 -0
  50. package/dts/src/views/itsmsys/itsm-sys-out/info.vue.d.ts +2 -0
  51. package/dts/src/views/itsmsys/itsm-sys-user-man/edit.vue.d.ts +22 -0
  52. package/dts/src/views/itsmsys/itsm-sys-user-man/index.vue.d.ts +2 -0
  53. package/dts/src/views/itsmsys/itsm-sys-user-man/info.vue.d.ts +2 -0
  54. package/dts/src/views/itsmsys/itsm-sys-user-ops/edit.vue.d.ts +22 -0
  55. package/dts/src/views/itsmsys/itsm-sys-user-ops/index.vue.d.ts +2 -0
  56. package/dts/src/views/itsmsys/itsm-sys-user-ops/info.vue.d.ts +2 -0
  57. package/dts/src/views/itsmsys/itsm-sys-user-out/edit.vue.d.ts +22 -0
  58. package/dts/src/views/itsmsys/itsm-sys-user-out/index.vue.d.ts +2 -0
  59. package/dts/src/views/itsmsys/itsm-sys-user-out/info.vue.d.ts +2 -0
  60. package/package.json +3 -3
  61. package/dist/edit-BKMLirl4.mjs +0 -602
  62. package/dist/edit-ccGk5679.mjs +0 -610
  63. package/dist/index-BGwm5W6z.mjs +0 -343
  64. package/dist/index-CSDhKMEP.mjs +0 -332
  65. package/dist/info-CSOdbuvm.mjs +0 -192
  66. package/dist/invoiceEdit-D9zxwIoM.mjs +0 -288
  67. package/dts/src/api/itsm-sys-gov/index.d.ts +0 -15
  68. package/dts/src/api/itsm-sys-gov/types.d.ts +0 -87
  69. package/dts/src/api/itsm-sys-gov-invoice/index.d.ts +0 -13
  70. package/dts/src/api/itsm-sys-gov-invoice/types.d.ts +0 -48
@@ -5,7 +5,7 @@ class i {
5
5
  invoiceId: e.invoiceId
6
6
  };
7
7
  }
8
- // 查询翻页信息公司发票信息
8
+ // 查询翻页信息机构发票信息
9
9
  findPage(e) {
10
10
  const r = t().user.tenant;
11
11
  return s(e), n({
@@ -14,7 +14,7 @@ class i {
14
14
  params: e
15
15
  });
16
16
  }
17
- // 查询列表信息公司发票信息
17
+ // 查询列表信息机构发票信息
18
18
  findList(e) {
19
19
  const r = t().user.tenant;
20
20
  return s(e), n({
@@ -23,7 +23,7 @@ class i {
23
23
  params: e
24
24
  });
25
25
  }
26
- // 查询公司发票信息
26
+ // 查询机构发票信息
27
27
  findById(e) {
28
28
  const r = t().user.tenant;
29
29
  return s(e), n({
@@ -31,7 +31,7 @@ class i {
31
31
  method: "get"
32
32
  });
33
33
  }
34
- // 创建实体公司发票信息
34
+ // 创建实体机构发票信息
35
35
  create(e) {
36
36
  return e.tenant = t().user.tenant, s(e), n({
37
37
  url: "/v1/itsmsys/sys_org_invoice",
@@ -39,7 +39,7 @@ class i {
39
39
  data: e
40
40
  });
41
41
  }
42
- // 修改实体公司发票信息
42
+ // 修改实体机构发票信息
43
43
  update(e) {
44
44
  return e.tenant = t().user.tenant, s(e), n({
45
45
  url: "/v1/itsmsys/sys_org_invoice",
@@ -47,7 +47,7 @@ class i {
47
47
  data: e
48
48
  });
49
49
  }
50
- // 删除公司发票信息
50
+ // 删除机构发票信息
51
51
  delete(e) {
52
52
  return e.tenant = t().user.tenant, s(e), n({
53
53
  url: "/v1/itsmsys/sys_org_invoice/id",
@@ -0,0 +1,341 @@
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
+ };