xyvcard-itsmsys 0.0.3 → 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/{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-B_cot8iN.mjs +439 -0
  14. package/dist/index-BkHGzL0R.mjs +358 -0
  15. package/dist/index-C6KvLUoL.mjs +4 -0
  16. package/dist/index-CEUyLrKg.mjs +404 -0
  17. package/dist/index-ChTssr8-.mjs +123 -0
  18. package/dist/{index-B02UvpyC.mjs → index-ClU157bA.mjs} +103 -113
  19. package/dist/{index-Cskg0LGf.mjs → index-CogdeN09.mjs} +101 -111
  20. package/dist/{index-CUjT3FVb.mjs → index-i7X9N_rj.mjs} +107 -117
  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,17 @@
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 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";
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__ */ W({
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: 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([
18
15
  {
19
16
  label: "sysGov.orgName",
20
17
  prop: "orgName",
@@ -72,56 +69,57 @@ const ne = { class: "app-container" }, se = { class: "search-container" }, ae =
72
69
  isColumn: !0
73
70
  }
74
71
  ]);
75
- function C(t) {
76
- t.contactPersonMobileEncrypt = !t.contactPersonMobileEncrypt;
72
+ function j(t) {
73
+ t.mobileEncrypt = !t.mobileEncrypt;
77
74
  }
78
- function D() {
79
- w.push({ path: "/itsmsys/itsm-sys-gov/editGovInfo" });
75
+ function q() {
76
+ w.push({ path: "/rawitsmsys/itsm-sys-gov/edit" });
80
77
  }
81
- function S(t) {
78
+ function D(t) {
82
79
  w.push({
83
- path: "/itsmsys/itsm-sys-gov/editGovInfo",
80
+ path: "/rawitsmsys/itsm-sys-gov/edit",
84
81
  query: { entityKey: t.orgId }
85
82
  });
86
83
  }
87
- function j(t) {
84
+ function M(t) {
88
85
  w.push({
89
- path: "/itsmsys/itsm-sys-gov/govInfo",
86
+ path: "/rawitsmsys/itsm-sys-gov/govInfo",
90
87
  query: { orgId: t.orgId }
91
88
  });
92
89
  }
93
- function U(t) {
90
+ function S(t) {
94
91
  r.selectionRows.value = t;
95
92
  }
96
- function K(t) {
93
+ function U(t) {
97
94
  r.handleSort(t.prop, t.order);
98
95
  }
99
96
  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, {
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, {
104
101
  ref_key: "queryFormRef",
105
- ref: E,
106
- model: c.value,
102
+ ref: G,
103
+ model: d.value,
107
104
  inline: !0
108
105
  }, {
109
106
  default: l(() => [
110
- o($, null, {
107
+ o(k, null, {
111
108
  default: l(() => [
112
- o(v, { span: 6 }, {
109
+ o(c, { span: 6 }, {
113
110
  default: l(() => [
114
- o(b, {
111
+ o(f, {
115
112
  label: t.$t("sysGov.orgName"),
116
- prop: "orgName"
113
+ prop: "likeOrgName"
117
114
  }, {
118
115
  default: l(() => [
119
- o(k, {
120
- modelValue: c.value.orgName,
121
- "onUpdate:modelValue": n[0] || (n[0] = (e) => c.value.orgName = e),
116
+ o(C, {
117
+ modelValue: d.value.likeOrgName,
118
+ "onUpdate:modelValue": n[0] || (n[0] = (e) => d.value.likeOrgName = e),
122
119
  placeholder: t.$t("sysGov.orgNameRequired"),
123
120
  onKeyup: n[1] || (n[1] = g((e) => a(r).handleQuery(), ["enter"])),
124
- class: "!w-[203px]"
121
+ class: "!w-[203px]",
122
+ clearable: ""
125
123
  }, null, 8, ["modelValue", "placeholder"])
126
124
  ]),
127
125
  _: 1
@@ -129,19 +127,20 @@ const ne = { class: "app-container" }, se = { class: "search-container" }, ae =
129
127
  ]),
130
128
  _: 1
131
129
  }),
132
- o(v, { span: 6 }, {
130
+ o(c, { span: 6 }, {
133
131
  default: l(() => [
134
- o(b, {
132
+ o(f, {
135
133
  label: t.$t("sysGov.contactPerson"),
136
134
  prop: "contactPerson"
137
135
  }, {
138
136
  default: l(() => [
139
- o(k, {
140
- modelValue: c.value.contactPerson,
141
- "onUpdate:modelValue": n[2] || (n[2] = (e) => c.value.contactPerson = e),
137
+ o(C, {
138
+ modelValue: d.value.contactPerson,
139
+ "onUpdate:modelValue": n[2] || (n[2] = (e) => d.value.contactPerson = e),
142
140
  placeholder: t.$t("sysGov.contactPersonRequired"),
143
141
  onKeyup: n[3] || (n[3] = g((e) => a(r).handleQuery(), ["enter"])),
144
- class: "!w-[203px]"
142
+ class: "!w-[203px]",
143
+ clearable: ""
145
144
  }, null, 8, ["modelValue", "placeholder"])
146
145
  ]),
147
146
  _: 1
@@ -149,18 +148,18 @@ const ne = { class: "app-container" }, se = { class: "search-container" }, ae =
149
148
  ]),
150
149
  _: 1
151
150
  }),
152
- o(v, { span: 6 }, {
151
+ o(c, { span: 6 }, {
153
152
  default: l(() => [
154
- o(b, {
153
+ o(f, {
155
154
  label: t.$t("sysGov.status"),
156
155
  prop: "status"
157
156
  }, {
158
157
  default: l(() => [
159
- o(L, {
160
- modelValue: c.value.status,
161
- "onUpdate:modelValue": n[4] || (n[4] = (e) => c.value.status = e),
158
+ o(K, {
159
+ modelValue: d.value.status,
160
+ "onUpdate:modelValue": n[4] || (n[4] = (e) => d.value.status = e),
162
161
  placeholder: t.$t("sysGov.statusRequired"),
163
- data: a(te).hasStatusDict.values,
162
+ data: a(ee).hasStatusDict.values,
164
163
  clearable: "",
165
164
  onKeyup: n[5] || (n[5] = g((e) => a(r).handleQuery(), ["enter"]))
166
165
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -170,24 +169,24 @@ const ne = { class: "app-container" }, se = { class: "search-container" }, ae =
170
169
  ]),
171
170
  _: 1
172
171
  }),
173
- o(v, { span: 6 }, {
172
+ o(c, { span: 6 }, {
174
173
  default: l(() => [
175
- o(b, { class: "search-btn" }, {
174
+ o(f, { class: "search-btn" }, {
176
175
  default: l(() => [
177
- o(h, {
176
+ o(v, {
178
177
  type: "primary",
179
178
  onClick: n[6] || (n[6] = (e) => a(r).handleQuery())
180
179
  }, {
181
180
  default: l(() => [
182
- p(u(t.$t("common.search")), 1)
181
+ m(u(t.$t("common.search")), 1)
183
182
  ]),
184
183
  _: 1
185
184
  }),
186
- o(h, {
185
+ o(v, {
187
186
  onClick: n[7] || (n[7] = (e) => a(r).resetQuery())
188
187
  }, {
189
188
  default: l(() => [
190
- p(u(t.$t("common.reset")), 1)
189
+ m(u(t.$t("common.reset")), 1)
191
190
  ]),
192
191
  _: 1
193
192
  })
@@ -203,50 +202,50 @@ const ne = { class: "app-container" }, se = { class: "search-container" }, ae =
203
202
  ]),
204
203
  _: 1
205
204
  }, 8, ["model"]),
206
- n[10] || (n[10] = G("div", { class: "clear" }, null, -1))
205
+ n[10] || (n[10] = V("div", { class: "clear" }, null, -1))
207
206
  ]),
208
207
  o(J, {
209
208
  shadow: "never",
210
209
  class: "table-container"
211
210
  }, {
212
211
  header: l(() => [
213
- o($, null, {
212
+ o(k, null, {
214
213
  default: l(() => [
215
- o(v, { span: 17 }, {
214
+ o(c, { span: 17 }, {
216
215
  default: l(() => [
217
- y((i(), M(h, {
216
+ _((p(), T(v, {
218
217
  type: "primary",
219
- onClick: D
218
+ onClick: q
220
219
  }, {
221
220
  default: l(() => [
222
- p(u(t.$t("common.add")), 1)
221
+ m(u(t.$t("common.add")), 1)
223
222
  ]),
224
223
  _: 1
225
224
  })), [
226
- [f, ["itsmsys:sys_gov:add"]]
225
+ [b, ["itsmsys:sys_gov:add"]]
227
226
  ]),
228
- y((i(), M(h, {
227
+ _((p(), T(v, {
229
228
  type: "primary",
230
229
  onClick: n[8] || (n[8] = (e) => a(r).deleteRecords())
231
230
  }, {
232
231
  default: l(() => [
233
- p(u(t.$t("common.batchDelete")), 1)
232
+ m(u(t.$t("common.batchDelete")), 1)
234
233
  ]),
235
234
  _: 1
236
235
  })), [
237
- [f, ["itsmsys:sys_gov:delete"]]
236
+ [b, ["itsmsys:sys_gov:delete"]]
238
237
  ])
239
238
  ]),
240
239
  _: 1
241
240
  }),
242
- o(v, {
241
+ o(c, {
243
242
  span: 7,
244
243
  class: "container-float"
245
244
  }, {
246
245
  default: l(() => [
247
- o(A, {
248
- modelValue: a(_),
249
- "onUpdate:modelValue": n[9] || (n[9] = (e) => Y(_) ? _.value = e : _ = e),
246
+ o(Q, {
247
+ modelValue: a(y),
248
+ "onUpdate:modelValue": n[9] || (n[9] = (e) => Y(y) ? y.value = e : y = e),
250
249
  "label-name": "itsmsys/itsm-sys-gov"
251
250
  }, null, 8, ["modelValue"])
252
251
  ]),
@@ -257,49 +256,40 @@ const ne = { class: "app-container" }, se = { class: "search-container" }, ae =
257
256
  })
258
257
  ]),
259
258
  default: l(() => [
260
- o(O, {
259
+ o(H, {
261
260
  ref_key: "multipleTableRef",
262
- ref: I,
261
+ ref: E,
263
262
  "row-key": "orgId",
264
- "list-loading": a(B),
265
- data: a(q),
266
- "table-label": a(_),
267
- onSelectionChange: U,
268
- onSortChange: K
263
+ "list-loading": a(I),
264
+ data: a(B),
265
+ "table-label": a(y),
266
+ onSelectionChange: S,
267
+ onSortChange: U
269
268
  }, {
270
269
  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)
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"])
286
276
  ]),
287
277
  orderBy: l((e) => [
288
- o(V, {
278
+ o($, {
289
279
  size: "16",
290
- onClick: (d) => a(r).handleMove(e.data.row, !1)
280
+ onClick: (i) => a(r).handleMove(e.data.row, !1)
291
281
  }, {
292
282
  default: l(() => [
293
- o(H)
283
+ o(z)
294
284
  ]),
295
285
  _: 2
296
286
  }, 1032, ["onClick"]),
297
- o(V, {
287
+ o($, {
298
288
  size: "16",
299
- onClick: (d) => a(r).handleMove(e.data.row, !0)
289
+ onClick: (i) => a(r).handleMove(e.data.row, !0)
300
290
  }, {
301
291
  default: l(() => [
302
- o(z)
292
+ o(A)
303
293
  ]),
304
294
  _: 2
305
295
  }, 1032, ["onClick"])
@@ -307,34 +297,34 @@ const ne = { class: "app-container" }, se = { class: "search-container" }, ae =
307
297
  status: l((e) => [
308
298
  o(F, {
309
299
  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)
300
+ "onUpdate:modelValue": (i) => e.data.row.status = i,
301
+ onChange: (i) => a(r).enableRecord(e.data.row, e.data.row.status)
312
302
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
313
303
  ]),
314
304
  operation: l((e) => [
315
- y((i(), m("span", {
305
+ _((p(), h("span", {
316
306
  class: "el-button-color",
317
- onClick: (d) => S(e.data.row)
307
+ onClick: (i) => D(e.data.row)
318
308
  }, [
319
- p(u(t.$t("common.edit")), 1)
320
- ], 8, ie)), [
321
- [f, ["itsmsys:sys_gov:update"]]
309
+ m(u(t.$t("common.edit")), 1)
310
+ ], 8, se)), [
311
+ [b, ["itsmsys:sys_gov:update"]]
322
312
  ]),
323
- y((i(), m("span", {
313
+ _((p(), h("span", {
324
314
  class: "el-button-color dropdown-left",
325
- onClick: (d) => a(r).deleteRecord(e.data.row)
315
+ onClick: (i) => a(r).deleteRecord(e.data.row)
326
316
  }, [
327
- p(u(t.$t("common.delete")), 1)
328
- ], 8, ue)), [
329
- [f, ["itsmsys:sys_gov:delete"]]
317
+ m(u(t.$t("common.delete")), 1)
318
+ ], 8, ae)), [
319
+ [b, ["itsmsys:sys_gov:delete"]]
330
320
  ]),
331
- y((i(), m("span", {
321
+ _((p(), h("span", {
332
322
  class: "el-button-color dropdown-left",
333
- onClick: (d) => j(e.data.row)
323
+ onClick: (i) => M(e.data.row)
334
324
  }, [
335
- p(u(t.$t("common.view")), 1)
336
- ], 8, ce)), [
337
- [f, ["itsmsys:sys_gov:view"]]
325
+ m(u(t.$t("common.view")), 1)
326
+ ], 8, re)), [
327
+ [b, ["itsmsys:sys_gov:view"]]
338
328
  ])
339
329
  ]),
340
330
  _: 1
@@ -347,5 +337,5 @@ const ne = { class: "app-container" }, se = { class: "search-container" }, ae =
347
337
  }
348
338
  });
349
339
  export {
350
- he as default
340
+ be as default
351
341
  };