@gct-paas/api 0.1.0-word.3 → 0.1.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/dist/gct-api.esm.min.js +1 -1
  2. package/dist/gct-api.system.min.js +1 -1
  3. package/es/apaas/service/api-config.mjs +167 -9
  4. package/es/apaas/service/apis/designer-common.service.d.ts +5 -1
  5. package/es/apaas/service/apis/doc-control-started.service.d.ts +76 -1
  6. package/es/apaas/service/apis/doc-control-task-todo.service.d.ts +12 -0
  7. package/es/apaas/service/apis/excel.service.d.ts +6 -2
  8. package/es/apaas/service/apis/field-meta.service.d.ts +21 -0
  9. package/es/apaas/service/apis/file-resource.service.d.ts +1 -0
  10. package/es/apaas/service/apis/file.service.d.ts +1 -0
  11. package/es/apaas/service/apis/i18n-info.service.d.ts +1 -0
  12. package/es/apaas/service/apis/label.service.d.ts +15 -4
  13. package/es/apaas/service/apis/model-meta.service.d.ts +15 -1
  14. package/es/apaas/service/apis/office.service.d.ts +4 -1
  15. package/es/apaas/service/apis/online-form-instance.service.d.ts +45 -0
  16. package/es/apaas/service/apis/online-form.service.d.ts +8 -1
  17. package/es/apaas/service/apis/process-task-done.service.d.ts +24 -1
  18. package/es/apaas/service/apis/process-task-todo.service.d.ts +36 -1
  19. package/es/apaas/service/apis/ss.service.d.ts +1 -0
  20. package/es/apaas/service/entities.d.ts +2264 -344
  21. package/es/apaas/service/index.d.ts +6 -0
  22. package/es/ipaas/service/api-config.mjs +21 -2
  23. package/es/ipaas/service/apis/connector-config.service.d.ts +1 -0
  24. package/es/ipaas/service/apis/flow.service.d.ts +78 -1
  25. package/es/ipaas/service/entities.d.ts +162 -0
  26. package/es/platform/service/api-config.mjs +52 -21
  27. package/es/platform/service/apis/api.service.d.ts +18 -0
  28. package/es/platform/service/apis/apk.service.d.ts +4 -1
  29. package/es/platform/service/apis/app.service.d.ts +8 -1
  30. package/es/platform/service/apis/assets.service.d.ts +1 -0
  31. package/es/platform/service/apis/bi-app.service.d.ts +4 -3
  32. package/es/platform/service/apis/bi-file.service.d.ts +1 -0
  33. package/es/platform/service/apis/device-interconnection-param.service.d.ts +4 -1
  34. package/es/platform/service/apis/device-interconnection.service.d.ts +4 -1
  35. package/es/platform/service/apis/file.service.d.ts +6 -1
  36. package/es/platform/service/apis/i18n-info.service.d.ts +1 -0
  37. package/es/platform/service/apis/invoke-log.service.d.ts +17 -1
  38. package/es/platform/service/apis/ldap.service.d.ts +4 -1
  39. package/es/platform/service/apis/license.service.d.ts +18 -0
  40. package/es/platform/service/apis/org.service.d.ts +0 -4
  41. package/es/platform/service/apis/plat.service.d.ts +4 -1
  42. package/es/platform/service/apis/pn-project.service.d.ts +1 -0
  43. package/es/platform/service/apis/tenant.service.d.ts +0 -4
  44. package/es/platform/service/apis/user.service.d.ts +15 -3
  45. package/es/platform/service/entities.d.ts +94 -0
  46. package/lib/apaas/service/api-config.cjs +139 -9
  47. package/lib/apaas/service/apis/designer-common.service.d.ts +5 -1
  48. package/lib/apaas/service/apis/doc-control-started.service.d.ts +76 -1
  49. package/lib/apaas/service/apis/doc-control-task-todo.service.d.ts +12 -0
  50. package/lib/apaas/service/apis/excel.service.d.ts +6 -2
  51. package/lib/apaas/service/apis/field-meta.service.d.ts +21 -0
  52. package/lib/apaas/service/apis/file-resource.service.d.ts +1 -0
  53. package/lib/apaas/service/apis/file.service.d.ts +1 -0
  54. package/lib/apaas/service/apis/i18n-info.service.d.ts +1 -0
  55. package/lib/apaas/service/apis/label.service.d.ts +15 -4
  56. package/lib/apaas/service/apis/model-meta.service.d.ts +15 -1
  57. package/lib/apaas/service/apis/office.service.d.ts +4 -1
  58. package/lib/apaas/service/apis/online-form-instance.service.d.ts +45 -0
  59. package/lib/apaas/service/apis/online-form.service.d.ts +8 -1
  60. package/lib/apaas/service/apis/process-task-done.service.d.ts +24 -1
  61. package/lib/apaas/service/apis/process-task-todo.service.d.ts +36 -1
  62. package/lib/apaas/service/apis/ss.service.d.ts +1 -0
  63. package/lib/apaas/service/entities.d.ts +2264 -344
  64. package/lib/apaas/service/index.d.ts +6 -0
  65. package/lib/ipaas/service/api-config.cjs +18 -2
  66. package/lib/ipaas/service/apis/connector-config.service.d.ts +1 -0
  67. package/lib/ipaas/service/apis/flow.service.d.ts +78 -1
  68. package/lib/ipaas/service/entities.d.ts +162 -0
  69. package/lib/platform/service/api-config.cjs +50 -21
  70. package/lib/platform/service/apis/api.service.d.ts +18 -0
  71. package/lib/platform/service/apis/apk.service.d.ts +4 -1
  72. package/lib/platform/service/apis/app.service.d.ts +8 -1
  73. package/lib/platform/service/apis/assets.service.d.ts +1 -0
  74. package/lib/platform/service/apis/bi-app.service.d.ts +4 -3
  75. package/lib/platform/service/apis/bi-file.service.d.ts +1 -0
  76. package/lib/platform/service/apis/device-interconnection-param.service.d.ts +4 -1
  77. package/lib/platform/service/apis/device-interconnection.service.d.ts +4 -1
  78. package/lib/platform/service/apis/file.service.d.ts +6 -1
  79. package/lib/platform/service/apis/i18n-info.service.d.ts +1 -0
  80. package/lib/platform/service/apis/invoke-log.service.d.ts +17 -1
  81. package/lib/platform/service/apis/ldap.service.d.ts +4 -1
  82. package/lib/platform/service/apis/license.service.d.ts +18 -0
  83. package/lib/platform/service/apis/org.service.d.ts +0 -4
  84. package/lib/platform/service/apis/plat.service.d.ts +4 -1
  85. package/lib/platform/service/apis/pn-project.service.d.ts +1 -0
  86. package/lib/platform/service/apis/tenant.service.d.ts +0 -4
  87. package/lib/platform/service/apis/user.service.d.ts +15 -3
  88. package/lib/platform/service/entities.d.ts +94 -0
  89. package/package.json +12 -5
@@ -1,4 +1,40 @@
1
1
  export const apiConfig = [
2
+ {
3
+ name: "medPro",
4
+ entityName: "med-pro",
5
+ apis: [
6
+ {
7
+ mode: "post",
8
+ method: "postModelMetaDataAssociation",
9
+ path: "modelMeta/dataAssociation",
10
+ hasData: true
11
+ },
12
+ {
13
+ mode: "get",
14
+ method: "getModelMetaGetSysConfig",
15
+ path: "modelMeta/getSysConfig",
16
+ hasQuery: true
17
+ },
18
+ {
19
+ mode: "get",
20
+ method: "getModelMetaHasDataAssociation",
21
+ path: "modelMeta/hasDataAssociation",
22
+ hasQuery: true
23
+ },
24
+ {
25
+ mode: "get",
26
+ method: "getModelMetaModelDataAssociation",
27
+ path: "modelMeta/modelDataAssociation",
28
+ hasQuery: true
29
+ },
30
+ {
31
+ mode: "get",
32
+ method: "getEdhrAttachmentGetEdhrAttachment",
33
+ path: "edhrAttachment/getEdhrAttachment",
34
+ hasQuery: true
35
+ }
36
+ ]
37
+ },
2
38
  {
3
39
  name: "appBranch",
4
40
  entityName: "app-branch",
@@ -1364,12 +1400,14 @@ export const apiConfig = [
1364
1400
  mode: "post",
1365
1401
  method: "postUploadFile",
1366
1402
  path: "upload/file",
1367
- hasQuery: true
1403
+ hasQuery: true,
1404
+ hasData: true
1368
1405
  },
1369
1406
  {
1370
1407
  mode: "post",
1371
1408
  method: "postUploadLabelImage",
1372
- path: "upload/label/image"
1409
+ path: "upload/label/image",
1410
+ hasData: true
1373
1411
  },
1374
1412
  {
1375
1413
  mode: "get",
@@ -1519,6 +1557,19 @@ export const apiConfig = [
1519
1557
  name: "docControlStarted",
1520
1558
  entityName: "doc-control-started",
1521
1559
  apis: [
1560
+ {
1561
+ mode: "get",
1562
+ method: "getAllPageList",
1563
+ path: "all/page/list",
1564
+ hasQuery: true
1565
+ },
1566
+ {
1567
+ mode: "put",
1568
+ method: "putEffectiveDateId",
1569
+ path: "effectiveDate/{id}",
1570
+ hasPathParams: true,
1571
+ hasData: true
1572
+ },
1522
1573
  {
1523
1574
  mode: "get",
1524
1575
  method: "getInfo",
@@ -2518,6 +2569,12 @@ export const apiConfig = [
2518
2569
  path: "preview",
2519
2570
  hasData: true
2520
2571
  },
2572
+ {
2573
+ mode: "get",
2574
+ method: "getRemoveDocument",
2575
+ path: "remove/document",
2576
+ hasQuery: true
2577
+ },
2521
2578
  {
2522
2579
  mode: "post",
2523
2580
  method: "postSave",
@@ -2571,7 +2628,8 @@ export const apiConfig = [
2571
2628
  mode: "post",
2572
2629
  method: "postUpload",
2573
2630
  path: "upload",
2574
- hasQuery: true
2631
+ hasQuery: true,
2632
+ hasData: true
2575
2633
  }
2576
2634
  ]
2577
2635
  },
@@ -2618,7 +2676,8 @@ export const apiConfig = [
2618
2676
  mode: "post",
2619
2677
  method: "postUploadImage",
2620
2678
  path: "upload/image",
2621
- hasQuery: true
2679
+ hasQuery: true,
2680
+ hasData: true
2622
2681
  }
2623
2682
  ]
2624
2683
  },
@@ -2828,7 +2887,8 @@ export const apiConfig = [
2828
2887
  mode: "post",
2829
2888
  method: "postLangUpload",
2830
2889
  path: "lang/upload",
2831
- hasQuery: true
2890
+ hasQuery: true,
2891
+ hasData: true
2832
2892
  },
2833
2893
  {
2834
2894
  mode: "get",
@@ -2845,6 +2905,29 @@ export const apiConfig = [
2845
2905
  }
2846
2906
  ]
2847
2907
  },
2908
+ {
2909
+ name: "importReport",
2910
+ entityName: "import-report",
2911
+ apis: [
2912
+ {
2913
+ mode: "get",
2914
+ method: "getInfo",
2915
+ path: "info",
2916
+ hasQuery: true
2917
+ },
2918
+ {
2919
+ mode: "get",
2920
+ method: "getList",
2921
+ path: "list"
2922
+ },
2923
+ {
2924
+ mode: "get",
2925
+ method: "getPageList",
2926
+ path: "page/list",
2927
+ hasQuery: true
2928
+ }
2929
+ ]
2930
+ },
2848
2931
  {
2849
2932
  name: "instanceRelation",
2850
2933
  entityName: "instance-relation",
@@ -3031,6 +3114,12 @@ export const apiConfig = [
3031
3114
  path: "btw",
3032
3115
  hasData: true
3033
3116
  },
3117
+ {
3118
+ mode: "post",
3119
+ method: "postBtwCopy",
3120
+ path: "btw/copy",
3121
+ hasData: true
3122
+ },
3034
3123
  {
3035
3124
  mode: "get",
3036
3125
  method: "getBtwPageList",
@@ -3045,8 +3134,8 @@ export const apiConfig = [
3045
3134
  },
3046
3135
  {
3047
3136
  mode: "put",
3048
- method: "putBtwUpdateDesigner",
3049
- path: "btw/updateDesigner",
3137
+ method: "putBtwUpdate",
3138
+ path: "btw/update",
3050
3139
  hasData: true
3051
3140
  },
3052
3141
  {
@@ -3093,7 +3182,8 @@ export const apiConfig = [
3093
3182
  {
3094
3183
  mode: "post",
3095
3184
  method: "postImport",
3096
- path: "import"
3185
+ path: "import",
3186
+ hasData: true
3097
3187
  },
3098
3188
  {
3099
3189
  mode: "get",
@@ -3897,6 +3987,12 @@ export const apiConfig = [
3897
3987
  path: "permission-enabled/list",
3898
3988
  hasQuery: true
3899
3989
  },
3990
+ {
3991
+ mode: "get",
3992
+ method: "getPermissionRelation",
3993
+ path: "permission/relation",
3994
+ hasQuery: true
3995
+ },
3900
3996
  {
3901
3997
  mode: "post",
3902
3998
  method: "postSave",
@@ -4066,7 +4162,8 @@ export const apiConfig = [
4066
4162
  {
4067
4163
  mode: "post",
4068
4164
  method: "postDocxJson",
4069
- path: "docx-json"
4165
+ path: "docx-json",
4166
+ hasData: true
4070
4167
  }
4071
4168
  ]
4072
4169
  },
@@ -4152,6 +4249,36 @@ export const apiConfig = [
4152
4249
  path: "appendix/form/list",
4153
4250
  hasQuery: true
4154
4251
  },
4252
+ {
4253
+ mode: "post",
4254
+ method: "postDataCollectionAbandon",
4255
+ path: "data-collection/abandon",
4256
+ hasData: true
4257
+ },
4258
+ {
4259
+ mode: "post",
4260
+ method: "postDataCollectionCreate",
4261
+ path: "data-collection/create",
4262
+ hasData: true
4263
+ },
4264
+ {
4265
+ mode: "get",
4266
+ method: "getDataCollectionListAll",
4267
+ path: "data-collection/listAll",
4268
+ hasQuery: true
4269
+ },
4270
+ {
4271
+ mode: "post",
4272
+ method: "postDataCollectionUpdateAlias",
4273
+ path: "data-collection/update-alias",
4274
+ hasData: true
4275
+ },
4276
+ {
4277
+ mode: "post",
4278
+ method: "postDataCollectionUpdateStatus",
4279
+ path: "data-collection/update-status",
4280
+ hasData: true
4281
+ },
4155
4282
  {
4156
4283
  mode: "get",
4157
4284
  method: "getDataIds",
@@ -4621,6 +4748,12 @@ export const apiConfig = [
4621
4748
  method: "getDataInitProtocolList",
4622
4749
  path: "data-init/protocol/list"
4623
4750
  },
4751
+ {
4752
+ mode: "post",
4753
+ method: "postPartialSubmit",
4754
+ path: "partialSubmit",
4755
+ hasData: true
4756
+ },
4624
4757
  {
4625
4758
  mode: "post",
4626
4759
  method: "postProcessAbandon",
@@ -5881,6 +6014,12 @@ export const apiConfig = [
5881
6014
  name: "processTaskDone",
5882
6015
  entityName: "process-task-done",
5883
6016
  apis: [
6017
+ {
6018
+ mode: "post",
6019
+ method: "postApproveHisPageList",
6020
+ path: "approve/his/page/list",
6021
+ hasData: true
6022
+ },
5884
6023
  {
5885
6024
  mode: "get",
5886
6025
  method: "getPageList",
@@ -5899,6 +6038,12 @@ export const apiConfig = [
5899
6038
  path: "all-user/page/list",
5900
6039
  hasQuery: true
5901
6040
  },
6041
+ {
6042
+ mode: "post",
6043
+ method: "postApproveHisPageList",
6044
+ path: "approve/his/page/list",
6045
+ hasData: true
6046
+ },
5902
6047
  {
5903
6048
  mode: "get",
5904
6049
  method: "getPageList",
@@ -6870,6 +7015,19 @@ export const apiConfig = [
6870
7015
  }
6871
7016
  ]
6872
7017
  },
7018
+ {
7019
+ name: "ss",
7020
+ entityName: "ss",
7021
+ apis: [
7022
+ {
7023
+ mode: "post",
7024
+ method: "postUploadExcel",
7025
+ path: "upload/excel",
7026
+ hasQuery: true,
7027
+ hasData: true
7028
+ }
7029
+ ]
7030
+ },
6873
7031
  {
6874
7032
  name: "stash",
6875
7033
  entityName: "stash",
@@ -433,12 +433,16 @@ export interface DesignerCommonService {
433
433
  */
434
434
  postUploadFile(
435
435
  query: postUploadFileQuery,
436
+ data: FormData,
436
437
  config?: Partial<AxiosRequestConfig>,
437
438
  ): Promise<string>;
438
439
  /**
439
440
  * 上传标签图片
440
441
  */
441
- postUploadLabelImage(config?: Partial<AxiosRequestConfig>): Promise<string>;
442
+ postUploadLabelImage(
443
+ data: FormData,
444
+ config?: Partial<AxiosRequestConfig>,
445
+ ): Promise<string>;
442
446
  /**
443
447
  * 获取用户角色权限组
444
448
  */
@@ -1,6 +1,66 @@
1
1
  import type { AxiosRequestConfig } from 'axios';
2
- import type { DocControlStartedResponse } from '../entities';
2
+ import type {
3
+ DocControlStartedResponse,
4
+ DocControlStartedRequest,
5
+ } from '../entities';
3
6
 
7
+ export interface getAllPageListQuery {
8
+ /**
9
+ * 分类ID
10
+ */
11
+ categoryId?: string;
12
+ /**
13
+ * 分类name
14
+ */
15
+ categoryName?: string;
16
+ /**
17
+ * 文件编码
18
+ */
19
+ code?: string;
20
+ /**
21
+ * 类型(EDHR,在线表单:FORM)
22
+ */
23
+ controlTmplType?: string;
24
+ /**
25
+ * 创建人id
26
+ */
27
+ createUserId?: string;
28
+ /**
29
+ * 创建时间 - 结束
30
+ */
31
+ endCreateTime?: string;
32
+ /**
33
+ * 文件名称
34
+ */
35
+ name?: string;
36
+ /**
37
+ * 页码
38
+ */
39
+ pageNo?: number;
40
+ /**
41
+ * 分页大小
42
+ */
43
+ pageSize?: number;
44
+ /**
45
+ * 排序字段
46
+ */
47
+ sortField?: string;
48
+ /**
49
+ * 排序方式:ASC/DESC, 不传默认 ASC
50
+ */
51
+ sortType?: string;
52
+ /**
53
+ * 创建时间 - 开始
54
+ */
55
+ startCreateTime?: string;
56
+ /**
57
+ * 状态(IN_AUDIT:审核中,ENDED:已退回,FINISHED:已审核)
58
+ */
59
+ status?: string;
60
+ }
61
+ export interface putEffectiveDateIdPathParams {
62
+ id: string;
63
+ }
4
64
  export interface getInfoQuery {
5
65
  /**
6
66
  * id
@@ -52,6 +112,21 @@ export interface getPageListQuery {
52
112
  pageSize?: number;
53
113
  }
54
114
  export interface DocControlStartedService {
115
+ /**
116
+ * 所有数据分页列表
117
+ */
118
+ getAllPageList(
119
+ query: getAllPageListQuery,
120
+ config?: Partial<AxiosRequestConfig>,
121
+ ): Promise<IPage<DocControlStartedResponse>>;
122
+ /**
123
+ * 修改生效日期
124
+ */
125
+ putEffectiveDateId(
126
+ path: putEffectiveDateIdPathParams,
127
+ data: DocControlStartedRequest,
128
+ config?: Partial<AxiosRequestConfig>,
129
+ ): Promise<string>;
55
130
  /**
56
131
  * 详情
57
132
  */
@@ -14,6 +14,14 @@ export interface getAllUserPageListQuery {
14
14
  * 类型(EDHR,在线表单:FORM)
15
15
  */
16
16
  controlTmplType?: string;
17
+ /**
18
+ * 创建人id
19
+ */
20
+ createUserId?: string;
21
+ /**
22
+ * 创建时间 - 结束
23
+ */
24
+ endCreateTime?: string;
17
25
  /**
18
26
  * 文件名称
19
27
  */
@@ -34,6 +42,10 @@ export interface getAllUserPageListQuery {
34
42
  * 排序方式:ASC/DESC, 不传默认 ASC
35
43
  */
36
44
  sortType?: string;
45
+ /**
46
+ * 创建时间 - 开始
47
+ */
48
+ startCreateTime?: string;
37
49
  }
38
50
  export interface getInfoQuery {
39
51
  /**
@@ -1,6 +1,10 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  import type { AxiosRequestConfig } from 'axios';
3
- import type { ImportModelData, ExcelValidateResponse } from '../entities';
3
+ import type {
4
+ ImportModelData,
5
+ ResponseEntity,
6
+ ExcelValidateResponse,
7
+ } from '../entities';
4
8
 
5
9
  export interface getDataDoImportQuery {
6
10
  /**
@@ -133,7 +137,7 @@ export interface ExcelService {
133
137
  getDataReport(
134
138
  query: getDataReportQuery,
135
139
  config?: Partial<AxiosRequestConfig>,
136
- ): Promise<any>;
140
+ ): Promise<ResponseEntity>;
137
141
  /**
138
142
  * excel数据导入数据校验
139
143
  */
@@ -71,6 +71,20 @@ export interface getPageGetRecycledListQuery {
71
71
  export interface putPageRecycledRestoreFieldIdPathParams {
72
72
  fieldId: string;
73
73
  }
74
+ export interface getRemoveDocumentQuery {
75
+ /**
76
+ * appId
77
+ */
78
+ appId?: string;
79
+ /**
80
+ * branchId
81
+ */
82
+ branchId?: string;
83
+ /**
84
+ * env
85
+ */
86
+ env?: string;
87
+ }
74
88
  export interface putUniqueConstraintAddModelKeyFieldKeyTypePathParams {
75
89
  modelKey: string;
76
90
  fieldKey: string;
@@ -156,6 +170,13 @@ export interface FieldMetaService {
156
170
  data: SequencePreviewRequest,
157
171
  config?: Partial<AxiosRequestConfig>,
158
172
  ): Promise<string[]>;
173
+ /**
174
+ * 移除单据模板字段元数据
175
+ */
176
+ getRemoveDocument(
177
+ query: getRemoveDocumentQuery,
178
+ config?: Partial<AxiosRequestConfig>,
179
+ ): Promise<string>;
159
180
  /**
160
181
  * 字段保存
161
182
  */
@@ -35,6 +35,7 @@ export interface FileResourceService {
35
35
  */
36
36
  postUpload(
37
37
  query: postUploadQuery,
38
+ data: FormData,
38
39
  config?: Partial<AxiosRequestConfig>,
39
40
  ): Promise<string>;
40
41
  }
@@ -39,6 +39,7 @@ export interface FileService {
39
39
  */
40
40
  postUploadImage(
41
41
  query: postUploadImageQuery,
42
+ data: FormData,
42
43
  config?: Partial<AxiosRequestConfig>,
43
44
  ): Promise<string>;
44
45
  }
@@ -64,6 +64,7 @@ export interface I18NInfoService {
64
64
  */
65
65
  postLangUpload(
66
66
  query: postLangUploadQuery,
67
+ data: FormData,
67
68
  config?: Partial<AxiosRequestConfig>,
68
69
  ): Promise<object>;
69
70
  /**
@@ -3,10 +3,11 @@ import type { AxiosRequestConfig } from 'axios';
3
3
  import type {
4
4
  LabelRequest,
5
5
  LabelResponse,
6
- LabelDesigner,
6
+ LabelBtwDesigner,
7
7
  CategoryRdoRelationResponse,
8
8
  LabelNameCheckRequest,
9
9
  FontConfig,
10
+ LabelDesigner,
10
11
  XmlSetting,
11
12
  } from '../entities';
12
13
 
@@ -181,6 +182,13 @@ export interface LabelService {
181
182
  data: LabelRequest,
182
183
  config?: Partial<AxiosRequestConfig>,
183
184
  ): Promise<string>;
185
+ /**
186
+ * btw复制
187
+ */
188
+ postBtwCopy(
189
+ data: LabelRequest,
190
+ config?: Partial<AxiosRequestConfig>,
191
+ ): Promise<string>;
184
192
  /**
185
193
  * btw模板分页列表
186
194
  */
@@ -198,8 +206,8 @@ export interface LabelService {
198
206
  /**
199
207
  * btw标签修改
200
208
  */
201
- putBtwUpdateDesigner(
202
- data: LabelDesigner,
209
+ putBtwUpdate(
210
+ data: LabelBtwDesigner,
203
211
  config?: Partial<AxiosRequestConfig>,
204
212
  ): Promise<string>;
205
213
  /**
@@ -251,7 +259,10 @@ export interface LabelService {
251
259
  /**
252
260
  * 导入
253
261
  */
254
- postImport(config?: Partial<AxiosRequestConfig>): Promise<LabelResponse>;
262
+ postImport(
263
+ data: FormData,
264
+ config?: Partial<AxiosRequestConfig>,
265
+ ): Promise<LabelResponse>;
255
266
  /**
256
267
  * 标签和分类树
257
268
  */
@@ -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<ModelMetaResponse[]>;
340
+ ): Promise<ModelBriefInfo[]>;
327
341
  /**
328
342
  * 实体模型编辑
329
343
  */
@@ -3,5 +3,8 @@ export interface OfficeService {
3
3
  /**
4
4
  * docx转json
5
5
  */
6
- postDocxJson(config?: Partial<AxiosRequestConfig>): Promise<string>;
6
+ postDocxJson(
7
+ data: FormData,
8
+ config?: Partial<AxiosRequestConfig>,
9
+ ): Promise<string>;
7
10
  }
@@ -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
@@ -547,6 +557,41 @@ export interface OnlineFormInstanceService {
547
557
  query: getAppendixFormListQuery,
548
558
  config?: Partial<AxiosRequestConfig>,
549
559
  ): Promise<OnlineFormInstanceResponse[]>;
560
+ /**
561
+ * 作废表单
562
+ */
563
+ postDataCollectionAbandon(
564
+ data: DataCollectionInstanceAbandonRequest,
565
+ config?: Partial<AxiosRequestConfig>,
566
+ ): Promise<boolean>;
567
+ /**
568
+ * 创建数据采集表单实例
569
+ */
570
+ postDataCollectionCreate(
571
+ data: DataCollectionOnlineFormInstanceRequest,
572
+ config?: Partial<AxiosRequestConfig>,
573
+ ): Promise<string>;
574
+ /**
575
+ * 根据数据采集任务id获取所有表单实例
576
+ */
577
+ getDataCollectionListAll(
578
+ query: getDataCollectionListAllQuery,
579
+ config?: Partial<AxiosRequestConfig>,
580
+ ): Promise<OnlineFormInstanceResponse[]>;
581
+ /**
582
+ * 更新表单实例别名
583
+ */
584
+ postDataCollectionUpdateAlias(
585
+ data: DataCollectionOnlineFormInstanceUpdateRequest,
586
+ config?: Partial<AxiosRequestConfig>,
587
+ ): Promise<string>;
588
+ /**
589
+ * 更新数据采集任务状态
590
+ */
591
+ postDataCollectionUpdateStatus(
592
+ data: DataCollectionTaskUpdateStatusRequest,
593
+ config?: Partial<AxiosRequestConfig>,
594
+ ): Promise<boolean>;
550
595
  /**
551
596
  * (EDHR 查询sheet数据Id) 根据在线表单id,业务标志ID(批次)查询填报数据ID 集合
552
597
  */