xyvcard-reports 0.0.19 → 0.0.21

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 (44) hide show
  1. package/dist/{FileSaver.min-pkIPzuSf.mjs → FileSaver.min-9pctQCRS.mjs} +1 -1
  2. package/dist/{add-DffdINsL.mjs → add-Dx1n7NDH.mjs} +2 -2
  3. package/dist/{constant-DViNTpBY.mjs → constant-qhPwZUPf.mjs} +2134 -2084
  4. package/dist/{edit-D7XxpHeq.mjs → edit-BK2--9m5.mjs} +3 -3
  5. package/dist/{edit-C4VeyM3B.mjs → edit-C2HiAoqA.mjs} +20 -20
  6. package/dist/{edit-D7_DMGWO.mjs → edit-CJeMVvsU.mjs} +8 -8
  7. package/dist/{edit-CiApG8IE.mjs → edit-Cbj7MbVd.mjs} +10 -10
  8. package/dist/{edit-DiJGXpqt.mjs → edit-DXxz7V5O.mjs} +11 -11
  9. package/dist/{edit-_UsSuMdw.mjs → edit-PMZyzVdm.mjs} +3 -3
  10. package/dist/{edit-BkIvAc_z.mjs → edit-yO8sjDy8.mjs} +2 -2
  11. package/dist/{follow-BInjR_c-.mjs → follow-P2_KfMjV.mjs} +1 -1
  12. package/dist/{import-upload-CVWhT3dS.mjs → import-upload-CDHQ05gt.mjs} +1 -1
  13. package/dist/{import-upload-BuMaDGi0.mjs → import-upload-D4Ej-Wtd.mjs} +1 -1
  14. package/dist/{index-C7CnRVtn.mjs → index-BA2IISrV.mjs} +183 -170
  15. package/dist/{index-CbWfowvu.mjs → index-BYrvGkaE.mjs} +150 -139
  16. package/dist/{index-DmeDYGNi.mjs → index-Bhr3FzhQ.mjs} +3 -3
  17. package/dist/{index-B8BxqvlQ.mjs → index-CRWVTZQ0.mjs} +1 -1
  18. package/dist/index-CaHUk1EF-Cw4XGyg-.mjs +3042 -0
  19. package/dist/{index-Dk4UPiq7.mjs → index-Cw5s4Yba.mjs} +152 -139
  20. package/dist/{index-CRJLLhma.mjs → index-DS6wdvJi.mjs} +2 -2
  21. package/dist/{index-B_AxECLr.mjs → index-XCypL2vG.mjs} +166 -157
  22. package/dist/index-cmTCxGlG.mjs +1909 -0
  23. package/dist/{index-F_lMgx9W.mjs → index-plPmX1H0.mjs} +167 -154
  24. package/dist/index.mjs +1 -1
  25. package/dist/{index.vue_vue_type_script_setup_true_lang-BHI1ur2J.mjs → index.vue_vue_type_script_setup_true_lang-XCLU3UjS.mjs} +4 -4
  26. package/dist/{info-cv-wiwFs.mjs → info-BB5FtxWS.mjs} +3 -3
  27. package/dist/{info-DC_SLi8k.mjs → info-BP0B16YQ.mjs} +3 -3
  28. package/dist/{info-IIY7Euy3.mjs → info-CvaNbkpA.mjs} +1 -1
  29. package/dist/{info-Bm4Dsm8M.mjs → info-DrgpD5RU.mjs} +1 -1
  30. package/dist/{info-CW7CL4Ko.mjs → info-DviWPK_1.mjs} +1 -1
  31. package/dist/{info-CXBdrR-y.mjs → info-_7dAmewP.mjs} +1 -1
  32. package/dist/{info.vue_vue_type_script_setup_true_lang-DVarUDtY.mjs → info.vue_vue_type_script_setup_true_lang-Bkj6TnWJ.mjs} +1 -1
  33. package/dist/{info.vue_vue_type_script_setup_true_lang-B7Fw120q.mjs → info.vue_vue_type_script_setup_true_lang-CHaMCv-u.mjs} +2 -2
  34. package/dist/{info.vue_vue_type_script_setup_true_lang-BxLYzDWi.mjs → info.vue_vue_type_script_setup_true_lang-CHspChfW.mjs} +2 -2
  35. package/dist/{info.vue_vue_type_script_setup_true_lang-CPtlno35.mjs → info.vue_vue_type_script_setup_true_lang-DEOmURaS.mjs} +2 -2
  36. package/dts/src/api/reports/dict.d.ts +4 -1
  37. package/dts/src/api/reports/index.d.ts +2 -1
  38. package/dts/src/utils/returnBizLay.d.ts +2 -0
  39. package/dts/src/views/reports/report-demand-ledger/follow.vue.d.ts +3 -3
  40. package/dts/src/views/reports/task-inspect-matters/edit.vue.d.ts +1 -1
  41. package/package.json +5 -4
  42. package/dist/index-BoPDZM_b-Dr6nUlmS.mjs +0 -1809
  43. package/dist/index-CtbfBxfN.mjs +0 -79
  44. package/dist/index-DQ9bz2at.mjs +0 -30122
@@ -1,30 +1,39 @@
1
- import { defineComponent as ie, getCurrentInstance as de, ref as O, reactive as j, onActivated as se, resolveComponent as m, resolveDirective as pe, createElementBlock as I, openBlock as d, createElementVNode as P, createVNode as r, createBlock as g, createCommentVNode as V, withCtx as l, withKeys as S, unref as a, createTextVNode as c, toDisplayString as i, withDirectives as h, isRef as M } from "vue";
2
- import { useTableHooks as ue } from "jmash-core";
3
- import { useI18n as me } from "vue-i18n";
4
- import { r as z } from "./index-CRJLLhma.mjs";
5
- import ce from "./edit-C4VeyM3B.mjs";
6
- import { _ as ye } from "./info.vue_vue_type_script_setup_true_lang-CPtlno35.mjs";
7
- import { b as ve } from "./index-B_hFZVhb-C3Oi__-I.mjs";
8
- import { C as E } from "./constant-DViNTpBY.mjs";
9
- import { O as fe, D as T } from "./index-CtbfBxfN.mjs";
10
- import { F as be } from "./FileSaver.min-pkIPzuSf.mjs";
11
- import ge from "./import-upload-BuMaDGi0.mjs";
12
- const he = { class: "app-container" }, Te = { class: "search-container" }, we = { key: 0 }, Ie = { key: 0 }, _e = ["onClick"], Ce = ["onClick"], ke = ["onClick"], Ve = ["onClick"], je = /* @__PURE__ */ ie({
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";
2
+ import { useTableHooks as ve } from "jmash-core";
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";
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";
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
- setup($e) {
15
- const { proxy: q } = de(), U = new fe({ orgType: E.OUTSOURCE });
16
- U.useValues(), T.orgIdBizDict.useValues(), T.itemBizLayDict.useValues();
17
- const { t: y } = me(), n = O({
18
- matterSort: E.METTER
14
+ setup(Ee) {
15
+ const { proxy: q } = ue(), B = new Te({ orgType: P.OUTSOURCE });
16
+ B.useValues();
17
+ const E = new we({ orgType: P.HALL });
18
+ E.useValues(), me(
19
+ () => E.values,
20
+ (o) => {
21
+ o && o.length > 0 && (n.value.govOrgId || (n.value.govOrgId = o[0].value, d.handleQuery()));
22
+ },
23
+ { immediate: !0, deep: !0 }
24
+ // 立即执行并深度监听
25
+ ), R.itemBizLayDict.useValues();
26
+ const { t: v } = fe(), n = O({
27
+ matterSort: P.METTER
19
28
  }), {
20
- tableHooks: p,
29
+ tableHooks: d,
21
30
  multipleTableRef: F,
22
- queryFormRef: K,
23
- listLoading: Q,
24
- tableData: A,
25
- total: R
26
- } = ue(y, z, n);
27
- let $ = O([
31
+ queryFormRef: A,
32
+ listLoading: H,
33
+ tableData: K,
34
+ total: U
35
+ } = ve(v, N, n);
36
+ let C = O([
28
37
  {
29
38
  label: "reportThirdParty.govOrgId",
30
39
  prop: "govOrgId",
@@ -102,98 +111,102 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
102
111
  isColumn: !0
103
112
  }
104
113
  ]);
105
- const s = O({
106
- title: y("common.edit"),
114
+ const p = O({
115
+ title: v("common.edit"),
107
116
  visible: !1,
108
117
  isCopy: !1
109
- }), _ = O({
110
- title: y("common.view"),
118
+ }), w = O({
119
+ title: v("common.view"),
111
120
  visible: !1
112
121
  });
113
- let C = j({});
114
- function H() {
115
- C = j({}), s.value.title = y("common.add"), s.value.visible = !0, s.value.isCopy = !1;
116
- }
117
- function Y(o) {
118
- C.reportId = o.reportId, s.value.isCopy = !1, s.value.title = y("common.edit"), s.value.visible = !0;
122
+ let I = M({});
123
+ function Y() {
124
+ I = M({}), p.value.title = v("common.add"), p.value.visible = !0, p.value.isCopy = !1;
119
125
  }
120
126
  function W(o) {
121
- C.reportId = o.reportId, _.value.title = y("common.view"), _.value.visible = !0;
127
+ I.reportId = o.reportId, p.value.isCopy = !1, p.value.title = v("common.edit"), p.value.visible = !0;
122
128
  }
123
129
  function x(o) {
124
- C.reportId = o.reportId, s.value.isCopy = !0, s.value.title = y("reportDemandLedger.copy"), s.value.visible = !0;
130
+ I.reportId = o.reportId, w.value.title = v("common.view"), w.value.visible = !0;
125
131
  }
126
- const D = O(!1);
127
- function G() {
128
- D.value = !1;
132
+ function G(o) {
133
+ I.reportId = o.reportId, p.value.isCopy = !0, p.value.title = v("reportDemandLedger.copy"), p.value.visible = !0;
129
134
  }
130
- function J(o) {
131
- z.downloadTemplate().then((e) => {
132
- const v = new Blob([e.data], {
135
+ const $ = O(!1);
136
+ function J() {
137
+ $.value = !1;
138
+ }
139
+ function X(o) {
140
+ N.downloadTemplate().then((e) => {
141
+ const V = new Blob([e.data], {
133
142
  type: "application/octet-stream"
134
143
  });
135
- be.saveAs(v, o + ".xlsx");
144
+ Ie.saveAs(V, o + ".xlsx");
136
145
  });
137
146
  }
138
- function X(o) {
139
- o.updateMask = "", o.matterSort = E.METTER, p.importExcel(o).then(() => {
140
- D.value = !1;
147
+ function Z(o) {
148
+ o.updateMask = "", o.matterSort = P.METTER, d.importExcel(o).then(() => {
149
+ $.value = !1;
141
150
  });
142
151
  }
143
- const Z = async (o) => {
152
+ const ee = async (o) => {
144
153
  try {
145
154
  const e = {
146
155
  req: {
147
- matterSort: E.METTER,
156
+ matterSort: P.METTER,
148
157
  ...o == null ? void 0 : o.req
149
158
  }
150
159
  };
151
160
  console.log(e, "=>exportParams ");
152
- const v = await z.exportPdf(
161
+ const V = await N.exportPdf(
153
162
  e
154
- ), f = new Blob([v.data], { type: "application/pdf" }), u = window.URL.createObjectURL(f), w = document.createElement("a");
155
- w.href = u, w.download = "事项记录表.pdf", document.body.appendChild(w), w.click(), document.body.removeChild(w), window.URL.revokeObjectURL(u);
163
+ ), f = new Blob([V.data], { type: "application/pdf" }), m = window.URL.createObjectURL(f), y = document.createElement("a");
164
+ y.href = m, y.download = "事项记录表.pdf", document.body.appendChild(y), y.click(), document.body.removeChild(y), window.URL.revokeObjectURL(m);
156
165
  } catch (e) {
157
166
  throw console.error("导出PDF失败:", e), new Error("导出PDF失败");
158
167
  }
159
168
  };
160
- function ee(o) {
161
- p.selectionRows.value = o;
162
- }
163
169
  function te(o) {
164
- p.handleSort(o.prop, o.order);
170
+ d.selectionRows.value = o;
171
+ }
172
+ function oe(o) {
173
+ d.handleSort(o.prop, o.order);
174
+ }
175
+ function j(o) {
176
+ o && d.getList();
165
177
  }
166
- function N(o) {
167
- o && p.getList();
178
+ function le() {
179
+ n.value.govOrgId = void 0, d.resetQuery(), d.handleQuery();
168
180
  }
169
- return se(() => {
170
- p.getList();
181
+ return ce(() => {
182
+ d.getList();
171
183
  }), (o, e) => {
172
- const v = m("jmash-select"), f = m("el-form-item"), u = m("el-col"), w = m("el-input"), B = m("el-row"), k = m("el-button"), oe = m("el-form"), le = m("jmash-column-select"), re = m("jmash-table"), ae = m("jmash-pagination"), ne = m("el-card"), b = pe("hasPerm");
173
- return d(), I("div", he, [
174
- P("div", Te, [
175
- r(oe, {
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, [
186
+ D("div", Ce, [
187
+ r(ae, {
176
188
  ref_key: "queryFormRef",
177
- ref: K,
189
+ ref: A,
178
190
  model: n.value,
179
191
  inline: !0
180
192
  }, {
181
193
  default: l(() => [
182
- r(B, null, {
194
+ r(L, null, {
183
195
  default: l(() => [
184
- r(u, { span: 6 }, {
196
+ r(m, { span: 6 }, {
185
197
  default: l(() => [
186
198
  r(f, {
187
199
  label: o.$t("reportThirdParty.govOrgId"),
188
200
  prop: "govOrgId"
189
201
  }, {
190
202
  default: l(() => [
191
- r(v, {
203
+ r(V, {
192
204
  modelValue: n.value.govOrgId,
193
205
  "onUpdate:modelValue": e[0] || (e[0] = (t) => n.value.govOrgId = t),
194
206
  placeholder: o.$t("reportThirdParty.govOrgIdRequired"),
195
- data: a(T).orgIdBizDict.values,
196
- onKeyup: e[1] || (e[1] = S((t) => a(p).handleQuery(), ["enter"])),
207
+ data: a(E).values,
208
+ "node-key": "value",
209
+ onKeyup: e[1] || (e[1] = z((t) => a(d).handleQuery(), ["enter"])),
197
210
  clearable: "",
198
211
  filterable: ""
199
212
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -203,19 +216,19 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
203
216
  ]),
204
217
  _: 1
205
218
  }),
206
- r(u, { span: 6 }, {
219
+ r(m, { span: 6 }, {
207
220
  default: l(() => [
208
221
  r(f, {
209
222
  label: o.$t("reportThirdParty.itsmId"),
210
223
  prop: "itsmId"
211
224
  }, {
212
225
  default: l(() => [
213
- r(v, {
226
+ r(y, {
214
227
  modelValue: n.value.itsmId,
215
228
  "onUpdate:modelValue": e[2] || (e[2] = (t) => n.value.itsmId = t),
216
229
  placeholder: o.$t("reportThirdParty.itemIdRequired"),
217
- data: a(T).itemBizLayDict.values,
218
- onKeyup: e[3] || (e[3] = S((t) => a(p).handleQuery(), ["enter"])),
230
+ data: a(R).itemBizLayDict.values,
231
+ onKeyup: e[3] || (e[3] = z((t) => a(d).handleQuery(), ["enter"])),
219
232
  clearable: "",
220
233
  filterable: ""
221
234
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -225,18 +238,18 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
225
238
  ]),
226
239
  _: 1
227
240
  }),
228
- r(u, { span: 6 }, {
241
+ r(m, { span: 6 }, {
229
242
  default: l(() => [
230
243
  r(f, {
231
244
  label: o.$t("reportThirdParty.likeDescribe"),
232
245
  prop: "likeDescribe"
233
246
  }, {
234
247
  default: l(() => [
235
- r(w, {
248
+ r(re, {
236
249
  modelValue: n.value.likeDescribe,
237
250
  "onUpdate:modelValue": e[4] || (e[4] = (t) => n.value.likeDescribe = t),
238
251
  placeholder: o.$t("reportThirdParty.likeDescribeRequired"),
239
- onKeyup: e[5] || (e[5] = S((t) => a(p).handleQuery(), ["enter"])),
252
+ onKeyup: e[5] || (e[5] = z((t) => a(d).handleQuery(), ["enter"])),
240
253
  class: "!w-[203px]"
241
254
  }, null, 8, ["modelValue", "placeholder"])
242
255
  ]),
@@ -245,18 +258,18 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
245
258
  ]),
246
259
  _: 1
247
260
  }),
248
- r(u, { span: 6 }, {
261
+ r(m, { span: 6 }, {
249
262
  default: l(() => [
250
263
  r(f, {
251
264
  label: o.$t("reportThirdParty.outOrgId"),
252
265
  prop: "outOrgId"
253
266
  }, {
254
267
  default: l(() => [
255
- r(v, {
268
+ r(y, {
256
269
  modelValue: n.value.outOrgId,
257
270
  "onUpdate:modelValue": e[6] || (e[6] = (t) => n.value.outOrgId = t),
258
271
  placeholder: o.$t("reportThirdParty.outOrgIdRequired"),
259
- data: a(U).values,
272
+ data: a(B).values,
260
273
  clearable: "",
261
274
  filterable: "",
262
275
  class: "w-full"
@@ -270,20 +283,20 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
270
283
  ]),
271
284
  _: 1
272
285
  }),
273
- r(B, null, {
286
+ r(L, null, {
274
287
  default: l(() => [
275
- r(u, { span: 6 }, {
288
+ r(m, { span: 6 }, {
276
289
  default: l(() => [
277
290
  r(f, {
278
291
  label: o.$t("reportThirdParty.matterType"),
279
292
  prop: "matterType"
280
293
  }, {
281
294
  default: l(() => [
282
- r(v, {
295
+ r(y, {
283
296
  modelValue: n.value.matterType,
284
297
  "onUpdate:modelValue": e[7] || (e[7] = (t) => n.value.matterType = t),
285
298
  placeholder: o.$t("reportThirdParty.matterTypeRequired"),
286
- data: a(T).matterTypeEnum.values,
299
+ data: a(R).matterTypeEnum.values,
287
300
  clearable: "",
288
301
  filterable: ""
289
302
  }, null, 8, ["modelValue", "placeholder", "data"])
@@ -293,21 +306,21 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
293
306
  ]),
294
307
  _: 1
295
308
  }),
296
- r(u, { span: 18 }, {
309
+ r(m, { span: 18 }, {
297
310
  default: l(() => [
298
311
  r(f, { class: "search-btn" }, {
299
312
  default: l(() => [
300
- r(k, {
313
+ r(_, {
301
314
  type: "primary",
302
- onClick: e[8] || (e[8] = (t) => a(p).handleQuery())
315
+ onClick: e[8] || (e[8] = (t) => a(d).handleQuery())
303
316
  }, {
304
317
  default: l(() => [
305
318
  c(i(o.$t("common.search")), 1)
306
319
  ]),
307
320
  _: 1
308
321
  }),
309
- r(k, {
310
- onClick: e[9] || (e[9] = (t) => a(p).resetQuery())
322
+ r(_, {
323
+ onClick: e[9] || (e[9] = (t) => le())
311
324
  }, {
312
325
  default: l(() => [
313
326
  c(i(o.$t("common.reset")), 1)
@@ -326,20 +339,20 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
326
339
  ]),
327
340
  _: 1
328
341
  }, 8, ["model"]),
329
- e[21] || (e[21] = P("div", { class: "clear" }, null, -1))
342
+ e[21] || (e[21] = D("div", { class: "clear" }, null, -1))
330
343
  ]),
331
- r(ne, {
344
+ r(se, {
332
345
  shadow: "never",
333
346
  class: "table-container"
334
347
  }, {
335
348
  header: l(() => [
336
- r(B, null, {
349
+ r(L, null, {
337
350
  default: l(() => [
338
- r(u, { span: 17 }, {
351
+ r(m, { span: 17 }, {
339
352
  default: l(() => [
340
- h((d(), g(k, {
353
+ h((s(), g(_, {
341
354
  type: "primary",
342
- onClick: H
355
+ onClick: Y
343
356
  }, {
344
357
  default: l(() => [
345
358
  c(i(o.$t("common.add")), 1)
@@ -348,9 +361,9 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
348
361
  })), [
349
362
  [b, ["reports:report_third_party:add"]]
350
363
  ]),
351
- h((d(), g(k, {
364
+ h((s(), g(_, {
352
365
  type: "primary",
353
- onClick: e[10] || (e[10] = (t) => a(p).deleteRecords())
366
+ onClick: e[10] || (e[10] = (t) => a(d).deleteRecords())
354
367
  }, {
355
368
  default: l(() => [
356
369
  c(i(o.$t("common.batchDelete")), 1)
@@ -362,15 +375,15 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
362
375
  ]),
363
376
  _: 1
364
377
  }),
365
- r(u, {
378
+ r(m, {
366
379
  span: 7,
367
380
  class: "container-float"
368
381
  }, {
369
382
  default: l(() => [
370
- h((d(), g(k, {
383
+ h((s(), g(_, {
371
384
  plain: "",
372
385
  type: "primary",
373
- onClick: e[11] || (e[11] = (t) => D.value = !0)
386
+ onClick: e[11] || (e[11] = (t) => $.value = !0)
374
387
  }, {
375
388
  default: l(() => [
376
389
  c(i(o.$t("common.import")), 1)
@@ -379,10 +392,10 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
379
392
  })), [
380
393
  [b, ["itsmsys:report_third_party:import"]]
381
394
  ]),
382
- h((d(), g(k, {
395
+ h((s(), g(_, {
383
396
  plain: "",
384
397
  type: "primary",
385
- onClick: e[12] || (e[12] = (t) => Z())
398
+ onClick: e[12] || (e[12] = (t) => ee())
386
399
  }, {
387
400
  default: l(() => [
388
401
  c(i(o.$t("common.export")), 1)
@@ -391,9 +404,9 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
391
404
  })), [
392
405
  [b, ["reports:report_third_party:export"]]
393
406
  ]),
394
- r(le, {
395
- modelValue: a($),
396
- "onUpdate:modelValue": e[13] || (e[13] = (t) => M($) ? $.value = t : $ = t),
407
+ r(ne, {
408
+ modelValue: a(C),
409
+ "onUpdate:modelValue": e[13] || (e[13] = (t) => Q(C) ? C.value = t : C = t),
397
410
  "label-name": "reports/report-third-party"
398
411
  }, null, 8, ["modelValue"])
399
412
  ]),
@@ -404,39 +417,39 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
404
417
  })
405
418
  ]),
406
419
  footer: l(() => [
407
- a(R) > 0 ? (d(), g(ae, {
420
+ a(U) > 0 ? (s(), g(de, {
408
421
  key: 0,
409
- total: a(R),
410
- "onUpdate:total": e[14] || (e[14] = (t) => M(R) ? R.value = t : null),
422
+ total: a(U),
423
+ "onUpdate:total": e[14] || (e[14] = (t) => Q(U) ? U.value = t : null),
411
424
  "current-page": n.value.curPage,
412
425
  "onUpdate:currentPage": e[15] || (e[15] = (t) => n.value.curPage = t),
413
426
  "page-size": n.value.pageSize,
414
427
  "onUpdate:pageSize": e[16] || (e[16] = (t) => n.value.pageSize = t),
415
- onPagination: e[17] || (e[17] = (t) => a(p).getList())
416
- }, null, 8, ["total", "current-page", "page-size"])) : V("", !0)
428
+ onPagination: e[17] || (e[17] = (t) => a(d).getList())
429
+ }, null, 8, ["total", "current-page", "page-size"])) : k("", !0)
417
430
  ]),
418
431
  default: l(() => [
419
- r(re, {
432
+ r(ie, {
420
433
  ref_key: "multipleTableRef",
421
434
  ref: F,
422
435
  "row-key": "reportId",
423
- "list-loading": a(Q),
424
- data: a(A),
425
- "table-label": a($),
426
- onSelectionChange: ee,
427
- onSortChange: te
436
+ "list-loading": a(H),
437
+ data: a(K),
438
+ "table-label": a(C),
439
+ onSelectionChange: te,
440
+ onSortChange: oe
428
441
  }, {
429
442
  govOrgId: l((t) => [
430
- P("span", null, i(a(T).orgIdBizDict.getValue(t.data.row.govOrgId)), 1)
443
+ D("span", null, i(a(E).getValue(t.data.row.govOrgId)), 1)
431
444
  ]),
432
445
  itsmId: l((t) => [
433
- P("span", null, i(a(T).itemBizLayDict.getValue(t.data.row.itsmId)), 1)
446
+ D("span", null, i(a(R).itemBizLayDict.getValue(t.data.row.itsmId)), 1)
434
447
  ]),
435
448
  matterType: l((t) => [
436
- P("span", null, i(a(T).matterTypeEnum.getEnumValue(t.data.row.matterType)), 1)
449
+ D("span", null, i(a(R).matterTypeEnum.getEnumValue(t.data.row.matterType)), 1)
437
450
  ]),
438
451
  createBy: l((t) => [
439
- t.data.row.createBy ? (d(), I("span", we, i(a(ve).userInfo(t.data.row.createBy).realName), 1)) : V("", !0)
452
+ t.data.row.createBy ? (s(), T("span", $e, i(a(he).userInfo(t.data.row.createBy).realName), 1)) : k("", !0)
440
453
  ]),
441
454
  createTime: l((t) => [
442
455
  c(i(a(q).$moment.formatDate(
@@ -445,39 +458,39 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
445
458
  )), 1)
446
459
  ]),
447
460
  outOrgId: l((t) => [
448
- t.data.row.outOrgId ? (d(), I("span", Ie, i(a(U).getValue(t.data.row.outOrgId)), 1)) : V("", !0)
461
+ t.data.row.outOrgId ? (s(), T("span", Ve, i(a(B).getValue(t.data.row.outOrgId)), 1)) : k("", !0)
449
462
  ]),
450
463
  operation: l((t) => [
451
- h((d(), I("span", {
464
+ h((s(), T("span", {
452
465
  class: "el-button-color",
453
- onClick: (L) => Y(t.data.row)
466
+ onClick: (S) => W(t.data.row)
454
467
  }, [
455
468
  c(i(o.$t("common.edit")), 1)
456
- ], 8, _e)), [
469
+ ], 8, Oe)), [
457
470
  [b, ["reports:report_third_party:update"]]
458
471
  ]),
459
- h((d(), I("span", {
472
+ h((s(), T("span", {
460
473
  class: "el-button-color dropdown-left",
461
- onClick: (L) => a(p).deleteRecord(t.data.row)
474
+ onClick: (S) => a(d).deleteRecord(t.data.row)
462
475
  }, [
463
476
  c(i(o.$t("common.delete")), 1)
464
- ], 8, Ce)), [
477
+ ], 8, De)), [
465
478
  [b, ["reports:report_third_party:delete"]]
466
479
  ]),
467
- h((d(), I("span", {
480
+ h((s(), T("span", {
468
481
  class: "el-button-color dropdown-left",
469
- onClick: (L) => W(t.data.row)
482
+ onClick: (S) => x(t.data.row)
470
483
  }, [
471
484
  c(i(o.$t("common.view")), 1)
472
- ], 8, ke)), [
485
+ ], 8, Pe)), [
473
486
  [b, ["reports:report_third_party:view"]]
474
487
  ]),
475
- h((d(), I("span", {
488
+ h((s(), T("span", {
476
489
  class: "el-button-color dropdown-left",
477
- onClick: (L) => x(t.data.row)
490
+ onClick: (S) => G(t.data.row)
478
491
  }, [
479
492
  c(i(o.$t("reportDemandLedger.copy")), 1)
480
- ], 8, Ve)), [
493
+ ], 8, Re)), [
481
494
  [b, ["reports:report_demand_ledger:follow"]]
482
495
  ])
483
496
  ]),
@@ -486,37 +499,37 @@ const he = { class: "app-container" }, Te = { class: "search-container" }, we =
486
499
  ]),
487
500
  _: 1
488
501
  }),
489
- s.value.visible ? (d(), g(ce, {
502
+ p.value.visible ? (s(), g(be, {
490
503
  key: 0,
491
- modelValue: s.value.visible,
492
- "onUpdate:modelValue": e[18] || (e[18] = (t) => s.value.visible = t),
493
- title: s.value.title,
494
- "entity-key": a(C),
495
- "is-copy": s.value.isCopy,
496
- onRefresh: N,
504
+ modelValue: p.value.visible,
505
+ "onUpdate:modelValue": e[18] || (e[18] = (t) => p.value.visible = t),
506
+ title: p.value.title,
507
+ "entity-key": a(I),
508
+ "is-copy": p.value.isCopy,
509
+ onRefresh: j,
497
510
  width: "900px"
498
- }, null, 8, ["modelValue", "title", "entity-key", "is-copy"])) : V("", !0),
499
- _.value.visible ? (d(), g(ye, {
511
+ }, null, 8, ["modelValue", "title", "entity-key", "is-copy"])) : k("", !0),
512
+ w.value.visible ? (s(), g(ge, {
500
513
  key: 1,
501
- modelValue: _.value.visible,
502
- "onUpdate:modelValue": e[19] || (e[19] = (t) => _.value.visible = t),
503
- title: _.value.title,
504
- "entity-key": a(C),
505
- onRefresh: N,
514
+ modelValue: w.value.visible,
515
+ "onUpdate:modelValue": e[19] || (e[19] = (t) => w.value.visible = t),
516
+ title: w.value.title,
517
+ "entity-key": a(I),
518
+ onRefresh: j,
506
519
  width: "900px"
507
- }, null, 8, ["modelValue", "title", "entity-key"])) : V("", !0),
508
- D.value ? (d(), g(ge, {
520
+ }, null, 8, ["modelValue", "title", "entity-key"])) : k("", !0),
521
+ $.value ? (s(), g(_e, {
509
522
  key: 2,
510
- "upload-visible": D.value,
523
+ "upload-visible": $.value,
511
524
  "template-title": o.$t("sysUser.templateDownload"),
512
- onTemplateDown: e[20] || (e[20] = (t) => J(a(y)("sysUserOps.name"))),
513
- onImportEvents: X,
514
- onUploadClosed: G
515
- }, null, 8, ["upload-visible", "template-title"])) : V("", !0)
525
+ onTemplateDown: e[20] || (e[20] = (t) => X(a(v)("sysUserOps.name"))),
526
+ onImportEvents: Z,
527
+ onUploadClosed: J
528
+ }, null, 8, ["upload-visible", "template-title"])) : k("", !0)
516
529
  ]);
517
530
  };
518
531
  }
519
532
  });
520
533
  export {
521
- je as default
534
+ Ae as default
522
535
  };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "jmash-core";
2
- import { b as p, r as e, d as r, a as i, t as o } from "./index-CRJLLhma.mjs";
2
+ import { b as p, r as e, d as r, a as i, t as o } from "./index-DS6wdvJi.mjs";
3
3
  export {
4
4
  p as default,
5
5
  e as reportThirdPartyApi,
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ne, ref as S, computed as g, reactive as E, resolveComponent as r, resolveDirective as ae, createElementBlock as T, openBlock as p, createElementVNode as N, createVNode as n, createBlock as v, createCommentVNode as $, withCtx as l, withKeys as se, unref as a, createTextVNode as d, toDisplayString as c, withDirectives as h, isRef as re } from "vue";
2
2
  import { useTableHooks as ie } from "jmash-core";
3
3
  import { useI18n as me } from "vue-i18n";
4
- import { a as ue } from "./index-CRJLLhma.mjs";
5
- import pe from "./edit-_UsSuMdw.mjs";
4
+ import { a as ue } from "./index-DS6wdvJi.mjs";
5
+ import pe from "./edit-PMZyzVdm.mjs";
6
6
  import { useRoute as de } from "vue-router";
7
- import { D as ce } from "./index-CtbfBxfN.mjs";
8
- import { C as _ } from "./constant-DViNTpBY.mjs";
7
+ import { D as ce } from "./index-cmTCxGlG.mjs";
8
+ import { C as _ } from "./constant-qhPwZUPf.mjs";
9
9
  const fe = { class: "app-container" }, ve = { class: "search-container" }, _e = ["onClick"], ke = ["onClick"], Se = /* @__PURE__ */ ne({
10
10
  __name: "index",
11
11
  setup(ye) {
@@ -2,9 +2,9 @@ import { defineComponent as N, ref as h, computed as p, resolveComponent as u, c
2
2
  import { useTableHooks as R } from "jmash-core";
3
3
  import { useRoute as q } from "vue-router";
4
4
  import { useI18n as P } from "vue-i18n";
5
- import { a as W } from "./index-CRJLLhma.mjs";
6
- import { D as y } from "./index-CtbfBxfN.mjs";
7
- import { C as n } from "./constant-DViNTpBY.mjs";
5
+ import { a as W } from "./index-DS6wdvJi.mjs";
6
+ import { D as y } from "./index-cmTCxGlG.mjs";
7
+ import { C as n } from "./constant-qhPwZUPf.mjs";
8
8
  import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
9
9
  const z = /* @__PURE__ */ N({
10
10
  __name: "info",
@@ -2,9 +2,9 @@ import { defineComponent as N, ref as d, resolveComponent as a, createElementBlo
2
2
  import { useRouter as E, useRoute as B } from "vue-router";
3
3
  import "element-plus";
4
4
  import { routerUtil as S } from "jmash-core";
5
- import { t as $ } from "./index-CRJLLhma.mjs";
6
- import { D as f } from "./index-CtbfBxfN.mjs";
7
- import w from "./info-cv-wiwFs.mjs";
5
+ import { t as $ } from "./index-DS6wdvJi.mjs";
6
+ import { D as f } from "./index-cmTCxGlG.mjs";
7
+ import w from "./info-BB5FtxWS.mjs";
8
8
  const D = { class: "app-container" }, R = { class: "cell-item" }, U = { class: "cell-item" }, q = { class: "cell-item" }, G = /* @__PURE__ */ N({
9
9
  __name: "info",
10
10
  setup(A) {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-CPtlno35.mjs";
1
+ import { _ as f } from "./info.vue_vue_type_script_setup_true_lang-CHaMCv-u.mjs";
2
2
  export {
3
3
  f as default
4
4
  };