@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
|
@@ -1207,6 +1207,174 @@ export const apiConfig = [
|
|
|
1207
1207
|
}
|
|
1208
1208
|
]
|
|
1209
1209
|
},
|
|
1210
|
+
{
|
|
1211
|
+
name: "customField",
|
|
1212
|
+
entityName: "custom-field",
|
|
1213
|
+
apis: [
|
|
1214
|
+
{
|
|
1215
|
+
mode: "post",
|
|
1216
|
+
method: "post",
|
|
1217
|
+
path: "",
|
|
1218
|
+
hasData: true
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
mode: "delete",
|
|
1222
|
+
method: "delete",
|
|
1223
|
+
path: "",
|
|
1224
|
+
hasQuery: true
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
mode: "post",
|
|
1228
|
+
method: "postExport",
|
|
1229
|
+
path: "export",
|
|
1230
|
+
hasData: true
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
mode: "get",
|
|
1234
|
+
method: "getFindByKey",
|
|
1235
|
+
path: "findByKey",
|
|
1236
|
+
hasQuery: true
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
mode: "post",
|
|
1240
|
+
method: "postImport",
|
|
1241
|
+
path: "import",
|
|
1242
|
+
hasUpload: true,
|
|
1243
|
+
hasData: true
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
mode: "get",
|
|
1247
|
+
method: "getInfo",
|
|
1248
|
+
path: "info",
|
|
1249
|
+
hasQuery: true
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
mode: "get",
|
|
1253
|
+
method: "getList",
|
|
1254
|
+
path: "list",
|
|
1255
|
+
hasQuery: true
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
mode: "get",
|
|
1259
|
+
method: "getPageList",
|
|
1260
|
+
path: "page/list",
|
|
1261
|
+
hasQuery: true
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
mode: "put",
|
|
1265
|
+
method: "putRebuildRefNum",
|
|
1266
|
+
path: "rebuild-ref-num",
|
|
1267
|
+
hasQuery: true
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
mode: "get",
|
|
1271
|
+
method: "getReferenceFormList",
|
|
1272
|
+
path: "reference-form/list",
|
|
1273
|
+
hasQuery: true
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
mode: "put",
|
|
1277
|
+
method: "putId",
|
|
1278
|
+
path: "{id}",
|
|
1279
|
+
hasPathParams: true,
|
|
1280
|
+
hasData: true
|
|
1281
|
+
}
|
|
1282
|
+
]
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
name: "customObject",
|
|
1286
|
+
entityName: "custom-object",
|
|
1287
|
+
apis: [
|
|
1288
|
+
{
|
|
1289
|
+
mode: "post",
|
|
1290
|
+
method: "post",
|
|
1291
|
+
path: "",
|
|
1292
|
+
hasData: true
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
mode: "delete",
|
|
1296
|
+
method: "delete",
|
|
1297
|
+
path: "",
|
|
1298
|
+
hasQuery: true
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
mode: "post",
|
|
1302
|
+
method: "postExport",
|
|
1303
|
+
path: "export",
|
|
1304
|
+
hasData: true
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
mode: "post",
|
|
1308
|
+
method: "postImport",
|
|
1309
|
+
path: "import",
|
|
1310
|
+
hasUpload: true,
|
|
1311
|
+
hasData: true
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
mode: "get",
|
|
1315
|
+
method: "getInfo",
|
|
1316
|
+
path: "info",
|
|
1317
|
+
hasQuery: true
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
mode: "post",
|
|
1321
|
+
method: "postItem",
|
|
1322
|
+
path: "item",
|
|
1323
|
+
hasQuery: true,
|
|
1324
|
+
hasData: true
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
mode: "delete",
|
|
1328
|
+
method: "deleteItem",
|
|
1329
|
+
path: "item",
|
|
1330
|
+
hasQuery: true
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
mode: "get",
|
|
1334
|
+
method: "getItemInfo",
|
|
1335
|
+
path: "item/info",
|
|
1336
|
+
hasQuery: true
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
mode: "get",
|
|
1340
|
+
method: "getItemList",
|
|
1341
|
+
path: "item/list",
|
|
1342
|
+
hasQuery: true
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
mode: "put",
|
|
1346
|
+
method: "putItemId",
|
|
1347
|
+
path: "item/{id}",
|
|
1348
|
+
hasPathParams: true,
|
|
1349
|
+
hasData: true
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
mode: "get",
|
|
1353
|
+
method: "getList",
|
|
1354
|
+
path: "list",
|
|
1355
|
+
hasQuery: true
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
mode: "get",
|
|
1359
|
+
method: "getPageList",
|
|
1360
|
+
path: "page/list",
|
|
1361
|
+
hasQuery: true
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
mode: "put",
|
|
1365
|
+
method: "putSyncFields",
|
|
1366
|
+
path: "sync-fields",
|
|
1367
|
+
hasQuery: true
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
mode: "put",
|
|
1371
|
+
method: "putId",
|
|
1372
|
+
path: "{id}",
|
|
1373
|
+
hasPathParams: true,
|
|
1374
|
+
hasData: true
|
|
1375
|
+
}
|
|
1376
|
+
]
|
|
1377
|
+
},
|
|
1210
1378
|
{
|
|
1211
1379
|
name: "customerComplaint",
|
|
1212
1380
|
entityName: "customer-complaint",
|
|
@@ -2088,6 +2256,18 @@ export const apiConfig = [
|
|
|
2088
2256
|
path: "",
|
|
2089
2257
|
hasQuery: true
|
|
2090
2258
|
},
|
|
2259
|
+
{
|
|
2260
|
+
mode: "put",
|
|
2261
|
+
method: "putApproveTmplDisable",
|
|
2262
|
+
path: "approve/tmpl/disable",
|
|
2263
|
+
hasQuery: true
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
mode: "put",
|
|
2267
|
+
method: "putApproveTmplEnable",
|
|
2268
|
+
path: "approve/tmpl/enable",
|
|
2269
|
+
hasQuery: true
|
|
2270
|
+
},
|
|
2091
2271
|
{
|
|
2092
2272
|
mode: "put",
|
|
2093
2273
|
method: "putDrag",
|
|
@@ -2279,6 +2459,12 @@ export const apiConfig = [
|
|
|
2279
2459
|
method: "getList",
|
|
2280
2460
|
path: "list",
|
|
2281
2461
|
hasQuery: true
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
mode: "get",
|
|
2465
|
+
method: "getListByPage",
|
|
2466
|
+
path: "listByPage",
|
|
2467
|
+
hasQuery: true
|
|
2282
2468
|
}
|
|
2283
2469
|
]
|
|
2284
2470
|
},
|
|
@@ -3591,6 +3777,79 @@ export const apiConfig = [
|
|
|
3591
3777
|
}
|
|
3592
3778
|
]
|
|
3593
3779
|
},
|
|
3780
|
+
{
|
|
3781
|
+
name: "mdmCategory",
|
|
3782
|
+
entityName: "mdm-category",
|
|
3783
|
+
apis: [
|
|
3784
|
+
{
|
|
3785
|
+
mode: "post",
|
|
3786
|
+
method: "post",
|
|
3787
|
+
path: "",
|
|
3788
|
+
hasData: true
|
|
3789
|
+
},
|
|
3790
|
+
{
|
|
3791
|
+
mode: "delete",
|
|
3792
|
+
method: "delete",
|
|
3793
|
+
path: "",
|
|
3794
|
+
hasQuery: true
|
|
3795
|
+
},
|
|
3796
|
+
{
|
|
3797
|
+
mode: "put",
|
|
3798
|
+
method: "putApproveTmplDisable",
|
|
3799
|
+
path: "approve/tmpl/disable",
|
|
3800
|
+
hasQuery: true
|
|
3801
|
+
},
|
|
3802
|
+
{
|
|
3803
|
+
mode: "put",
|
|
3804
|
+
method: "putApproveTmplEnable",
|
|
3805
|
+
path: "approve/tmpl/enable",
|
|
3806
|
+
hasQuery: true
|
|
3807
|
+
},
|
|
3808
|
+
{
|
|
3809
|
+
mode: "put",
|
|
3810
|
+
method: "putDrag",
|
|
3811
|
+
path: "drag",
|
|
3812
|
+
hasData: true
|
|
3813
|
+
},
|
|
3814
|
+
{
|
|
3815
|
+
mode: "get",
|
|
3816
|
+
method: "getInfo",
|
|
3817
|
+
path: "info",
|
|
3818
|
+
hasQuery: true
|
|
3819
|
+
},
|
|
3820
|
+
{
|
|
3821
|
+
mode: "get",
|
|
3822
|
+
method: "getList",
|
|
3823
|
+
path: "list",
|
|
3824
|
+
hasQuery: true
|
|
3825
|
+
},
|
|
3826
|
+
{
|
|
3827
|
+
mode: "get",
|
|
3828
|
+
method: "getPageList",
|
|
3829
|
+
path: "page/list",
|
|
3830
|
+
hasQuery: true
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
mode: "get",
|
|
3834
|
+
method: "getTree",
|
|
3835
|
+
path: "tree",
|
|
3836
|
+
hasQuery: true
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
mode: "put",
|
|
3840
|
+
method: "putId",
|
|
3841
|
+
path: "{id}",
|
|
3842
|
+
hasPathParams: true,
|
|
3843
|
+
hasData: true
|
|
3844
|
+
},
|
|
3845
|
+
{
|
|
3846
|
+
mode: "post",
|
|
3847
|
+
method: "postIdCreateProcess",
|
|
3848
|
+
path: "{id}/createProcess",
|
|
3849
|
+
hasPathParams: true
|
|
3850
|
+
}
|
|
3851
|
+
]
|
|
3852
|
+
},
|
|
3594
3853
|
{
|
|
3595
3854
|
name: "menuConfig",
|
|
3596
3855
|
entityName: "menu-config",
|
|
@@ -4259,6 +4518,17 @@ export const apiConfig = [
|
|
|
4259
4518
|
path: "permission/relation",
|
|
4260
4519
|
hasQuery: true
|
|
4261
4520
|
},
|
|
4521
|
+
{
|
|
4522
|
+
mode: "post",
|
|
4523
|
+
method: "postRelationExport",
|
|
4524
|
+
path: "relation/export"
|
|
4525
|
+
},
|
|
4526
|
+
{
|
|
4527
|
+
mode: "get",
|
|
4528
|
+
method: "getRelationModelKey",
|
|
4529
|
+
path: "relation/{modelKey}",
|
|
4530
|
+
hasPathParams: true
|
|
4531
|
+
},
|
|
4262
4532
|
{
|
|
4263
4533
|
mode: "post",
|
|
4264
4534
|
method: "postSave",
|
|
@@ -4426,7 +4696,8 @@ export const apiConfig = [
|
|
|
4426
4696
|
{
|
|
4427
4697
|
mode: "post",
|
|
4428
4698
|
method: "post",
|
|
4429
|
-
path: "**"
|
|
4699
|
+
path: "**",
|
|
4700
|
+
hasQuery: true
|
|
4430
4701
|
}
|
|
4431
4702
|
]
|
|
4432
4703
|
},
|
|
@@ -4459,6 +4730,18 @@ export const apiConfig = [
|
|
|
4459
4730
|
path: "",
|
|
4460
4731
|
hasQuery: true
|
|
4461
4732
|
},
|
|
4733
|
+
{
|
|
4734
|
+
mode: "put",
|
|
4735
|
+
method: "putApproveTmplDisable",
|
|
4736
|
+
path: "approve/tmpl/disable",
|
|
4737
|
+
hasQuery: true
|
|
4738
|
+
},
|
|
4739
|
+
{
|
|
4740
|
+
mode: "put",
|
|
4741
|
+
method: "putApproveTmplEnable",
|
|
4742
|
+
path: "approve/tmpl/enable",
|
|
4743
|
+
hasQuery: true
|
|
4744
|
+
},
|
|
4462
4745
|
{
|
|
4463
4746
|
mode: "put",
|
|
4464
4747
|
method: "putDrag",
|
|
@@ -4861,6 +5144,12 @@ export const apiConfig = [
|
|
|
4861
5144
|
path: "getBomByFormTmplId",
|
|
4862
5145
|
hasQuery: true
|
|
4863
5146
|
},
|
|
5147
|
+
{
|
|
5148
|
+
mode: "get",
|
|
5149
|
+
method: "getGetBomByFormTmplIdAndObjectKey",
|
|
5150
|
+
path: "getBomByFormTmplIdAndObjectKey",
|
|
5151
|
+
hasQuery: true
|
|
5152
|
+
},
|
|
4864
5153
|
{
|
|
4865
5154
|
mode: "get",
|
|
4866
5155
|
method: "getGetBomByFormTmplIdAndTableKey",
|
|
@@ -4908,6 +5197,12 @@ export const apiConfig = [
|
|
|
4908
5197
|
path: "listBaseAndProcessForm",
|
|
4909
5198
|
hasQuery: true
|
|
4910
5199
|
},
|
|
5200
|
+
{
|
|
5201
|
+
mode: "get",
|
|
5202
|
+
method: "getListBaseAndProcessFormPage",
|
|
5203
|
+
path: "listBaseAndProcessForm/page",
|
|
5204
|
+
hasQuery: true
|
|
5205
|
+
},
|
|
4911
5206
|
{
|
|
4912
5207
|
mode: "get",
|
|
4913
5208
|
method: "getListOnlineFormModels",
|
|
@@ -34,10 +34,6 @@ export interface getListQuery extends IObject {
|
|
|
34
34
|
* 结束时间
|
|
35
35
|
*/
|
|
36
36
|
endTime?: string;
|
|
37
|
-
/**
|
|
38
|
-
* 所属模块(实体、枚举、web页面)
|
|
39
|
-
*/
|
|
40
|
-
module?: string;
|
|
41
37
|
/**
|
|
42
38
|
* 应用名称
|
|
43
39
|
*/
|
|
@@ -108,10 +104,6 @@ export interface getListCompleteQuery extends IObject {
|
|
|
108
104
|
*
|
|
109
105
|
*/
|
|
110
106
|
modifyUserName?: string;
|
|
111
|
-
/**
|
|
112
|
-
* 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
|
|
113
|
-
*/
|
|
114
|
-
module?: string;
|
|
115
107
|
/**
|
|
116
108
|
*
|
|
117
109
|
*/
|
|
@@ -182,10 +174,6 @@ export interface getPageQuery extends IObject {
|
|
|
182
174
|
*
|
|
183
175
|
*/
|
|
184
176
|
modifyUserName?: string;
|
|
185
|
-
/**
|
|
186
|
-
* 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
|
|
187
|
-
*/
|
|
188
|
-
module?: string;
|
|
189
177
|
/**
|
|
190
178
|
*
|
|
191
179
|
*/
|
|
@@ -224,10 +212,6 @@ export interface getPageListQuery extends IObject {
|
|
|
224
212
|
* 结束时间
|
|
225
213
|
*/
|
|
226
214
|
endTime?: string;
|
|
227
|
-
/**
|
|
228
|
-
* 所属模块(实体、枚举、web页面)
|
|
229
|
-
*/
|
|
230
|
-
module?: string;
|
|
231
215
|
/**
|
|
232
216
|
* 应用名称
|
|
233
217
|
*/
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type {
|
|
3
|
+
CustomFieldEntity,
|
|
4
|
+
自定义字段导出请求,
|
|
5
|
+
Resource,
|
|
6
|
+
自定义字段导入结果,
|
|
7
|
+
自定义字段引用表单模板,
|
|
8
|
+
} from '../entities';
|
|
9
|
+
|
|
10
|
+
export interface deleteQuery extends IObject {
|
|
11
|
+
/**
|
|
12
|
+
* id
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
export interface getFindByKeyQuery extends IObject {
|
|
17
|
+
/**
|
|
18
|
+
* key
|
|
19
|
+
*/
|
|
20
|
+
key: string;
|
|
21
|
+
}
|
|
22
|
+
export interface getInfoQuery extends IObject {
|
|
23
|
+
/**
|
|
24
|
+
* id
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
}
|
|
28
|
+
export interface getListQuery extends IObject {
|
|
29
|
+
/**
|
|
30
|
+
* 名称或字段key
|
|
31
|
+
*/
|
|
32
|
+
keyword?: string;
|
|
33
|
+
/**
|
|
34
|
+
* 字段类型
|
|
35
|
+
*/
|
|
36
|
+
traceEnabled?: number;
|
|
37
|
+
/**
|
|
38
|
+
* 字段类型
|
|
39
|
+
*/
|
|
40
|
+
type?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface getPageListQuery extends IObject {
|
|
43
|
+
/**
|
|
44
|
+
* 名称或字段key
|
|
45
|
+
*/
|
|
46
|
+
keyword?: string;
|
|
47
|
+
/**
|
|
48
|
+
* 页码
|
|
49
|
+
*/
|
|
50
|
+
pageNo?: number;
|
|
51
|
+
/**
|
|
52
|
+
* 每页数据条数
|
|
53
|
+
*/
|
|
54
|
+
pageSize?: number;
|
|
55
|
+
/**
|
|
56
|
+
* 字段类型
|
|
57
|
+
*/
|
|
58
|
+
type?: string;
|
|
59
|
+
}
|
|
60
|
+
export interface putRebuildRefNumQuery extends IObject {
|
|
61
|
+
/**
|
|
62
|
+
* id
|
|
63
|
+
*/
|
|
64
|
+
id: string;
|
|
65
|
+
}
|
|
66
|
+
export interface getReferenceFormListQuery extends IObject {
|
|
67
|
+
/**
|
|
68
|
+
* 自定义字段id
|
|
69
|
+
*/
|
|
70
|
+
id: string;
|
|
71
|
+
/**
|
|
72
|
+
* 表单名称
|
|
73
|
+
*/
|
|
74
|
+
keyword?: string;
|
|
75
|
+
/**
|
|
76
|
+
* 页码
|
|
77
|
+
*/
|
|
78
|
+
pageNo?: number;
|
|
79
|
+
/**
|
|
80
|
+
* 每页数据条数
|
|
81
|
+
*/
|
|
82
|
+
pageSize?: number;
|
|
83
|
+
}
|
|
84
|
+
export interface putIdPathParams {
|
|
85
|
+
id: string;
|
|
86
|
+
}
|
|
87
|
+
export interface CustomFieldService {
|
|
88
|
+
/**
|
|
89
|
+
* 新增自定义字段
|
|
90
|
+
*/
|
|
91
|
+
post(
|
|
92
|
+
data: CustomFieldEntity,
|
|
93
|
+
config?: Partial<AxiosRequestConfig>,
|
|
94
|
+
): Promise<string>;
|
|
95
|
+
/**
|
|
96
|
+
* 删除自定义字段
|
|
97
|
+
*/
|
|
98
|
+
delete(
|
|
99
|
+
query: deleteQuery,
|
|
100
|
+
config?: Partial<AxiosRequestConfig>,
|
|
101
|
+
): Promise<string>;
|
|
102
|
+
/**
|
|
103
|
+
* 导出自定义字段
|
|
104
|
+
*/
|
|
105
|
+
postExport(
|
|
106
|
+
data: 自定义字段导出请求,
|
|
107
|
+
config?: Partial<AxiosRequestConfig>,
|
|
108
|
+
): Promise<Resource>;
|
|
109
|
+
/**
|
|
110
|
+
* 根据key查询字段
|
|
111
|
+
*/
|
|
112
|
+
getFindByKey(
|
|
113
|
+
query: getFindByKeyQuery,
|
|
114
|
+
config?: Partial<AxiosRequestConfig>,
|
|
115
|
+
): Promise<CustomFieldEntity>;
|
|
116
|
+
/**
|
|
117
|
+
* 导入自定义字段
|
|
118
|
+
*/
|
|
119
|
+
postImport(
|
|
120
|
+
data: UploadFileData,
|
|
121
|
+
config?: Partial<AxiosRequestConfig>,
|
|
122
|
+
): Promise<IHttpResponse<自定义字段导入结果>>;
|
|
123
|
+
/**
|
|
124
|
+
* 自定义字段详情
|
|
125
|
+
*/
|
|
126
|
+
getInfo(
|
|
127
|
+
query: getInfoQuery,
|
|
128
|
+
config?: Partial<AxiosRequestConfig>,
|
|
129
|
+
): Promise<CustomFieldEntity>;
|
|
130
|
+
/**
|
|
131
|
+
* 自定义字段列表
|
|
132
|
+
*/
|
|
133
|
+
getList(
|
|
134
|
+
query: getListQuery,
|
|
135
|
+
config?: Partial<AxiosRequestConfig>,
|
|
136
|
+
): Promise<CustomFieldEntity[]>;
|
|
137
|
+
/**
|
|
138
|
+
* 自定义字段分页列表
|
|
139
|
+
*/
|
|
140
|
+
getPageList(
|
|
141
|
+
query: getPageListQuery,
|
|
142
|
+
config?: Partial<AxiosRequestConfig>,
|
|
143
|
+
): Promise<IPage<CustomFieldEntity>>;
|
|
144
|
+
/**
|
|
145
|
+
* 按引用明细重算模板引用数量
|
|
146
|
+
*/
|
|
147
|
+
putRebuildRefNum(
|
|
148
|
+
query: putRebuildRefNumQuery,
|
|
149
|
+
config?: Partial<AxiosRequestConfig>,
|
|
150
|
+
): Promise<number>;
|
|
151
|
+
/**
|
|
152
|
+
* 分页查询自定义字段引用的表单模板列表
|
|
153
|
+
*/
|
|
154
|
+
getReferenceFormList(
|
|
155
|
+
query: getReferenceFormListQuery,
|
|
156
|
+
config?: Partial<AxiosRequestConfig>,
|
|
157
|
+
): Promise<IPage<自定义字段引用表单模板>>;
|
|
158
|
+
/**
|
|
159
|
+
* 修改自定义字段
|
|
160
|
+
*/
|
|
161
|
+
putId(
|
|
162
|
+
path: putIdPathParams,
|
|
163
|
+
data: CustomFieldEntity,
|
|
164
|
+
config?: Partial<AxiosRequestConfig>,
|
|
165
|
+
): Promise<string>;
|
|
166
|
+
}
|