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
@@ -20,6 +20,8 @@ declare const _default: {
20
20
  demandDateRequired: string;
21
21
  likeContent: string;
22
22
  likeContentRequired: string;
23
+ content: string;
24
+ contentRequired: string;
23
25
  state: string;
24
26
  stateRequired: string;
25
27
  isEscalate: string;
@@ -47,8 +47,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
47
47
  onRefresh?: ((...args: any[]) => any) | undefined;
48
48
  "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
49
49
  }>, {
50
- govOrgId: string;
51
50
  entityKey: ReportDemandLedgerKey;
51
+ govOrgId: string;
52
52
  itemId: string;
53
53
  content: string;
54
54
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -28,10 +28,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
28
  type: PropType<boolean>;
29
29
  };
30
30
  }>> & Readonly<{
31
- onRefresh?: ((...args: any[]) => any) | undefined;
32
31
  "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
32
+ onRefresh?: ((...args: any[]) => any) | undefined;
33
33
  }>, {
34
- entityKey: ReportThirdPartyKey;
35
34
  isCopy: boolean;
35
+ entityKey: ReportThirdPartyKey;
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
37
37
  export default _default;
@@ -28,10 +28,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
28
  type: PropType<boolean>;
29
29
  };
30
30
  }>> & Readonly<{
31
- onRefresh?: ((...args: any[]) => any) | undefined;
32
31
  "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
32
+ onRefresh?: ((...args: any[]) => any) | undefined;
33
33
  }>, {
34
- entityKey: ReportThirdPartyKey;
35
34
  isCopy: boolean;
35
+ entityKey: ReportThirdPartyKey;
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
37
37
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-reports",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",
@@ -18,10 +18,10 @@
18
18
  "jmash-core": "^0.1.13",
19
19
  "jmash-dict": "^0.1.4",
20
20
  "jmash-rbac": "^0.1.21",
21
- "jmash-flow": "0.0.30",
21
+ "jmash-flow": "0.0.32",
22
22
  "xyvcard-itsmsys": "^0.0.24",
23
- "xyvcard-itsm": "^0.0.35",
24
- "xyvcard-itsm-flow": "^0.0.33"
23
+ "xyvcard-itsm": "^0.0.40",
24
+ "xyvcard-itsm-flow": "^0.0.38"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@eslint/js": "^9.14.0",
@@ -1,222 +0,0 @@
1
- import { defineComponent as H, mergeModels as S, ref as g, reactive as R, computed as i, useModel as X, resolveComponent as c, createBlock as L, openBlock as T, withCtx as a, createVNode as e, unref as s, createCommentVNode as x, createElementVNode as z, createTextVNode as w, toDisplayString as E } from "vue";
2
- import { ElMessage as A } from "element-plus";
3
- import { useI18n as J } from "vue-i18n";
4
- import { a as I } from "./index-DS6wdvJi.mjs";
5
- import { useRoute as Q } from "vue-router";
6
- import { D as q } from "./index-cmTCxGlG.mjs";
7
- import { C as d } from "./constant-qhPwZUPf.mjs";
8
- import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
9
- const ee = { class: "dialog-footer" }, te = /* @__PURE__ */ H({
10
- __name: "edit",
11
- props: /* @__PURE__ */ S({
12
- entityKey: {
13
- type: Object,
14
- default: () => {
15
- }
16
- }
17
- }, {
18
- modelValue: { type: Boolean },
19
- modelModifiers: {}
20
- }),
21
- emits: /* @__PURE__ */ S(["refresh"], ["update:modelValue"]),
22
- setup(k, { emit: D }) {
23
- const { t } = J();
24
- console.log(q.riskLevelEnum.values, "=> riskLevelEnum");
25
- const o = Q(), _ = g();
26
- let l = R({
27
- requestId: Math.random() * 10 + "",
28
- updateMask: "mattersDimension,mattersItem,mattersStandard,mattersWay,riskLevel",
29
- inspectId: o.query.inspectId,
30
- inspectType: o.query.inspectType
31
- });
32
- const C = i(() => o.query.inspectType === d.LOG_ANALYSIS ? t("taskInspectMatters.checklistItem") : t("taskInspectMatters.mattersItem")), N = i(() => o.query.inspectType === d.LOG_ANALYSIS ? t("taskInspectMatters.checklistItemRead") : t("taskInspectMatters.mattersItemRead")), O = i(() => o.query.inspectType === d.SOFTWARE ? t("taskInspectMatters.checkCategory") : t("taskInspectMatters.mattersDimension")), W = i(() => o.query.inspectType === d.SOFTWARE ? t("taskInspectMatters.checkCategoryRead") : t("taskInspectMatters.mattersDimensionRead")), P = i(() => o.query.inspectType === d.LOG_ANALYSIS ? t("taskInspectMatters.complianceStandard") : o.query.inspectType === d.EXPERT_INSPECTION ? t("taskInspectMatters.professionalStandards") : t("taskInspectMatters.mattersStandard")), U = i(() => o.query.inspectType === d.LOG_ANALYSIS ? t("taskInspectMatters.complianceStandardRead") : o.query.inspectType === d.EXPERT_INSPECTION ? t("taskInspectMatters.professionalStandardsRead") : t("taskInspectMatters.mattersItemRead")), $ = R({
33
- mattersItem: [
34
- {
35
- required: !0,
36
- message: t("taskInspectMatters.mattersItemRead"),
37
- trigger: "change"
38
- }
39
- ]
40
- }), p = X(k, "modelValue"), v = k, M = D, j = Object.keys(v.entityKey), b = g(j.length >= 1);
41
- b.value && I.findById(v.entityKey).then(({ data: m }) => {
42
- Object.assign(l, m);
43
- });
44
- const F = async () => {
45
- var m;
46
- await ((m = _.value) == null ? void 0 : m.validate((r) => {
47
- r && (b.value ? I.update(l).then((n) => {
48
- console.log(n), n.status === 200 && (A({
49
- message: t("common.submitSuccess"),
50
- type: "success"
51
- }), p.value && (p.value = !1), M("refresh", n.status === 200));
52
- }) : I.create(l).then((n) => {
53
- console.log(n), n.status === 200 && (A({
54
- message: t("common.submitSuccess"),
55
- type: "success"
56
- }), p.value && (p.value = !1), M("refresh", n.status === 200));
57
- }));
58
- }));
59
- };
60
- function h() {
61
- p.value && (p.value = !1);
62
- }
63
- return (m, r) => {
64
- const n = c("el-input"), f = c("el-form-item"), y = c("el-col"), B = c("jmash-select"), G = c("el-row"), Y = c("el-form"), V = c("el-button"), K = c("el-dialog");
65
- return T(), L(K, {
66
- modelValue: p.value,
67
- "onUpdate:modelValue": r[5] || (r[5] = (u) => p.value = u),
68
- onClose: h
69
- }, {
70
- footer: a(() => [
71
- z("div", ee, [
72
- e(V, { onClick: h }, {
73
- default: a(() => [
74
- w(E(m.$t("common.cancel")), 1)
75
- ]),
76
- _: 1
77
- }),
78
- e(V, {
79
- type: "primary",
80
- onClick: F
81
- }, {
82
- default: a(() => [
83
- w(E(m.$t("common.confirm")), 1)
84
- ]),
85
- _: 1
86
- })
87
- ])
88
- ]),
89
- default: a(() => [
90
- e(Y, {
91
- ref_key: "taskInspectMattersFormRef",
92
- ref: _,
93
- model: s(l),
94
- "label-width": "120px",
95
- rules: $
96
- }, {
97
- default: a(() => [
98
- e(G, null, {
99
- default: a(() => [
100
- e(y, { span: 24 }, {
101
- default: a(() => [
102
- e(f, {
103
- label: C.value,
104
- prop: "mattersItem"
105
- }, {
106
- default: a(() => [
107
- e(n, {
108
- modelValue: s(l).mattersItem,
109
- "onUpdate:modelValue": r[0] || (r[0] = (u) => s(l).mattersItem = u),
110
- placeholder: N.value,
111
- "show-word-limit": "",
112
- clearable: ""
113
- }, null, 8, ["modelValue", "placeholder"])
114
- ]),
115
- _: 1
116
- }, 8, ["label"])
117
- ]),
118
- _: 1
119
- }),
120
- s(o).query.inspectType === s(d).HARDWARE ? (T(), L(y, {
121
- key: 0,
122
- span: 12
123
- }, {
124
- default: a(() => [
125
- e(f, {
126
- label: m.$t("taskInspectMatters.riskLevel"),
127
- prop: "riskLevel"
128
- }, {
129
- default: a(() => [
130
- e(B, {
131
- modelValue: s(l).riskLevel,
132
- "onUpdate:modelValue": r[1] || (r[1] = (u) => s(l).riskLevel = u),
133
- data: s(q).riskLevelEnum.values,
134
- placeholder: m.$t("taskInspectMatters.riskLevelRead"),
135
- "show-word-limit": "",
136
- clearable: "",
137
- class: "w-full"
138
- }, null, 8, ["modelValue", "data", "placeholder"])
139
- ]),
140
- _: 1
141
- }, 8, ["label"])
142
- ]),
143
- _: 1
144
- })) : x("", !0),
145
- e(y, {
146
- span: s(o).query.inspectType === s(d).HARDWARE ? 12 : 24
147
- }, {
148
- default: a(() => [
149
- e(f, {
150
- label: O.value,
151
- prop: "mattersDimension"
152
- }, {
153
- default: a(() => [
154
- e(n, {
155
- modelValue: s(l).mattersDimension,
156
- "onUpdate:modelValue": r[2] || (r[2] = (u) => s(l).mattersDimension = u),
157
- placeholder: W.value,
158
- "show-word-limit": "",
159
- clearable: ""
160
- }, null, 8, ["modelValue", "placeholder"])
161
- ]),
162
- _: 1
163
- }, 8, ["label"])
164
- ]),
165
- _: 1
166
- }, 8, ["span"]),
167
- e(y, { span: 24 }, {
168
- default: a(() => [
169
- e(f, {
170
- label: P.value,
171
- prop: "mattersStandard"
172
- }, {
173
- default: a(() => [
174
- e(n, {
175
- modelValue: s(l).mattersStandard,
176
- "onUpdate:modelValue": r[3] || (r[3] = (u) => s(l).mattersStandard = u),
177
- placeholder: U.value,
178
- "show-word-limit": "",
179
- clearable: ""
180
- }, null, 8, ["modelValue", "placeholder"])
181
- ]),
182
- _: 1
183
- }, 8, ["label"])
184
- ]),
185
- _: 1
186
- }),
187
- e(y, { span: 24 }, {
188
- default: a(() => [
189
- e(f, {
190
- label: m.$t("taskInspectMatters.mattersWay"),
191
- prop: "mattersWay"
192
- }, {
193
- default: a(() => [
194
- e(n, {
195
- modelValue: s(l).mattersWay,
196
- "onUpdate:modelValue": r[4] || (r[4] = (u) => s(l).mattersWay = u),
197
- placeholder: m.$t("taskInspectMatters.mattersWayRead"),
198
- "show-word-limit": "",
199
- clearable: "",
200
- type: "textarea"
201
- }, null, 8, ["modelValue", "placeholder"])
202
- ]),
203
- _: 1
204
- }, 8, ["label"])
205
- ]),
206
- _: 1
207
- })
208
- ]),
209
- _: 1
210
- })
211
- ]),
212
- _: 1
213
- }, 8, ["model", "rules"])
214
- ]),
215
- _: 1
216
- }, 8, ["modelValue"]);
217
- };
218
- }
219
- }), de = /* @__PURE__ */ Z(te, [["__scopeId", "data-v-a5e2aeba"]]);
220
- export {
221
- de as default
222
- };