xyvcard-reports 0.0.1

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 (89) hide show
  1. package/README.md +51 -0
  2. package/dist/FileSaver.min-CsYbMEwD.mjs +74 -0
  3. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  4. package/dist/add-Cy3sJJ7g.mjs +318 -0
  5. package/dist/edit-BAGsETAq.mjs +411 -0
  6. package/dist/edit-Bjwtnj4P.mjs +168 -0
  7. package/dist/edit-Bxcb4i2M.mjs +403 -0
  8. package/dist/edit-C8qWCW9s.mjs +556 -0
  9. package/dist/edit-CiU1D1Jz.mjs +349 -0
  10. package/dist/edit-Cmne_lfW.mjs +382 -0
  11. package/dist/edit-K7u73FcA.mjs +411 -0
  12. package/dist/follow-9aVr4ibB.mjs +318 -0
  13. package/dist/import-upload-0sdXY1HZ.mjs +198 -0
  14. package/dist/import-upload-DUeH28xE.mjs +198 -0
  15. package/dist/index-B5w3z8Uz.mjs +20 -0
  16. package/dist/index-B_hFZVhb-C3Oi__-I.mjs +1851 -0
  17. package/dist/index-Bu_3ElUk.mjs +7989 -0
  18. package/dist/index-CK9MaZXF.mjs +467 -0
  19. package/dist/index-D1lQtxJR.mjs +21 -0
  20. package/dist/index-D1oq_3kJ.mjs +471 -0
  21. package/dist/index-D3AJ_PUR.mjs +315 -0
  22. package/dist/index-DOju9U4r.mjs +97 -0
  23. package/dist/index-DVvlf-iS.mjs +62 -0
  24. package/dist/index-DelDUsnl.mjs +504 -0
  25. package/dist/index-DwYDVqTx.mjs +497 -0
  26. package/dist/index-U4WVV44p.mjs +1412 -0
  27. package/dist/index-dCp3LVPJ.mjs +415 -0
  28. package/dist/index-s8Isx9r4.mjs +4 -0
  29. package/dist/index.mjs +2818 -0
  30. package/dist/index.vue_vue_type_script_setup_true_lang-CEG9dHlK.mjs +309 -0
  31. package/dist/info-Br2M6Km-.mjs +4 -0
  32. package/dist/info-CFB6sv2K.mjs +4 -0
  33. package/dist/info-CXnZKXhF.mjs +4 -0
  34. package/dist/info-DrJSbVMC.mjs +4 -0
  35. package/dist/info-Fz09GDFn.mjs +4 -0
  36. package/dist/info.vue_vue_type_script_setup_true_lang-Bqk5gi3s.mjs +275 -0
  37. package/dist/info.vue_vue_type_script_setup_true_lang-CZzSMDzL.mjs +211 -0
  38. package/dist/info.vue_vue_type_script_setup_true_lang-D-RdMz1r.mjs +169 -0
  39. package/dist/info.vue_vue_type_script_setup_true_lang-DmEdMXdW.mjs +211 -0
  40. package/dist/info.vue_vue_type_script_setup_true_lang-kb5E2gev.mjs +211 -0
  41. package/dist/style.css +1 -0
  42. package/dts/src/App.vue.d.ts +2 -0
  43. package/dts/src/api/reports/dict.d.ts +7 -0
  44. package/dts/src/api/reports/index.d.ts +15 -0
  45. package/dts/src/api/reports/report-demand-ledger/index.d.ts +13 -0
  46. package/dts/src/api/reports/report-demand-ledger/types.d.ts +91 -0
  47. package/dts/src/api/reports/report-demand-record/index.d.ts +13 -0
  48. package/dts/src/api/reports/report-demand-record/types.d.ts +63 -0
  49. package/dts/src/api/reports/report-files/index.d.ts +8 -0
  50. package/dts/src/api/reports/report-files/types.d.ts +85 -0
  51. package/dts/src/api/reports/report-third-party/index.d.ts +16 -0
  52. package/dts/src/api/reports/report-third-party/types.d.ts +100 -0
  53. package/dts/src/api/reports/task-inspect-matters/index.d.ts +20 -0
  54. package/dts/src/api/reports/task-inspect-matters/types.d.ts +78 -0
  55. package/dts/src/api/reports/task-inspect-type/index.d.ts +20 -0
  56. package/dts/src/api/reports/task-inspect-type/types.d.ts +68 -0
  57. package/dts/src/constant.d.ts +38 -0
  58. package/dts/src/index.d.ts +6 -0
  59. package/dts/src/lang/index.d.ts +1 -0
  60. package/dts/src/lang/reports/en.d.ts +0 -0
  61. package/dts/src/lang/reports/zh-cn.d.ts +207 -0
  62. package/dts/src/main.d.ts +5 -0
  63. package/dts/src/permission.d.ts +1 -0
  64. package/dts/src/router/index.d.ts +9 -0
  65. package/dts/src/utils/timePlugin.d.ts +5 -0
  66. package/dts/src/views/reports/report-demand-ledger/edit.vue.d.ts +37 -0
  67. package/dts/src/views/reports/report-demand-ledger/follow.vue.d.ts +55 -0
  68. package/dts/src/views/reports/report-demand-ledger/index.vue.d.ts +2 -0
  69. package/dts/src/views/reports/report-demand-ledger/info.vue.d.ts +28 -0
  70. package/dts/src/views/reports/report-third-matter/edit.vue.d.ts +37 -0
  71. package/dts/src/views/reports/report-third-matter/import-upload.vue.d.ts +31 -0
  72. package/dts/src/views/reports/report-third-matter/index.vue.d.ts +2 -0
  73. package/dts/src/views/reports/report-third-matter/info.vue.d.ts +28 -0
  74. package/dts/src/views/reports/report-third-month-summary/edit.vue.d.ts +37 -0
  75. package/dts/src/views/reports/report-third-month-summary/index.vue.d.ts +2 -0
  76. package/dts/src/views/reports/report-third-month-summary/info.vue.d.ts +28 -0
  77. package/dts/src/views/reports/report-third-party/edit.vue.d.ts +37 -0
  78. package/dts/src/views/reports/report-third-party/index.vue.d.ts +2 -0
  79. package/dts/src/views/reports/report-third-party/info.vue.d.ts +28 -0
  80. package/dts/src/views/reports/report-third-use-support/edit.vue.d.ts +37 -0
  81. package/dts/src/views/reports/report-third-use-support/import-upload.vue.d.ts +31 -0
  82. package/dts/src/views/reports/report-third-use-support/index.vue.d.ts +2 -0
  83. package/dts/src/views/reports/report-third-use-support/info.vue.d.ts +28 -0
  84. package/dts/src/views/reports/task-inspect-matters/edit.vue.d.ts +28 -0
  85. package/dts/src/views/reports/task-inspect-matters/index.vue.d.ts +2 -0
  86. package/dts/src/views/reports/task-inspect-type/add.vue.d.ts +11 -0
  87. package/dts/src/views/reports/task-inspect-type/edit.vue.d.ts +2 -0
  88. package/dts/src/views/reports/task-inspect-type/index.vue.d.ts +2 -0
  89. package/package.json +61 -0
@@ -0,0 +1,211 @@
1
+ import { defineComponent as k, mergeModels as h, useModel as $, ref as I, resolveComponent as u, createBlock as O, openBlock as _, withCtx as e, createVNode as t, createTextVNode as a, toDisplayString as n, unref as m, createElementBlock as T, Fragment as C, renderList as L } from "vue";
2
+ import { fileApi as U } from "jmash-core";
3
+ import { D as d } from "./index-Bu_3ElUk.mjs";
4
+ import { b as z } from "./index-B_hFZVhb-C3Oi__-I.mjs";
5
+ import { r as M } from "./index-D1lQtxJR.mjs";
6
+ import { r as N } from "./index-DOju9U4r.mjs";
7
+ const G = /* @__PURE__ */ k({
8
+ __name: "info",
9
+ props: /* @__PURE__ */ h({
10
+ entityKey: {
11
+ type: Object,
12
+ default: () => {
13
+ }
14
+ }
15
+ }, {
16
+ modelValue: { type: Boolean },
17
+ modelModifiers: {}
18
+ }),
19
+ emits: /* @__PURE__ */ h(["refresh"], ["update:modelValue"]),
20
+ setup(b, { emit: E }) {
21
+ d.orgIdBizDict.useValues(), d.itemBizLayDict.useValues(), d.involvedPlateDict.useValues(), console.log(d.noticeUserDict.values, "=>Dict.noticeUserDict ");
22
+ const c = $(b, "modelValue"), v = I([]), i = I({}), g = b;
23
+ N.findById({ reportId: g.entityKey.reportId }).then(({ data: l }) => {
24
+ i.value = l;
25
+ }), M.findList({ actionId: g.entityKey.reportId }).then(({ data: l }) => {
26
+ v.value = l.results;
27
+ });
28
+ async function V(l) {
29
+ try {
30
+ const s = U.fileUrl(l.filePath), o = await (await fetch(s)).blob(), y = window.URL.createObjectURL(o), p = document.createElement("a");
31
+ p.href = y, p.download = l.fileName || "download", document.body.appendChild(p), p.click();
32
+ } catch {
33
+ }
34
+ }
35
+ function D() {
36
+ c.value && (c.value = !1);
37
+ }
38
+ return (l, s) => {
39
+ const r = u("el-form-item"), o = u("el-col"), y = u("el-button"), p = u("el-row"), B = u("el-form"), P = u("el-dialog");
40
+ return _(), O(P, {
41
+ modelValue: c.value,
42
+ "onUpdate:modelValue": s[0] || (s[0] = (f) => c.value = f),
43
+ onClose: D
44
+ }, {
45
+ default: e(() => [
46
+ t(B, {
47
+ ref: "ledgerFormRef",
48
+ "label-width": "150px",
49
+ class: "custom-table-form custom-form"
50
+ }, {
51
+ default: e(() => [
52
+ t(p, null, {
53
+ default: e(() => [
54
+ t(o, { span: 12 }, {
55
+ default: e(() => [
56
+ t(r, {
57
+ label: l.$t("reportThirdParty.govOrgId"),
58
+ prop: "govOrgId"
59
+ }, {
60
+ default: e(() => [
61
+ a(n(m(d).orgIdBizDict.getValue(i.value.govOrgId)), 1)
62
+ ]),
63
+ _: 1
64
+ }, 8, ["label"])
65
+ ]),
66
+ _: 1
67
+ }),
68
+ t(o, { span: 12 }, {
69
+ default: e(() => [
70
+ t(r, {
71
+ label: l.$t("reportThirdParty.itsmId"),
72
+ prop: "itsmId"
73
+ }, {
74
+ default: e(() => [
75
+ a(n(m(d).itemBizLayDict.getValue(i.value.itsmId)), 1)
76
+ ]),
77
+ _: 1
78
+ }, 8, ["label"])
79
+ ]),
80
+ _: 1
81
+ }),
82
+ t(o, { span: 12 }, {
83
+ default: e(() => [
84
+ t(r, {
85
+ label: l.$t("reportThirdParty.outOrgId"),
86
+ prop: "outOrgId"
87
+ }, {
88
+ default: e(() => [
89
+ a(n(m(d).orgIdBizDict.getValue(i.value.outOrgId)), 1)
90
+ ]),
91
+ _: 1
92
+ }, 8, ["label"])
93
+ ]),
94
+ _: 1
95
+ }),
96
+ t(o, { span: 12 }, {
97
+ default: e(() => [
98
+ t(r, {
99
+ label: l.$t("reportThirdParty.createBy"),
100
+ prop: "createBy"
101
+ }, {
102
+ default: e(() => [
103
+ a(n(m(z).userInfo(i.value.createBy).realName), 1)
104
+ ]),
105
+ _: 1
106
+ }, 8, ["label"])
107
+ ]),
108
+ _: 1
109
+ }),
110
+ t(o, { span: 24 }, {
111
+ default: e(() => [
112
+ t(r, {
113
+ label: l.$t("reportThirdParty.matterType"),
114
+ prop: "matterType"
115
+ }, {
116
+ default: e(() => [
117
+ a(n(m(d).matterTypeEnum.getEnumValue(i.value.matterType)), 1)
118
+ ]),
119
+ _: 1
120
+ }, 8, ["label"])
121
+ ]),
122
+ _: 1
123
+ }),
124
+ t(o, { span: 24 }, {
125
+ default: e(() => [
126
+ t(r, {
127
+ label: l.$t("reportThirdParty.likeDescribe"),
128
+ prop: "describe"
129
+ }, {
130
+ default: e(() => [
131
+ a(n(i.value.describe), 1)
132
+ ]),
133
+ _: 1
134
+ }, 8, ["label"])
135
+ ]),
136
+ _: 1
137
+ }),
138
+ t(o, { span: 12 }, {
139
+ default: e(() => [
140
+ t(r, {
141
+ label: l.$t("reportThirdParty.matterSource "),
142
+ prop: "matterSource "
143
+ }, {
144
+ default: e(() => [
145
+ a(n(i.value.matterSource), 1)
146
+ ]),
147
+ _: 1
148
+ }, 8, ["label"])
149
+ ]),
150
+ _: 1
151
+ }),
152
+ t(o, { span: 12 }, {
153
+ default: e(() => [
154
+ t(r, {
155
+ label: l.$t("reportThirdParty.proposeMethod"),
156
+ prop: "proposeMethod"
157
+ }, {
158
+ default: e(() => [
159
+ a(n(i.value.proposeMethod), 1)
160
+ ]),
161
+ _: 1
162
+ }, 8, ["label"])
163
+ ]),
164
+ _: 1
165
+ }),
166
+ t(o, { span: 24 }, {
167
+ default: e(() => [
168
+ t(r, {
169
+ label: l.$t("reportThirdParty.files"),
170
+ prop: "files"
171
+ }, {
172
+ default: e(() => [
173
+ (_(!0), T(C, null, L(v.value, (f, w) => (_(), T("div", {
174
+ key: w,
175
+ class: "files-list"
176
+ }, [
177
+ a(n(f.fileName) + " ", 1),
178
+ t(y, {
179
+ type: "primary",
180
+ link: "",
181
+ size: "small",
182
+ class: "icon-right",
183
+ onClick: (S) => V(f)
184
+ }, {
185
+ default: e(() => [...s[1] || (s[1] = [
186
+ a(" 查看 ", -1)
187
+ ])]),
188
+ _: 2
189
+ }, 1032, ["onClick"])
190
+ ]))), 128))
191
+ ]),
192
+ _: 1
193
+ }, 8, ["label"])
194
+ ]),
195
+ _: 1
196
+ })
197
+ ]),
198
+ _: 1
199
+ })
200
+ ]),
201
+ _: 1
202
+ }, 512)
203
+ ]),
204
+ _: 1
205
+ }, 8, ["modelValue"]);
206
+ };
207
+ }
208
+ });
209
+ export {
210
+ G as _
211
+ };
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ @charset "UTF-8";.title{text-align:center;font-weight:700;font-size:18px;margin-bottom:15px;margin-top:15px}.addButton{margin-top:15px;margin-bottom:20px;width:100%}.hover-blue:hover{color:#409eff!important}.custom-table-form{border:1px solid #ebeef5}.custom-table-form .el-form-item{margin-bottom:0;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #ebeef5;min-height:50px}.custom-table-form .el-form-item__label{border-right:1px solid #ebeef5;display:flex;align-items:center;justify-content:center}.custom-table-form .el-form-item__content{border-right:1px solid #ebeef5;flex:1;display:flex;align-items:center;padding:8px 10px}.custom-form .el-form-item__error{top:80%;left:10px;font-size:13px;color:#ff4949;padding-top:4px}.bordered-row{border:1px solid #ebeef5}.content-box{display:flex;flex-direction:column}.with-divider{position:relative}.with-divider:before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background-color:#ebeef5}.content-box-top{padding:10px 12px;height:140px;gap:8px;display:flex;flex-direction:column}.content-box-bottom{padding:10px 12px;display:flex;align-items:center;gap:40px}.with-end{color:#888;margin-left:10px;margin-top:10px}.position-center[data-v-6ff77840]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-6ff77840]{position:absolute;right:0;top:0;margin-top:8px}.position-center[data-v-6492c065]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-6492c065]{position:absolute;right:0;top:0;margin-top:8px}.position-center[data-v-e212dd4e]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-e212dd4e]{position:absolute;right:0;top:0;margin-top:8px}.row[data-v-3923a9e7]{display:flex;align-items:center;margin-bottom:10px}.position-center[data-v-21e3a95f]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-21e3a95f]{position:absolute;right:0;top:0;margin-top:8px}.position-center[data-v-59634588]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-59634588]{position:absolute;right:0;top:0;margin-top:8px}.position-center[data-v-6c68963c]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-6c68963c]{position:absolute;right:0;top:0;margin-top:8px}.row[data-v-756680b6]{display:flex;align-items:center;margin-bottom:10px}.position-center[data-v-d56cab0d]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-d56cab0d]{position:absolute;right:0;top:0;margin-top:8px}.position-center[data-v-dcc3fb2b]{position:absolute;right:0;top:30%;transform:translateY(-30%)}.plus-position[data-v-dcc3fb2b]{position:absolute;right:0;top:0;margin-top:8px}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { BizDict, type Entry } from "jmash-core";
2
+ export declare class OrgIdBizDict extends BizDict {
3
+ useValues(): Promise<Entry[]>;
4
+ }
5
+ export declare class ItemBizDict extends BizDict {
6
+ useValues(): Promise<Entry[]>;
7
+ }
@@ -0,0 +1,15 @@
1
+ import { CustomBizDict, EnumDict } from "jmash-core";
2
+ import { ItemBizDict, OrgIdBizDict } from "./dict";
3
+ import { EntryBizLayDict, EntryDict } from "jmash-dict";
4
+ export declare class Dict {
5
+ static readonly itemBizLayDict: ItemBizDict;
6
+ static readonly orgIdBizDict: OrgIdBizDict;
7
+ static readonly stateDict: EnumDict;
8
+ static readonly escalateDict: CustomBizDict;
9
+ static readonly involvedPlateDict: EntryBizLayDict;
10
+ static readonly noticeTypeDict: EntryDict;
11
+ static readonly noticeUserDict: EntryDict;
12
+ static readonly matterTypeEnum: EnumDict;
13
+ static readonly inspectTypeEnum: EnumDict;
14
+ static readonly inspectStatusEnum: CustomBizDict;
15
+ }
@@ -0,0 +1,13 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { ReportDemandLedgerApi, ReportDemandLedgerReq, ReportDemandLedgerModel, ReportDemandLedgerPage, ReportDemandLedgerList, ReportDemandLedgerKey, ReportDemandLedgerCreateReq, ReportDemandLedgerUpdateReq } from "./types";
3
+ declare class ReportDemandLedgerApiImpl implements ReportDemandLedgerApi {
4
+ getKey(model: ReportDemandLedgerModel): ReportDemandLedgerKey;
5
+ findPage(query?: ReportDemandLedgerReq): AxiosPromise<ReportDemandLedgerPage>;
6
+ findList(query?: ReportDemandLedgerReq): AxiosPromise<ReportDemandLedgerList>;
7
+ findById(query: ReportDemandLedgerKey): AxiosPromise<ReportDemandLedgerModel>;
8
+ create(data: ReportDemandLedgerCreateReq): AxiosPromise<ReportDemandLedgerModel>;
9
+ update(data: ReportDemandLedgerUpdateReq): AxiosPromise<ReportDemandLedgerModel>;
10
+ delete(query: ReportDemandLedgerKey): AxiosPromise<ReportDemandLedgerModel>;
11
+ }
12
+ declare const reportDemandLedgerApi: ReportDemandLedgerApiImpl;
13
+ export { reportDemandLedgerApi };
@@ -0,0 +1,91 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq, FilesReq } from "jmash-core";
2
+ export interface ReportDemandLedgerApi extends EntityApi {
3
+ }
4
+ export interface ReportDemandLedgerReq extends EntityReq {
5
+ createBy?: string;
6
+ demandDateStart?: string;
7
+ demandDateEnd?: string;
8
+ govOrgId?: string;
9
+ itemId?: string;
10
+ likeContent?: string;
11
+ hasState?: boolean;
12
+ state?: string;
13
+ }
14
+ export interface ReportDemandLedgerModel extends EntityModel {
15
+ ledgerId?: string;
16
+ govOrgId?: string;
17
+ itemId?: string;
18
+ demandDate?: string;
19
+ content?: string;
20
+ state?: string;
21
+ isEscalate?: boolean;
22
+ involvedPlate?: string;
23
+ proposeMethod?: string;
24
+ notifyType?: string;
25
+ notifyUser?: string;
26
+ createBy?: string;
27
+ createTime?: string;
28
+ }
29
+ export interface ReportDemandLedgerList extends EntityList {
30
+ results: Array<ReportDemandLedgerModel>;
31
+ }
32
+ export interface ReportDemandLedgerPage extends EntityPage {
33
+ results: Array<ReportDemandLedgerModel>;
34
+ subTotalDto: ReportDemandLedgerModelTotal;
35
+ totalDto: ReportDemandLedgerModelTotal;
36
+ }
37
+ export interface ReportDemandLedgerModelTotal extends EntityTotal {
38
+ totalSize: number;
39
+ }
40
+ export interface ReportDemandLedgerKey extends EntityKey {
41
+ tenant?: string;
42
+ ledgerId?: string;
43
+ }
44
+ export interface ReportDemandLedgerKeyList extends EntityKeyList {
45
+ tenant?: string;
46
+ ledgerId?: Array<string>;
47
+ }
48
+ export interface ReportDemandLedgerCreateReq extends EntityCreateReq {
49
+ ledgerId?: string;
50
+ govOrgId?: string;
51
+ itemId?: string;
52
+ demandDate?: string;
53
+ content?: string;
54
+ state?: string;
55
+ isEscalate?: boolean;
56
+ involvedPlate?: string;
57
+ proposeMethod?: string;
58
+ notifyType?: string;
59
+ notifyUser?: string;
60
+ files?: Array<FilesReq>;
61
+ }
62
+ export interface ReportDemandLedgerUpdateReq extends EntityUpdateReq {
63
+ ledgerId?: string;
64
+ govOrgId?: string;
65
+ itemId?: string;
66
+ demandDate?: string;
67
+ content?: string;
68
+ state?: string;
69
+ isEscalate?: boolean;
70
+ involvedPlate?: string;
71
+ proposeMethod?: string;
72
+ notifyType?: string;
73
+ notifyUser?: string;
74
+ files?: Array<FilesReq>;
75
+ }
76
+ export type ReportDemandLedgerFormReq = ReportDemandLedgerCreateReq | ReportDemandLedgerUpdateReq;
77
+ export interface ReportDemandLedgerExportReq extends EntityExportReq {
78
+ req: ReportDemandLedgerReq;
79
+ }
80
+ export interface ReportDemandLedgerImportReq extends EntityImportReq {
81
+ }
82
+ export interface ReportDemandLedgerMoveKey {
83
+ tenant?: string;
84
+ ledgerId?: string;
85
+ up?: boolean;
86
+ }
87
+ export interface ReportDemandLedgerEnableKey {
88
+ tenant?: string;
89
+ ledgerId?: string;
90
+ enable?: boolean;
91
+ }
@@ -0,0 +1,13 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { ReportDemandRecordApi, ReportDemandRecordReq, ReportDemandRecordModel, ReportDemandRecordPage, ReportDemandRecordList, ReportDemandRecordKey, ReportDemandRecordCreateReq, ReportDemandRecordUpdateReq } from "./types";
3
+ declare class ReportDemandRecordApiImpl implements ReportDemandRecordApi {
4
+ getKey(model: ReportDemandRecordModel): ReportDemandRecordKey;
5
+ findPage(query?: ReportDemandRecordReq): AxiosPromise<ReportDemandRecordPage>;
6
+ findList(query?: ReportDemandRecordReq): AxiosPromise<ReportDemandRecordList>;
7
+ findById(query: ReportDemandRecordKey): AxiosPromise<ReportDemandRecordModel>;
8
+ create(data: ReportDemandRecordCreateReq): AxiosPromise<ReportDemandRecordModel>;
9
+ update(data: ReportDemandRecordUpdateReq): AxiosPromise<ReportDemandRecordModel>;
10
+ delete(query: ReportDemandRecordKey): AxiosPromise<ReportDemandRecordModel>;
11
+ }
12
+ declare const reportDemandRecordApi: ReportDemandRecordApiImpl;
13
+ export { reportDemandRecordApi };
@@ -0,0 +1,63 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
2
+ export interface ReportDemandRecordApi extends EntityApi {
3
+ }
4
+ export interface ReportDemandRecordReq extends EntityReq {
5
+ }
6
+ export interface ReportDemandRecordModel extends EntityModel {
7
+ recordId?: string;
8
+ ledgerId?: string;
9
+ traceDate?: string;
10
+ content?: string;
11
+ createBy?: string;
12
+ createTime?: string;
13
+ updateBy?: string;
14
+ updateTime?: string;
15
+ }
16
+ export interface ReportDemandRecordList extends EntityList {
17
+ results: Array<ReportDemandRecordModel>;
18
+ }
19
+ export interface ReportDemandRecordPage extends EntityPage {
20
+ results: Array<ReportDemandRecordModel>;
21
+ subTotalDto: ReportDemandRecordModelTotal;
22
+ totalDto: ReportDemandRecordModelTotal;
23
+ }
24
+ export interface ReportDemandRecordModelTotal extends EntityTotal {
25
+ totalSize: number;
26
+ }
27
+ export interface ReportDemandRecordKey extends EntityKey {
28
+ tenant?: string;
29
+ recordId?: string;
30
+ }
31
+ export interface ReportDemandRecordKeyList extends EntityKeyList {
32
+ tenant?: string;
33
+ recordId?: Array<string>;
34
+ }
35
+ export interface ReportDemandRecordCreateReq extends EntityCreateReq {
36
+ recordId?: string;
37
+ ledgerId?: string;
38
+ traceDate?: string;
39
+ content?: string;
40
+ state?: string;
41
+ }
42
+ export interface ReportDemandRecordUpdateReq extends EntityUpdateReq {
43
+ recordId?: string;
44
+ ledgerId?: string;
45
+ traceDate?: string;
46
+ content?: string;
47
+ }
48
+ export type ReportDemandRecordFormReq = ReportDemandRecordCreateReq | ReportDemandRecordUpdateReq;
49
+ export interface ReportDemandRecordExportReq extends EntityExportReq {
50
+ req: ReportDemandRecordReq;
51
+ }
52
+ export interface ReportDemandRecordImportReq extends EntityImportReq {
53
+ }
54
+ export interface ReportDemandRecordMoveKey {
55
+ tenant?: string;
56
+ recordId?: string;
57
+ up?: boolean;
58
+ }
59
+ export interface ReportDemandRecordEnableKey {
60
+ tenant?: string;
61
+ recordId?: string;
62
+ enable?: boolean;
63
+ }
@@ -0,0 +1,8 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { ReportFilesApi, ReportFilesReq, ReportFilesModel, ReportFilesList, ReportFilesKey } from "./types";
3
+ declare class ReportFilesApiImpl implements ReportFilesApi {
4
+ getKey(model: ReportFilesModel): ReportFilesKey;
5
+ findList(query?: ReportFilesReq): AxiosPromise<ReportFilesList>;
6
+ }
7
+ declare const reportFilesApi: ReportFilesApiImpl;
8
+ export { reportFilesApi };
@@ -0,0 +1,85 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq } from "jmash-core";
2
+ export interface ReportFilesApi extends EntityApi {
3
+ }
4
+ export interface ReportFilesReq extends EntityReq {
5
+ actionId?: string;
6
+ }
7
+ export interface ReportFilesModel extends EntityModel {
8
+ filesId?: string;
9
+ actionId?: string;
10
+ fileSort?: string;
11
+ fileId?: string;
12
+ fileName?: string;
13
+ fileType?: string;
14
+ filePath?: string;
15
+ fileSize?: string;
16
+ fileExt?: string;
17
+ fileWidth?: string;
18
+ fileHeight?: string;
19
+ orderBy?: string;
20
+ createTime?: string;
21
+ createBy?: string;
22
+ }
23
+ export interface ReportFilesList extends EntityList {
24
+ results: Array<ReportFilesModel>;
25
+ }
26
+ export interface ReportFilesPage extends EntityPage {
27
+ results: Array<ReportFilesModel>;
28
+ subTotalDto: ReportFilesModelTotal;
29
+ totalDto: ReportFilesModelTotal;
30
+ }
31
+ export interface ReportFilesModelTotal extends EntityTotal {
32
+ totalSize: number;
33
+ }
34
+ export interface ReportFilesKey extends EntityKey {
35
+ tenant?: string;
36
+ filesId?: string;
37
+ }
38
+ export interface ReportFilesKeyList extends EntityKeyList {
39
+ tenant?: string;
40
+ filesId?: Array<string>;
41
+ }
42
+ export interface ReportFilesCreateReq extends EntityCreateReq {
43
+ filesId?: string;
44
+ actionId?: string;
45
+ fileSort?: string;
46
+ fileId?: string;
47
+ fileName?: string;
48
+ fileType?: string;
49
+ filePath?: string;
50
+ fileSize?: string;
51
+ fileExt?: string;
52
+ fileWidth?: string;
53
+ fileHeight?: string;
54
+ orderBy?: string;
55
+ }
56
+ export interface ReportFilesUpdateReq extends EntityUpdateReq {
57
+ filesId?: string;
58
+ actionId?: string;
59
+ fileSort?: string;
60
+ fileId?: string;
61
+ fileName?: string;
62
+ fileType?: string;
63
+ filePath?: string;
64
+ fileSize?: string;
65
+ fileExt?: string;
66
+ fileWidth?: string;
67
+ fileHeight?: string;
68
+ orderBy?: string;
69
+ }
70
+ export type ReportFilesFormReq = ReportFilesCreateReq | ReportFilesUpdateReq;
71
+ export interface ReportFilesExportReq extends EntityExportReq {
72
+ req: ReportFilesReq;
73
+ }
74
+ export interface ReportFilesImportReq extends EntityImportReq {
75
+ }
76
+ export interface ReportFilesMoveKey {
77
+ tenant?: string;
78
+ filesId?: string;
79
+ up?: boolean;
80
+ }
81
+ export interface ReportFilesEnableKey {
82
+ tenant?: string;
83
+ filesId?: string;
84
+ enable?: boolean;
85
+ }
@@ -0,0 +1,16 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { ReportThirdPartyApi, ReportThirdPartyReq, ReportThirdPartyModel, ReportThirdPartyPage, ReportThirdPartyList, ReportThirdPartyKey, ReportThirdPartyCreateReq, ReportThirdPartyUpdateReq, ReportThirdPartyExportReq, ReportThirdPartyImportReq } from "./types";
3
+ declare class ReportThirdPartyApiImpl implements ReportThirdPartyApi {
4
+ getKey(model: ReportThirdPartyModel): ReportThirdPartyKey;
5
+ findPage(query?: ReportThirdPartyReq): AxiosPromise<ReportThirdPartyPage>;
6
+ findList(query?: ReportThirdPartyReq): AxiosPromise<ReportThirdPartyList>;
7
+ findById(query: ReportThirdPartyKey): AxiosPromise<ReportThirdPartyModel>;
8
+ create(data: ReportThirdPartyCreateReq): AxiosPromise<ReportThirdPartyModel>;
9
+ update(data: ReportThirdPartyUpdateReq): AxiosPromise<ReportThirdPartyModel>;
10
+ delete(query: ReportThirdPartyKey): AxiosPromise<ReportThirdPartyModel>;
11
+ downloadTemplate(): AxiosPromise;
12
+ importExcel(data: ReportThirdPartyImportReq): AxiosPromise<string>;
13
+ exportExcel(queryParams: ReportThirdPartyExportReq): AxiosPromise;
14
+ }
15
+ declare const reportThirdPartyApi: ReportThirdPartyApiImpl;
16
+ export { reportThirdPartyApi };
@@ -0,0 +1,100 @@
1
+ import type { EntityApi, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityExportReq, EntityImportReq, FilesReq } from "jmash-core";
2
+ export interface ReportThirdPartyApi extends EntityApi {
3
+ }
4
+ export interface ReportThirdPartyReq extends EntityReq {
5
+ govOrgId?: string;
6
+ itsmId?: string;
7
+ likeDescribe?: string;
8
+ outOrgId?: string;
9
+ hasMatterSort?: boolean;
10
+ matterSort?: string;
11
+ hasMatterType?: boolean;
12
+ matterType?: string;
13
+ }
14
+ export interface ReportThirdPartyModel extends EntityModel {
15
+ reportId?: string;
16
+ govOrgId?: string;
17
+ itsmId?: string;
18
+ matterSort?: string;
19
+ matterType?: string;
20
+ describe?: string;
21
+ outOrgId?: string;
22
+ matterSource?: string;
23
+ proposeMethod?: string;
24
+ createBy?: string;
25
+ createTime?: string;
26
+ updateBy?: string;
27
+ updateTime?: string;
28
+ }
29
+ export interface ReportThirdPartyList extends EntityList {
30
+ results: Array<ReportThirdPartyModel>;
31
+ }
32
+ export interface ReportThirdPartyPage extends EntityPage {
33
+ results: Array<ReportThirdPartyModel>;
34
+ subTotalDto: ReportThirdPartyModelTotal;
35
+ totalDto: ReportThirdPartyModelTotal;
36
+ }
37
+ export interface ReportThirdPartyModelTotal extends EntityTotal {
38
+ totalSize: number;
39
+ }
40
+ export interface ReportThirdPartyKey extends EntityKey {
41
+ tenant?: string;
42
+ reportId?: string;
43
+ }
44
+ export interface ReportThirdPartyKeyList extends EntityKeyList {
45
+ tenant?: string;
46
+ reportId?: Array<string>;
47
+ }
48
+ export interface ReportThirdPartyCreateReq extends EntityCreateReq {
49
+ reportId?: string;
50
+ govOrgId?: string;
51
+ itsmId?: string;
52
+ matterSort?: string;
53
+ matterType?: string;
54
+ describe?: string;
55
+ outOrgId?: string;
56
+ matterSource?: string;
57
+ proposeMethod?: string;
58
+ files?: Array<FilesReq>;
59
+ }
60
+ export interface ReportThirdPartyUpdateReq extends EntityUpdateReq {
61
+ reportId?: string;
62
+ govOrgId?: string;
63
+ itsmId?: string;
64
+ matterSort?: string;
65
+ matterType?: string;
66
+ describe?: string;
67
+ outOrgId?: string;
68
+ matterSource?: string;
69
+ proposeMethod?: string;
70
+ files?: Array<FilesReq>;
71
+ }
72
+ export type ReportThirdPartyFormReq = ReportThirdPartyCreateReq | ReportThirdPartyUpdateReq;
73
+ export interface ReportThirdPartyExportReq extends EntityExportReq {
74
+ tenant: string;
75
+ title?: string;
76
+ fileName?: string;
77
+ req: ReportThirdPartyReq;
78
+ }
79
+ export interface ReportThirdPartyImportReq extends EntityImportReq {
80
+ matterSort: string;
81
+ }
82
+ export interface ImportType {
83
+ tenant: string;
84
+ requestId: string;
85
+ fileNames: string;
86
+ updateMask: string;
87
+ addFlag: boolean;
88
+ govOrgId: string;
89
+ itsmId: string;
90
+ }
91
+ export interface ReportThirdPartyMoveKey {
92
+ tenant?: string;
93
+ reportId?: string;
94
+ up?: boolean;
95
+ }
96
+ export interface ReportThirdPartyEnableKey {
97
+ tenant?: string;
98
+ reportId?: string;
99
+ enable?: boolean;
100
+ }
@@ -0,0 +1,20 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { TaskInspectMattersApi, TaskInspectMattersReq, TaskInspectMattersModel, TaskInspectMattersPage, TaskInspectMattersList, TaskInspectMattersKey, TaskInspectMattersCreateReq, TaskInspectMattersUpdateReq, TaskInspectMattersExportReq, TaskInspectMattersImportReq } from "./types";
3
+ declare class TaskInspectMattersApiImpl implements TaskInspectMattersApi {
4
+ getKey(model: TaskInspectMattersModel): TaskInspectMattersKey;
5
+ findPage(query?: TaskInspectMattersReq): AxiosPromise<TaskInspectMattersPage>;
6
+ findList(query?: TaskInspectMattersReq): AxiosPromise<TaskInspectMattersList>;
7
+ findById(query: TaskInspectMattersKey): AxiosPromise<TaskInspectMattersModel>;
8
+ create(data: TaskInspectMattersCreateReq): AxiosPromise<TaskInspectMattersModel>;
9
+ update(data: TaskInspectMattersUpdateReq): AxiosPromise<TaskInspectMattersModel>;
10
+ move(key: TaskInspectMattersKey, up: boolean): AxiosPromise<boolean>;
11
+ enable(key: TaskInspectMattersKey, enable: boolean): AxiosPromise<boolean>;
12
+ delete(query: TaskInspectMattersKey): AxiosPromise<TaskInspectMattersModel>;
13
+ batchDelete(keys: TaskInspectMattersKey[]): AxiosPromise<number>;
14
+ downloadTemplate(): AxiosPromise;
15
+ importExcel(data: TaskInspectMattersImportReq): AxiosPromise<string>;
16
+ exportExcel(queryParams: TaskInspectMattersExportReq): AxiosPromise;
17
+ exportPdf(queryParams: TaskInspectMattersExportReq): AxiosPromise;
18
+ }
19
+ declare const taskInspectMattersApi: TaskInspectMattersApiImpl;
20
+ export { taskInspectMattersApi };