@gct-paas/api 0.1.6-dev.11 → 0.1.6-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.
@@ -27,89 +27,11 @@ export const apiConfig = [
27
27
  path: "modelMeta/modelDataAssociation",
28
28
  hasQuery: true
29
29
  },
30
- {
31
- mode: "post",
32
- method: "postApproveProcessApprove",
33
- path: "approve/process/approve",
34
- hasData: true
35
- },
36
- {
37
- mode: "post",
38
- method: "postApproveProcessInterfereReassign",
39
- path: "approve/process/interfere/reassign",
40
- hasData: true
41
- },
42
- {
43
- mode: "post",
44
- method: "postApproveProcessInterfereReturn",
45
- path: "approve/process/interfere/return",
46
- hasData: true
47
- },
48
- {
49
- mode: "post",
50
- method: "postApproveProcessJump",
51
- path: "approve/process/jump",
52
- hasData: true
53
- },
54
- {
55
- mode: "post",
56
- method: "postApproveProcessReassign",
57
- path: "approve/process/reassign",
58
- hasData: true
59
- },
60
- {
61
- mode: "post",
62
- method: "postApproveProcessReturn",
63
- path: "approve/process/return",
64
- hasData: true
65
- },
66
30
  {
67
31
  mode: "get",
68
32
  method: "getEdhrAttachmentGetEdhrAttachment",
69
33
  path: "edhrAttachment/getEdhrAttachment",
70
34
  hasQuery: true
71
- },
72
- {
73
- mode: "post",
74
- method: "postFileUnzip",
75
- path: "file/unzip",
76
- hasQuery: true
77
- },
78
- {
79
- mode: "post",
80
- method: "postFormChangeProcessApprove",
81
- path: "form/change/process/approve",
82
- hasData: true
83
- },
84
- {
85
- mode: "post",
86
- method: "postFormChangeProcessInterfereReassign",
87
- path: "form/change/process/interfere/reassign",
88
- hasData: true
89
- },
90
- {
91
- mode: "post",
92
- method: "postFormChangeProcessInterfereReturn",
93
- path: "form/change/process/interfere/return",
94
- hasData: true
95
- },
96
- {
97
- mode: "post",
98
- method: "postFormChangeProcessJump",
99
- path: "form/change/process/jump",
100
- hasData: true
101
- },
102
- {
103
- mode: "post",
104
- method: "postFormChangeProcessReassign",
105
- path: "form/change/process/reassign",
106
- hasData: true
107
- },
108
- {
109
- mode: "post",
110
- method: "postFormChangeProcessReturn",
111
- path: "form/change/process/return",
112
- hasData: true
113
35
  }
114
36
  ]
115
37
  },
@@ -2423,12 +2345,6 @@ export const apiConfig = [
2423
2345
  path: "page/list",
2424
2346
  hasQuery: true
2425
2347
  },
2426
- {
2427
- mode: "post",
2428
- method: "postSort",
2429
- path: "sort",
2430
- hasData: true
2431
- },
2432
2348
  {
2433
2349
  mode: "put",
2434
2350
  method: "putId",
@@ -4250,8 +4166,7 @@ export const apiConfig = [
4250
4166
  {
4251
4167
  mode: "get",
4252
4168
  method: "getDataModelList",
4253
- path: "data-model/list",
4254
- hasQuery: true
4169
+ path: "data-model/list"
4255
4170
  },
4256
4171
  {
4257
4172
  mode: "get",
@@ -4274,8 +4189,7 @@ export const apiConfig = [
4274
4189
  {
4275
4190
  mode: "get",
4276
4191
  method: "getViewModelList",
4277
- path: "view-model/list",
4278
- hasQuery: true
4192
+ path: "view-model/list"
4279
4193
  },
4280
4194
  {
4281
4195
  mode: "put",
@@ -4824,12 +4738,6 @@ export const apiConfig = [
4824
4738
  path: "getCommunicationConfig",
4825
4739
  hasQuery: true
4826
4740
  },
4827
- {
4828
- mode: "get",
4829
- method: "getGetFormTmplByInstIdAndTmplId",
4830
- path: "getFormTmplByInstIdAndTmplId",
4831
- hasQuery: true
4832
- },
4833
4741
  {
4834
4742
  mode: "get",
4835
4743
  method: "getGetFormTmplUsedFieldMeta",
@@ -7333,13 +7241,6 @@ export const apiConfig = [
7333
7241
  hasUpload: true,
7334
7242
  hasQuery: true,
7335
7243
  hasData: true
7336
- },
7337
- {
7338
- mode: "post",
7339
- method: "postUploadZip",
7340
- path: "upload/zip",
7341
- hasUpload: true,
7342
- hasData: true
7343
7244
  }
7344
7245
  ]
7345
7246
  },
@@ -7809,6 +7710,24 @@ export const apiConfig = [
7809
7710
  }
7810
7711
  ]
7811
7712
  },
7713
+ {
7714
+ name: "user",
7715
+ entityName: "user",
7716
+ apis: [
7717
+ {
7718
+ mode: "get",
7719
+ method: "getInfo",
7720
+ path: "info",
7721
+ hasQuery: true
7722
+ },
7723
+ {
7724
+ mode: "get",
7725
+ method: "getInfos",
7726
+ path: "infos",
7727
+ hasQuery: true
7728
+ }
7729
+ ]
7730
+ },
7812
7731
  {
7813
7732
  name: "viewModel",
7814
7733
  entityName: "view-model",
@@ -236,6 +236,10 @@ export interface getAppModelMetaListQuery extends IObject {
236
236
  * env
237
237
  */
238
238
  env: string;
239
+ /**
240
+ * module
241
+ */
242
+ module: string;
239
243
  }
240
244
  export interface getAppPublishLogInfoQuery extends IObject {
241
245
  /**
@@ -71,10 +71,6 @@ export interface getUserPageListQuery extends IObject {
71
71
  * 排序方式:ASC/DESC, 不传默认 ASC
72
72
  */
73
73
  sortType?: string;
74
- /**
75
- * 参数来源,0企业后台管理、1租户后台管理
76
- */
77
- source?: number;
78
74
  /**
79
75
  * 创建开始时间
80
76
  */
@@ -34,6 +34,10 @@ export interface getListQuery extends IObject {
34
34
  * 结束时间
35
35
  */
36
36
  endTime?: string;
37
+ /**
38
+ * 所属模块(实体、枚举、web页面)
39
+ */
40
+ module?: string;
37
41
  /**
38
42
  * 应用名称
39
43
  */
@@ -104,6 +108,10 @@ export interface getListCompleteQuery extends IObject {
104
108
  *
105
109
  */
106
110
  modifyUserName?: string;
111
+ /**
112
+ * 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
113
+ */
114
+ module?: string;
107
115
  /**
108
116
  *
109
117
  */
@@ -174,6 +182,10 @@ export interface getPageQuery extends IObject {
174
182
  *
175
183
  */
176
184
  modifyUserName?: string;
185
+ /**
186
+ * 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据、pad_module/pad页面设计)
187
+ */
188
+ module?: string;
177
189
  /**
178
190
  *
179
191
  */
@@ -212,6 +224,10 @@ export interface getPageListQuery extends IObject {
212
224
  * 结束时间
213
225
  */
214
226
  endTime?: string;
227
+ /**
228
+ * 所属模块(实体、枚举、web页面)
229
+ */
230
+ module?: string;
215
231
  /**
216
232
  * 应用名称
217
233
  */
@@ -87,6 +87,10 @@ export interface getPageListQuery extends IObject {
87
87
  * 更新人id
88
88
  */
89
89
  modifyUserId?: string;
90
+ /**
91
+ * 模块类型
92
+ */
93
+ module?: string;
90
94
  /**
91
95
  * 操作人
92
96
  */
@@ -137,6 +141,10 @@ export interface getReversePageListQuery extends IObject {
137
141
  * 工单id
138
142
  */
139
143
  mfgOrderId?: string;
144
+ /**
145
+ * 模块类型
146
+ */
147
+ module?: string;
140
148
  /**
141
149
  * 操作人
142
150
  */
@@ -145,10 +153,6 @@ export interface getReversePageListQuery extends IObject {
145
153
  * 操作人id
146
154
  */
147
155
  operatorId?: string;
148
- /**
149
- * 订单号
150
- */
151
- orderNo?: string;
152
156
  /**
153
157
  * 页码
154
158
  */
@@ -165,10 +169,6 @@ export interface getReversePageListQuery extends IObject {
165
169
  * 记录单号
166
170
  */
167
171
  recordNo?: string;
168
- /**
169
- * 关联批次
170
- */
171
- relatedLotNo?: string;
172
172
  /**
173
173
  * 排序字段
174
174
  */
@@ -3,7 +3,6 @@ import type {
3
3
  EnumModelFieldRequest,
4
4
  EnumModelFieldDragRequest,
5
5
  EnumModelFieldResponse,
6
- EnumModelFieldSortReq,
7
6
  } from '../entities';
8
7
 
9
8
  export interface deleteQuery extends IObject {
@@ -114,13 +113,6 @@ export interface EnumModelFieldService {
114
113
  query: getPageListQuery,
115
114
  config?: Partial<AxiosRequestConfig>,
116
115
  ): Promise<IPage<EnumModelFieldResponse>>;
117
- /**
118
- * 拖拽排序
119
- */
120
- postSort(
121
- data: EnumModelFieldSortReq,
122
- config?: Partial<AxiosRequestConfig>,
123
- ): Promise<string>;
124
116
  /**
125
117
  * 修改
126
118
  */
@@ -2,18 +2,7 @@ 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,
11
5
  OnlineFormInstance,
12
- DhrProcessApproveRequest,
13
- DhrProcessReassign4InterfereRequest,
14
- DhrProcessReturn4InterfereRequest,
15
- DhrProcessReassignRequest,
16
- DhrProcessReturnRequest,
17
6
  } from '../entities';
18
7
 
19
8
  export interface getModelMetaGetSysConfigQuery extends IObject {
@@ -48,12 +37,6 @@ export interface getEdhrAttachmentGetEdhrAttachmentQuery extends IObject {
48
37
  */
49
38
  materialNo: string;
50
39
  }
51
- export interface postFileUnzipQuery extends IObject {
52
- /**
53
- * url
54
- */
55
- url: string;
56
- }
57
40
  export interface MedProService {
58
41
  /**
59
42
  * 关联模型数据查询
@@ -83,48 +66,6 @@ export interface MedProService {
83
66
  query: getModelMetaModelDataAssociationQuery,
84
67
  config?: Partial<AxiosRequestConfig>,
85
68
  ): 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>;
128
69
  /**
129
70
  * 获取Edhr附录接口
130
71
  */
@@ -132,53 +73,4 @@ export interface MedProService {
132
73
  query: getEdhrAttachmentGetEdhrAttachmentQuery,
133
74
  config?: Partial<AxiosRequestConfig>,
134
75
  ): 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>;
184
76
  }
@@ -7,12 +7,6 @@ export interface deleteQuery extends IObject {
7
7
  */
8
8
  ids: string;
9
9
  }
10
- export interface getDataModelListQuery extends IObject {
11
- /**
12
- * 搜索关键字
13
- */
14
- keyword?: string;
15
- }
16
10
  export interface getInfoQuery extends IObject {
17
11
  /**
18
12
  * id
@@ -21,11 +15,7 @@ export interface getInfoQuery extends IObject {
21
15
  }
22
16
  export interface getListQuery extends IObject {
23
17
  /**
24
- * 搜索关键字
25
- */
26
- keyword?: string;
27
- /**
28
- * 模型key
18
+ * modelKey
29
19
  */
30
20
  modelKey: string;
31
21
  }
@@ -39,12 +29,6 @@ export interface getPageListQuery extends IObject {
39
29
  */
40
30
  pageSize?: number;
41
31
  }
42
- export interface getViewModelListQuery extends IObject {
43
- /**
44
- * 搜索关键字
45
- */
46
- keyword?: string;
47
- }
48
32
  export interface putIdPathParams {
49
33
  id: string;
50
34
  }
@@ -67,7 +51,6 @@ export interface ModelMethodService {
67
51
  * 数据模型方法列表
68
52
  */
69
53
  getDataModelList(
70
- query: getDataModelListQuery,
71
54
  config?: Partial<AxiosRequestConfig>,
72
55
  ): Promise<ModelMethodResponse[]>;
73
56
  /**
@@ -95,7 +78,6 @@ export interface ModelMethodService {
95
78
  * 视图模型方法列表
96
79
  */
97
80
  getViewModelList(
98
- query: getViewModelListQuery,
99
81
  config?: Partial<AxiosRequestConfig>,
100
82
  ): Promise<ModelMethodResponse[]>;
101
83
  /**
@@ -33,6 +33,10 @@ export interface getAppendixFormListQuery extends IObject {
33
33
  * 工单ID
34
34
  */
35
35
  mfgOrderId?: string;
36
+ /**
37
+ * 模块类型
38
+ */
39
+ module?: string;
36
40
  }
37
41
  export interface getDataCollectionListAllQuery extends IObject {
38
42
  /**
@@ -293,10 +297,6 @@ export interface getPageListQuery extends IObject {
293
297
  * 状态
294
298
  */
295
299
  instanceStatus?: string;
296
- /**
297
- * 状态不等于
298
- */
299
- instanceStatusNe?: string;
300
300
  /**
301
301
  * 更新人id
302
302
  */
@@ -391,6 +391,10 @@ export interface getRelateFormPageListQuery extends IObject {
391
391
  * Lot/SN 编号
392
392
  */
393
393
  materialNo: string;
394
+ /**
395
+ * 模块类型
396
+ */
397
+ module?: string;
394
398
  /**
395
399
  * 页码
396
400
  */
@@ -427,10 +431,6 @@ export interface getReverseTracePageListQuery extends IObject {
427
431
  * 填报人
428
432
  */
429
433
  operatorId?: string;
430
- /**
431
- * 订单号
432
- */
433
- orderNo?: string;
434
434
  /**
435
435
  * 页码
436
436
  */
@@ -451,10 +451,6 @@ export interface getReverseTracePageListQuery extends IObject {
451
451
  * 记录单号
452
452
  */
453
453
  recordNo?: string;
454
- /**
455
- * 关联批次
456
- */
457
- relatedLotNo?: string;
458
454
  /**
459
455
  * 排序字段
460
456
  */
@@ -2,8 +2,8 @@ import type { AxiosRequestConfig } from 'axios';
2
2
  import type {
3
3
  OnlineFormTmplRequest,
4
4
  ModelBriefInfo,
5
- OnlineFormTmplResponse,
6
5
  ModelMetaDTO,
6
+ OnlineFormTmplResponse,
7
7
  DocumentInfo4Req,
8
8
  OnlineFormTmplModelResponse,
9
9
  SimpleOnlineFormDesignDTO,
@@ -47,16 +47,6 @@ export interface getGetCommunicationConfigQuery extends IObject {
47
47
  */
48
48
  id: string;
49
49
  }
50
- export interface getGetFormTmplByInstIdAndTmplIdQuery extends IObject {
51
- /**
52
- * 表单实例id
53
- */
54
- instId?: string;
55
- /**
56
- * 表单模板id
57
- */
58
- tmplId?: string;
59
- }
60
50
  export interface getGetFormTmplUsedFieldMetaQuery extends IObject {
61
51
  /**
62
52
  * formTmplId
@@ -192,13 +182,6 @@ export interface OnlineFormTmplService {
192
182
  query: getGetCommunicationConfigQuery,
193
183
  config?: Partial<AxiosRequestConfig>,
194
184
  ): Promise<string>;
195
- /**
196
- * 根据表单实例id或表单模板id查询表单模板
197
- */
198
- getGetFormTmplByInstIdAndTmplId(
199
- query: getGetFormTmplByInstIdAndTmplIdQuery,
200
- config?: Partial<AxiosRequestConfig>,
201
- ): Promise<OnlineFormTmplResponse>;
202
185
  /**
203
186
  * 获取表单中使用的字段
204
187
  */
@@ -1,7 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  import type { AxiosRequestConfig } from 'axios';
3
- import type { ExcelValidateResponse } from '../entities';
4
-
5
3
  export interface postUploadExcelQuery extends IObject {
6
4
  /**
7
5
  * headerRowIndex
@@ -25,11 +23,4 @@ export interface SsService {
25
23
  data: UploadFileData,
26
24
  config?: Partial<AxiosRequestConfig>,
27
25
  ): Promise<any>;
28
- /**
29
- * zip上传解析
30
- */
31
- postUploadZip(
32
- data: UploadFileData,
33
- config?: Partial<AxiosRequestConfig>,
34
- ): Promise<IHttpResponse<ExcelValidateResponse>>;
35
26
  }