@gct-paas/api 0.1.6-dev.6 → 0.1.6-dev.7
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.
- package/dist/index.esm.min.js +1 -0
- package/es/apaas/service/api-config.mjs +452 -5
- package/es/apaas/service/apis/app-global-settings.service.d.ts +0 -4
- package/es/apaas/service/apis/app-org.service.d.ts +0 -4
- package/es/apaas/service/apis/approve.service.d.ts +54 -0
- package/es/apaas/service/apis/audit-log.service.d.ts +7 -0
- package/es/apaas/service/apis/category.service.d.ts +8 -0
- package/es/apaas/service/apis/data-source.service.d.ts +4 -0
- package/es/apaas/service/apis/detail-page.service.d.ts +96 -0
- package/es/apaas/service/apis/dhr.service.d.ts +2 -2
- package/es/apaas/service/apis/doc-control-started.service.d.ts +76 -1
- package/es/apaas/service/apis/doc-control-task-todo.service.d.ts +12 -0
- package/es/apaas/service/apis/edhr-instance.service.d.ts +16 -0
- package/es/apaas/service/apis/edhr-tmpl.service.d.ts +18 -5
- package/es/apaas/service/apis/enum-model-field.service.d.ts +8 -0
- package/es/apaas/service/apis/excel.service.d.ts +6 -2
- package/es/apaas/service/apis/field-meta.service.d.ts +21 -0
- package/es/apaas/service/apis/file.service.d.ts +4 -0
- package/es/apaas/service/apis/inspection-category.service.d.ts +84 -0
- package/es/apaas/service/apis/label.service.d.ts +11 -3
- package/es/apaas/service/apis/med-pro.service.d.ts +108 -0
- package/es/apaas/service/apis/medPro.service.d.ts +49 -21
- package/es/apaas/service/apis/model-meta.service.d.ts +15 -1
- package/es/apaas/service/apis/model-method.service.d.ts +19 -1
- package/es/apaas/service/apis/online-form-instance.service.d.ts +78 -0
- package/es/apaas/service/apis/online-form-tmpl-export.service.d.ts +29 -0
- package/es/apaas/service/apis/online-form-tmpl.service.d.ts +77 -0
- package/es/apaas/service/apis/online-form.service.d.ts +8 -1
- package/es/apaas/service/apis/process-task-done.service.d.ts +28 -1
- package/es/apaas/service/apis/process-task-todo.service.d.ts +44 -1
- package/es/apaas/service/apis/product-release-category.service.d.ts +84 -0
- package/es/apaas/service/apis/ss.service.d.ts +8 -0
- package/es/apaas/service/apis/transaction.service.d.ts +157 -0
- package/es/apaas/service/apis/user.service.d.ts +31 -0
- package/es/apaas/service/entities.d.ts +3159 -76
- package/es/apaas/service/index.d.ts +14 -0
- package/es/ipaas/service/api-config.mjs +29 -5
- package/es/ipaas/service/apis/camel.service.d.ts +18 -5
- package/es/ipaas/service/apis/flow.service.d.ts +77 -1
- package/es/ipaas/service/apis/runtime.service.d.ts +13 -0
- package/es/ipaas/service/entities.d.ts +168 -0
- package/es/platform/service/api-config.mjs +48 -2
- package/es/platform/service/apis/api.service.d.ts +52 -1
- package/es/platform/service/apis/bi-app.service.d.ts +4 -3
- package/es/platform/service/apis/file-task.service.d.ts +13 -0
- package/es/platform/service/apis/invoke-log.service.d.ts +17 -1
- package/es/platform/service/apis/license.service.d.ts +18 -0
- package/es/platform/service/apis/login-log.service.d.ts +13 -0
- package/es/platform/service/apis/plat.service.d.ts +7 -0
- package/es/platform/service/entities.d.ts +529 -4
- package/es/service/api-manage.mjs +2 -2
- package/es/service/api-service.d.ts +13 -0
- package/es/service/api-service.interface.d.ts +6 -9
- package/es/service/api-service.mjs +42 -17
- package/es/service/http.util.d.ts +8 -1
- package/es/service/http.util.mjs +22 -4
- package/es/service/index.mjs +1 -3
- package/es/types/index.d.ts +27 -0
- package/es/utils/index.d.ts +7 -0
- package/es/utils/index.mjs +6 -0
- package/package.json +1 -1
- package/dist/gct-api.esm.min.js +0 -1
- package/dist/gct-api.system.min.js +0 -1
|
@@ -2,7 +2,18 @@ import type { AxiosRequestConfig } from 'axios';
|
|
|
2
2
|
import type {
|
|
3
3
|
modelDataAssociationRequest,
|
|
4
4
|
ModelAssociationResponse,
|
|
5
|
+
ProcessApproveRequest,
|
|
6
|
+
ProcessReassign4InterfereRequest,
|
|
7
|
+
ProcessReturn4InterfereRequest,
|
|
8
|
+
DhrProcessJumpRequest,
|
|
9
|
+
ProcessReassignRequest,
|
|
10
|
+
ProcessReturnRequest,
|
|
5
11
|
OnlineFormInstance,
|
|
12
|
+
DhrProcessApproveRequest,
|
|
13
|
+
DhrProcessReassign4InterfereRequest,
|
|
14
|
+
DhrProcessReturn4InterfereRequest,
|
|
15
|
+
DhrProcessReassignRequest,
|
|
16
|
+
DhrProcessReturnRequest,
|
|
6
17
|
} from '../entities';
|
|
7
18
|
|
|
8
19
|
export interface getModelMetaGetSysConfigQuery {
|
|
@@ -37,6 +48,12 @@ export interface getEdhrAttachmentGetEdhrAttachmentQuery {
|
|
|
37
48
|
*/
|
|
38
49
|
materialNo: string;
|
|
39
50
|
}
|
|
51
|
+
export interface postFileUnzipQuery {
|
|
52
|
+
/**
|
|
53
|
+
* url
|
|
54
|
+
*/
|
|
55
|
+
url: string;
|
|
56
|
+
}
|
|
40
57
|
export interface MedProService {
|
|
41
58
|
/**
|
|
42
59
|
* 关联模型数据查询
|
|
@@ -66,6 +83,48 @@ export interface MedProService {
|
|
|
66
83
|
query: getModelMetaModelDataAssociationQuery,
|
|
67
84
|
config?: Partial<AxiosRequestConfig>,
|
|
68
85
|
): Promise<ModelAssociationResponse[]>;
|
|
86
|
+
/**
|
|
87
|
+
* 审核
|
|
88
|
+
*/
|
|
89
|
+
postApproveProcessApprove(
|
|
90
|
+
data: ProcessApproveRequest,
|
|
91
|
+
config?: Partial<AxiosRequestConfig>,
|
|
92
|
+
): Promise<string>;
|
|
93
|
+
/**
|
|
94
|
+
* 流程干预转办
|
|
95
|
+
*/
|
|
96
|
+
postApproveProcessInterfereReassign(
|
|
97
|
+
data: ProcessReassign4InterfereRequest,
|
|
98
|
+
config?: Partial<AxiosRequestConfig>,
|
|
99
|
+
): Promise<string>;
|
|
100
|
+
/**
|
|
101
|
+
* 流程干预退回
|
|
102
|
+
*/
|
|
103
|
+
postApproveProcessInterfereReturn(
|
|
104
|
+
data: ProcessReturn4InterfereRequest,
|
|
105
|
+
config?: Partial<AxiosRequestConfig>,
|
|
106
|
+
): Promise<string>;
|
|
107
|
+
/**
|
|
108
|
+
* 根据按钮key跳转流程节点
|
|
109
|
+
*/
|
|
110
|
+
postApproveProcessJump(
|
|
111
|
+
data: DhrProcessJumpRequest,
|
|
112
|
+
config?: Partial<AxiosRequestConfig>,
|
|
113
|
+
): Promise<string>;
|
|
114
|
+
/**
|
|
115
|
+
* 转办
|
|
116
|
+
*/
|
|
117
|
+
postApproveProcessReassign(
|
|
118
|
+
data: ProcessReassignRequest,
|
|
119
|
+
config?: Partial<AxiosRequestConfig>,
|
|
120
|
+
): Promise<string>;
|
|
121
|
+
/**
|
|
122
|
+
* 退回
|
|
123
|
+
*/
|
|
124
|
+
postApproveProcessReturn(
|
|
125
|
+
data: ProcessReturnRequest,
|
|
126
|
+
config?: Partial<AxiosRequestConfig>,
|
|
127
|
+
): Promise<string>;
|
|
69
128
|
/**
|
|
70
129
|
* 获取Edhr附录接口
|
|
71
130
|
*/
|
|
@@ -73,4 +132,53 @@ export interface MedProService {
|
|
|
73
132
|
query: getEdhrAttachmentGetEdhrAttachmentQuery,
|
|
74
133
|
config?: Partial<AxiosRequestConfig>,
|
|
75
134
|
): Promise<OnlineFormInstance[]>;
|
|
135
|
+
/**
|
|
136
|
+
* 解压出pdf
|
|
137
|
+
*/
|
|
138
|
+
postFileUnzip(
|
|
139
|
+
query: postFileUnzipQuery,
|
|
140
|
+
config?: Partial<AxiosRequestConfig>,
|
|
141
|
+
): Promise<string>;
|
|
142
|
+
/**
|
|
143
|
+
* 审核
|
|
144
|
+
*/
|
|
145
|
+
postFormChangeProcessApprove(
|
|
146
|
+
data: DhrProcessApproveRequest,
|
|
147
|
+
config?: Partial<AxiosRequestConfig>,
|
|
148
|
+
): Promise<string>;
|
|
149
|
+
/**
|
|
150
|
+
* 流程干预转办
|
|
151
|
+
*/
|
|
152
|
+
postFormChangeProcessInterfereReassign(
|
|
153
|
+
data: DhrProcessReassign4InterfereRequest,
|
|
154
|
+
config?: Partial<AxiosRequestConfig>,
|
|
155
|
+
): Promise<string>;
|
|
156
|
+
/**
|
|
157
|
+
* 流程干预退回
|
|
158
|
+
*/
|
|
159
|
+
postFormChangeProcessInterfereReturn(
|
|
160
|
+
data: DhrProcessReturn4InterfereRequest,
|
|
161
|
+
config?: Partial<AxiosRequestConfig>,
|
|
162
|
+
): Promise<string>;
|
|
163
|
+
/**
|
|
164
|
+
* 根据按钮key跳转流程节点
|
|
165
|
+
*/
|
|
166
|
+
postFormChangeProcessJump(
|
|
167
|
+
data: DhrProcessJumpRequest,
|
|
168
|
+
config?: Partial<AxiosRequestConfig>,
|
|
169
|
+
): Promise<string>;
|
|
170
|
+
/**
|
|
171
|
+
* 转办
|
|
172
|
+
*/
|
|
173
|
+
postFormChangeProcessReassign(
|
|
174
|
+
data: DhrProcessReassignRequest,
|
|
175
|
+
config?: Partial<AxiosRequestConfig>,
|
|
176
|
+
): Promise<string>;
|
|
177
|
+
/**
|
|
178
|
+
* 退回
|
|
179
|
+
*/
|
|
180
|
+
postFormChangeProcessReturn(
|
|
181
|
+
data: DhrProcessReturnRequest,
|
|
182
|
+
config?: Partial<AxiosRequestConfig>,
|
|
183
|
+
): Promise<string>;
|
|
76
184
|
}
|
|
@@ -5,44 +5,72 @@ import type {
|
|
|
5
5
|
OnlineFormInstance,
|
|
6
6
|
} from '../entities';
|
|
7
7
|
|
|
8
|
-
export interface getModelMetaGetSysConfigQuery {
|
|
9
|
-
|
|
8
|
+
export interface getModelMetaGetSysConfigQuery extends IObject {
|
|
9
|
+
/**
|
|
10
|
+
* key
|
|
11
|
+
*/
|
|
12
|
+
key: string;
|
|
10
13
|
}
|
|
11
|
-
export interface getModelMetaHasDataAssociationQuery {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
export interface getModelMetaHasDataAssociationQuery extends IObject {
|
|
15
|
+
/**
|
|
16
|
+
* id
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* modelKey
|
|
21
|
+
*/
|
|
22
|
+
modelKey: string;
|
|
14
23
|
}
|
|
15
|
-
export interface getModelMetaModelDataAssociationQuery {
|
|
16
|
-
|
|
17
|
-
|
|
24
|
+
export interface getModelMetaModelDataAssociationQuery extends IObject {
|
|
25
|
+
/**
|
|
26
|
+
* id
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* modelKey
|
|
31
|
+
*/
|
|
32
|
+
modelKey: string;
|
|
18
33
|
}
|
|
19
|
-
export interface getEdhrAttachmentGetEdhrAttachmentQuery {
|
|
20
|
-
|
|
34
|
+
export interface getEdhrAttachmentGetEdhrAttachmentQuery extends IObject {
|
|
35
|
+
/**
|
|
36
|
+
* materialNo
|
|
37
|
+
*/
|
|
38
|
+
materialNo: string;
|
|
21
39
|
}
|
|
22
|
-
export interface
|
|
23
|
-
|
|
40
|
+
export interface MedProService {
|
|
41
|
+
/**
|
|
42
|
+
* 关联模型数据查询
|
|
43
|
+
*/
|
|
24
44
|
postModelMetaDataAssociation(
|
|
25
45
|
data: modelDataAssociationRequest,
|
|
26
46
|
config?: Partial<AxiosRequestConfig>,
|
|
27
|
-
): Promise<
|
|
28
|
-
|
|
47
|
+
): Promise<object>;
|
|
48
|
+
/**
|
|
49
|
+
* 获取系统配置
|
|
50
|
+
*/
|
|
29
51
|
getModelMetaGetSysConfig(
|
|
30
52
|
query: getModelMetaGetSysConfigQuery,
|
|
31
53
|
config?: Partial<AxiosRequestConfig>,
|
|
32
|
-
): Promise<
|
|
33
|
-
|
|
54
|
+
): Promise<boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* 存在关联数据
|
|
57
|
+
*/
|
|
34
58
|
getModelMetaHasDataAssociation(
|
|
35
59
|
query: getModelMetaHasDataAssociationQuery,
|
|
36
60
|
config?: Partial<AxiosRequestConfig>,
|
|
37
|
-
): Promise<
|
|
38
|
-
|
|
61
|
+
): Promise<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* 关联数据信息列表
|
|
64
|
+
*/
|
|
39
65
|
getModelMetaModelDataAssociation(
|
|
40
66
|
query: getModelMetaModelDataAssociationQuery,
|
|
41
67
|
config?: Partial<AxiosRequestConfig>,
|
|
42
|
-
): Promise<
|
|
43
|
-
|
|
68
|
+
): Promise<ModelAssociationResponse[]>;
|
|
69
|
+
/**
|
|
70
|
+
* 获取Edhr附录接口
|
|
71
|
+
*/
|
|
44
72
|
getEdhrAttachmentGetEdhrAttachment(
|
|
45
73
|
query: getEdhrAttachmentGetEdhrAttachmentQuery,
|
|
46
74
|
config?: Partial<AxiosRequestConfig>,
|
|
47
|
-
): Promise<
|
|
75
|
+
): Promise<OnlineFormInstance[]>;
|
|
48
76
|
}
|
|
@@ -6,6 +6,7 @@ import type {
|
|
|
6
6
|
ModelMetaDTO,
|
|
7
7
|
TableMetaER,
|
|
8
8
|
ModelField,
|
|
9
|
+
ModelBriefInfo,
|
|
9
10
|
ModelMetaVO,
|
|
10
11
|
} from '../entities';
|
|
11
12
|
|
|
@@ -129,6 +130,12 @@ export interface getPermissionEnabledListQuery {
|
|
|
129
130
|
*/
|
|
130
131
|
type?: string;
|
|
131
132
|
}
|
|
133
|
+
export interface getPermissionRelationQuery {
|
|
134
|
+
/**
|
|
135
|
+
* 搜索关键字
|
|
136
|
+
*/
|
|
137
|
+
keyword?: string;
|
|
138
|
+
}
|
|
132
139
|
export interface putSupportMessageModelKeyEnabledPathParams {
|
|
133
140
|
modelKey: string;
|
|
134
141
|
enabled: string;
|
|
@@ -290,6 +297,13 @@ export interface ModelMetaService {
|
|
|
290
297
|
query: getPermissionEnabledListQuery,
|
|
291
298
|
config?: Partial<AxiosRequestConfig>,
|
|
292
299
|
): Promise<ModelMetaResponse[]>;
|
|
300
|
+
/**
|
|
301
|
+
* 查询配置过数据权限的模型列表
|
|
302
|
+
*/
|
|
303
|
+
getPermissionRelation(
|
|
304
|
+
query: getPermissionRelationQuery,
|
|
305
|
+
config?: Partial<AxiosRequestConfig>,
|
|
306
|
+
): Promise<ModelBriefInfo[]>;
|
|
293
307
|
/**
|
|
294
308
|
* 实体模型保存
|
|
295
309
|
*/
|
|
@@ -323,7 +337,7 @@ export interface ModelMetaService {
|
|
|
323
337
|
getUnrelatedList(
|
|
324
338
|
query: getUnrelatedListQuery,
|
|
325
339
|
config?: Partial<AxiosRequestConfig>,
|
|
326
|
-
): Promise<
|
|
340
|
+
): Promise<ModelBriefInfo[]>;
|
|
327
341
|
/**
|
|
328
342
|
* 实体模型编辑
|
|
329
343
|
*/
|
|
@@ -7,6 +7,12 @@ export interface deleteQuery {
|
|
|
7
7
|
*/
|
|
8
8
|
ids: string;
|
|
9
9
|
}
|
|
10
|
+
export interface getDataModelListQuery {
|
|
11
|
+
/**
|
|
12
|
+
* 搜索关键字
|
|
13
|
+
*/
|
|
14
|
+
keyword?: string;
|
|
15
|
+
}
|
|
10
16
|
export interface getInfoQuery {
|
|
11
17
|
/**
|
|
12
18
|
* id
|
|
@@ -15,7 +21,11 @@ export interface getInfoQuery {
|
|
|
15
21
|
}
|
|
16
22
|
export interface getListQuery {
|
|
17
23
|
/**
|
|
18
|
-
*
|
|
24
|
+
* 搜索关键字
|
|
25
|
+
*/
|
|
26
|
+
keyword?: string;
|
|
27
|
+
/**
|
|
28
|
+
* 模型key
|
|
19
29
|
*/
|
|
20
30
|
modelKey: string;
|
|
21
31
|
}
|
|
@@ -29,6 +39,12 @@ export interface getPageListQuery {
|
|
|
29
39
|
*/
|
|
30
40
|
pageSize?: number;
|
|
31
41
|
}
|
|
42
|
+
export interface getViewModelListQuery {
|
|
43
|
+
/**
|
|
44
|
+
* 搜索关键字
|
|
45
|
+
*/
|
|
46
|
+
keyword?: string;
|
|
47
|
+
}
|
|
32
48
|
export interface putIdPathParams {
|
|
33
49
|
id: string;
|
|
34
50
|
}
|
|
@@ -51,6 +67,7 @@ export interface ModelMethodService {
|
|
|
51
67
|
* 数据模型方法列表
|
|
52
68
|
*/
|
|
53
69
|
getDataModelList(
|
|
70
|
+
query: getDataModelListQuery,
|
|
54
71
|
config?: Partial<AxiosRequestConfig>,
|
|
55
72
|
): Promise<ModelMethodResponse[]>;
|
|
56
73
|
/**
|
|
@@ -78,6 +95,7 @@ export interface ModelMethodService {
|
|
|
78
95
|
* 视图模型方法列表
|
|
79
96
|
*/
|
|
80
97
|
getViewModelList(
|
|
98
|
+
query: getViewModelListQuery,
|
|
81
99
|
config?: Partial<AxiosRequestConfig>,
|
|
82
100
|
): Promise<ModelMethodResponse[]>;
|
|
83
101
|
/**
|
|
@@ -2,6 +2,10 @@ import type { AxiosRequestConfig } from 'axios';
|
|
|
2
2
|
import type {
|
|
3
3
|
OnlineFormInstanceRequest,
|
|
4
4
|
OnlineFormInstanceResponse,
|
|
5
|
+
DataCollectionInstanceAbandonRequest,
|
|
6
|
+
DataCollectionOnlineFormInstanceRequest,
|
|
7
|
+
DataCollectionOnlineFormInstanceUpdateRequest,
|
|
8
|
+
DataCollectionTaskUpdateStatusRequest,
|
|
5
9
|
OnlineFormInstanceTmplRelationResponse,
|
|
6
10
|
OnlineFormInstance,
|
|
7
11
|
OnlineFormInstanceRelationInfoResponse,
|
|
@@ -30,6 +34,12 @@ export interface getAppendixFormListQuery {
|
|
|
30
34
|
*/
|
|
31
35
|
mfgOrderId?: string;
|
|
32
36
|
}
|
|
37
|
+
export interface getDataCollectionListAllQuery {
|
|
38
|
+
/**
|
|
39
|
+
* dataCollectionTaskId
|
|
40
|
+
*/
|
|
41
|
+
dataCollectionTaskId: string;
|
|
42
|
+
}
|
|
33
43
|
export interface getDataIdsQuery {
|
|
34
44
|
/**
|
|
35
45
|
* 物料编号/或批次ID
|
|
@@ -49,6 +59,10 @@ export interface getDetailQuery {
|
|
|
49
59
|
* id
|
|
50
60
|
*/
|
|
51
61
|
id: string;
|
|
62
|
+
/**
|
|
63
|
+
* nodeKey
|
|
64
|
+
*/
|
|
65
|
+
nodeKey?: string;
|
|
52
66
|
/**
|
|
53
67
|
* routingOperationId
|
|
54
68
|
*/
|
|
@@ -256,6 +270,12 @@ export interface getInfoByRecordNoQuery {
|
|
|
256
270
|
*/
|
|
257
271
|
recordNo: string;
|
|
258
272
|
}
|
|
273
|
+
export interface getInstEncodeCheckQuery {
|
|
274
|
+
/**
|
|
275
|
+
* instId
|
|
276
|
+
*/
|
|
277
|
+
instId: string;
|
|
278
|
+
}
|
|
259
279
|
export interface getPageListQuery {
|
|
260
280
|
/**
|
|
261
281
|
* 任务完成结束时间
|
|
@@ -269,6 +289,10 @@ export interface getPageListQuery {
|
|
|
269
289
|
* 状态
|
|
270
290
|
*/
|
|
271
291
|
instanceStatus?: string;
|
|
292
|
+
/**
|
|
293
|
+
* 状态不等于
|
|
294
|
+
*/
|
|
295
|
+
instanceStatusNe?: string;
|
|
272
296
|
/**
|
|
273
297
|
* 更新人id
|
|
274
298
|
*/
|
|
@@ -285,6 +309,10 @@ export interface getPageListQuery {
|
|
|
285
309
|
* 分页大小
|
|
286
310
|
*/
|
|
287
311
|
pageSize?: number;
|
|
312
|
+
/**
|
|
313
|
+
* 关联id
|
|
314
|
+
*/
|
|
315
|
+
relationId?: string;
|
|
288
316
|
/**
|
|
289
317
|
* 排序字段
|
|
290
318
|
*/
|
|
@@ -395,6 +423,10 @@ export interface getReverseTracePageListQuery {
|
|
|
395
423
|
* 填报人
|
|
396
424
|
*/
|
|
397
425
|
operatorId?: string;
|
|
426
|
+
/**
|
|
427
|
+
* 订单号
|
|
428
|
+
*/
|
|
429
|
+
orderNo?: string;
|
|
398
430
|
/**
|
|
399
431
|
* 页码
|
|
400
432
|
*/
|
|
@@ -415,6 +447,10 @@ export interface getReverseTracePageListQuery {
|
|
|
415
447
|
* 记录单号
|
|
416
448
|
*/
|
|
417
449
|
recordNo?: string;
|
|
450
|
+
/**
|
|
451
|
+
* 关联批次
|
|
452
|
+
*/
|
|
453
|
+
relatedLotNo?: string;
|
|
418
454
|
/**
|
|
419
455
|
* 排序字段
|
|
420
456
|
*/
|
|
@@ -547,6 +583,41 @@ export interface OnlineFormInstanceService {
|
|
|
547
583
|
query: getAppendixFormListQuery,
|
|
548
584
|
config?: Partial<AxiosRequestConfig>,
|
|
549
585
|
): Promise<OnlineFormInstanceResponse[]>;
|
|
586
|
+
/**
|
|
587
|
+
* 作废表单
|
|
588
|
+
*/
|
|
589
|
+
postDataCollectionAbandon(
|
|
590
|
+
data: DataCollectionInstanceAbandonRequest,
|
|
591
|
+
config?: Partial<AxiosRequestConfig>,
|
|
592
|
+
): Promise<boolean>;
|
|
593
|
+
/**
|
|
594
|
+
* 创建数据采集表单实例
|
|
595
|
+
*/
|
|
596
|
+
postDataCollectionCreate(
|
|
597
|
+
data: DataCollectionOnlineFormInstanceRequest,
|
|
598
|
+
config?: Partial<AxiosRequestConfig>,
|
|
599
|
+
): Promise<string>;
|
|
600
|
+
/**
|
|
601
|
+
* 根据数据采集任务id获取所有表单实例
|
|
602
|
+
*/
|
|
603
|
+
getDataCollectionListAll(
|
|
604
|
+
query: getDataCollectionListAllQuery,
|
|
605
|
+
config?: Partial<AxiosRequestConfig>,
|
|
606
|
+
): Promise<OnlineFormInstanceResponse[]>;
|
|
607
|
+
/**
|
|
608
|
+
* 更新表单实例别名
|
|
609
|
+
*/
|
|
610
|
+
postDataCollectionUpdateAlias(
|
|
611
|
+
data: DataCollectionOnlineFormInstanceUpdateRequest,
|
|
612
|
+
config?: Partial<AxiosRequestConfig>,
|
|
613
|
+
): Promise<string>;
|
|
614
|
+
/**
|
|
615
|
+
* 更新数据采集任务状态
|
|
616
|
+
*/
|
|
617
|
+
postDataCollectionUpdateStatus(
|
|
618
|
+
data: DataCollectionTaskUpdateStatusRequest,
|
|
619
|
+
config?: Partial<AxiosRequestConfig>,
|
|
620
|
+
): Promise<boolean>;
|
|
550
621
|
/**
|
|
551
622
|
* (EDHR 查询sheet数据Id) 根据在线表单id,业务标志ID(批次)查询填报数据ID 集合
|
|
552
623
|
*/
|
|
@@ -672,6 +743,13 @@ export interface OnlineFormInstanceService {
|
|
|
672
743
|
postInfos(
|
|
673
744
|
config?: Partial<AxiosRequestConfig>,
|
|
674
745
|
): Promise<OnlineFormInstanceResponse[]>;
|
|
746
|
+
/**
|
|
747
|
+
* 表单内容加密校验测试
|
|
748
|
+
*/
|
|
749
|
+
getInstEncodeCheck(
|
|
750
|
+
query: getInstEncodeCheckQuery,
|
|
751
|
+
config?: Partial<AxiosRequestConfig>,
|
|
752
|
+
): Promise<string>;
|
|
675
753
|
/**
|
|
676
754
|
* 分页列表
|
|
677
755
|
*/
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { ExportFormRequest, Resource, ImportResponse } from '../entities';
|
|
3
|
+
|
|
4
|
+
export interface postImportJsonlQuery {
|
|
5
|
+
/**
|
|
6
|
+
* categoryId
|
|
7
|
+
*/
|
|
8
|
+
categoryId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* importType
|
|
11
|
+
*/
|
|
12
|
+
importType: string;
|
|
13
|
+
}
|
|
14
|
+
export interface OnlineFormTmplExportService {
|
|
15
|
+
/**
|
|
16
|
+
* 导出表单模板
|
|
17
|
+
*/
|
|
18
|
+
postExport(
|
|
19
|
+
data: ExportFormRequest,
|
|
20
|
+
config?: Partial<AxiosRequestConfig>,
|
|
21
|
+
): Promise<Resource>;
|
|
22
|
+
/**
|
|
23
|
+
* 表单模板导入
|
|
24
|
+
*/
|
|
25
|
+
postImportJsonl(
|
|
26
|
+
query: postImportJsonlQuery,
|
|
27
|
+
config?: Partial<AxiosRequestConfig>,
|
|
28
|
+
): Promise<ImportResponse>;
|
|
29
|
+
}
|
|
@@ -3,12 +3,14 @@ import type {
|
|
|
3
3
|
OnlineFormTmplRequest,
|
|
4
4
|
ModelBriefInfo,
|
|
5
5
|
OnlineFormTmplResponse,
|
|
6
|
+
ModelMetaDTO,
|
|
6
7
|
DocumentInfo4Req,
|
|
7
8
|
OnlineFormTmplModelResponse,
|
|
8
9
|
SimpleOnlineFormDesignDTO,
|
|
9
10
|
OnlineFormFieldMetaVO,
|
|
10
11
|
OnlineFormTmplOperationConfig,
|
|
11
12
|
OnlineFormDesignDTO,
|
|
13
|
+
OperatingStateRequest,
|
|
12
14
|
} from '../entities';
|
|
13
15
|
|
|
14
16
|
export interface postCopyCustomizeIdPathParams {
|
|
@@ -23,12 +25,44 @@ export interface postCopyVersionIdPathParams {
|
|
|
23
25
|
export interface getFormModelsIdPathParams {
|
|
24
26
|
id: string;
|
|
25
27
|
}
|
|
28
|
+
export interface getGetBomByFormTmplIdQuery {
|
|
29
|
+
/**
|
|
30
|
+
* id
|
|
31
|
+
*/
|
|
32
|
+
id: string;
|
|
33
|
+
}
|
|
34
|
+
export interface getGetBomByFormTmplIdAndTableKeyQuery {
|
|
35
|
+
/**
|
|
36
|
+
* id
|
|
37
|
+
*/
|
|
38
|
+
id: string;
|
|
39
|
+
/**
|
|
40
|
+
* tableKey
|
|
41
|
+
*/
|
|
42
|
+
tableKey: string;
|
|
43
|
+
}
|
|
26
44
|
export interface getGetCommunicationConfigQuery {
|
|
27
45
|
/**
|
|
28
46
|
* id
|
|
29
47
|
*/
|
|
30
48
|
id: string;
|
|
31
49
|
}
|
|
50
|
+
export interface getGetFormTmplByInstIdAndTmplIdQuery {
|
|
51
|
+
/**
|
|
52
|
+
* 表单实例id
|
|
53
|
+
*/
|
|
54
|
+
instId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* 表单模板id
|
|
57
|
+
*/
|
|
58
|
+
tmplId?: string;
|
|
59
|
+
}
|
|
60
|
+
export interface getGetFormTmplUsedFieldMetaQuery {
|
|
61
|
+
/**
|
|
62
|
+
* formTmplId
|
|
63
|
+
*/
|
|
64
|
+
formTmplId: string;
|
|
65
|
+
}
|
|
32
66
|
export interface getGetVersionByIdQuery {
|
|
33
67
|
/**
|
|
34
68
|
* id
|
|
@@ -100,6 +134,9 @@ export interface postUpdateCommunicationConfigIdPathParams {
|
|
|
100
134
|
export interface putUpdateDesignerIdPathParams {
|
|
101
135
|
id: string;
|
|
102
136
|
}
|
|
137
|
+
export interface putUpdateOperatingStateIdPathParams {
|
|
138
|
+
id: string;
|
|
139
|
+
}
|
|
103
140
|
export interface putUpdateVersionByIdIdPathParams {
|
|
104
141
|
id: string;
|
|
105
142
|
}
|
|
@@ -134,6 +171,20 @@ export interface OnlineFormTmplService {
|
|
|
134
171
|
path: getFormModelsIdPathParams,
|
|
135
172
|
config?: Partial<AxiosRequestConfig>,
|
|
136
173
|
): Promise<ModelBriefInfo[]>;
|
|
174
|
+
/**
|
|
175
|
+
* 根据ID获取表单BOM
|
|
176
|
+
*/
|
|
177
|
+
getGetBomByFormTmplId(
|
|
178
|
+
query: getGetBomByFormTmplIdQuery,
|
|
179
|
+
config?: Partial<AxiosRequestConfig>,
|
|
180
|
+
): Promise<IObject[]>;
|
|
181
|
+
/**
|
|
182
|
+
* 根据ID获取表单BOM
|
|
183
|
+
*/
|
|
184
|
+
getGetBomByFormTmplIdAndTableKey(
|
|
185
|
+
query: getGetBomByFormTmplIdAndTableKeyQuery,
|
|
186
|
+
config?: Partial<AxiosRequestConfig>,
|
|
187
|
+
): Promise<IObject>;
|
|
137
188
|
/**
|
|
138
189
|
* 获取通信配置
|
|
139
190
|
*/
|
|
@@ -141,6 +192,20 @@ export interface OnlineFormTmplService {
|
|
|
141
192
|
query: getGetCommunicationConfigQuery,
|
|
142
193
|
config?: Partial<AxiosRequestConfig>,
|
|
143
194
|
): Promise<string>;
|
|
195
|
+
/**
|
|
196
|
+
* 根据表单实例id或表单模板id查询表单模板
|
|
197
|
+
*/
|
|
198
|
+
getGetFormTmplByInstIdAndTmplId(
|
|
199
|
+
query: getGetFormTmplByInstIdAndTmplIdQuery,
|
|
200
|
+
config?: Partial<AxiosRequestConfig>,
|
|
201
|
+
): Promise<OnlineFormTmplResponse>;
|
|
202
|
+
/**
|
|
203
|
+
* 获取表单中使用的字段
|
|
204
|
+
*/
|
|
205
|
+
getGetFormTmplUsedFieldMeta(
|
|
206
|
+
query: getGetFormTmplUsedFieldMetaQuery,
|
|
207
|
+
config?: Partial<AxiosRequestConfig>,
|
|
208
|
+
): Promise<ModelMetaDTO[]>;
|
|
144
209
|
/**
|
|
145
210
|
* 根据id查子
|
|
146
211
|
*/
|
|
@@ -155,6 +220,10 @@ export interface OnlineFormTmplService {
|
|
|
155
220
|
data: DocumentInfo4Req,
|
|
156
221
|
config?: Partial<AxiosRequestConfig>,
|
|
157
222
|
): Promise<OnlineFormTmplResponse[]>;
|
|
223
|
+
/**
|
|
224
|
+
* 是否包含OCR模块权限
|
|
225
|
+
*/
|
|
226
|
+
getIsOcrGranted(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
|
|
158
227
|
/**
|
|
159
228
|
* 获取所有基础表单和流程表单
|
|
160
229
|
*/
|
|
@@ -275,6 +344,14 @@ export interface OnlineFormTmplService {
|
|
|
275
344
|
data: OnlineFormDesignDTO,
|
|
276
345
|
config?: Partial<AxiosRequestConfig>,
|
|
277
346
|
): Promise<string>;
|
|
347
|
+
/**
|
|
348
|
+
* 修改状态
|
|
349
|
+
*/
|
|
350
|
+
putUpdateOperatingStateId(
|
|
351
|
+
path: putUpdateOperatingStateIdPathParams,
|
|
352
|
+
data: OperatingStateRequest,
|
|
353
|
+
config?: Partial<AxiosRequestConfig>,
|
|
354
|
+
): Promise<string>;
|
|
278
355
|
/**
|
|
279
356
|
* 修改版本
|
|
280
357
|
*/
|
|
@@ -5,6 +5,7 @@ import type {
|
|
|
5
5
|
ModelMultiRow,
|
|
6
6
|
FieldMeta,
|
|
7
7
|
OnlineFormDataInitProtocolDTO,
|
|
8
|
+
OnlineFormStashRequest,
|
|
8
9
|
OfProcessAbandonRequest,
|
|
9
10
|
OfProcessApproveRequest,
|
|
10
11
|
OfProcessQualifiedRequest,
|
|
@@ -18,7 +19,6 @@ import type {
|
|
|
18
19
|
OfProcessResubmitRequest,
|
|
19
20
|
OfProcessReturnRequest,
|
|
20
21
|
OfProcessSubmitRequest,
|
|
21
|
-
OnlineFormStashRequest,
|
|
22
22
|
} from '../entities';
|
|
23
23
|
|
|
24
24
|
export interface getDataInitProtocolDataQuery {
|
|
@@ -72,6 +72,13 @@ export interface OnlineFormService {
|
|
|
72
72
|
getDataInitProtocolList(
|
|
73
73
|
config?: Partial<AxiosRequestConfig>,
|
|
74
74
|
): Promise<OnlineFormDataInitProtocolDTO[]>;
|
|
75
|
+
/**
|
|
76
|
+
* 部分提交(Medpro用)
|
|
77
|
+
*/
|
|
78
|
+
postPartialSubmit(
|
|
79
|
+
data: OnlineFormStashRequest,
|
|
80
|
+
config?: Partial<AxiosRequestConfig>,
|
|
81
|
+
): Promise<string>;
|
|
75
82
|
/**
|
|
76
83
|
* 表单作废
|
|
77
84
|
*/
|