@gct-paas/api 6.0.0-dev.11 → 6.0.0-dev.13
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 -1
- package/es/apaas/service/api-config.mjs +296 -1
- package/es/apaas/service/apis/api.service.d.ts +0 -4
- 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/category.service.d.ts +0 -16
- package/es/apaas/service/apis/custom-field.service.d.ts +166 -0
- package/es/apaas/service/apis/custom-object.service.d.ts +186 -0
- package/es/apaas/service/apis/edhr-category.service.d.ts +27 -1
- package/es/apaas/service/apis/edhr-instance-search-history.service.d.ts +21 -0
- package/es/apaas/service/apis/edhr-instance.service.d.ts +8 -0
- package/es/apaas/service/apis/mdm-category.service.d.ts +148 -0
- package/es/apaas/service/apis/message-tmpl.service.d.ts +4 -0
- package/es/apaas/service/apis/model-meta.service.d.ts +16 -0
- package/es/apaas/service/apis/ocr.service.d.ts +7 -1
- package/es/apaas/service/apis/online-form-category.service.d.ts +27 -1
- package/es/apaas/service/apis/online-form-instance.service.d.ts +12 -0
- package/es/apaas/service/apis/online-form-tmpl.service.d.ts +49 -3
- package/es/apaas/service/entities.d.ts +1235 -197
- package/es/apaas/service/index.d.ts +6 -0
- package/es/platform/service/api-config.mjs +27 -0
- package/es/platform/service/apis/api.service.d.ts +16 -5
- package/es/platform/service/apis/ocr-model.service.d.ts +19 -0
- package/es/platform/service/apis/plat.service.d.ts +6 -0
- package/es/platform/service/entities.d.ts +38 -0
- package/package.json +6 -2
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type {
|
|
3
|
+
自定义对象主表保存请求,
|
|
4
|
+
自定义对象导出请求,
|
|
5
|
+
Resource,
|
|
6
|
+
自定义对象导入结果,
|
|
7
|
+
CustomObjectEntity,
|
|
8
|
+
自定义对象字段请求,
|
|
9
|
+
CustomObjectItemEntity,
|
|
10
|
+
} from '../entities';
|
|
11
|
+
|
|
12
|
+
export interface deleteQuery extends IObject {
|
|
13
|
+
/**
|
|
14
|
+
* id
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
18
|
+
export interface getInfoQuery extends IObject {
|
|
19
|
+
/**
|
|
20
|
+
* id
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
}
|
|
24
|
+
export interface postItemQuery extends IObject {
|
|
25
|
+
/**
|
|
26
|
+
* objectId
|
|
27
|
+
*/
|
|
28
|
+
objectId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface deleteItemQuery extends IObject {
|
|
31
|
+
/**
|
|
32
|
+
* id
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
}
|
|
36
|
+
export interface getItemInfoQuery extends IObject {
|
|
37
|
+
/**
|
|
38
|
+
* id
|
|
39
|
+
*/
|
|
40
|
+
id: string;
|
|
41
|
+
}
|
|
42
|
+
export interface getItemListQuery extends IObject {
|
|
43
|
+
/**
|
|
44
|
+
* objectId
|
|
45
|
+
*/
|
|
46
|
+
objectId: string;
|
|
47
|
+
}
|
|
48
|
+
export interface putItemIdPathParams {
|
|
49
|
+
id: string;
|
|
50
|
+
}
|
|
51
|
+
export interface getListQuery extends IObject {
|
|
52
|
+
/**
|
|
53
|
+
* 名称或对象key
|
|
54
|
+
*/
|
|
55
|
+
keyword?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface getPageListQuery extends IObject {
|
|
58
|
+
/**
|
|
59
|
+
* 名称或对象key
|
|
60
|
+
*/
|
|
61
|
+
keyword?: string;
|
|
62
|
+
/**
|
|
63
|
+
* 页码
|
|
64
|
+
*/
|
|
65
|
+
pageNo?: number;
|
|
66
|
+
/**
|
|
67
|
+
* 每页数据条数
|
|
68
|
+
*/
|
|
69
|
+
pageSize?: number;
|
|
70
|
+
}
|
|
71
|
+
export interface putSyncFieldsQuery extends IObject {
|
|
72
|
+
/**
|
|
73
|
+
* 自定义对象Key
|
|
74
|
+
*/
|
|
75
|
+
key: string;
|
|
76
|
+
/**
|
|
77
|
+
* 指定的表单模型key
|
|
78
|
+
*/
|
|
79
|
+
modelKey: string;
|
|
80
|
+
}
|
|
81
|
+
export interface putIdPathParams {
|
|
82
|
+
id: string;
|
|
83
|
+
}
|
|
84
|
+
export interface CustomObjectService {
|
|
85
|
+
/**
|
|
86
|
+
* 新增自定义对象
|
|
87
|
+
*/
|
|
88
|
+
post(
|
|
89
|
+
data: 自定义对象主表保存请求,
|
|
90
|
+
config?: Partial<AxiosRequestConfig>,
|
|
91
|
+
): Promise<string>;
|
|
92
|
+
/**
|
|
93
|
+
* 删除自定义对象
|
|
94
|
+
*/
|
|
95
|
+
delete(
|
|
96
|
+
query: deleteQuery,
|
|
97
|
+
config?: Partial<AxiosRequestConfig>,
|
|
98
|
+
): Promise<string>;
|
|
99
|
+
/**
|
|
100
|
+
* 导出自定义对象
|
|
101
|
+
*/
|
|
102
|
+
postExport(
|
|
103
|
+
data: 自定义对象导出请求,
|
|
104
|
+
config?: Partial<AxiosRequestConfig>,
|
|
105
|
+
): Promise<Resource>;
|
|
106
|
+
/**
|
|
107
|
+
* 导入自定义对象
|
|
108
|
+
*/
|
|
109
|
+
postImport(
|
|
110
|
+
data: UploadFileData,
|
|
111
|
+
config?: Partial<AxiosRequestConfig>,
|
|
112
|
+
): Promise<IHttpResponse<自定义对象导入结果>>;
|
|
113
|
+
/**
|
|
114
|
+
* 查询自定义对象主表详情
|
|
115
|
+
*/
|
|
116
|
+
getInfo(
|
|
117
|
+
query: getInfoQuery,
|
|
118
|
+
config?: Partial<AxiosRequestConfig>,
|
|
119
|
+
): Promise<CustomObjectEntity>;
|
|
120
|
+
/**
|
|
121
|
+
* 新增自定义对象字段
|
|
122
|
+
*/
|
|
123
|
+
postItem(
|
|
124
|
+
query: postItemQuery,
|
|
125
|
+
data: 自定义对象字段请求,
|
|
126
|
+
config?: Partial<AxiosRequestConfig>,
|
|
127
|
+
): Promise<string>;
|
|
128
|
+
/**
|
|
129
|
+
* 删除自定义对象字段
|
|
130
|
+
*/
|
|
131
|
+
deleteItem(
|
|
132
|
+
query: deleteItemQuery,
|
|
133
|
+
config?: Partial<AxiosRequestConfig>,
|
|
134
|
+
): Promise<string>;
|
|
135
|
+
/**
|
|
136
|
+
* 查询自定义对象字段详情
|
|
137
|
+
*/
|
|
138
|
+
getItemInfo(
|
|
139
|
+
query: getItemInfoQuery,
|
|
140
|
+
config?: Partial<AxiosRequestConfig>,
|
|
141
|
+
): Promise<CustomObjectItemEntity>;
|
|
142
|
+
/**
|
|
143
|
+
* 查询自定义对象字段列表
|
|
144
|
+
*/
|
|
145
|
+
getItemList(
|
|
146
|
+
query: getItemListQuery,
|
|
147
|
+
config?: Partial<AxiosRequestConfig>,
|
|
148
|
+
): Promise<CustomObjectItemEntity[]>;
|
|
149
|
+
/**
|
|
150
|
+
* 修改自定义对象字段
|
|
151
|
+
*/
|
|
152
|
+
putItemId(
|
|
153
|
+
path: putItemIdPathParams,
|
|
154
|
+
data: 自定义对象字段请求,
|
|
155
|
+
config?: Partial<AxiosRequestConfig>,
|
|
156
|
+
): Promise<string>;
|
|
157
|
+
/**
|
|
158
|
+
* 查询自定义对象列表
|
|
159
|
+
*/
|
|
160
|
+
getList(
|
|
161
|
+
query: getListQuery,
|
|
162
|
+
config?: Partial<AxiosRequestConfig>,
|
|
163
|
+
): Promise<CustomObjectEntity[]>;
|
|
164
|
+
/**
|
|
165
|
+
* 分页查询自定义对象列表
|
|
166
|
+
*/
|
|
167
|
+
getPageList(
|
|
168
|
+
query: getPageListQuery,
|
|
169
|
+
config?: Partial<AxiosRequestConfig>,
|
|
170
|
+
): Promise<IPage<CustomObjectEntity>>;
|
|
171
|
+
/**
|
|
172
|
+
* 同步对象新增字段到已放置的表单模型
|
|
173
|
+
*/
|
|
174
|
+
putSyncFields(
|
|
175
|
+
query: putSyncFieldsQuery,
|
|
176
|
+
config?: Partial<AxiosRequestConfig>,
|
|
177
|
+
): Promise<number>;
|
|
178
|
+
/**
|
|
179
|
+
* 修改自定义对象
|
|
180
|
+
*/
|
|
181
|
+
putId(
|
|
182
|
+
path: putIdPathParams,
|
|
183
|
+
data: 自定义对象主表保存请求,
|
|
184
|
+
config?: Partial<AxiosRequestConfig>,
|
|
185
|
+
): Promise<string>;
|
|
186
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import type {
|
|
3
3
|
EdhrCategoryRequest,
|
|
4
|
-
CategoryDragDTO,
|
|
5
4
|
ResponseEntity,
|
|
5
|
+
CategoryDragDTO,
|
|
6
6
|
EdhrCategoryResponse,
|
|
7
7
|
} from '../entities';
|
|
8
8
|
|
|
@@ -12,6 +12,18 @@ export interface deleteQuery extends IObject {
|
|
|
12
12
|
*/
|
|
13
13
|
id: string;
|
|
14
14
|
}
|
|
15
|
+
export interface putApproveTmplDisableQuery extends IObject {
|
|
16
|
+
/**
|
|
17
|
+
* 逗号拼接id
|
|
18
|
+
*/
|
|
19
|
+
ids: string;
|
|
20
|
+
}
|
|
21
|
+
export interface putApproveTmplEnableQuery extends IObject {
|
|
22
|
+
/**
|
|
23
|
+
* 逗号拼接id
|
|
24
|
+
*/
|
|
25
|
+
ids: string;
|
|
26
|
+
}
|
|
15
27
|
export interface getInfoQuery extends IObject {
|
|
16
28
|
/**
|
|
17
29
|
* id
|
|
@@ -46,6 +58,20 @@ export interface EdhrCategoryService {
|
|
|
46
58
|
query: deleteQuery,
|
|
47
59
|
config?: Partial<AxiosRequestConfig>,
|
|
48
60
|
): Promise<string>;
|
|
61
|
+
/**
|
|
62
|
+
* 禁用
|
|
63
|
+
*/
|
|
64
|
+
putApproveTmplDisable(
|
|
65
|
+
query: putApproveTmplDisableQuery,
|
|
66
|
+
config?: Partial<AxiosRequestConfig>,
|
|
67
|
+
): Promise<ResponseEntity>;
|
|
68
|
+
/**
|
|
69
|
+
* 启用
|
|
70
|
+
*/
|
|
71
|
+
putApproveTmplEnable(
|
|
72
|
+
query: putApproveTmplEnableQuery,
|
|
73
|
+
config?: Partial<AxiosRequestConfig>,
|
|
74
|
+
): Promise<ResponseEntity>;
|
|
49
75
|
/**
|
|
50
76
|
* 拖拽
|
|
51
77
|
*/
|
|
@@ -13,6 +13,20 @@ export interface getListQuery extends IObject {
|
|
|
13
13
|
*/
|
|
14
14
|
materialNo?: string;
|
|
15
15
|
}
|
|
16
|
+
export interface getListByPageQuery extends IObject {
|
|
17
|
+
/**
|
|
18
|
+
* 物料号
|
|
19
|
+
*/
|
|
20
|
+
materialNo?: string;
|
|
21
|
+
/**
|
|
22
|
+
* pageNo
|
|
23
|
+
*/
|
|
24
|
+
pageNo: number;
|
|
25
|
+
/**
|
|
26
|
+
* pageSize
|
|
27
|
+
*/
|
|
28
|
+
pageSize: number;
|
|
29
|
+
}
|
|
16
30
|
export interface EdhrInstanceSearchHistoryService {
|
|
17
31
|
/**
|
|
18
32
|
* 删除
|
|
@@ -28,4 +42,11 @@ export interface EdhrInstanceSearchHistoryService {
|
|
|
28
42
|
query: getListQuery,
|
|
29
43
|
config?: Partial<AxiosRequestConfig>,
|
|
30
44
|
): Promise<EdhrInstanceSearchHistoryResponse[]>;
|
|
45
|
+
/**
|
|
46
|
+
* 分页列表
|
|
47
|
+
*/
|
|
48
|
+
getListByPage(
|
|
49
|
+
query: getListByPageQuery,
|
|
50
|
+
config?: Partial<AxiosRequestConfig>,
|
|
51
|
+
): Promise<IPage<EdhrInstanceSearchHistoryResponse>>;
|
|
31
52
|
}
|
|
@@ -27,6 +27,10 @@ export interface getFindMaterialNoQuery extends IObject {
|
|
|
27
27
|
* 批次号
|
|
28
28
|
*/
|
|
29
29
|
materialNo?: string;
|
|
30
|
+
/**
|
|
31
|
+
* 模块类型
|
|
32
|
+
*/
|
|
33
|
+
module?: string;
|
|
30
34
|
/**
|
|
31
35
|
* 页码
|
|
32
36
|
*/
|
|
@@ -215,6 +219,10 @@ export interface getRunningPageQuery extends IObject {
|
|
|
215
219
|
* 批次号
|
|
216
220
|
*/
|
|
217
221
|
materialNo?: string;
|
|
222
|
+
/**
|
|
223
|
+
* 模块类型
|
|
224
|
+
*/
|
|
225
|
+
module?: string;
|
|
218
226
|
/**
|
|
219
227
|
* 页码
|
|
220
228
|
*/
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type {
|
|
3
|
+
MdmCategoryRequest,
|
|
4
|
+
ResponseEntity,
|
|
5
|
+
CategoryDragDTO,
|
|
6
|
+
MdmCategoryResponse,
|
|
7
|
+
} from '../entities';
|
|
8
|
+
|
|
9
|
+
export interface deleteQuery extends IObject {
|
|
10
|
+
/**
|
|
11
|
+
* 删除的分类id
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
export interface putApproveTmplDisableQuery extends IObject {
|
|
16
|
+
/**
|
|
17
|
+
* 逗号拼接id
|
|
18
|
+
*/
|
|
19
|
+
ids: string;
|
|
20
|
+
}
|
|
21
|
+
export interface putApproveTmplEnableQuery extends IObject {
|
|
22
|
+
/**
|
|
23
|
+
* 逗号拼接id
|
|
24
|
+
*/
|
|
25
|
+
ids: string;
|
|
26
|
+
}
|
|
27
|
+
export interface getInfoQuery extends IObject {
|
|
28
|
+
/**
|
|
29
|
+
* id
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
}
|
|
33
|
+
export interface getListQuery extends IObject {
|
|
34
|
+
/**
|
|
35
|
+
* 业务分类
|
|
36
|
+
*/
|
|
37
|
+
bizType?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface getPageListQuery extends IObject {
|
|
40
|
+
/**
|
|
41
|
+
* 业务分类
|
|
42
|
+
*/
|
|
43
|
+
bizType?: string;
|
|
44
|
+
/**
|
|
45
|
+
* 页码
|
|
46
|
+
*/
|
|
47
|
+
pageNo?: number;
|
|
48
|
+
/**
|
|
49
|
+
* 每页数据条数
|
|
50
|
+
*/
|
|
51
|
+
pageSize?: number;
|
|
52
|
+
}
|
|
53
|
+
export interface getTreeQuery extends IObject {
|
|
54
|
+
/**
|
|
55
|
+
* 业务分类
|
|
56
|
+
*/
|
|
57
|
+
bizType?: string;
|
|
58
|
+
/**
|
|
59
|
+
* 排序方式,默认升序,传 desc 为降序
|
|
60
|
+
*/
|
|
61
|
+
sortType?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface putIdPathParams {
|
|
64
|
+
id: string;
|
|
65
|
+
}
|
|
66
|
+
export interface postIdCreateProcessPathParams {
|
|
67
|
+
id: string;
|
|
68
|
+
}
|
|
69
|
+
export interface MdmCategoryService {
|
|
70
|
+
/**
|
|
71
|
+
* 保存
|
|
72
|
+
*/
|
|
73
|
+
post(
|
|
74
|
+
data: MdmCategoryRequest,
|
|
75
|
+
config?: Partial<AxiosRequestConfig>,
|
|
76
|
+
): Promise<string>;
|
|
77
|
+
/**
|
|
78
|
+
* 分类删除
|
|
79
|
+
*/
|
|
80
|
+
delete(
|
|
81
|
+
query: deleteQuery,
|
|
82
|
+
config?: Partial<AxiosRequestConfig>,
|
|
83
|
+
): Promise<string>;
|
|
84
|
+
/**
|
|
85
|
+
* 禁用
|
|
86
|
+
*/
|
|
87
|
+
putApproveTmplDisable(
|
|
88
|
+
query: putApproveTmplDisableQuery,
|
|
89
|
+
config?: Partial<AxiosRequestConfig>,
|
|
90
|
+
): Promise<ResponseEntity>;
|
|
91
|
+
/**
|
|
92
|
+
* 启用
|
|
93
|
+
*/
|
|
94
|
+
putApproveTmplEnable(
|
|
95
|
+
query: putApproveTmplEnableQuery,
|
|
96
|
+
config?: Partial<AxiosRequestConfig>,
|
|
97
|
+
): Promise<ResponseEntity>;
|
|
98
|
+
/**
|
|
99
|
+
* 拖拽
|
|
100
|
+
*/
|
|
101
|
+
putDrag(
|
|
102
|
+
data: CategoryDragDTO,
|
|
103
|
+
config?: Partial<AxiosRequestConfig>,
|
|
104
|
+
): Promise<ResponseEntity>;
|
|
105
|
+
/**
|
|
106
|
+
* 详情
|
|
107
|
+
*/
|
|
108
|
+
getInfo(
|
|
109
|
+
query: getInfoQuery,
|
|
110
|
+
config?: Partial<AxiosRequestConfig>,
|
|
111
|
+
): Promise<MdmCategoryResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* 列表
|
|
114
|
+
*/
|
|
115
|
+
getList(
|
|
116
|
+
query: getListQuery,
|
|
117
|
+
config?: Partial<AxiosRequestConfig>,
|
|
118
|
+
): Promise<MdmCategoryResponse[]>;
|
|
119
|
+
/**
|
|
120
|
+
* 分页列表
|
|
121
|
+
*/
|
|
122
|
+
getPageList(
|
|
123
|
+
query: getPageListQuery,
|
|
124
|
+
config?: Partial<AxiosRequestConfig>,
|
|
125
|
+
): Promise<IPage<MdmCategoryResponse>>;
|
|
126
|
+
/**
|
|
127
|
+
* 分类树
|
|
128
|
+
*/
|
|
129
|
+
getTree(
|
|
130
|
+
query: getTreeQuery,
|
|
131
|
+
config?: Partial<AxiosRequestConfig>,
|
|
132
|
+
): Promise<MdmCategoryResponse[]>;
|
|
133
|
+
/**
|
|
134
|
+
* 修改
|
|
135
|
+
*/
|
|
136
|
+
putId(
|
|
137
|
+
path: putIdPathParams,
|
|
138
|
+
data: MdmCategoryRequest,
|
|
139
|
+
config?: Partial<AxiosRequestConfig>,
|
|
140
|
+
): Promise<string>;
|
|
141
|
+
/**
|
|
142
|
+
* 创建流程并返回流程id
|
|
143
|
+
*/
|
|
144
|
+
postIdCreateProcess(
|
|
145
|
+
path: postIdCreateProcessPathParams,
|
|
146
|
+
config?: Partial<AxiosRequestConfig>,
|
|
147
|
+
): Promise<string>;
|
|
148
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1
2
|
import type { AxiosRequestConfig } from 'axios';
|
|
2
3
|
import type {
|
|
3
4
|
ModelMetaResponse,
|
|
@@ -7,6 +8,7 @@ import type {
|
|
|
7
8
|
TableMetaER,
|
|
8
9
|
ModelField,
|
|
9
10
|
ModelBriefInfo,
|
|
11
|
+
ModelRelationInfo,
|
|
10
12
|
ModelMetaVO,
|
|
11
13
|
} from '../entities';
|
|
12
14
|
|
|
@@ -136,6 +138,9 @@ export interface getPermissionRelationQuery extends IObject {
|
|
|
136
138
|
*/
|
|
137
139
|
keyword?: string;
|
|
138
140
|
}
|
|
141
|
+
export interface getRelationModelKeyPathParams {
|
|
142
|
+
modelKey: string;
|
|
143
|
+
}
|
|
139
144
|
export interface putSupportMessageModelKeyEnabledPathParams {
|
|
140
145
|
modelKey: string;
|
|
141
146
|
enabled: string;
|
|
@@ -313,6 +318,17 @@ export interface ModelMetaService {
|
|
|
313
318
|
query: getPermissionRelationQuery,
|
|
314
319
|
config?: Partial<AxiosRequestConfig>,
|
|
315
320
|
): Promise<ModelBriefInfo[]>;
|
|
321
|
+
/**
|
|
322
|
+
* 导出模型关联数据
|
|
323
|
+
*/
|
|
324
|
+
postRelationExport(config?: Partial<AxiosRequestConfig>): Promise<any>;
|
|
325
|
+
/**
|
|
326
|
+
* 查询导出模型关联数据
|
|
327
|
+
*/
|
|
328
|
+
getRelationModelKey(
|
|
329
|
+
path: getRelationModelKeyPathParams,
|
|
330
|
+
config?: Partial<AxiosRequestConfig>,
|
|
331
|
+
): Promise<ModelRelationInfo>;
|
|
316
332
|
/**
|
|
317
333
|
* 实体模型保存
|
|
318
334
|
*/
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
export interface postQuery extends IObject {
|
|
3
|
+
/**
|
|
4
|
+
* 模型精度
|
|
5
|
+
*/
|
|
6
|
+
modelPrecision?: string;
|
|
7
|
+
}
|
|
2
8
|
export interface OcrService {
|
|
3
9
|
/**
|
|
4
10
|
* 转发所有POST请求
|
|
5
11
|
*/
|
|
6
|
-
post(config?: Partial<AxiosRequestConfig>): Promise<object>;
|
|
12
|
+
post(query: postQuery, config?: Partial<AxiosRequestConfig>): Promise<object>;
|
|
7
13
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import type {
|
|
3
3
|
OnlineFormCategoryRequest,
|
|
4
|
-
CategoryDragDTO,
|
|
5
4
|
ResponseEntity,
|
|
5
|
+
CategoryDragDTO,
|
|
6
6
|
OnlineFormCategoryResponse,
|
|
7
7
|
} from '../entities';
|
|
8
8
|
|
|
@@ -12,6 +12,18 @@ export interface deleteQuery extends IObject {
|
|
|
12
12
|
*/
|
|
13
13
|
id: string;
|
|
14
14
|
}
|
|
15
|
+
export interface putApproveTmplDisableQuery extends IObject {
|
|
16
|
+
/**
|
|
17
|
+
* 逗号拼接id
|
|
18
|
+
*/
|
|
19
|
+
ids: string;
|
|
20
|
+
}
|
|
21
|
+
export interface putApproveTmplEnableQuery extends IObject {
|
|
22
|
+
/**
|
|
23
|
+
* 逗号拼接id
|
|
24
|
+
*/
|
|
25
|
+
ids: string;
|
|
26
|
+
}
|
|
15
27
|
export interface getInfoQuery extends IObject {
|
|
16
28
|
/**
|
|
17
29
|
* id
|
|
@@ -46,6 +58,20 @@ export interface OnlineFormCategoryService {
|
|
|
46
58
|
query: deleteQuery,
|
|
47
59
|
config?: Partial<AxiosRequestConfig>,
|
|
48
60
|
): Promise<string>;
|
|
61
|
+
/**
|
|
62
|
+
* 禁用
|
|
63
|
+
*/
|
|
64
|
+
putApproveTmplDisable(
|
|
65
|
+
query: putApproveTmplDisableQuery,
|
|
66
|
+
config?: Partial<AxiosRequestConfig>,
|
|
67
|
+
): Promise<ResponseEntity>;
|
|
68
|
+
/**
|
|
69
|
+
* 启用
|
|
70
|
+
*/
|
|
71
|
+
putApproveTmplEnable(
|
|
72
|
+
query: putApproveTmplEnableQuery,
|
|
73
|
+
config?: Partial<AxiosRequestConfig>,
|
|
74
|
+
): Promise<ResponseEntity>;
|
|
49
75
|
/**
|
|
50
76
|
* 拖拽
|
|
51
77
|
*/
|
|
@@ -29,6 +29,10 @@ export interface getAppendixFormListQuery extends IObject {
|
|
|
29
29
|
* 工单ID
|
|
30
30
|
*/
|
|
31
31
|
mfgOrderId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* 模块类型
|
|
34
|
+
*/
|
|
35
|
+
module?: string;
|
|
32
36
|
}
|
|
33
37
|
export interface getDataIdsQuery extends IObject {
|
|
34
38
|
/**
|
|
@@ -71,6 +75,10 @@ export interface getDhrFormListQuery extends IObject {
|
|
|
71
75
|
* 工单ID
|
|
72
76
|
*/
|
|
73
77
|
mfgOrderId?: string;
|
|
78
|
+
/**
|
|
79
|
+
* 模块类型
|
|
80
|
+
*/
|
|
81
|
+
module?: string;
|
|
74
82
|
/**
|
|
75
83
|
* 类型(production/rework)
|
|
76
84
|
*/
|
|
@@ -85,6 +93,10 @@ export interface getFindByMaterialNoQuery extends IObject {
|
|
|
85
93
|
* mfgOrderId
|
|
86
94
|
*/
|
|
87
95
|
mfgOrderId?: string;
|
|
96
|
+
/**
|
|
97
|
+
* module
|
|
98
|
+
*/
|
|
99
|
+
module?: string;
|
|
88
100
|
}
|
|
89
101
|
export interface getFindByMaterialNoAndDocOutlineIdQuery extends IObject {
|
|
90
102
|
/**
|
|
@@ -7,7 +7,7 @@ import type {
|
|
|
7
7
|
DocumentInfo4Req,
|
|
8
8
|
OnlineFormTmplModelResponse,
|
|
9
9
|
SimpleOnlineFormDesignDTO,
|
|
10
|
-
|
|
10
|
+
在线表单字段创建请求,
|
|
11
11
|
OnlineFormTmplOperationConfig,
|
|
12
12
|
OnlineFormDesignDTO,
|
|
13
13
|
OperatingStateRequest,
|
|
@@ -31,6 +31,16 @@ export interface getGetBomByFormTmplIdQuery extends IObject {
|
|
|
31
31
|
*/
|
|
32
32
|
id: string;
|
|
33
33
|
}
|
|
34
|
+
export interface getGetBomByFormTmplIdAndObjectKeyQuery extends IObject {
|
|
35
|
+
/**
|
|
36
|
+
* id
|
|
37
|
+
*/
|
|
38
|
+
id: string;
|
|
39
|
+
/**
|
|
40
|
+
* objectKey
|
|
41
|
+
*/
|
|
42
|
+
objectKey: string;
|
|
43
|
+
}
|
|
34
44
|
export interface getGetBomByFormTmplIdAndTableKeyQuery extends IObject {
|
|
35
45
|
/**
|
|
36
46
|
* id
|
|
@@ -83,6 +93,28 @@ export interface getListBaseAndProcessFormQuery extends IObject {
|
|
|
83
93
|
*/
|
|
84
94
|
name?: string;
|
|
85
95
|
}
|
|
96
|
+
export interface getListBaseAndProcessFormPageQuery extends IObject {
|
|
97
|
+
/**
|
|
98
|
+
* 分类id
|
|
99
|
+
*/
|
|
100
|
+
categoryId?: string;
|
|
101
|
+
/**
|
|
102
|
+
* 表单类型
|
|
103
|
+
*/
|
|
104
|
+
formType?: string;
|
|
105
|
+
/**
|
|
106
|
+
* 表单名称
|
|
107
|
+
*/
|
|
108
|
+
name?: string;
|
|
109
|
+
/**
|
|
110
|
+
* 页码
|
|
111
|
+
*/
|
|
112
|
+
pageNo?: number;
|
|
113
|
+
/**
|
|
114
|
+
* 每页数据条数
|
|
115
|
+
*/
|
|
116
|
+
pageSize?: number;
|
|
117
|
+
}
|
|
86
118
|
export interface getListOnlineFormModelsQuery extends IObject {
|
|
87
119
|
/**
|
|
88
120
|
* name
|
|
@@ -179,7 +211,14 @@ export interface OnlineFormTmplService {
|
|
|
179
211
|
config?: Partial<AxiosRequestConfig>,
|
|
180
212
|
): Promise<IObject[]>;
|
|
181
213
|
/**
|
|
182
|
-
* 根据ID
|
|
214
|
+
* 根据ID获取表单对象BOM
|
|
215
|
+
*/
|
|
216
|
+
getGetBomByFormTmplIdAndObjectKey(
|
|
217
|
+
query: getGetBomByFormTmplIdAndObjectKeyQuery,
|
|
218
|
+
config?: Partial<AxiosRequestConfig>,
|
|
219
|
+
): Promise<IObject>;
|
|
220
|
+
/**
|
|
221
|
+
* 根据ID获取表单子表BOM
|
|
183
222
|
*/
|
|
184
223
|
getGetBomByFormTmplIdAndTableKey(
|
|
185
224
|
query: getGetBomByFormTmplIdAndTableKeyQuery,
|
|
@@ -231,6 +270,13 @@ export interface OnlineFormTmplService {
|
|
|
231
270
|
query: getListBaseAndProcessFormQuery,
|
|
232
271
|
config?: Partial<AxiosRequestConfig>,
|
|
233
272
|
): Promise<OnlineFormTmplResponse[]>;
|
|
273
|
+
/**
|
|
274
|
+
* 分页获取所有基础表单和流程表单
|
|
275
|
+
*/
|
|
276
|
+
getListBaseAndProcessFormPage(
|
|
277
|
+
query: getListBaseAndProcessFormPageQuery,
|
|
278
|
+
config?: Partial<AxiosRequestConfig>,
|
|
279
|
+
): Promise<IPage<OnlineFormTmplResponse>>;
|
|
234
280
|
/**
|
|
235
281
|
* 获取所有基础表单和流程表单及其对应模型
|
|
236
282
|
*/
|
|
@@ -285,7 +331,7 @@ export interface OnlineFormTmplService {
|
|
|
285
331
|
* 新建字段
|
|
286
332
|
*/
|
|
287
333
|
postSaveField(
|
|
288
|
-
data:
|
|
334
|
+
data: 在线表单字段创建请求,
|
|
289
335
|
config?: Partial<AxiosRequestConfig>,
|
|
290
336
|
): Promise<string>;
|
|
291
337
|
/**
|