xyvcard-itsmsys 0.0.3 → 0.0.5

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