xyvcard-reports 0.0.13 → 0.0.15

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-dMUNMTkm.mjs → FileSaver.min-CL-SAebW.mjs} +1 -1
  2. package/dist/{add-BtXMFoJu.mjs → add-Ck6Mstqq.mjs} +2 -2
  3. package/dist/{constant-BJ3pUpqv.mjs → constant-BgsRBKZs.mjs} +4 -3
  4. package/dist/{edit-PXsxAXIJ.mjs → edit-1dBfGFLG.mjs} +4 -4
  5. package/dist/{edit-BRBQ8yyZ.mjs → edit-By3LppHi.mjs} +3 -3
  6. package/dist/{edit-AUGeLbaN.mjs → edit-CWC8SKEW.mjs} +11 -11
  7. package/dist/{edit-rKDl_v_q.mjs → edit-CjU44Pc-.mjs} +129 -124
  8. package/dist/{edit-fxFk6lJu.mjs → edit-CnCNpPXH.mjs} +22 -20
  9. package/dist/{edit-3b86wwHR.mjs → edit-Cxu5S9I2.mjs} +94 -94
  10. package/dist/{edit-Cuy8kYF6.mjs → edit-VAyV5jyj.mjs} +3 -3
  11. package/dist/follow-DFyEqZRL.mjs +261 -0
  12. package/dist/{import-upload-PHel2czN.mjs → import-upload-BUHcaEH2.mjs} +1 -1
  13. package/dist/{import-upload-BdjnKRQ8.mjs → import-upload-DCvwEdJH.mjs} +1 -1
  14. package/dist/{index-DJgTkb5g.mjs → index-B1mhNx-A.mjs} +1409 -1476
  15. package/dist/{index-CcJ7Ebtn.mjs → index-BEbsIkhz.mjs} +7 -7
  16. package/dist/{index-Bmsca4fr.mjs → index-BUAbdBPN.mjs} +3 -3
  17. package/dist/index-BdtTv-FT.mjs +62 -0
  18. package/dist/{index-ByuIDp9p.mjs → index-BxQOg919.mjs} +74 -81
  19. package/dist/{index-C9tUTN1f.mjs → index-D2NdiwKN.mjs} +1 -1
  20. package/dist/{index-CYmZlI43.mjs → index-DLXB6nQL.mjs} +1 -1
  21. package/dist/{index-CzUYEBJe.mjs → index-DMr3daTn.mjs} +5 -5
  22. package/dist/{index-CvvnRC0J.mjs → index-HF8kUbc7.mjs} +52 -52
  23. package/dist/{index-DbKjgQht.mjs → index-I5lyVDaU.mjs} +7 -7
  24. package/dist/index.mjs +1 -1
  25. package/dist/{index.vue_vue_type_script_setup_true_lang-BNjW1oc3.mjs → index.vue_vue_type_script_setup_true_lang-BetavdIP.mjs} +74 -98
  26. package/dist/{info-CrDe7Obn.mjs → info-2880jVCu.mjs} +3 -3
  27. package/dist/{info-_ikoQiDj.mjs → info-B3UnGBuH.mjs} +1 -1
  28. package/dist/{info-BPQDxwO0.mjs → info-BEDz9VXf.mjs} +2 -2
  29. package/dist/{info-BJQ_-_GR.mjs → info-BxxlZfhZ.mjs} +1 -1
  30. package/dist/{info-C3TFSpsG.mjs → info-CFuD0vMM.mjs} +1 -1
  31. package/dist/{info-DjuPQKKf.mjs → info-Pawz2o8n.mjs} +1 -1
  32. package/dist/{info.vue_vue_type_script_setup_true_lang-C_IPH3E3.mjs → info.vue_vue_type_script_setup_true_lang-40oTaelS.mjs} +2 -2
  33. package/dist/{info.vue_vue_type_script_setup_true_lang-lN0Et_Xz.mjs → info.vue_vue_type_script_setup_true_lang-DfP1lzx-.mjs} +2 -2
  34. package/dist/{info.vue_vue_type_script_setup_true_lang-LrUVwBge.mjs → info.vue_vue_type_script_setup_true_lang-DpDsaNi1.mjs} +96 -67
  35. package/dist/{info.vue_vue_type_script_setup_true_lang-B67wEO2Y.mjs → info.vue_vue_type_script_setup_true_lang-EwCkskoz.mjs} +2 -2
  36. package/dist/style.css +1 -1
  37. package/dts/src/api/reports/report-demand-record/types.d.ts +1 -0
  38. package/dts/src/api/reports/report-third-party/types.d.ts +3 -0
  39. package/dts/src/constant.d.ts +4 -3
  40. package/dts/src/lang/reports/zh-cn.d.ts +1 -47
  41. package/dts/src/views/reports/report-demand-ledger/follow.vue.d.ts +1 -1
  42. package/dts/src/views/reports/report-third-matter/import-upload.vue.d.ts +2 -2
  43. package/dts/src/views/reports/report-third-use-support/import-upload.vue.d.ts +2 -2
  44. package/package.json +1 -1
  45. package/dist/follow-BoxQ9tF0.mjs +0 -318
@@ -1,4 +1,4 @@
1
- import { c } from "./index-DJgTkb5g.mjs";
1
+ import { c } from "./index-B1mhNx-A.mjs";
2
2
  var E = { exports: {} };
3
3
  (function(h, j) {
4
4
  (function(p, i) {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as $, mergeModels as q, ref as M, reactive as y, useModel as S, resolveComponent as s, createBlock as D, openBlock as R, withCtx as e, createVNode as t, unref as p, createElementVNode as B, createTextVNode as g, toDisplayString as T } from "vue";
2
2
  import { ElMessage as E } from "element-plus";
3
- import { t as F } from "./index-DJgTkb5g.mjs";
3
+ import { t as F } from "./index-B1mhNx-A.mjs";
4
4
  import { useI18n as U } from "vue-i18n";
5
- import { D as j } from "./index-C9tUTN1f.mjs";
5
+ import { D as j } from "./index-D2NdiwKN.mjs";
6
6
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  const x = { class: "dialog-footer" }, z = /* @__PURE__ */ $({
8
8
  __name: "add",
@@ -6195,15 +6195,16 @@ z(K, "METTER", "matter_record"), // 使用支持
6195
6195
  z(K, "SUPPORT", "use_support"), // 月工作总结表
6196
6196
  z(K, "MONTH_SUMMARY", "month_summary"), // 事项类型
6197
6197
  z(K, "METTER_TYPE", "xyvcard.reports.protobuf.MatterTypeEnum"), // 厅局
6198
- z(K, "HALL", "HALL");
6198
+ z(K, "HALL", "HALL"), // 已办结
6199
+ z(K, "FINISHED", "FINISHED");
6199
6200
  class yr {
6200
6201
  }
6201
6202
  //模块
6202
6203
  z(yr, "MODULE_INSPECT", "inspect"), // 检查事项类型import xyvcard.inspect.protobuf.RecordsType
6203
6204
  z(yr, "INSPECT_TYPE", "xyvcard.inspect.protobuf.RecordsType"), // 状态inspectStatus
6204
6205
  z(yr, "INSPECT_STATUS", Ms([
6205
- { key: "true", value: "启用" },
6206
- { key: "false", value: "禁用" }
6206
+ { key: !0, value: "启用" },
6207
+ { key: !1, value: "禁用" }
6207
6208
  ])), // 风险等级
6208
6209
  z(yr, "RISK_LEVEL", "xyvcard.inspect.protobuf.RiskLevelEnum");
6209
6210
  export {
@@ -2,9 +2,9 @@ import { defineComponent as ee, mergeModels as F, ref as c, reactive as U, compu
2
2
  import { ElMessage as re } from "element-plus";
3
3
  import { useI18n as ae } from "vue-i18n";
4
4
  import { u as de } from "./index-CJ1aT1h5.mjs";
5
- import { r as $ } from "./index-DJgTkb5g.mjs";
5
+ import { r as $ } from "./index-B1mhNx-A.mjs";
6
6
  import { useUserStoreHook as se } from "jmash-core";
7
- import { C as ne, J as ie, $ as ue, H as me } from "./constant-BJ3pUpqv.mjs";
7
+ import { C as ne, J as ie, $ as ue, H as me } from "./constant-BgsRBKZs.mjs";
8
8
  import "./index-DQ9bz2at.mjs";
9
9
  import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
10
10
  const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
@@ -123,7 +123,7 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
123
123
  var e;
124
124
  await ((e = N.value) == null ? void 0 : e.validate((t) => {
125
125
  t && $.create(l).then((d) => {
126
- console.log(d), d.status === 200 && (re({
126
+ d.status === 200 && (re({
127
127
  message: b("common.submitSuccess"),
128
128
  type: "success"
129
129
  }), f.value && (f.value = !1), H("refresh", d.status === 200));
@@ -375,7 +375,7 @@ const fe = { class: "dialog-footer" }, ce = /* @__PURE__ */ ee({
375
375
  ], 64);
376
376
  };
377
377
  }
378
- }), Te = /* @__PURE__ */ pe(ce, [["__scopeId", "data-v-169fecb5"]]);
378
+ }), Te = /* @__PURE__ */ pe(ce, [["__scopeId", "data-v-6a4f4c90"]]);
379
379
  export {
380
380
  Te as default
381
381
  };
@@ -1,10 +1,10 @@
1
1
  import { getCurrentInstance as F, inject as V, ref as S, computed as d, unref as l, readonly as It, getCurrentScope as Nt, onScopeDispose as Pt, onMounted as ge, nextTick as qe, watch as ae, isRef as $t, warn as Et, provide as xt, defineComponent as x, createElementBlock as G, openBlock as $, mergeProps as jt, renderSlot as Z, normalizeClass as E, createVNode as y, Transition as Je, withCtx as _, withDirectives as Qe, createElementVNode as te, normalizeStyle as We, createTextVNode as Ye, toDisplayString as ye, vShow as Xe, shallowReactive as et, createBlock as U, createCommentVNode as X, resolveDynamicComponent as kt, Fragment as zt, withModifiers as Dt, isVNode as tt, render as Ie, reactive as Ne, resolveComponent as P } from "vue";
2
2
  import "element-plus";
3
3
  import { useRoute as Mt, useRouter as At } from "vue-router";
4
- import { _ as Vt } from "./index.vue_vue_type_script_setup_true_lang-BNjW1oc3.mjs";
4
+ import { _ as Vt } from "./index.vue_vue_type_script_setup_true_lang-BetavdIP.mjs";
5
5
  import { useI18n as Ft } from "vue-i18n";
6
- import { t as Pe } from "./index-DJgTkb5g.mjs";
7
- import { D as $e } from "./index-C9tUTN1f.mjs";
6
+ import { t as Pe } from "./index-B1mhNx-A.mjs";
7
+ import { D as $e } from "./index-D2NdiwKN.mjs";
8
8
  import { routerUtil as Bt } from "jmash-core";
9
9
  import { i as Ee, c as Lt, w as Rt, s as Kt, a as Ut } from "./index-CJ1aT1h5.mjs";
10
10
  const nt = Symbol(), ee = "el", Ht = "is-", j = (e, n, t, o, a) => {
@@ -4,8 +4,8 @@ import { useI18n as fe } from "vue-i18n";
4
4
  import { r as I } from "./index-DVvlf-iS.mjs";
5
5
  import { useUserStoreHook as ge } from "jmash-core";
6
6
  import { u as ye } from "./index-CJ1aT1h5.mjs";
7
- import { O as ve, D as c } from "./index-C9tUTN1f.mjs";
8
- import { C as z } from "./constant-BJ3pUpqv.mjs";
7
+ import { O as ve, D as c } from "./index-D2NdiwKN.mjs";
8
+ import { C as z } from "./constant-BgsRBKZs.mjs";
9
9
  import { r as De } from "./index-ISkSSB59.mjs";
10
10
  import { _ as be } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
11
11
  const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
@@ -27,7 +27,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
27
27
  emits: /* @__PURE__ */ Y(["refresh"], ["update:modelValue"]),
28
28
  setup(E, { emit: H }) {
29
29
  const O = new ve({ orgType: z.HALL });
30
- O.useValues(), c.involvedPlateDict.useValues(), console.log(c.noticeUserDict.values, "=>Dict.noticeUserDict ");
30
+ O.useValues(), c.involvedPlateDict.useValues();
31
31
  const { t: s } = fe(), G = ge(), M = b();
32
32
  let e = A({
33
33
  requestId: Math.random() * 10 + "",
@@ -181,7 +181,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
181
181
  g.value && (g.value = !1);
182
182
  }
183
183
  return (t, a) => {
184
- const i = n("jmash-select"), u = n("el-form-item"), p = n("el-col"), C = n("el-option"), U = n("el-select"), R = n("el-input"), te = n("el-date-picker"), P = n("jmash-enum-radio"), ae = n("el-tree-select"), $ = n("el-button"), oe = n("CircleClose"), re = n("el-icon"), de = n("el-row"), ne = n("el-form"), se = n("el-dialog"), ie = n("jmash-multi-upload");
184
+ const i = n("jmash-select"), u = n("el-form-item"), p = n("el-col"), C = n("el-option"), R = n("el-select"), U = n("el-input"), te = n("el-date-picker"), P = n("jmash-enum-radio"), ae = n("el-tree-select"), $ = n("el-button"), oe = n("CircleClose"), re = n("el-icon"), de = n("el-row"), ne = n("el-form"), se = n("el-dialog"), ie = n("jmash-multi-upload");
185
185
  return m(), v(D, null, [
186
186
  l(se, {
187
187
  modelValue: g.value,
@@ -248,7 +248,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
248
248
  prop: "itemId"
249
249
  }, {
250
250
  default: d(() => [
251
- l(U, {
251
+ l(R, {
252
252
  modelValue: r(e).itemId,
253
253
  "onUpdate:modelValue": a[1] || (a[1] = (o) => r(e).itemId = o),
254
254
  placeholder: t.$t("reportDemandLedger.itemIdRequired"),
@@ -279,7 +279,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
279
279
  prop: "createBy"
280
280
  }, {
281
281
  default: d(() => [
282
- l(R, {
282
+ l(U, {
283
283
  value: r(G).user.realName,
284
284
  placeholder: t.$t("reportDemandLedger.createByRequired"),
285
285
  maxlength: "8",
@@ -322,7 +322,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
322
322
  prop: "content"
323
323
  }, {
324
324
  default: d(() => [
325
- l(R, {
325
+ l(U, {
326
326
  modelValue: r(e).content,
327
327
  "onUpdate:modelValue": a[3] || (a[3] = (o) => r(e).content = o),
328
328
  placeholder: t.$t("reportDemandLedger.likeContentRequired"),
@@ -407,7 +407,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
407
407
  prop: "proposeMethod"
408
408
  }, {
409
409
  default: d(() => [
410
- l(R, {
410
+ l(U, {
411
411
  modelValue: r(e).proposeMethod,
412
412
  "onUpdate:modelValue": a[7] || (a[7] = (o) => r(e).proposeMethod = o),
413
413
  placeholder: t.$t("reportDemandLedger.proposeMethodRequired"),
@@ -431,7 +431,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
431
431
  prop: "notifyType"
432
432
  }, {
433
433
  default: d(() => [
434
- l(U, {
434
+ l(R, {
435
435
  modelValue: r(e).notifyType,
436
436
  "onUpdate:modelValue": a[8] || (a[8] = (o) => r(e).notifyType = o),
437
437
  data: r(c).noticeTypeDict.values,
@@ -465,7 +465,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
465
465
  prop: "notifyUser"
466
466
  }, {
467
467
  default: d(() => [
468
- l(U, {
468
+ l(R, {
469
469
  modelValue: r(e).notifyUser,
470
470
  "onUpdate:modelValue": a[9] || (a[9] = (o) => r(e).notifyUser = o),
471
471
  data: r(c).noticeUserDict.values,
@@ -552,7 +552,7 @@ const _e = { class: "dialog-footer" }, he = /* @__PURE__ */ ue({
552
552
  ], 64);
553
553
  };
554
554
  }
555
- }), Me = /* @__PURE__ */ be(he, [["__scopeId", "data-v-cf2f8bbd"]]);
555
+ }), Me = /* @__PURE__ */ be(he, [["__scopeId", "data-v-1b495031"]]);
556
556
  export {
557
557
  Me as default
558
558
  };
@@ -1,15 +1,15 @@
1
- import { defineComponent as re, mergeModels as E, ref as g, reactive as A, computed as ae, useModel as se, resolveComponent as m, createElementBlock as I, openBlock as f, Fragment as b, createVNode as t, withCtx as a, unref as n, renderList as O, createBlock as S, createTextVNode as k, toDisplayString as V, createElementVNode as de } from "vue";
2
- import { ElMessage as B } from "element-plus";
3
- import { useI18n as ne } from "vue-i18n";
4
- import { u as ue } from "./index-CJ1aT1h5.mjs";
5
- import { r as v } from "./index-DJgTkb5g.mjs";
6
- import { useUserStoreHook as ie } from "jmash-core";
7
- import { r as me } from "./index-ISkSSB59.mjs";
8
- import { C as pe, J as fe, $ as ce, H as ge } from "./constant-BJ3pUpqv.mjs";
1
+ import { defineComponent as se, mergeModels as A, ref as y, reactive as K, computed as de, useModel as ne, resolveComponent as u, createElementBlock as v, openBlock as f, Fragment as b, createVNode as t, withCtx as a, unref as n, renderList as O, createBlock as B, createTextVNode as k, toDisplayString as V, createElementVNode as ie } from "vue";
2
+ import { ElMessage as F } from "element-plus";
3
+ import { useI18n as ue } from "vue-i18n";
4
+ import { u as pe } from "./index-CJ1aT1h5.mjs";
5
+ import { r as h } from "./index-B1mhNx-A.mjs";
6
+ import { useUserStoreHook as me } from "jmash-core";
7
+ import { r as fe } from "./index-ISkSSB59.mjs";
8
+ import { C as H, J, $ as ce, H as ge } from "./constant-BgsRBKZs.mjs";
9
9
  import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
10
- const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
10
+ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ se({
11
11
  __name: "edit",
12
- props: /* @__PURE__ */ E({
12
+ props: /* @__PURE__ */ A({
13
13
  entityKey: {
14
14
  type: Object,
15
15
  default: () => {
@@ -23,52 +23,57 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
23
23
  modelValue: { type: Boolean },
24
24
  modelModifiers: {}
25
25
  }),
26
- emits: /* @__PURE__ */ E(["refresh"], ["update:modelValue"]),
27
- setup(R, { emit: K }) {
28
- const { t: c } = ne(), C = ie();
29
- console.log(C.user.userId, "=>userStore");
30
- const F = g(), P = g([]), h = g([]), T = g([]);
31
- let s = A({
26
+ emits: /* @__PURE__ */ A(["refresh"], ["update:modelValue"]),
27
+ setup(R, { emit: z }) {
28
+ const { t: c } = ue(), C = me(), N = y(), P = y([]), T = y([]), q = y([]);
29
+ let s = K({
32
30
  requestId: Math.random() * 10 + "",
33
31
  updateMask: "govOrgId,itsmId,outOrgId,describe,files",
34
- matterSort: pe.SECURITY,
32
+ matterSort: H.SECURITY,
35
33
  files: []
36
34
  });
37
- const N = ae(() => T.value);
38
- function M(e) {
39
- e ? v.findMyProjects({ belongOrgId: e }).then((l) => {
40
- const o = l.data.itsmId, d = [...new Set(o)].map(
41
- (i) => ge.findById({ itemId: i }).then((_) => ({
42
- key: i,
43
- value: _.data.name
44
- }))
45
- );
46
- Promise.all(d).then((i) => {
47
- T.value = i, console.log(i, "=> 项目数据");
35
+ const M = de(() => q.value);
36
+ function U(e) {
37
+ e ? J.findById({ userId: C.user.userId }).then((l) => {
38
+ const { data: r } = l;
39
+ h.findMyProjects({
40
+ belongOrgId: e,
41
+ likeServiceOrg: r.orgId,
42
+ applyStatus: H.FINISHED
43
+ }).then((i) => {
44
+ const d = i.data.itsmId, _ = [...new Set(d)].map(
45
+ (m) => ge.findById({ itemId: m }).then((w) => ({
46
+ key: m,
47
+ value: w.data.name
48
+ }))
49
+ );
50
+ Promise.all(_).then((m) => {
51
+ q.value = m, console.log(m, "=> 项目数据");
52
+ });
48
53
  });
49
- }) : T.value = [];
54
+ }) : q.value = [];
50
55
  }
51
- function H(e) {
52
- s.itsmId = void 0, M(e);
56
+ function Y(e) {
57
+ s.itsmId = void 0, U(e);
53
58
  }
54
- fe.findById({ userId: C.user.userId }).then((e) => {
59
+ J.findById({ userId: C.user.userId }).then((e) => {
55
60
  const { data: l } = e;
56
- v.findMyBelongOrgs({ likeServiceOrg: l.orgId }).then((o) => {
57
- const u = /* @__PURE__ */ new Map();
58
- o.data.results.forEach((d) => {
59
- u.has(d.belongOrgId) || u.set(d.belongOrgId, d);
60
- }), h.value = Array.from(u.values()), console.log(h.value, "=> 获取govOrgId列表");
61
- }), ce.findById({ orgId: l.orgId }).then((o) => {
62
- const { data: u } = o;
63
- console.log(u, "=> 获取外协单位"), P.value = [
61
+ h.findMyBelongOrgs({ likeServiceOrg: l.orgId }).then((r) => {
62
+ const i = /* @__PURE__ */ new Map();
63
+ r.data.results.forEach((d) => {
64
+ i.has(d.belongOrgId) || i.set(d.belongOrgId, d);
65
+ }), T.value = Array.from(i.values());
66
+ }), ce.findById({ orgId: l.orgId }).then((r) => {
67
+ const { data: i } = r;
68
+ P.value = [
64
69
  {
65
- key: u.orgId,
66
- value: u.orgName
70
+ key: i.orgId,
71
+ value: i.orgName
67
72
  }
68
73
  ];
69
74
  });
70
75
  });
71
- const J = A({
76
+ const G = K({
72
77
  govOrgId: [
73
78
  {
74
79
  required: !0,
@@ -97,56 +102,56 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
97
102
  trigger: "change"
98
103
  }
99
104
  ]
100
- }), q = g(!1), U = g();
101
- function z() {
102
- q.value = !0, U.value.clearFileList();
105
+ }), $ = y(!1), D = y();
106
+ function Q() {
107
+ $.value = !0, D.value.clearFileList();
103
108
  }
104
- function Y(e) {
105
- var o;
109
+ function W(e) {
110
+ var r;
106
111
  const l = {
107
112
  fileName: e.name,
108
113
  fileId: e.response.fileId
109
114
  };
110
- (o = s.files) == null || o.push(l), s.files = [...new Set(s.files)];
115
+ (r = s.files) == null || r.push(l), s.files = [...new Set(s.files)];
111
116
  }
112
- function G(e) {
117
+ function X(e) {
113
118
  var l;
114
119
  (l = s.files) == null || l.splice(e, 1);
115
120
  }
116
- function Q() {
117
- me.findList({ actionId: y.entityKey.reportId }).then(({ data: e }) => {
121
+ function Z() {
122
+ fe.findList({ actionId: I.entityKey.reportId }).then(({ data: e }) => {
118
123
  e.results && Array.isArray(e.results) && (s.files = e.results.map((l) => {
119
- let o = "";
120
- return l.fileName && (o = l.fileSort || l.type || ""), {
124
+ let r = "";
125
+ return l.fileName && (r = l.fileSort || l.type || ""), {
121
126
  fileName: l.fileName || "",
122
127
  fileId: l.fileId || "",
123
- fileSort: o
128
+ fileSort: r
124
129
  };
125
130
  }));
126
131
  });
127
132
  }
128
- const p = se(R, "modelValue"), y = R, $ = K, W = Object.keys(y.entityKey), L = g(W.length >= 1);
129
- L.value && v.findById(y.entityKey).then(({ data: e }) => {
130
- Object.assign(s, e), Q(), s.govOrgId && M(s.govOrgId);
133
+ const p = ne(R, "modelValue"), I = R, S = z, x = Object.keys(I.entityKey), L = y(x.length >= 1);
134
+ L.value && h.findById(I.entityKey).then(({ data: e }) => {
135
+ Object.assign(s, e), Z(), s.govOrgId && U(s.govOrgId);
131
136
  });
132
- const X = async () => {
137
+ const ee = async () => {
133
138
  var e;
134
- await ((e = F.value) == null ? void 0 : e.validate((l) => {
135
- l && (L.value && y.entityKey.reportId && !y.isCopy ? v.update(s).then((o) => {
136
- console.log(o), o.status === 200 && (B({
139
+ await ((e = N.value) == null ? void 0 : e.validate((l) => {
140
+ l && (L.value && I.entityKey.reportId && !I.isCopy ? h.update(s).then((r) => {
141
+ console.log(r), r.status === 200 && (F({
137
142
  message: c("common.submitSuccess"),
138
143
  type: "success"
139
- }), p.value && (p.value = !1), $("refresh", o.status === 200));
140
- }) : y.isCopy ? v.create(s).then((o) => {
141
- o.status === 200 && (B({
144
+ }), p.value && (p.value = !1), S("refresh", r.status === 200));
145
+ }) : I.isCopy ? h.create(s).then((r) => {
146
+ r.status === 200 && (F({
142
147
  message: c("common.submitSuccess"),
143
148
  type: "success"
144
- }), p.value = !1, $("refresh", !0));
145
- }) : v.create(s).then((o) => {
146
- console.log(o), o.status === 200 && (B({
149
+ }), p.value = !1, S("refresh", !0));
150
+ }) : h.create(s).then((r) => {
151
+ console.log(r), r.status === 200 && (F({
147
152
  message: c("common.submitSuccess"),
148
153
  type: "success"
149
- }), p.value && (p.value = !1), $("refresh", o.status === 200));
154
+ }), p.value && (p.value = !1), S("refresh", r.status === 200));
150
155
  }));
151
156
  }));
152
157
  };
@@ -154,24 +159,24 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
154
159
  p.value && (p.value = !1);
155
160
  }
156
161
  return (e, l) => {
157
- const o = m("el-option"), u = m("el-select"), d = m("el-form-item"), i = m("el-col"), _ = m("el-input"), w = m("el-button"), Z = m("CircleClose"), x = m("el-icon"), ee = m("el-row"), le = m("el-form"), te = m("el-dialog"), oe = m("jmash-multi-upload");
158
- return f(), I(b, null, [
159
- t(te, {
162
+ const r = u("el-option"), i = u("el-select"), d = u("el-form-item"), g = u("el-col"), _ = u("el-input"), m = u("el-button"), w = u("CircleClose"), le = u("el-icon"), te = u("el-row"), re = u("el-form"), oe = u("el-dialog"), ae = u("jmash-multi-upload");
163
+ return f(), v(b, null, [
164
+ t(oe, {
160
165
  modelValue: p.value,
161
- "onUpdate:modelValue": l[4] || (l[4] = (r) => p.value = r),
166
+ "onUpdate:modelValue": l[4] || (l[4] = (o) => p.value = o),
162
167
  onClose: j
163
168
  }, {
164
169
  footer: a(() => [
165
- de("div", Ie, [
166
- t(w, { onClick: j }, {
170
+ ie("div", Ie, [
171
+ t(m, { onClick: j }, {
167
172
  default: a(() => [
168
173
  k(V(e.$t("common.cancel")), 1)
169
174
  ]),
170
175
  _: 1
171
176
  }),
172
- t(w, {
177
+ t(m, {
173
178
  type: "primary",
174
- onClick: X
179
+ onClick: ee
175
180
  }, {
176
181
  default: a(() => [
177
182
  k(V(e.$t("common.confirm")), 1)
@@ -181,38 +186,38 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
181
186
  ])
182
187
  ]),
183
188
  default: a(() => [
184
- t(le, {
189
+ t(re, {
185
190
  ref_key: "reportThirdPartyFormRef",
186
- ref: F,
191
+ ref: N,
187
192
  model: n(s),
188
193
  "label-width": "120px",
189
- rules: J
194
+ rules: G
190
195
  }, {
191
196
  default: a(() => [
192
- t(ee, null, {
197
+ t(te, null, {
193
198
  default: a(() => [
194
- t(i, { span: 12 }, {
199
+ t(g, { span: 12 }, {
195
200
  default: a(() => [
196
201
  t(d, {
197
202
  label: e.$t("reportThirdParty.govOrgId"),
198
203
  prop: "govOrgId"
199
204
  }, {
200
205
  default: a(() => [
201
- t(u, {
206
+ t(i, {
202
207
  modelValue: n(s).govOrgId,
203
- "onUpdate:modelValue": l[0] || (l[0] = (r) => n(s).govOrgId = r),
208
+ "onUpdate:modelValue": l[0] || (l[0] = (o) => n(s).govOrgId = o),
204
209
  placeholder: e.$t("reportThirdParty.govOrgIdRequired"),
205
- data: h.value,
210
+ data: T.value,
206
211
  clearable: "",
207
212
  filterable: "",
208
213
  class: "w-full",
209
- onChange: H
214
+ onChange: Y
210
215
  }, {
211
216
  default: a(() => [
212
- (f(!0), I(b, null, O(h.value, (r) => (f(), S(o, {
213
- key: r.belongOrgId,
214
- value: r.belongOrgId,
215
- label: r.belongOrgName
217
+ (f(!0), v(b, null, O(T.value, (o) => (f(), B(r, {
218
+ key: o.belongOrgId,
219
+ value: o.belongOrgId,
220
+ label: o.belongOrgName
216
221
  }, null, 8, ["value", "label"]))), 128))
217
222
  ]),
218
223
  _: 1
@@ -223,27 +228,27 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
223
228
  ]),
224
229
  _: 1
225
230
  }),
226
- t(i, { span: 12 }, {
231
+ t(g, { span: 12 }, {
227
232
  default: a(() => [
228
233
  t(d, {
229
234
  label: e.$t("reportThirdParty.itsmId"),
230
235
  prop: "itsmId"
231
236
  }, {
232
237
  default: a(() => [
233
- t(u, {
238
+ t(i, {
234
239
  modelValue: n(s).itsmId,
235
- "onUpdate:modelValue": l[1] || (l[1] = (r) => n(s).itsmId = r),
240
+ "onUpdate:modelValue": l[1] || (l[1] = (o) => n(s).itsmId = o),
236
241
  placeholder: e.$t("reportThirdParty.itemIdRequired"),
237
- data: N.value,
242
+ data: M.value,
238
243
  clearable: "",
239
244
  filterable: "",
240
245
  disabled: !n(s).govOrgId
241
246
  }, {
242
247
  default: a(() => [
243
- (f(!0), I(b, null, O(N.value, (r) => (f(), S(o, {
244
- key: r.key,
245
- value: r.key,
246
- label: r.value
248
+ (f(!0), v(b, null, O(M.value, (o) => (f(), B(r, {
249
+ key: o.key,
250
+ value: o.key,
251
+ label: o.value
247
252
  }, null, 8, ["value", "label"]))), 128))
248
253
  ]),
249
254
  _: 1
@@ -254,16 +259,16 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
254
259
  ]),
255
260
  _: 1
256
261
  }),
257
- t(i, { span: 12 }, {
262
+ t(g, { span: 12 }, {
258
263
  default: a(() => [
259
264
  t(d, {
260
265
  label: e.$t("reportThirdParty.outOrgId"),
261
266
  prop: "outOrgId"
262
267
  }, {
263
268
  default: a(() => [
264
- t(u, {
269
+ t(i, {
265
270
  modelValue: n(s).outOrgId,
266
- "onUpdate:modelValue": l[2] || (l[2] = (r) => n(s).outOrgId = r),
271
+ "onUpdate:modelValue": l[2] || (l[2] = (o) => n(s).outOrgId = o),
267
272
  placeholder: e.$t("reportThirdParty.outOrgIdRequired"),
268
273
  data: P.value,
269
274
  clearable: "",
@@ -271,10 +276,10 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
271
276
  class: "w-full"
272
277
  }, {
273
278
  default: a(() => [
274
- (f(!0), I(b, null, O(P.value, (r) => (f(), S(o, {
275
- key: r.key,
276
- value: r.key,
277
- label: r.value
279
+ (f(!0), v(b, null, O(P.value, (o) => (f(), B(r, {
280
+ key: o.key,
281
+ value: o.key,
282
+ label: o.value
278
283
  }, null, 8, ["value", "label"]))), 128))
279
284
  ]),
280
285
  _: 1
@@ -285,7 +290,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
285
290
  ]),
286
291
  _: 1
287
292
  }),
288
- t(i, { span: 12 }, {
293
+ t(g, { span: 12 }, {
289
294
  default: a(() => [
290
295
  t(d, {
291
296
  label: e.$t("reportThirdParty.createBy"),
@@ -306,7 +311,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
306
311
  ]),
307
312
  _: 1
308
313
  }),
309
- t(i, { span: 24 }, {
314
+ t(g, { span: 24 }, {
310
315
  default: a(() => [
311
316
  t(d, {
312
317
  label: e.$t("reportThirdParty.likeDescribe"),
@@ -315,7 +320,7 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
315
320
  default: a(() => [
316
321
  t(_, {
317
322
  modelValue: n(s).describe,
318
- "onUpdate:modelValue": l[3] || (l[3] = (r) => n(s).describe = r),
323
+ "onUpdate:modelValue": l[3] || (l[3] = (o) => n(s).describe = o),
319
324
  placeholder: e.$t("reportThirdParty.likeDescribeRequired"),
320
325
  type: "textarea",
321
326
  "show-word-limit": "",
@@ -327,17 +332,17 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
327
332
  ]),
328
333
  _: 1
329
334
  }),
330
- t(i, { span: 24 }, {
335
+ t(g, { span: 24 }, {
331
336
  default: a(() => [
332
337
  t(d, {
333
338
  label: e.$t("reportDemandLedger.files"),
334
339
  prop: "files"
335
340
  }, {
336
341
  default: a(() => [
337
- t(w, {
342
+ t(m, {
338
343
  type: "primary",
339
- icon: n(ue),
340
- onClick: z
344
+ icon: n(pe),
345
+ onClick: Q
341
346
  }, {
342
347
  default: a(() => [
343
348
  k(V(e.$t("common.uploadFiles")), 1)
@@ -349,18 +354,18 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
349
354
  }, 8, ["label"]),
350
355
  t(d, null, {
351
356
  default: a(() => [
352
- (f(!0), I(b, null, O(n(s).files, (r, D) => (f(), I("div", {
353
- key: D,
357
+ (f(!0), v(b, null, O(n(s).files, (o, E) => (f(), v("div", {
358
+ key: E,
354
359
  class: "files-list"
355
360
  }, [
356
- k(V(r.fileName) + " ", 1),
357
- t(x, {
361
+ k(V(o.fileName) + " ", 1),
362
+ t(le, {
358
363
  size: "16",
359
364
  class: "icon-right",
360
- onClick: (be) => G(D)
365
+ onClick: (he) => X(E)
361
366
  }, {
362
367
  default: a(() => [
363
- t(Z)
368
+ t(w)
364
369
  ]),
365
370
  _: 2
366
371
  }, 1032, ["onClick"])
@@ -380,17 +385,17 @@ const Ie = { class: "dialog-footer" }, ve = /* @__PURE__ */ re({
380
385
  ]),
381
386
  _: 1
382
387
  }, 8, ["modelValue"]),
383
- t(oe, {
388
+ t(ae, {
384
389
  ref_key: "uploadRef",
385
- ref: U,
386
- modelValue: q.value,
387
- "onUpdate:modelValue": l[5] || (l[5] = (r) => q.value = r),
388
- onUploadFileList: Y
390
+ ref: D,
391
+ modelValue: $.value,
392
+ "onUpdate:modelValue": l[5] || (l[5] = (o) => $.value = o),
393
+ onUploadFileList: W
389
394
  }, null, 8, ["modelValue"])
390
395
  ], 64);
391
396
  };
392
397
  }
393
- }), $e = /* @__PURE__ */ ye(ve, [["__scopeId", "data-v-1cff3a24"]]);
398
+ }), $e = /* @__PURE__ */ ye(ve, [["__scopeId", "data-v-37fddf6e"]]);
394
399
  export {
395
400
  $e as default
396
401
  };