xyvcard-reports 0.0.21 → 0.0.23

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 (45) hide show
  1. package/dist/{FileSaver.min-9pctQCRS.mjs → FileSaver.min-Dc06xYwc.mjs} +1 -1
  2. package/dist/{add-Dx1n7NDH.mjs → add-C4FvKrKc.mjs} +29 -43
  3. package/dist/{constant-qhPwZUPf.mjs → constant-DfJUUaoZ.mjs} +1697 -1715
  4. package/dist/edit-B0uQHdvK.mjs +250 -0
  5. package/dist/{edit-CJeMVvsU.mjs → edit-Cbck32LF.mjs} +17 -17
  6. package/dist/{edit-yO8sjDy8.mjs → edit-Ce7JMzm-.mjs} +5 -5
  7. package/dist/{edit-C2HiAoqA.mjs → edit-CpPDiJhB.mjs} +22 -22
  8. package/dist/{edit-BK2--9m5.mjs → edit-CxAB2NnD.mjs} +3 -3
  9. package/dist/{edit-DXxz7V5O.mjs → edit-DrGeCVLm.mjs} +21 -21
  10. package/dist/{edit-Cbj7MbVd.mjs → edit-W6JZmN0d.mjs} +12 -12
  11. package/dist/{follow-P2_KfMjV.mjs → follow-w6DcwXWs.mjs} +1 -1
  12. package/dist/{import-upload-CDHQ05gt.mjs → import-upload-BL3nk4jR.mjs} +1 -1
  13. package/dist/{import-upload-D4Ej-Wtd.mjs → import-upload-CmEF0ael.mjs} +1 -1
  14. package/dist/{index-Cw5s4Yba.mjs → index-BMC-dFKp.mjs} +52 -52
  15. package/dist/{index-plPmX1H0.mjs → index-BWjImAcy.mjs} +38 -38
  16. package/dist/{index-DS6wdvJi.mjs → index-C6KhUgNb.mjs} +112 -110
  17. package/dist/index-CoohNnvz.mjs +535 -0
  18. package/dist/{index-BA2IISrV.mjs → index-CtDoWUbK.mjs} +79 -79
  19. package/dist/{index-Bhr3FzhQ.mjs → index-D4BwhmeZ.mjs} +3 -3
  20. package/dist/{index-cmTCxGlG.mjs → index-DVeiAERA.mjs} +374 -354
  21. package/dist/{index-CRWVTZQ0.mjs → index-Hr7f4lpj.mjs} +1 -1
  22. package/dist/{index-BYrvGkaE.mjs → index-_JX5t0Fe.mjs} +94 -94
  23. package/dist/index.mjs +1 -1
  24. package/dist/{index.vue_vue_type_script_setup_true_lang-XCLU3UjS.mjs → index.vue_vue_type_script_setup_true_lang-Bs0bxd3_.mjs} +4 -4
  25. package/dist/{info-_7dAmewP.mjs → info-BZIg0kvO.mjs} +1 -1
  26. package/dist/{info-CvaNbkpA.mjs → info-CglTApBo.mjs} +1 -1
  27. package/dist/{info-DrgpD5RU.mjs → info-DJRZrRlT.mjs} +1 -1
  28. package/dist/{info-DviWPK_1.mjs → info-DRU_rNkT.mjs} +1 -1
  29. package/dist/{info-BB5FtxWS.mjs → info-DSHS2DDz.mjs} +3 -3
  30. package/dist/{info-BP0B16YQ.mjs → info-ENbXnUBe.mjs} +3 -3
  31. package/dist/{info.vue_vue_type_script_setup_true_lang-CHaMCv-u.mjs → info.vue_vue_type_script_setup_true_lang-8IpRDNNG.mjs} +2 -2
  32. package/dist/{info.vue_vue_type_script_setup_true_lang-Bkj6TnWJ.mjs → info.vue_vue_type_script_setup_true_lang-ClMQKKyT.mjs} +1 -1
  33. package/dist/{info.vue_vue_type_script_setup_true_lang-DEOmURaS.mjs → info.vue_vue_type_script_setup_true_lang-Dh7j-YaV.mjs} +2 -2
  34. package/dist/{info.vue_vue_type_script_setup_true_lang-CHspChfW.mjs → info.vue_vue_type_script_setup_true_lang-T0LkBVf0.mjs} +2 -2
  35. package/dist/style.css +1 -1
  36. package/dts/src/api/reports/dict.d.ts +3 -0
  37. package/dts/src/api/reports/index.d.ts +2 -1
  38. package/dts/src/lang/reports/zh-cn.d.ts +2 -0
  39. package/dts/src/views/reports/report-demand-ledger/follow.vue.d.ts +1 -1
  40. package/dts/src/views/reports/report-third-month-summary/edit.vue.d.ts +2 -2
  41. package/dts/src/views/reports/report-third-party/edit.vue.d.ts +2 -2
  42. package/package.json +4 -4
  43. package/dist/edit-PMZyzVdm.mjs +0 -222
  44. package/dist/index-XCypL2vG.mjs +0 -502
  45. /package/dist/{index-CaHUk1EF-Cw4XGyg-.mjs → index-D1SasUNc-Cw4XGyg-.mjs} +0 -0
@@ -1,14 +1,14 @@
1
- import { defineComponent as pe, getCurrentInstance as ue, watch as me, ref as O, reactive as M, onActivated as ce, resolveComponent as u, resolveDirective as ye, createElementBlock as T, openBlock as s, createElementVNode as D, createVNode as r, createBlock as g, createCommentVNode as k, withCtx as l, withKeys as z, unref as a, createTextVNode as c, toDisplayString as i, withDirectives as h, isRef as Q } from "vue";
1
+ import { defineComponent as pe, getCurrentInstance as ue, watch as me, ref as O, reactive as M, onActivated as ce, resolveComponent as u, resolveDirective as ye, createElementBlock as T, openBlock as d, createElementVNode as D, createVNode as r, createBlock as g, createCommentVNode as k, withCtx as l, withKeys as z, unref as a, createTextVNode as c, toDisplayString as i, withDirectives as h, isRef as Q } from "vue";
2
2
  import { useTableHooks as ve } from "jmash-core";
3
3
  import { useI18n as fe } from "vue-i18n";
4
- import { r as N } from "./index-DS6wdvJi.mjs";
5
- import be from "./edit-C2HiAoqA.mjs";
6
- import { _ as ge } from "./info.vue_vue_type_script_setup_true_lang-DEOmURaS.mjs";
4
+ import { r as N } from "./index-C6KhUgNb.mjs";
5
+ import be from "./edit-CpPDiJhB.mjs";
6
+ import { _ as ge } from "./info.vue_vue_type_script_setup_true_lang-8IpRDNNG.mjs";
7
7
  import { b as he } from "./index-B_hFZVhb-C3Oi__-I.mjs";
8
- import { C as P } from "./constant-qhPwZUPf.mjs";
9
- import { a as Te, O as we, D as R } from "./index-cmTCxGlG.mjs";
10
- import { F as Ie } from "./FileSaver.min-9pctQCRS.mjs";
11
- import _e from "./import-upload-D4Ej-Wtd.mjs";
8
+ import { C as P } from "./constant-DfJUUaoZ.mjs";
9
+ import { a as Te, O as we, D as R } from "./index-DVeiAERA.mjs";
10
+ import { F as Ie } from "./FileSaver.min-Dc06xYwc.mjs";
11
+ import _e from "./import-upload-CmEF0ael.mjs";
12
12
  const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e = { key: 0 }, Ve = { key: 0 }, Oe = ["onClick"], De = ["onClick"], Pe = ["onClick"], Re = ["onClick"], Ae = /* @__PURE__ */ pe({
13
13
  __name: "index",
14
14
  setup(Ee) {
@@ -18,7 +18,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
18
18
  E.useValues(), me(
19
19
  () => E.values,
20
20
  (o) => {
21
- o && o.length > 0 && (n.value.govOrgId || (n.value.govOrgId = o[0].value, d.handleQuery()));
21
+ o && o.length > 0 && (n.value.govOrgId || (n.value.govOrgId = o[0].value, s.handleQuery()));
22
22
  },
23
23
  { immediate: !0, deep: !0 }
24
24
  // 立即执行并深度监听
@@ -26,7 +26,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
26
26
  const { t: v } = fe(), n = O({
27
27
  matterSort: P.METTER
28
28
  }), {
29
- tableHooks: d,
29
+ tableHooks: s,
30
30
  multipleTableRef: F,
31
31
  queryFormRef: A,
32
32
  listLoading: H,
@@ -145,7 +145,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
145
145
  });
146
146
  }
147
147
  function Z(o) {
148
- o.updateMask = "", o.matterSort = P.METTER, d.importExcel(o).then(() => {
148
+ o.updateMask = "", o.matterSort = P.METTER, s.importExcel(o).then(() => {
149
149
  $.value = !1;
150
150
  });
151
151
  }
@@ -167,22 +167,22 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
167
167
  }
168
168
  };
169
169
  function te(o) {
170
- d.selectionRows.value = o;
170
+ s.selectionRows.value = o;
171
171
  }
172
172
  function oe(o) {
173
- d.handleSort(o.prop, o.order);
173
+ s.handleSort(o.prop, o.order);
174
174
  }
175
175
  function j(o) {
176
- o && d.getList();
176
+ o && s.getList();
177
177
  }
178
178
  function le() {
179
- n.value.govOrgId = void 0, d.resetQuery(), d.handleQuery();
179
+ n.value.itsmId = void 0, n.value.likeDescribe = void 0, n.value.outOrgId = void 0, n.value.matterType = void 0, s.handleQuery();
180
180
  }
181
181
  return ce(() => {
182
- d.getList();
182
+ s.getList();
183
183
  }), (o, e) => {
184
184
  const V = u("el-tree-select"), f = u("el-form-item"), m = u("el-col"), y = u("jmash-select"), re = u("el-input"), L = u("el-row"), _ = u("el-button"), ae = u("el-form"), ne = u("jmash-column-select"), ie = u("jmash-table"), de = u("jmash-pagination"), se = u("el-card"), b = ye("hasPerm");
185
- return s(), T("div", ke, [
185
+ return d(), T("div", ke, [
186
186
  D("div", Ce, [
187
187
  r(ae, {
188
188
  ref_key: "queryFormRef",
@@ -206,7 +206,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
206
206
  placeholder: o.$t("reportThirdParty.govOrgIdRequired"),
207
207
  data: a(E).values,
208
208
  "node-key": "value",
209
- onKeyup: e[1] || (e[1] = z((t) => a(d).handleQuery(), ["enter"])),
209
+ onKeyup: e[1] || (e[1] = z((t) => a(s).handleQuery(), ["enter"])),
210
210
  clearable: "",
211
211
  filterable: ""
212
212
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -228,7 +228,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
228
228
  "onUpdate:modelValue": e[2] || (e[2] = (t) => n.value.itsmId = t),
229
229
  placeholder: o.$t("reportThirdParty.itemIdRequired"),
230
230
  data: a(R).itemBizLayDict.values,
231
- onKeyup: e[3] || (e[3] = z((t) => a(d).handleQuery(), ["enter"])),
231
+ onKeyup: e[3] || (e[3] = z((t) => a(s).handleQuery(), ["enter"])),
232
232
  clearable: "",
233
233
  filterable: ""
234
234
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -249,7 +249,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
249
249
  modelValue: n.value.likeDescribe,
250
250
  "onUpdate:modelValue": e[4] || (e[4] = (t) => n.value.likeDescribe = t),
251
251
  placeholder: o.$t("reportThirdParty.likeDescribeRequired"),
252
- onKeyup: e[5] || (e[5] = z((t) => a(d).handleQuery(), ["enter"])),
252
+ onKeyup: e[5] || (e[5] = z((t) => a(s).handleQuery(), ["enter"])),
253
253
  class: "!w-[203px]"
254
254
  }, null, 8, ["modelValue", "placeholder"])
255
255
  ]),
@@ -312,7 +312,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
312
312
  default: l(() => [
313
313
  r(_, {
314
314
  type: "primary",
315
- onClick: e[8] || (e[8] = (t) => a(d).handleQuery())
315
+ onClick: e[8] || (e[8] = (t) => a(s).handleQuery())
316
316
  }, {
317
317
  default: l(() => [
318
318
  c(i(o.$t("common.search")), 1)
@@ -350,7 +350,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
350
350
  default: l(() => [
351
351
  r(m, { span: 17 }, {
352
352
  default: l(() => [
353
- h((s(), g(_, {
353
+ h((d(), g(_, {
354
354
  type: "primary",
355
355
  onClick: Y
356
356
  }, {
@@ -361,9 +361,9 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
361
361
  })), [
362
362
  [b, ["reports:report_third_party:add"]]
363
363
  ]),
364
- h((s(), g(_, {
364
+ h((d(), g(_, {
365
365
  type: "primary",
366
- onClick: e[10] || (e[10] = (t) => a(d).deleteRecords())
366
+ onClick: e[10] || (e[10] = (t) => a(s).deleteRecords())
367
367
  }, {
368
368
  default: l(() => [
369
369
  c(i(o.$t("common.batchDelete")), 1)
@@ -380,7 +380,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
380
380
  class: "container-float"
381
381
  }, {
382
382
  default: l(() => [
383
- h((s(), g(_, {
383
+ h((d(), g(_, {
384
384
  plain: "",
385
385
  type: "primary",
386
386
  onClick: e[11] || (e[11] = (t) => $.value = !0)
@@ -392,7 +392,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
392
392
  })), [
393
393
  [b, ["itsmsys:report_third_party:import"]]
394
394
  ]),
395
- h((s(), g(_, {
395
+ h((d(), g(_, {
396
396
  plain: "",
397
397
  type: "primary",
398
398
  onClick: e[12] || (e[12] = (t) => ee())
@@ -417,7 +417,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
417
417
  })
418
418
  ]),
419
419
  footer: l(() => [
420
- a(U) > 0 ? (s(), g(de, {
420
+ a(U) > 0 ? (d(), g(de, {
421
421
  key: 0,
422
422
  total: a(U),
423
423
  "onUpdate:total": e[14] || (e[14] = (t) => Q(U) ? U.value = t : null),
@@ -425,7 +425,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
425
425
  "onUpdate:currentPage": e[15] || (e[15] = (t) => n.value.curPage = t),
426
426
  "page-size": n.value.pageSize,
427
427
  "onUpdate:pageSize": e[16] || (e[16] = (t) => n.value.pageSize = t),
428
- onPagination: e[17] || (e[17] = (t) => a(d).getList())
428
+ onPagination: e[17] || (e[17] = (t) => a(s).getList())
429
429
  }, null, 8, ["total", "current-page", "page-size"])) : k("", !0)
430
430
  ]),
431
431
  default: l(() => [
@@ -449,7 +449,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
449
449
  D("span", null, i(a(R).matterTypeEnum.getEnumValue(t.data.row.matterType)), 1)
450
450
  ]),
451
451
  createBy: l((t) => [
452
- t.data.row.createBy ? (s(), T("span", $e, i(a(he).userInfo(t.data.row.createBy).realName), 1)) : k("", !0)
452
+ t.data.row.createBy ? (d(), T("span", $e, i(a(he).userInfo(t.data.row.createBy).realName), 1)) : k("", !0)
453
453
  ]),
454
454
  createTime: l((t) => [
455
455
  c(i(a(q).$moment.formatDate(
@@ -458,10 +458,10 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
458
458
  )), 1)
459
459
  ]),
460
460
  outOrgId: l((t) => [
461
- t.data.row.outOrgId ? (s(), T("span", Ve, i(a(B).getValue(t.data.row.outOrgId)), 1)) : k("", !0)
461
+ t.data.row.outOrgId ? (d(), T("span", Ve, i(a(B).getValue(t.data.row.outOrgId)), 1)) : k("", !0)
462
462
  ]),
463
463
  operation: l((t) => [
464
- h((s(), T("span", {
464
+ h((d(), T("span", {
465
465
  class: "el-button-color",
466
466
  onClick: (S) => W(t.data.row)
467
467
  }, [
@@ -469,15 +469,15 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
469
469
  ], 8, Oe)), [
470
470
  [b, ["reports:report_third_party:update"]]
471
471
  ]),
472
- h((s(), T("span", {
472
+ h((d(), T("span", {
473
473
  class: "el-button-color dropdown-left",
474
- onClick: (S) => a(d).deleteRecord(t.data.row)
474
+ onClick: (S) => a(s).deleteRecord(t.data.row)
475
475
  }, [
476
476
  c(i(o.$t("common.delete")), 1)
477
477
  ], 8, De)), [
478
478
  [b, ["reports:report_third_party:delete"]]
479
479
  ]),
480
- h((s(), T("span", {
480
+ h((d(), T("span", {
481
481
  class: "el-button-color dropdown-left",
482
482
  onClick: (S) => x(t.data.row)
483
483
  }, [
@@ -485,7 +485,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
485
485
  ], 8, Pe)), [
486
486
  [b, ["reports:report_third_party:view"]]
487
487
  ]),
488
- h((s(), T("span", {
488
+ h((d(), T("span", {
489
489
  class: "el-button-color dropdown-left",
490
490
  onClick: (S) => G(t.data.row)
491
491
  }, [
@@ -499,7 +499,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
499
499
  ]),
500
500
  _: 1
501
501
  }),
502
- p.value.visible ? (s(), g(be, {
502
+ p.value.visible ? (d(), g(be, {
503
503
  key: 0,
504
504
  modelValue: p.value.visible,
505
505
  "onUpdate:modelValue": e[18] || (e[18] = (t) => p.value.visible = t),
@@ -509,7 +509,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
509
509
  onRefresh: j,
510
510
  width: "900px"
511
511
  }, null, 8, ["modelValue", "title", "entity-key", "is-copy"])) : k("", !0),
512
- w.value.visible ? (s(), g(ge, {
512
+ w.value.visible ? (d(), g(ge, {
513
513
  key: 1,
514
514
  modelValue: w.value.visible,
515
515
  "onUpdate:modelValue": e[19] || (e[19] = (t) => w.value.visible = t),
@@ -518,7 +518,7 @@ const ke = { class: "app-container" }, Ce = { class: "search-container" }, $e =
518
518
  onRefresh: j,
519
519
  width: "900px"
520
520
  }, null, 8, ["modelValue", "title", "entity-key"])) : k("", !0),
521
- $.value ? (s(), g(_e, {
521
+ $.value ? (d(), g(_e, {
522
522
  key: 2,
523
523
  "upload-visible": $.value,
524
524
  "template-title": o.$t("sysUser.templateDownload"),