@gizone/rrs-client 4.2.0-alpha.241 → 4.2.0-alpha.243
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/.openapi-generator/FILES +12 -0
- package/api.ts +2 -0
- package/apis/disaster-warning-standard-api.ts +1200 -0
- package/apis/hwork-api.ts +167 -0
- package/apis/inspection-standard-api.ts +18 -32
- package/apis/maintenance-standard-api.ts +91 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/apis/disaster-warning-standard-api.d.ts +621 -0
- package/dist/apis/disaster-warning-standard-api.js +940 -0
- package/dist/apis/hwork-api.d.ts +96 -0
- package/dist/apis/hwork-api.js +145 -0
- package/dist/apis/inspection-standard-api.d.ts +7 -14
- package/dist/apis/inspection-standard-api.js +13 -21
- package/dist/apis/maintenance-standard-api.d.ts +47 -0
- package/dist/apis/maintenance-standard-api.js +70 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/apis/disaster-warning-standard-api.d.ts +621 -0
- package/dist/esm/apis/disaster-warning-standard-api.js +933 -0
- package/dist/esm/apis/hwork-api.d.ts +96 -0
- package/dist/esm/apis/hwork-api.js +138 -0
- package/dist/esm/apis/inspection-standard-api.d.ts +7 -14
- package/dist/esm/apis/inspection-standard-api.js +13 -21
- package/dist/esm/apis/maintenance-standard-api.d.ts +47 -0
- package/dist/esm/apis/maintenance-standard-api.js +70 -0
- package/dist/esm/models/disaster-warning-standard-add-or-update-vo.d.ts +85 -0
- package/dist/esm/models/disaster-warning-standard-add-or-update-vo.js +14 -0
- package/dist/esm/models/disaster-warning-standard-category-enum.d.ts +50 -0
- package/dist/esm/models/disaster-warning-standard-category-enum.js +51 -0
- package/dist/esm/models/disaster-warning-standard-entity.d.ts +109 -0
- package/dist/esm/models/disaster-warning-standard-entity.js +14 -0
- package/dist/esm/models/disaster-warning-standard-import-dto.d.ts +103 -0
- package/dist/esm/models/disaster-warning-standard-import-dto.js +14 -0
- package/dist/esm/models/excel-import-result-dtodisaster-warning-standard-import-dto.d.ts +31 -0
- package/dist/esm/models/excel-import-result-dtodisaster-warning-standard-import-dto.js +14 -0
- package/dist/esm/models/get-user-wx200-response.d.ts +16 -16
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/json-result-disaster-warning-standard-entity.d.ts +62 -0
- package/dist/esm/models/json-result-disaster-warning-standard-entity.js +14 -0
- package/dist/esm/models/json-result-excel-import-result-dtodisaster-warning-standard-import-dto.d.ts +62 -0
- package/dist/esm/models/json-result-excel-import-result-dtodisaster-warning-standard-import-dto.js +14 -0
- package/dist/esm/models/json-result-page-dto-disaster-warning-standard-entity.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-disaster-warning-standard-entity.js +14 -0
- package/dist/esm/models/login-type-enum.d.ts +2 -0
- package/dist/esm/models/login-type-enum.js +3 -1
- package/dist/esm/models/page-dto-disaster-warning-standard-entity.d.ts +31 -0
- package/dist/esm/models/page-dto-disaster-warning-standard-entity.js +14 -0
- package/dist/esm/models/sync-standard-vo.d.ts +30 -0
- package/dist/esm/models/sync-standard-vo.js +14 -0
- package/dist/esm/models/sys-user.d.ts +10 -4
- package/dist/models/disaster-warning-standard-add-or-update-vo.d.ts +85 -0
- package/dist/models/disaster-warning-standard-add-or-update-vo.js +15 -0
- package/dist/models/disaster-warning-standard-category-enum.d.ts +50 -0
- package/dist/models/disaster-warning-standard-category-enum.js +54 -0
- package/dist/models/disaster-warning-standard-entity.d.ts +109 -0
- package/dist/models/disaster-warning-standard-entity.js +15 -0
- package/dist/models/disaster-warning-standard-import-dto.d.ts +103 -0
- package/dist/models/disaster-warning-standard-import-dto.js +15 -0
- package/dist/models/excel-import-result-dtodisaster-warning-standard-import-dto.d.ts +31 -0
- package/dist/models/excel-import-result-dtodisaster-warning-standard-import-dto.js +15 -0
- package/dist/models/get-user-wx200-response.d.ts +16 -16
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/json-result-disaster-warning-standard-entity.d.ts +62 -0
- package/dist/models/json-result-disaster-warning-standard-entity.js +15 -0
- package/dist/models/json-result-excel-import-result-dtodisaster-warning-standard-import-dto.d.ts +62 -0
- package/dist/models/json-result-excel-import-result-dtodisaster-warning-standard-import-dto.js +15 -0
- package/dist/models/json-result-page-dto-disaster-warning-standard-entity.d.ts +62 -0
- package/dist/models/json-result-page-dto-disaster-warning-standard-entity.js +15 -0
- package/dist/models/login-type-enum.d.ts +2 -0
- package/dist/models/login-type-enum.js +3 -1
- package/dist/models/page-dto-disaster-warning-standard-entity.d.ts +31 -0
- package/dist/models/page-dto-disaster-warning-standard-entity.js +15 -0
- package/dist/models/sync-standard-vo.d.ts +30 -0
- package/dist/models/sync-standard-vo.js +15 -0
- package/dist/models/sys-user.d.ts +10 -4
- package/models/disaster-warning-standard-add-or-update-vo.ts +95 -0
- package/models/disaster-warning-standard-category-enum.ts +60 -0
- package/models/disaster-warning-standard-entity.ts +119 -0
- package/models/disaster-warning-standard-import-dto.ts +113 -0
- package/models/excel-import-result-dtodisaster-warning-standard-import-dto.ts +39 -0
- package/models/get-user-wx200-response.ts +16 -16
- package/models/index.ts +10 -0
- package/models/ipage-access-vo.ts +6 -6
- package/models/json-result-disaster-warning-standard-entity.ts +72 -0
- package/models/json-result-excel-import-result-dtodisaster-warning-standard-import-dto.ts +72 -0
- package/models/json-result-page-dto-disaster-warning-standard-entity.ts +72 -0
- package/models/login-type-enum.ts +3 -1
- package/models/page-dto-disaster-warning-standard-entity.ts +39 -0
- package/models/sync-standard-vo.ts +36 -0
- package/models/sys-user.ts +10 -4
- package/package.json +1 -1
|
@@ -0,0 +1,1200 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { DisasterWarningStandardAddOrUpdateVo } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { DisasterWarningStandardCategoryEnum } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import type { JsonResultBoolean } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import type { JsonResultDisasterWarningStandardEntity } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { JsonResultExcelImportResultDTODisasterWarningStandardImportDTO } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
import type { JsonResultPageDtoDisasterWarningStandardEntity } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import type { JsonResultVoid } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
import type { SyncStandardVo } from '../models';
|
|
40
|
+
/**
|
|
41
|
+
* DisasterWarningStandardApi - axios parameter creator
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
export const DisasterWarningStandardApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
45
|
+
return {
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @summary 新增灾害预警标准
|
|
49
|
+
* @param {Array<DisasterWarningStandardAddOrUpdateVo>} disasterWarningStandardAddOrUpdateVo
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
disasterWarningStandardAdd: async (disasterWarningStandardAddOrUpdateVo: Array<DisasterWarningStandardAddOrUpdateVo>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
|
+
// verify required parameter 'disasterWarningStandardAddOrUpdateVo' is not null or undefined
|
|
55
|
+
assertParamExists('disasterWarningStandardAdd', 'disasterWarningStandardAddOrUpdateVo', disasterWarningStandardAddOrUpdateVo)
|
|
56
|
+
const localVarPath = `/gizone/disasterWarningStandard`;
|
|
57
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59
|
+
let baseOptions;
|
|
60
|
+
if (configuration) {
|
|
61
|
+
baseOptions = configuration.baseOptions;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
65
|
+
const localVarHeaderParameter = {} as any;
|
|
66
|
+
const localVarQueryParameter = {} as any;
|
|
67
|
+
|
|
68
|
+
// authentication tokenScheme required
|
|
69
|
+
// http bearer authentication required
|
|
70
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
75
|
+
|
|
76
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
77
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
79
|
+
localVarRequestOptions.data = serializeDataIfNeeded(disasterWarningStandardAddOrUpdateVo, localVarRequestOptions, configuration)
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
url: toPathString(localVarUrlObj),
|
|
83
|
+
options: localVarRequestOptions,
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @summary 灾害预警标准导出-数据
|
|
89
|
+
* @param {number} parkId 园区id
|
|
90
|
+
* @param {string} [searchValue] 内容
|
|
91
|
+
* @param {DisasterWarningStandardCategoryEnum} [disasterWarningStandardCategory] 灾害预警分类
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
disasterWarningStandardBatchExport: async (parkId: number, searchValue?: string, disasterWarningStandardCategory?: DisasterWarningStandardCategoryEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
96
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
97
|
+
assertParamExists('disasterWarningStandardBatchExport', 'parkId', parkId)
|
|
98
|
+
const localVarPath = `/gizone/disasterWarningStandard/batchExport`;
|
|
99
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
100
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
101
|
+
let baseOptions;
|
|
102
|
+
if (configuration) {
|
|
103
|
+
baseOptions = configuration.baseOptions;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
107
|
+
const localVarHeaderParameter = {} as any;
|
|
108
|
+
const localVarQueryParameter = {} as any;
|
|
109
|
+
|
|
110
|
+
// authentication tokenScheme required
|
|
111
|
+
// http bearer authentication required
|
|
112
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
113
|
+
|
|
114
|
+
if (searchValue !== undefined) {
|
|
115
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
if (parkId !== undefined) {
|
|
119
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
if (disasterWarningStandardCategory !== undefined) {
|
|
123
|
+
localVarQueryParameter['disasterWarningStandardCategory'] = disasterWarningStandardCategory;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
130
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
131
|
+
|
|
132
|
+
return {
|
|
133
|
+
url: toPathString(localVarUrlObj),
|
|
134
|
+
options: localVarRequestOptions,
|
|
135
|
+
};
|
|
136
|
+
},
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @summary 灾害预警标准导入-确认导入
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
disasterWarningStandardBatchImportConfirm: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
144
|
+
const localVarPath = `/gizone/disasterWarningStandard/batchImport/confirm`;
|
|
145
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147
|
+
let baseOptions;
|
|
148
|
+
if (configuration) {
|
|
149
|
+
baseOptions = configuration.baseOptions;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
153
|
+
const localVarHeaderParameter = {} as any;
|
|
154
|
+
const localVarQueryParameter = {} as any;
|
|
155
|
+
|
|
156
|
+
// authentication tokenScheme required
|
|
157
|
+
// http bearer authentication required
|
|
158
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
163
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
164
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
165
|
+
|
|
166
|
+
return {
|
|
167
|
+
url: toPathString(localVarUrlObj),
|
|
168
|
+
options: localVarRequestOptions,
|
|
169
|
+
};
|
|
170
|
+
},
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @summary 灾害预警标准导入-预览结果
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
disasterWarningStandardBatchImportPreview: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
178
|
+
const localVarPath = `/gizone/disasterWarningStandard/batchImport/preview`;
|
|
179
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
180
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
181
|
+
let baseOptions;
|
|
182
|
+
if (configuration) {
|
|
183
|
+
baseOptions = configuration.baseOptions;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
187
|
+
const localVarHeaderParameter = {} as any;
|
|
188
|
+
const localVarQueryParameter = {} as any;
|
|
189
|
+
|
|
190
|
+
// authentication tokenScheme required
|
|
191
|
+
// http bearer authentication required
|
|
192
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
198
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
199
|
+
|
|
200
|
+
return {
|
|
201
|
+
url: toPathString(localVarUrlObj),
|
|
202
|
+
options: localVarRequestOptions,
|
|
203
|
+
};
|
|
204
|
+
},
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @summary 灾害预警标准导入-下载模板
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
*/
|
|
211
|
+
disasterWarningStandardBatchImportTemplate: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
212
|
+
const localVarPath = `/gizone/disasterWarningStandard/batchImport/template`;
|
|
213
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
214
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
215
|
+
let baseOptions;
|
|
216
|
+
if (configuration) {
|
|
217
|
+
baseOptions = configuration.baseOptions;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
221
|
+
const localVarHeaderParameter = {} as any;
|
|
222
|
+
const localVarQueryParameter = {} as any;
|
|
223
|
+
|
|
224
|
+
// authentication tokenScheme required
|
|
225
|
+
// http bearer authentication required
|
|
226
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
231
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
232
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
233
|
+
|
|
234
|
+
return {
|
|
235
|
+
url: toPathString(localVarUrlObj),
|
|
236
|
+
options: localVarRequestOptions,
|
|
237
|
+
};
|
|
238
|
+
},
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @summary 灾害预警标准导入-上传文件
|
|
242
|
+
* @param {number} parkId 园区id
|
|
243
|
+
* @param {File} file
|
|
244
|
+
* @param {string} [language] 语言
|
|
245
|
+
* @param {*} [options] Override http request option.
|
|
246
|
+
* @throws {RequiredError}
|
|
247
|
+
*/
|
|
248
|
+
disasterWarningStandardBatchImportUpload: async (parkId: number, file: File, language?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
249
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
250
|
+
assertParamExists('disasterWarningStandardBatchImportUpload', 'parkId', parkId)
|
|
251
|
+
// verify required parameter 'file' is not null or undefined
|
|
252
|
+
assertParamExists('disasterWarningStandardBatchImportUpload', 'file', file)
|
|
253
|
+
const localVarPath = `/gizone/disasterWarningStandard/batchImport/upload`;
|
|
254
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
255
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
256
|
+
let baseOptions;
|
|
257
|
+
if (configuration) {
|
|
258
|
+
baseOptions = configuration.baseOptions;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
262
|
+
const localVarHeaderParameter = {} as any;
|
|
263
|
+
const localVarQueryParameter = {} as any;
|
|
264
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
265
|
+
|
|
266
|
+
// authentication tokenScheme required
|
|
267
|
+
// http bearer authentication required
|
|
268
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
if (parkId !== undefined) {
|
|
272
|
+
localVarFormParams.append('parkId', parkId as any);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
if (language !== undefined) {
|
|
276
|
+
localVarFormParams.append('language', language as any);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
if (file !== undefined) {
|
|
280
|
+
localVarFormParams.append('file', file as any);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
285
|
+
|
|
286
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
287
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
288
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
289
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
290
|
+
|
|
291
|
+
return {
|
|
292
|
+
url: toPathString(localVarUrlObj),
|
|
293
|
+
options: localVarRequestOptions,
|
|
294
|
+
};
|
|
295
|
+
},
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @summary 删除灾害预警标准
|
|
299
|
+
* @param {number} id
|
|
300
|
+
* @param {*} [options] Override http request option.
|
|
301
|
+
* @throws {RequiredError}
|
|
302
|
+
*/
|
|
303
|
+
disasterWarningStandardDelete: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
304
|
+
// verify required parameter 'id' is not null or undefined
|
|
305
|
+
assertParamExists('disasterWarningStandardDelete', 'id', id)
|
|
306
|
+
const localVarPath = `/gizone/disasterWarningStandard/{id}`
|
|
307
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
308
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
309
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
310
|
+
let baseOptions;
|
|
311
|
+
if (configuration) {
|
|
312
|
+
baseOptions = configuration.baseOptions;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
316
|
+
const localVarHeaderParameter = {} as any;
|
|
317
|
+
const localVarQueryParameter = {} as any;
|
|
318
|
+
|
|
319
|
+
// authentication tokenScheme required
|
|
320
|
+
// http bearer authentication required
|
|
321
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
326
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
327
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
328
|
+
|
|
329
|
+
return {
|
|
330
|
+
url: toPathString(localVarUrlObj),
|
|
331
|
+
options: localVarRequestOptions,
|
|
332
|
+
};
|
|
333
|
+
},
|
|
334
|
+
/**
|
|
335
|
+
*
|
|
336
|
+
* @summary 删除灾害预警标准
|
|
337
|
+
* @param {Array<number>} requestBody
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
disasterWarningStandardDeleteBatch: async (requestBody: Array<number>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
342
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
343
|
+
assertParamExists('disasterWarningStandardDeleteBatch', 'requestBody', requestBody)
|
|
344
|
+
const localVarPath = `/gizone/disasterWarningStandard/batch`;
|
|
345
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
346
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
347
|
+
let baseOptions;
|
|
348
|
+
if (configuration) {
|
|
349
|
+
baseOptions = configuration.baseOptions;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
353
|
+
const localVarHeaderParameter = {} as any;
|
|
354
|
+
const localVarQueryParameter = {} as any;
|
|
355
|
+
|
|
356
|
+
// authentication tokenScheme required
|
|
357
|
+
// http bearer authentication required
|
|
358
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
363
|
+
|
|
364
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
365
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
366
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
367
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
368
|
+
|
|
369
|
+
return {
|
|
370
|
+
url: toPathString(localVarUrlObj),
|
|
371
|
+
options: localVarRequestOptions,
|
|
372
|
+
};
|
|
373
|
+
},
|
|
374
|
+
/**
|
|
375
|
+
*
|
|
376
|
+
* @summary 查询灾害预警标准
|
|
377
|
+
* @param {number} id
|
|
378
|
+
* @param {*} [options] Override http request option.
|
|
379
|
+
* @throws {RequiredError}
|
|
380
|
+
*/
|
|
381
|
+
disasterWarningStandardDetails: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
382
|
+
// verify required parameter 'id' is not null or undefined
|
|
383
|
+
assertParamExists('disasterWarningStandardDetails', 'id', id)
|
|
384
|
+
const localVarPath = `/gizone/disasterWarningStandard/{id}`
|
|
385
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
386
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
387
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
388
|
+
let baseOptions;
|
|
389
|
+
if (configuration) {
|
|
390
|
+
baseOptions = configuration.baseOptions;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
394
|
+
const localVarHeaderParameter = {} as any;
|
|
395
|
+
const localVarQueryParameter = {} as any;
|
|
396
|
+
|
|
397
|
+
// authentication tokenScheme required
|
|
398
|
+
// http bearer authentication required
|
|
399
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
404
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
405
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
406
|
+
|
|
407
|
+
return {
|
|
408
|
+
url: toPathString(localVarUrlObj),
|
|
409
|
+
options: localVarRequestOptions,
|
|
410
|
+
};
|
|
411
|
+
},
|
|
412
|
+
/**
|
|
413
|
+
*
|
|
414
|
+
* @summary 查询灾害预警标准列表
|
|
415
|
+
* @param {number} parkId 园区id
|
|
416
|
+
* @param {number} pageSize 每页数量
|
|
417
|
+
* @param {number} page 页码
|
|
418
|
+
* @param {DisasterWarningStandardCategoryEnum} [disasterWarningStandardCategory] 灾害预警分类
|
|
419
|
+
* @param {string} [searchValue] 内容
|
|
420
|
+
* @param {*} [options] Override http request option.
|
|
421
|
+
* @throws {RequiredError}
|
|
422
|
+
*/
|
|
423
|
+
disasterWarningStandardList: async (parkId: number, pageSize: number, page: number, disasterWarningStandardCategory?: DisasterWarningStandardCategoryEnum, searchValue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
424
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
425
|
+
assertParamExists('disasterWarningStandardList', 'parkId', parkId)
|
|
426
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
427
|
+
assertParamExists('disasterWarningStandardList', 'pageSize', pageSize)
|
|
428
|
+
// verify required parameter 'page' is not null or undefined
|
|
429
|
+
assertParamExists('disasterWarningStandardList', 'page', page)
|
|
430
|
+
const localVarPath = `/gizone/disasterWarningStandard`;
|
|
431
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
432
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
433
|
+
let baseOptions;
|
|
434
|
+
if (configuration) {
|
|
435
|
+
baseOptions = configuration.baseOptions;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
439
|
+
const localVarHeaderParameter = {} as any;
|
|
440
|
+
const localVarQueryParameter = {} as any;
|
|
441
|
+
|
|
442
|
+
// authentication tokenScheme required
|
|
443
|
+
// http bearer authentication required
|
|
444
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
445
|
+
|
|
446
|
+
if (parkId !== undefined) {
|
|
447
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
if (pageSize !== undefined) {
|
|
451
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
if (page !== undefined) {
|
|
455
|
+
localVarQueryParameter['page'] = page;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
if (disasterWarningStandardCategory !== undefined) {
|
|
459
|
+
localVarQueryParameter['disasterWarningStandardCategory'] = disasterWarningStandardCategory;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
if (searchValue !== undefined) {
|
|
463
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
469
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
470
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
471
|
+
|
|
472
|
+
return {
|
|
473
|
+
url: toPathString(localVarUrlObj),
|
|
474
|
+
options: localVarRequestOptions,
|
|
475
|
+
};
|
|
476
|
+
},
|
|
477
|
+
/**
|
|
478
|
+
*
|
|
479
|
+
* @summary 修改灾害预警标准
|
|
480
|
+
* @param {number} id
|
|
481
|
+
* @param {DisasterWarningStandardAddOrUpdateVo} disasterWarningStandardAddOrUpdateVo
|
|
482
|
+
* @param {*} [options] Override http request option.
|
|
483
|
+
* @throws {RequiredError}
|
|
484
|
+
*/
|
|
485
|
+
disasterWarningStandardUpdate: async (id: number, disasterWarningStandardAddOrUpdateVo: DisasterWarningStandardAddOrUpdateVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
486
|
+
// verify required parameter 'id' is not null or undefined
|
|
487
|
+
assertParamExists('disasterWarningStandardUpdate', 'id', id)
|
|
488
|
+
// verify required parameter 'disasterWarningStandardAddOrUpdateVo' is not null or undefined
|
|
489
|
+
assertParamExists('disasterWarningStandardUpdate', 'disasterWarningStandardAddOrUpdateVo', disasterWarningStandardAddOrUpdateVo)
|
|
490
|
+
const localVarPath = `/gizone/disasterWarningStandard/{id}`
|
|
491
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
492
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
493
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
494
|
+
let baseOptions;
|
|
495
|
+
if (configuration) {
|
|
496
|
+
baseOptions = configuration.baseOptions;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
500
|
+
const localVarHeaderParameter = {} as any;
|
|
501
|
+
const localVarQueryParameter = {} as any;
|
|
502
|
+
|
|
503
|
+
// authentication tokenScheme required
|
|
504
|
+
// http bearer authentication required
|
|
505
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
510
|
+
|
|
511
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
512
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
513
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
514
|
+
localVarRequestOptions.data = serializeDataIfNeeded(disasterWarningStandardAddOrUpdateVo, localVarRequestOptions, configuration)
|
|
515
|
+
|
|
516
|
+
return {
|
|
517
|
+
url: toPathString(localVarUrlObj),
|
|
518
|
+
options: localVarRequestOptions,
|
|
519
|
+
};
|
|
520
|
+
},
|
|
521
|
+
/**
|
|
522
|
+
*
|
|
523
|
+
* @summary 同步其他园区巡检标准
|
|
524
|
+
* @param {SyncStandardVo} syncStandardVo
|
|
525
|
+
* @param {*} [options] Override http request option.
|
|
526
|
+
* @throws {RequiredError}
|
|
527
|
+
*/
|
|
528
|
+
syncDisasterWarningStandard: async (syncStandardVo: SyncStandardVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
529
|
+
// verify required parameter 'syncStandardVo' is not null or undefined
|
|
530
|
+
assertParamExists('syncDisasterWarningStandard', 'syncStandardVo', syncStandardVo)
|
|
531
|
+
const localVarPath = `/gizone/disasterWarningStandard/park/sync`;
|
|
532
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
533
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
534
|
+
let baseOptions;
|
|
535
|
+
if (configuration) {
|
|
536
|
+
baseOptions = configuration.baseOptions;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
540
|
+
const localVarHeaderParameter = {} as any;
|
|
541
|
+
const localVarQueryParameter = {} as any;
|
|
542
|
+
|
|
543
|
+
// authentication tokenScheme required
|
|
544
|
+
// http bearer authentication required
|
|
545
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
550
|
+
|
|
551
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
552
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
553
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
554
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncStandardVo, localVarRequestOptions, configuration)
|
|
555
|
+
|
|
556
|
+
return {
|
|
557
|
+
url: toPathString(localVarUrlObj),
|
|
558
|
+
options: localVarRequestOptions,
|
|
559
|
+
};
|
|
560
|
+
},
|
|
561
|
+
}
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* DisasterWarningStandardApi - functional programming interface
|
|
566
|
+
* @export
|
|
567
|
+
*/
|
|
568
|
+
export const DisasterWarningStandardApiFp = function(configuration?: Configuration) {
|
|
569
|
+
const localVarAxiosParamCreator = DisasterWarningStandardApiAxiosParamCreator(configuration)
|
|
570
|
+
return {
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @summary 新增灾害预警标准
|
|
574
|
+
* @param {Array<DisasterWarningStandardAddOrUpdateVo>} disasterWarningStandardAddOrUpdateVo
|
|
575
|
+
* @param {*} [options] Override http request option.
|
|
576
|
+
* @throws {RequiredError}
|
|
577
|
+
*/
|
|
578
|
+
async disasterWarningStandardAdd(disasterWarningStandardAddOrUpdateVo: Array<DisasterWarningStandardAddOrUpdateVo>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
579
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disasterWarningStandardAdd(disasterWarningStandardAddOrUpdateVo, options);
|
|
580
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
581
|
+
const localVarOperationServerBasePath = operationServerMap['DisasterWarningStandardApi.disasterWarningStandardAdd']?.[localVarOperationServerIndex]?.url;
|
|
582
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
583
|
+
},
|
|
584
|
+
/**
|
|
585
|
+
*
|
|
586
|
+
* @summary 灾害预警标准导出-数据
|
|
587
|
+
* @param {number} parkId 园区id
|
|
588
|
+
* @param {string} [searchValue] 内容
|
|
589
|
+
* @param {DisasterWarningStandardCategoryEnum} [disasterWarningStandardCategory] 灾害预警分类
|
|
590
|
+
* @param {*} [options] Override http request option.
|
|
591
|
+
* @throws {RequiredError}
|
|
592
|
+
*/
|
|
593
|
+
async disasterWarningStandardBatchExport(parkId: number, searchValue?: string, disasterWarningStandardCategory?: DisasterWarningStandardCategoryEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
594
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disasterWarningStandardBatchExport(parkId, searchValue, disasterWarningStandardCategory, options);
|
|
595
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
596
|
+
const localVarOperationServerBasePath = operationServerMap['DisasterWarningStandardApi.disasterWarningStandardBatchExport']?.[localVarOperationServerIndex]?.url;
|
|
597
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
598
|
+
},
|
|
599
|
+
/**
|
|
600
|
+
*
|
|
601
|
+
* @summary 灾害预警标准导入-确认导入
|
|
602
|
+
* @param {*} [options] Override http request option.
|
|
603
|
+
* @throws {RequiredError}
|
|
604
|
+
*/
|
|
605
|
+
async disasterWarningStandardBatchImportConfirm(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultExcelImportResultDTODisasterWarningStandardImportDTO>> {
|
|
606
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disasterWarningStandardBatchImportConfirm(options);
|
|
607
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
608
|
+
const localVarOperationServerBasePath = operationServerMap['DisasterWarningStandardApi.disasterWarningStandardBatchImportConfirm']?.[localVarOperationServerIndex]?.url;
|
|
609
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
610
|
+
},
|
|
611
|
+
/**
|
|
612
|
+
*
|
|
613
|
+
* @summary 灾害预警标准导入-预览结果
|
|
614
|
+
* @param {*} [options] Override http request option.
|
|
615
|
+
* @throws {RequiredError}
|
|
616
|
+
*/
|
|
617
|
+
async disasterWarningStandardBatchImportPreview(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultExcelImportResultDTODisasterWarningStandardImportDTO>> {
|
|
618
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disasterWarningStandardBatchImportPreview(options);
|
|
619
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
620
|
+
const localVarOperationServerBasePath = operationServerMap['DisasterWarningStandardApi.disasterWarningStandardBatchImportPreview']?.[localVarOperationServerIndex]?.url;
|
|
621
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
622
|
+
},
|
|
623
|
+
/**
|
|
624
|
+
*
|
|
625
|
+
* @summary 灾害预警标准导入-下载模板
|
|
626
|
+
* @param {*} [options] Override http request option.
|
|
627
|
+
* @throws {RequiredError}
|
|
628
|
+
*/
|
|
629
|
+
async disasterWarningStandardBatchImportTemplate(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
630
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disasterWarningStandardBatchImportTemplate(options);
|
|
631
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
632
|
+
const localVarOperationServerBasePath = operationServerMap['DisasterWarningStandardApi.disasterWarningStandardBatchImportTemplate']?.[localVarOperationServerIndex]?.url;
|
|
633
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
634
|
+
},
|
|
635
|
+
/**
|
|
636
|
+
*
|
|
637
|
+
* @summary 灾害预警标准导入-上传文件
|
|
638
|
+
* @param {number} parkId 园区id
|
|
639
|
+
* @param {File} file
|
|
640
|
+
* @param {string} [language] 语言
|
|
641
|
+
* @param {*} [options] Override http request option.
|
|
642
|
+
* @throws {RequiredError}
|
|
643
|
+
*/
|
|
644
|
+
async disasterWarningStandardBatchImportUpload(parkId: number, file: File, language?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultExcelImportResultDTODisasterWarningStandardImportDTO>> {
|
|
645
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disasterWarningStandardBatchImportUpload(parkId, file, language, options);
|
|
646
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
647
|
+
const localVarOperationServerBasePath = operationServerMap['DisasterWarningStandardApi.disasterWarningStandardBatchImportUpload']?.[localVarOperationServerIndex]?.url;
|
|
648
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
649
|
+
},
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @summary 删除灾害预警标准
|
|
653
|
+
* @param {number} id
|
|
654
|
+
* @param {*} [options] Override http request option.
|
|
655
|
+
* @throws {RequiredError}
|
|
656
|
+
*/
|
|
657
|
+
async disasterWarningStandardDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
658
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disasterWarningStandardDelete(id, options);
|
|
659
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
660
|
+
const localVarOperationServerBasePath = operationServerMap['DisasterWarningStandardApi.disasterWarningStandardDelete']?.[localVarOperationServerIndex]?.url;
|
|
661
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
662
|
+
},
|
|
663
|
+
/**
|
|
664
|
+
*
|
|
665
|
+
* @summary 删除灾害预警标准
|
|
666
|
+
* @param {Array<number>} requestBody
|
|
667
|
+
* @param {*} [options] Override http request option.
|
|
668
|
+
* @throws {RequiredError}
|
|
669
|
+
*/
|
|
670
|
+
async disasterWarningStandardDeleteBatch(requestBody: Array<number>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
671
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disasterWarningStandardDeleteBatch(requestBody, options);
|
|
672
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
673
|
+
const localVarOperationServerBasePath = operationServerMap['DisasterWarningStandardApi.disasterWarningStandardDeleteBatch']?.[localVarOperationServerIndex]?.url;
|
|
674
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
675
|
+
},
|
|
676
|
+
/**
|
|
677
|
+
*
|
|
678
|
+
* @summary 查询灾害预警标准
|
|
679
|
+
* @param {number} id
|
|
680
|
+
* @param {*} [options] Override http request option.
|
|
681
|
+
* @throws {RequiredError}
|
|
682
|
+
*/
|
|
683
|
+
async disasterWarningStandardDetails(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultDisasterWarningStandardEntity>> {
|
|
684
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disasterWarningStandardDetails(id, options);
|
|
685
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
686
|
+
const localVarOperationServerBasePath = operationServerMap['DisasterWarningStandardApi.disasterWarningStandardDetails']?.[localVarOperationServerIndex]?.url;
|
|
687
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
688
|
+
},
|
|
689
|
+
/**
|
|
690
|
+
*
|
|
691
|
+
* @summary 查询灾害预警标准列表
|
|
692
|
+
* @param {number} parkId 园区id
|
|
693
|
+
* @param {number} pageSize 每页数量
|
|
694
|
+
* @param {number} page 页码
|
|
695
|
+
* @param {DisasterWarningStandardCategoryEnum} [disasterWarningStandardCategory] 灾害预警分类
|
|
696
|
+
* @param {string} [searchValue] 内容
|
|
697
|
+
* @param {*} [options] Override http request option.
|
|
698
|
+
* @throws {RequiredError}
|
|
699
|
+
*/
|
|
700
|
+
async disasterWarningStandardList(parkId: number, pageSize: number, page: number, disasterWarningStandardCategory?: DisasterWarningStandardCategoryEnum, searchValue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoDisasterWarningStandardEntity>> {
|
|
701
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disasterWarningStandardList(parkId, pageSize, page, disasterWarningStandardCategory, searchValue, options);
|
|
702
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
703
|
+
const localVarOperationServerBasePath = operationServerMap['DisasterWarningStandardApi.disasterWarningStandardList']?.[localVarOperationServerIndex]?.url;
|
|
704
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
705
|
+
},
|
|
706
|
+
/**
|
|
707
|
+
*
|
|
708
|
+
* @summary 修改灾害预警标准
|
|
709
|
+
* @param {number} id
|
|
710
|
+
* @param {DisasterWarningStandardAddOrUpdateVo} disasterWarningStandardAddOrUpdateVo
|
|
711
|
+
* @param {*} [options] Override http request option.
|
|
712
|
+
* @throws {RequiredError}
|
|
713
|
+
*/
|
|
714
|
+
async disasterWarningStandardUpdate(id: number, disasterWarningStandardAddOrUpdateVo: DisasterWarningStandardAddOrUpdateVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
715
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disasterWarningStandardUpdate(id, disasterWarningStandardAddOrUpdateVo, options);
|
|
716
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
717
|
+
const localVarOperationServerBasePath = operationServerMap['DisasterWarningStandardApi.disasterWarningStandardUpdate']?.[localVarOperationServerIndex]?.url;
|
|
718
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
719
|
+
},
|
|
720
|
+
/**
|
|
721
|
+
*
|
|
722
|
+
* @summary 同步其他园区巡检标准
|
|
723
|
+
* @param {SyncStandardVo} syncStandardVo
|
|
724
|
+
* @param {*} [options] Override http request option.
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
*/
|
|
727
|
+
async syncDisasterWarningStandard(syncStandardVo: SyncStandardVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
728
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncDisasterWarningStandard(syncStandardVo, options);
|
|
729
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
730
|
+
const localVarOperationServerBasePath = operationServerMap['DisasterWarningStandardApi.syncDisasterWarningStandard']?.[localVarOperationServerIndex]?.url;
|
|
731
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
732
|
+
},
|
|
733
|
+
}
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* DisasterWarningStandardApi - factory interface
|
|
738
|
+
* @export
|
|
739
|
+
*/
|
|
740
|
+
export const DisasterWarningStandardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
741
|
+
const localVarFp = DisasterWarningStandardApiFp(configuration)
|
|
742
|
+
return {
|
|
743
|
+
/**
|
|
744
|
+
*
|
|
745
|
+
* @summary 新增灾害预警标准
|
|
746
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardAddRequest} requestParameters Request parameters.
|
|
747
|
+
* @param {*} [options] Override http request option.
|
|
748
|
+
* @throws {RequiredError}
|
|
749
|
+
*/
|
|
750
|
+
disasterWarningStandardAdd(requestParameters: DisasterWarningStandardApiDisasterWarningStandardAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
751
|
+
return localVarFp.disasterWarningStandardAdd(requestParameters.disasterWarningStandardAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
752
|
+
},
|
|
753
|
+
/**
|
|
754
|
+
*
|
|
755
|
+
* @summary 灾害预警标准导出-数据
|
|
756
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardBatchExportRequest} requestParameters Request parameters.
|
|
757
|
+
* @param {*} [options] Override http request option.
|
|
758
|
+
* @throws {RequiredError}
|
|
759
|
+
*/
|
|
760
|
+
disasterWarningStandardBatchExport(requestParameters: DisasterWarningStandardApiDisasterWarningStandardBatchExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
761
|
+
return localVarFp.disasterWarningStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.disasterWarningStandardCategory, options).then((request) => request(axios, basePath));
|
|
762
|
+
},
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @summary 灾害预警标准导入-确认导入
|
|
766
|
+
* @param {*} [options] Override http request option.
|
|
767
|
+
* @throws {RequiredError}
|
|
768
|
+
*/
|
|
769
|
+
disasterWarningStandardBatchImportConfirm(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultExcelImportResultDTODisasterWarningStandardImportDTO> {
|
|
770
|
+
return localVarFp.disasterWarningStandardBatchImportConfirm(options).then((request) => request(axios, basePath));
|
|
771
|
+
},
|
|
772
|
+
/**
|
|
773
|
+
*
|
|
774
|
+
* @summary 灾害预警标准导入-预览结果
|
|
775
|
+
* @param {*} [options] Override http request option.
|
|
776
|
+
* @throws {RequiredError}
|
|
777
|
+
*/
|
|
778
|
+
disasterWarningStandardBatchImportPreview(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultExcelImportResultDTODisasterWarningStandardImportDTO> {
|
|
779
|
+
return localVarFp.disasterWarningStandardBatchImportPreview(options).then((request) => request(axios, basePath));
|
|
780
|
+
},
|
|
781
|
+
/**
|
|
782
|
+
*
|
|
783
|
+
* @summary 灾害预警标准导入-下载模板
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
*/
|
|
787
|
+
disasterWarningStandardBatchImportTemplate(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
788
|
+
return localVarFp.disasterWarningStandardBatchImportTemplate(options).then((request) => request(axios, basePath));
|
|
789
|
+
},
|
|
790
|
+
/**
|
|
791
|
+
*
|
|
792
|
+
* @summary 灾害预警标准导入-上传文件
|
|
793
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardBatchImportUploadRequest} requestParameters Request parameters.
|
|
794
|
+
* @param {*} [options] Override http request option.
|
|
795
|
+
* @throws {RequiredError}
|
|
796
|
+
*/
|
|
797
|
+
disasterWarningStandardBatchImportUpload(requestParameters: DisasterWarningStandardApiDisasterWarningStandardBatchImportUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultExcelImportResultDTODisasterWarningStandardImportDTO> {
|
|
798
|
+
return localVarFp.disasterWarningStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
799
|
+
},
|
|
800
|
+
/**
|
|
801
|
+
*
|
|
802
|
+
* @summary 删除灾害预警标准
|
|
803
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardDeleteRequest} requestParameters Request parameters.
|
|
804
|
+
* @param {*} [options] Override http request option.
|
|
805
|
+
* @throws {RequiredError}
|
|
806
|
+
*/
|
|
807
|
+
disasterWarningStandardDelete(requestParameters: DisasterWarningStandardApiDisasterWarningStandardDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
808
|
+
return localVarFp.disasterWarningStandardDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
809
|
+
},
|
|
810
|
+
/**
|
|
811
|
+
*
|
|
812
|
+
* @summary 删除灾害预警标准
|
|
813
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardDeleteBatchRequest} requestParameters Request parameters.
|
|
814
|
+
* @param {*} [options] Override http request option.
|
|
815
|
+
* @throws {RequiredError}
|
|
816
|
+
*/
|
|
817
|
+
disasterWarningStandardDeleteBatch(requestParameters: DisasterWarningStandardApiDisasterWarningStandardDeleteBatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
818
|
+
return localVarFp.disasterWarningStandardDeleteBatch(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
819
|
+
},
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @summary 查询灾害预警标准
|
|
823
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardDetailsRequest} requestParameters Request parameters.
|
|
824
|
+
* @param {*} [options] Override http request option.
|
|
825
|
+
* @throws {RequiredError}
|
|
826
|
+
*/
|
|
827
|
+
disasterWarningStandardDetails(requestParameters: DisasterWarningStandardApiDisasterWarningStandardDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultDisasterWarningStandardEntity> {
|
|
828
|
+
return localVarFp.disasterWarningStandardDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
829
|
+
},
|
|
830
|
+
/**
|
|
831
|
+
*
|
|
832
|
+
* @summary 查询灾害预警标准列表
|
|
833
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardListRequest} requestParameters Request parameters.
|
|
834
|
+
* @param {*} [options] Override http request option.
|
|
835
|
+
* @throws {RequiredError}
|
|
836
|
+
*/
|
|
837
|
+
disasterWarningStandardList(requestParameters: DisasterWarningStandardApiDisasterWarningStandardListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoDisasterWarningStandardEntity> {
|
|
838
|
+
return localVarFp.disasterWarningStandardList(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.disasterWarningStandardCategory, requestParameters.searchValue, options).then((request) => request(axios, basePath));
|
|
839
|
+
},
|
|
840
|
+
/**
|
|
841
|
+
*
|
|
842
|
+
* @summary 修改灾害预警标准
|
|
843
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardUpdateRequest} requestParameters Request parameters.
|
|
844
|
+
* @param {*} [options] Override http request option.
|
|
845
|
+
* @throws {RequiredError}
|
|
846
|
+
*/
|
|
847
|
+
disasterWarningStandardUpdate(requestParameters: DisasterWarningStandardApiDisasterWarningStandardUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
848
|
+
return localVarFp.disasterWarningStandardUpdate(requestParameters.id, requestParameters.disasterWarningStandardAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
849
|
+
},
|
|
850
|
+
/**
|
|
851
|
+
*
|
|
852
|
+
* @summary 同步其他园区巡检标准
|
|
853
|
+
* @param {DisasterWarningStandardApiSyncDisasterWarningStandardRequest} requestParameters Request parameters.
|
|
854
|
+
* @param {*} [options] Override http request option.
|
|
855
|
+
* @throws {RequiredError}
|
|
856
|
+
*/
|
|
857
|
+
syncDisasterWarningStandard(requestParameters: DisasterWarningStandardApiSyncDisasterWarningStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
858
|
+
return localVarFp.syncDisasterWarningStandard(requestParameters.syncStandardVo, options).then((request) => request(axios, basePath));
|
|
859
|
+
},
|
|
860
|
+
};
|
|
861
|
+
};
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* Request parameters for disasterWarningStandardAdd operation in DisasterWarningStandardApi.
|
|
865
|
+
* @export
|
|
866
|
+
* @interface DisasterWarningStandardApiDisasterWarningStandardAddRequest
|
|
867
|
+
*/
|
|
868
|
+
export interface DisasterWarningStandardApiDisasterWarningStandardAddRequest {
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
* @type {Array<DisasterWarningStandardAddOrUpdateVo>}
|
|
872
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardAdd
|
|
873
|
+
*/
|
|
874
|
+
readonly disasterWarningStandardAddOrUpdateVo: Array<DisasterWarningStandardAddOrUpdateVo>
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* Request parameters for disasterWarningStandardBatchExport operation in DisasterWarningStandardApi.
|
|
879
|
+
* @export
|
|
880
|
+
* @interface DisasterWarningStandardApiDisasterWarningStandardBatchExportRequest
|
|
881
|
+
*/
|
|
882
|
+
export interface DisasterWarningStandardApiDisasterWarningStandardBatchExportRequest {
|
|
883
|
+
/**
|
|
884
|
+
* 园区id
|
|
885
|
+
* @type {number}
|
|
886
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardBatchExport
|
|
887
|
+
*/
|
|
888
|
+
readonly parkId: number
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* 内容
|
|
892
|
+
* @type {string}
|
|
893
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardBatchExport
|
|
894
|
+
*/
|
|
895
|
+
readonly searchValue?: string
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* 灾害预警分类
|
|
899
|
+
* @type {DisasterWarningStandardCategoryEnum}
|
|
900
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardBatchExport
|
|
901
|
+
*/
|
|
902
|
+
readonly disasterWarningStandardCategory?: DisasterWarningStandardCategoryEnum
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* Request parameters for disasterWarningStandardBatchImportUpload operation in DisasterWarningStandardApi.
|
|
907
|
+
* @export
|
|
908
|
+
* @interface DisasterWarningStandardApiDisasterWarningStandardBatchImportUploadRequest
|
|
909
|
+
*/
|
|
910
|
+
export interface DisasterWarningStandardApiDisasterWarningStandardBatchImportUploadRequest {
|
|
911
|
+
/**
|
|
912
|
+
* 园区id
|
|
913
|
+
* @type {number}
|
|
914
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardBatchImportUpload
|
|
915
|
+
*/
|
|
916
|
+
readonly parkId: number
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @type {File}
|
|
921
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardBatchImportUpload
|
|
922
|
+
*/
|
|
923
|
+
readonly file: File
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* 语言
|
|
927
|
+
* @type {string}
|
|
928
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardBatchImportUpload
|
|
929
|
+
*/
|
|
930
|
+
readonly language?: string
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* Request parameters for disasterWarningStandardDelete operation in DisasterWarningStandardApi.
|
|
935
|
+
* @export
|
|
936
|
+
* @interface DisasterWarningStandardApiDisasterWarningStandardDeleteRequest
|
|
937
|
+
*/
|
|
938
|
+
export interface DisasterWarningStandardApiDisasterWarningStandardDeleteRequest {
|
|
939
|
+
/**
|
|
940
|
+
*
|
|
941
|
+
* @type {number}
|
|
942
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardDelete
|
|
943
|
+
*/
|
|
944
|
+
readonly id: number
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* Request parameters for disasterWarningStandardDeleteBatch operation in DisasterWarningStandardApi.
|
|
949
|
+
* @export
|
|
950
|
+
* @interface DisasterWarningStandardApiDisasterWarningStandardDeleteBatchRequest
|
|
951
|
+
*/
|
|
952
|
+
export interface DisasterWarningStandardApiDisasterWarningStandardDeleteBatchRequest {
|
|
953
|
+
/**
|
|
954
|
+
*
|
|
955
|
+
* @type {Array<number>}
|
|
956
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardDeleteBatch
|
|
957
|
+
*/
|
|
958
|
+
readonly requestBody: Array<number>
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* Request parameters for disasterWarningStandardDetails operation in DisasterWarningStandardApi.
|
|
963
|
+
* @export
|
|
964
|
+
* @interface DisasterWarningStandardApiDisasterWarningStandardDetailsRequest
|
|
965
|
+
*/
|
|
966
|
+
export interface DisasterWarningStandardApiDisasterWarningStandardDetailsRequest {
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @type {number}
|
|
970
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardDetails
|
|
971
|
+
*/
|
|
972
|
+
readonly id: number
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Request parameters for disasterWarningStandardList operation in DisasterWarningStandardApi.
|
|
977
|
+
* @export
|
|
978
|
+
* @interface DisasterWarningStandardApiDisasterWarningStandardListRequest
|
|
979
|
+
*/
|
|
980
|
+
export interface DisasterWarningStandardApiDisasterWarningStandardListRequest {
|
|
981
|
+
/**
|
|
982
|
+
* 园区id
|
|
983
|
+
* @type {number}
|
|
984
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardList
|
|
985
|
+
*/
|
|
986
|
+
readonly parkId: number
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* 每页数量
|
|
990
|
+
* @type {number}
|
|
991
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardList
|
|
992
|
+
*/
|
|
993
|
+
readonly pageSize: number
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* 页码
|
|
997
|
+
* @type {number}
|
|
998
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardList
|
|
999
|
+
*/
|
|
1000
|
+
readonly page: number
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* 灾害预警分类
|
|
1004
|
+
* @type {DisasterWarningStandardCategoryEnum}
|
|
1005
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardList
|
|
1006
|
+
*/
|
|
1007
|
+
readonly disasterWarningStandardCategory?: DisasterWarningStandardCategoryEnum
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* 内容
|
|
1011
|
+
* @type {string}
|
|
1012
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardList
|
|
1013
|
+
*/
|
|
1014
|
+
readonly searchValue?: string
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* Request parameters for disasterWarningStandardUpdate operation in DisasterWarningStandardApi.
|
|
1019
|
+
* @export
|
|
1020
|
+
* @interface DisasterWarningStandardApiDisasterWarningStandardUpdateRequest
|
|
1021
|
+
*/
|
|
1022
|
+
export interface DisasterWarningStandardApiDisasterWarningStandardUpdateRequest {
|
|
1023
|
+
/**
|
|
1024
|
+
*
|
|
1025
|
+
* @type {number}
|
|
1026
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardUpdate
|
|
1027
|
+
*/
|
|
1028
|
+
readonly id: number
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
*
|
|
1032
|
+
* @type {DisasterWarningStandardAddOrUpdateVo}
|
|
1033
|
+
* @memberof DisasterWarningStandardApiDisasterWarningStandardUpdate
|
|
1034
|
+
*/
|
|
1035
|
+
readonly disasterWarningStandardAddOrUpdateVo: DisasterWarningStandardAddOrUpdateVo
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* Request parameters for syncDisasterWarningStandard operation in DisasterWarningStandardApi.
|
|
1040
|
+
* @export
|
|
1041
|
+
* @interface DisasterWarningStandardApiSyncDisasterWarningStandardRequest
|
|
1042
|
+
*/
|
|
1043
|
+
export interface DisasterWarningStandardApiSyncDisasterWarningStandardRequest {
|
|
1044
|
+
/**
|
|
1045
|
+
*
|
|
1046
|
+
* @type {SyncStandardVo}
|
|
1047
|
+
* @memberof DisasterWarningStandardApiSyncDisasterWarningStandard
|
|
1048
|
+
*/
|
|
1049
|
+
readonly syncStandardVo: SyncStandardVo
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* DisasterWarningStandardApi - object-oriented interface
|
|
1054
|
+
* @export
|
|
1055
|
+
* @class DisasterWarningStandardApi
|
|
1056
|
+
* @extends {BaseAPI}
|
|
1057
|
+
*/
|
|
1058
|
+
export class DisasterWarningStandardApi extends BaseAPI {
|
|
1059
|
+
/**
|
|
1060
|
+
*
|
|
1061
|
+
* @summary 新增灾害预警标准
|
|
1062
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardAddRequest} requestParameters Request parameters.
|
|
1063
|
+
* @param {*} [options] Override http request option.
|
|
1064
|
+
* @throws {RequiredError}
|
|
1065
|
+
* @memberof DisasterWarningStandardApi
|
|
1066
|
+
*/
|
|
1067
|
+
public disasterWarningStandardAdd(requestParameters: DisasterWarningStandardApiDisasterWarningStandardAddRequest, options?: RawAxiosRequestConfig) {
|
|
1068
|
+
return DisasterWarningStandardApiFp(this.configuration).disasterWarningStandardAdd(requestParameters.disasterWarningStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* @summary 灾害预警标准导出-数据
|
|
1074
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardBatchExportRequest} requestParameters Request parameters.
|
|
1075
|
+
* @param {*} [options] Override http request option.
|
|
1076
|
+
* @throws {RequiredError}
|
|
1077
|
+
* @memberof DisasterWarningStandardApi
|
|
1078
|
+
*/
|
|
1079
|
+
public disasterWarningStandardBatchExport(requestParameters: DisasterWarningStandardApiDisasterWarningStandardBatchExportRequest, options?: RawAxiosRequestConfig) {
|
|
1080
|
+
return DisasterWarningStandardApiFp(this.configuration).disasterWarningStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.disasterWarningStandardCategory, options).then((request) => request(this.axios, this.basePath));
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
*
|
|
1085
|
+
* @summary 灾害预警标准导入-确认导入
|
|
1086
|
+
* @param {*} [options] Override http request option.
|
|
1087
|
+
* @throws {RequiredError}
|
|
1088
|
+
* @memberof DisasterWarningStandardApi
|
|
1089
|
+
*/
|
|
1090
|
+
public disasterWarningStandardBatchImportConfirm(options?: RawAxiosRequestConfig) {
|
|
1091
|
+
return DisasterWarningStandardApiFp(this.configuration).disasterWarningStandardBatchImportConfirm(options).then((request) => request(this.axios, this.basePath));
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
*
|
|
1096
|
+
* @summary 灾害预警标准导入-预览结果
|
|
1097
|
+
* @param {*} [options] Override http request option.
|
|
1098
|
+
* @throws {RequiredError}
|
|
1099
|
+
* @memberof DisasterWarningStandardApi
|
|
1100
|
+
*/
|
|
1101
|
+
public disasterWarningStandardBatchImportPreview(options?: RawAxiosRequestConfig) {
|
|
1102
|
+
return DisasterWarningStandardApiFp(this.configuration).disasterWarningStandardBatchImportPreview(options).then((request) => request(this.axios, this.basePath));
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
*
|
|
1107
|
+
* @summary 灾害预警标准导入-下载模板
|
|
1108
|
+
* @param {*} [options] Override http request option.
|
|
1109
|
+
* @throws {RequiredError}
|
|
1110
|
+
* @memberof DisasterWarningStandardApi
|
|
1111
|
+
*/
|
|
1112
|
+
public disasterWarningStandardBatchImportTemplate(options?: RawAxiosRequestConfig) {
|
|
1113
|
+
return DisasterWarningStandardApiFp(this.configuration).disasterWarningStandardBatchImportTemplate(options).then((request) => request(this.axios, this.basePath));
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
*
|
|
1118
|
+
* @summary 灾害预警标准导入-上传文件
|
|
1119
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardBatchImportUploadRequest} requestParameters Request parameters.
|
|
1120
|
+
* @param {*} [options] Override http request option.
|
|
1121
|
+
* @throws {RequiredError}
|
|
1122
|
+
* @memberof DisasterWarningStandardApi
|
|
1123
|
+
*/
|
|
1124
|
+
public disasterWarningStandardBatchImportUpload(requestParameters: DisasterWarningStandardApiDisasterWarningStandardBatchImportUploadRequest, options?: RawAxiosRequestConfig) {
|
|
1125
|
+
return DisasterWarningStandardApiFp(this.configuration).disasterWarningStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
*
|
|
1130
|
+
* @summary 删除灾害预警标准
|
|
1131
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardDeleteRequest} requestParameters Request parameters.
|
|
1132
|
+
* @param {*} [options] Override http request option.
|
|
1133
|
+
* @throws {RequiredError}
|
|
1134
|
+
* @memberof DisasterWarningStandardApi
|
|
1135
|
+
*/
|
|
1136
|
+
public disasterWarningStandardDelete(requestParameters: DisasterWarningStandardApiDisasterWarningStandardDeleteRequest, options?: RawAxiosRequestConfig) {
|
|
1137
|
+
return DisasterWarningStandardApiFp(this.configuration).disasterWarningStandardDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
*
|
|
1142
|
+
* @summary 删除灾害预警标准
|
|
1143
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardDeleteBatchRequest} requestParameters Request parameters.
|
|
1144
|
+
* @param {*} [options] Override http request option.
|
|
1145
|
+
* @throws {RequiredError}
|
|
1146
|
+
* @memberof DisasterWarningStandardApi
|
|
1147
|
+
*/
|
|
1148
|
+
public disasterWarningStandardDeleteBatch(requestParameters: DisasterWarningStandardApiDisasterWarningStandardDeleteBatchRequest, options?: RawAxiosRequestConfig) {
|
|
1149
|
+
return DisasterWarningStandardApiFp(this.configuration).disasterWarningStandardDeleteBatch(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
*
|
|
1154
|
+
* @summary 查询灾害预警标准
|
|
1155
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardDetailsRequest} requestParameters Request parameters.
|
|
1156
|
+
* @param {*} [options] Override http request option.
|
|
1157
|
+
* @throws {RequiredError}
|
|
1158
|
+
* @memberof DisasterWarningStandardApi
|
|
1159
|
+
*/
|
|
1160
|
+
public disasterWarningStandardDetails(requestParameters: DisasterWarningStandardApiDisasterWarningStandardDetailsRequest, options?: RawAxiosRequestConfig) {
|
|
1161
|
+
return DisasterWarningStandardApiFp(this.configuration).disasterWarningStandardDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
*
|
|
1166
|
+
* @summary 查询灾害预警标准列表
|
|
1167
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardListRequest} requestParameters Request parameters.
|
|
1168
|
+
* @param {*} [options] Override http request option.
|
|
1169
|
+
* @throws {RequiredError}
|
|
1170
|
+
* @memberof DisasterWarningStandardApi
|
|
1171
|
+
*/
|
|
1172
|
+
public disasterWarningStandardList(requestParameters: DisasterWarningStandardApiDisasterWarningStandardListRequest, options?: RawAxiosRequestConfig) {
|
|
1173
|
+
return DisasterWarningStandardApiFp(this.configuration).disasterWarningStandardList(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.disasterWarningStandardCategory, requestParameters.searchValue, options).then((request) => request(this.axios, this.basePath));
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
*
|
|
1178
|
+
* @summary 修改灾害预警标准
|
|
1179
|
+
* @param {DisasterWarningStandardApiDisasterWarningStandardUpdateRequest} requestParameters Request parameters.
|
|
1180
|
+
* @param {*} [options] Override http request option.
|
|
1181
|
+
* @throws {RequiredError}
|
|
1182
|
+
* @memberof DisasterWarningStandardApi
|
|
1183
|
+
*/
|
|
1184
|
+
public disasterWarningStandardUpdate(requestParameters: DisasterWarningStandardApiDisasterWarningStandardUpdateRequest, options?: RawAxiosRequestConfig) {
|
|
1185
|
+
return DisasterWarningStandardApiFp(this.configuration).disasterWarningStandardUpdate(requestParameters.id, requestParameters.disasterWarningStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
*
|
|
1190
|
+
* @summary 同步其他园区巡检标准
|
|
1191
|
+
* @param {DisasterWarningStandardApiSyncDisasterWarningStandardRequest} requestParameters Request parameters.
|
|
1192
|
+
* @param {*} [options] Override http request option.
|
|
1193
|
+
* @throws {RequiredError}
|
|
1194
|
+
* @memberof DisasterWarningStandardApi
|
|
1195
|
+
*/
|
|
1196
|
+
public syncDisasterWarningStandard(requestParameters: DisasterWarningStandardApiSyncDisasterWarningStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1197
|
+
return DisasterWarningStandardApiFp(this.configuration).syncDisasterWarningStandard(requestParameters.syncStandardVo, options).then((request) => request(this.axios, this.basePath));
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
|