@gizone/rrs-client 4.2.0-alpha.240 → 4.2.0-alpha.242
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 +11 -0
- package/api.ts +1 -0
- package/apis/disaster-warning-standard-controller-api.ts +1200 -0
- package/apis/inspection-standard-api.ts +18 -32
- package/apis/maintenance-standard-api.ts +91 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/disaster-warning-standard-controller-api.d.ts +621 -0
- package/dist/apis/disaster-warning-standard-controller-api.js +940 -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 +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/disaster-warning-standard-controller-api.d.ts +621 -0
- package/dist/esm/apis/disaster-warning-standard-controller-api.js +933 -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 +4 -4
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- 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/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 +4 -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 +4 -4
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- 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/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 +4 -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 +4 -4
- package/models/index.ts +10 -0
- 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/page-dto-disaster-warning-standard-entity.ts +39 -0
- package/models/sync-standard-vo.ts +36 -0
- package/models/sys-user.ts +4 -4
- package/package.json +1 -1
|
@@ -20,6 +20,7 @@ import type { JsonResultInspectionStandardEntity } from '../models';
|
|
|
20
20
|
import type { JsonResultListInspectionStandardEntity } from '../models';
|
|
21
21
|
import type { JsonResultPageDtoInspectionStandardDTO } from '../models';
|
|
22
22
|
import type { JsonResultVoid } from '../models';
|
|
23
|
+
import type { SyncStandardVo } from '../models';
|
|
23
24
|
import type { WorkOrderPlanHolidaysEnum } from '../models';
|
|
24
25
|
import type { WorkOrderPlanRepeatsEnum } from '../models';
|
|
25
26
|
/**
|
|
@@ -139,12 +140,11 @@ export declare const InspectionStandardApiAxiosParamCreator: (configuration?: Co
|
|
|
139
140
|
/**
|
|
140
141
|
*
|
|
141
142
|
* @summary 同步其他园区巡检标准
|
|
142
|
-
* @param {
|
|
143
|
-
* @param {number} parkIdTwo
|
|
143
|
+
* @param {SyncStandardVo} syncStandardVo
|
|
144
144
|
* @param {*} [options] Override http request option.
|
|
145
145
|
* @throws {RequiredError}
|
|
146
146
|
*/
|
|
147
|
-
syncInspectionStandard: (
|
|
147
|
+
syncInspectionStandard: (syncStandardVo: SyncStandardVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
148
148
|
/**
|
|
149
149
|
*
|
|
150
150
|
* @summary 修改巡检标准
|
|
@@ -272,12 +272,11 @@ export declare const InspectionStandardApiFp: (configuration?: Configuration) =>
|
|
|
272
272
|
/**
|
|
273
273
|
*
|
|
274
274
|
* @summary 同步其他园区巡检标准
|
|
275
|
-
* @param {
|
|
276
|
-
* @param {number} parkIdTwo
|
|
275
|
+
* @param {SyncStandardVo} syncStandardVo
|
|
277
276
|
* @param {*} [options] Override http request option.
|
|
278
277
|
* @throws {RequiredError}
|
|
279
278
|
*/
|
|
280
|
-
syncInspectionStandard(
|
|
279
|
+
syncInspectionStandard(syncStandardVo: SyncStandardVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
281
280
|
/**
|
|
282
281
|
*
|
|
283
282
|
* @summary 修改巡检标准
|
|
@@ -624,16 +623,10 @@ export interface InspectionStandardApiListInspectionStandardByEquipmentSystemIdR
|
|
|
624
623
|
export interface InspectionStandardApiSyncInspectionStandardRequest {
|
|
625
624
|
/**
|
|
626
625
|
*
|
|
627
|
-
* @type {
|
|
628
|
-
* @memberof InspectionStandardApiSyncInspectionStandard
|
|
629
|
-
*/
|
|
630
|
-
readonly parkIdOne: number;
|
|
631
|
-
/**
|
|
632
|
-
*
|
|
633
|
-
* @type {number}
|
|
626
|
+
* @type {SyncStandardVo}
|
|
634
627
|
* @memberof InspectionStandardApiSyncInspectionStandard
|
|
635
628
|
*/
|
|
636
|
-
readonly
|
|
629
|
+
readonly syncStandardVo: SyncStandardVo;
|
|
637
630
|
}
|
|
638
631
|
/**
|
|
639
632
|
* Request parameters for updateInspectionStandard operation in InspectionStandardApi.
|
|
@@ -492,38 +492,31 @@ export const InspectionStandardApiAxiosParamCreator = function (configuration) {
|
|
|
492
492
|
/**
|
|
493
493
|
*
|
|
494
494
|
* @summary 同步其他园区巡检标准
|
|
495
|
-
* @param {
|
|
496
|
-
* @param {number} parkIdTwo
|
|
495
|
+
* @param {SyncStandardVo} syncStandardVo
|
|
497
496
|
* @param {*} [options] Override http request option.
|
|
498
497
|
* @throws {RequiredError}
|
|
499
498
|
*/
|
|
500
|
-
syncInspectionStandard: (
|
|
501
|
-
// verify required parameter '
|
|
502
|
-
assertParamExists('syncInspectionStandard', '
|
|
503
|
-
|
|
504
|
-
assertParamExists('syncInspectionStandard', 'parkIdTwo', parkIdTwo);
|
|
505
|
-
const localVarPath = `/gizone/inspectionStandard/sync/park/inspectionStandard`;
|
|
499
|
+
syncInspectionStandard: (syncStandardVo_1, ...args_1) => __awaiter(this, [syncStandardVo_1, ...args_1], void 0, function* (syncStandardVo, options = {}) {
|
|
500
|
+
// verify required parameter 'syncStandardVo' is not null or undefined
|
|
501
|
+
assertParamExists('syncInspectionStandard', 'syncStandardVo', syncStandardVo);
|
|
502
|
+
const localVarPath = `/gizone/inspectionStandard/park/sync`;
|
|
506
503
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
507
504
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
508
505
|
let baseOptions;
|
|
509
506
|
if (configuration) {
|
|
510
507
|
baseOptions = configuration.baseOptions;
|
|
511
508
|
}
|
|
512
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
509
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
513
510
|
const localVarHeaderParameter = {};
|
|
514
511
|
const localVarQueryParameter = {};
|
|
515
512
|
// authentication tokenScheme required
|
|
516
513
|
// http bearer authentication required
|
|
517
514
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
518
|
-
|
|
519
|
-
localVarQueryParameter['parkIdOne'] = parkIdOne;
|
|
520
|
-
}
|
|
521
|
-
if (parkIdTwo !== undefined) {
|
|
522
|
-
localVarQueryParameter['parkIdTwo'] = parkIdTwo;
|
|
523
|
-
}
|
|
515
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
524
516
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
525
517
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
526
518
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
519
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncStandardVo, localVarRequestOptions, configuration);
|
|
527
520
|
return {
|
|
528
521
|
url: toPathString(localVarUrlObj),
|
|
529
522
|
options: localVarRequestOptions,
|
|
@@ -783,15 +776,14 @@ export const InspectionStandardApiFp = function (configuration) {
|
|
|
783
776
|
/**
|
|
784
777
|
*
|
|
785
778
|
* @summary 同步其他园区巡检标准
|
|
786
|
-
* @param {
|
|
787
|
-
* @param {number} parkIdTwo
|
|
779
|
+
* @param {SyncStandardVo} syncStandardVo
|
|
788
780
|
* @param {*} [options] Override http request option.
|
|
789
781
|
* @throws {RequiredError}
|
|
790
782
|
*/
|
|
791
|
-
syncInspectionStandard(
|
|
783
|
+
syncInspectionStandard(syncStandardVo, options) {
|
|
792
784
|
return __awaiter(this, void 0, void 0, function* () {
|
|
793
785
|
var _a, _b, _c;
|
|
794
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncInspectionStandard(
|
|
786
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncInspectionStandard(syncStandardVo, options);
|
|
795
787
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
796
788
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionStandardApi.syncInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
797
789
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -948,7 +940,7 @@ export const InspectionStandardApiFactory = function (configuration, basePath, a
|
|
|
948
940
|
* @throws {RequiredError}
|
|
949
941
|
*/
|
|
950
942
|
syncInspectionStandard(requestParameters, options) {
|
|
951
|
-
return localVarFp.syncInspectionStandard(requestParameters.
|
|
943
|
+
return localVarFp.syncInspectionStandard(requestParameters.syncStandardVo, options).then((request) => request(axios, basePath));
|
|
952
944
|
},
|
|
953
945
|
/**
|
|
954
946
|
*
|
|
@@ -1107,7 +1099,7 @@ export class InspectionStandardApi extends BaseAPI {
|
|
|
1107
1099
|
* @memberof InspectionStandardApi
|
|
1108
1100
|
*/
|
|
1109
1101
|
syncInspectionStandard(requestParameters, options) {
|
|
1110
|
-
return InspectionStandardApiFp(this.configuration).syncInspectionStandard(requestParameters.
|
|
1102
|
+
return InspectionStandardApiFp(this.configuration).syncInspectionStandard(requestParameters.syncStandardVo, options).then((request) => request(this.axios, this.basePath));
|
|
1111
1103
|
}
|
|
1112
1104
|
/**
|
|
1113
1105
|
*
|
|
@@ -20,6 +20,7 @@ import type { JsonResultPageDtoMaintenanceStandardDTO } from '../models';
|
|
|
20
20
|
import type { JsonResultVoid } from '../models';
|
|
21
21
|
import type { MaintenanceStandardAddOrUpdateVo } from '../models';
|
|
22
22
|
import type { StandardDeleteVo } from '../models';
|
|
23
|
+
import type { SyncStandardVo } from '../models';
|
|
23
24
|
import type { WorkOrderPlanHolidaysEnum } from '../models';
|
|
24
25
|
import type { WorkOrderPlanRepeatsEnum } from '../models';
|
|
25
26
|
/**
|
|
@@ -132,6 +133,14 @@ export declare const MaintenanceStandardApiAxiosParamCreator: (configuration?: C
|
|
|
132
133
|
* @throws {RequiredError}
|
|
133
134
|
*/
|
|
134
135
|
maintenanceStandardBatchImportUpload: (parkId: number, file: File, language?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @summary 同步其他园区巡检标准
|
|
139
|
+
* @param {SyncStandardVo} syncStandardVo
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
syncMaintenanceStandard: (syncStandardVo: SyncStandardVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
135
144
|
/**
|
|
136
145
|
*
|
|
137
146
|
* @summary 编辑维保标准
|
|
@@ -252,6 +261,14 @@ export declare const MaintenanceStandardApiFp: (configuration?: Configuration) =
|
|
|
252
261
|
* @throws {RequiredError}
|
|
253
262
|
*/
|
|
254
263
|
maintenanceStandardBatchImportUpload(parkId: number, file: File, language?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultExcelImportResultDTOMaintenanceStandardImportDTO>>;
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @summary 同步其他园区巡检标准
|
|
267
|
+
* @param {SyncStandardVo} syncStandardVo
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
*/
|
|
271
|
+
syncMaintenanceStandard(syncStandardVo: SyncStandardVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
255
272
|
/**
|
|
256
273
|
*
|
|
257
274
|
* @summary 编辑维保标准
|
|
@@ -360,6 +377,14 @@ export declare const MaintenanceStandardApiFactory: (configuration?: Configurati
|
|
|
360
377
|
* @throws {RequiredError}
|
|
361
378
|
*/
|
|
362
379
|
maintenanceStandardBatchImportUpload(requestParameters: MaintenanceStandardApiMaintenanceStandardBatchImportUploadRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultExcelImportResultDTOMaintenanceStandardImportDTO>;
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @summary 同步其他园区巡检标准
|
|
383
|
+
* @param {MaintenanceStandardApiSyncMaintenanceStandardRequest} requestParameters Request parameters.
|
|
384
|
+
* @param {*} [options] Override http request option.
|
|
385
|
+
* @throws {RequiredError}
|
|
386
|
+
*/
|
|
387
|
+
syncMaintenanceStandard(requestParameters: MaintenanceStandardApiSyncMaintenanceStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
363
388
|
/**
|
|
364
389
|
*
|
|
365
390
|
* @summary 编辑维保标准
|
|
@@ -558,6 +583,19 @@ export interface MaintenanceStandardApiMaintenanceStandardBatchImportUploadReque
|
|
|
558
583
|
*/
|
|
559
584
|
readonly language?: string;
|
|
560
585
|
}
|
|
586
|
+
/**
|
|
587
|
+
* Request parameters for syncMaintenanceStandard operation in MaintenanceStandardApi.
|
|
588
|
+
* @export
|
|
589
|
+
* @interface MaintenanceStandardApiSyncMaintenanceStandardRequest
|
|
590
|
+
*/
|
|
591
|
+
export interface MaintenanceStandardApiSyncMaintenanceStandardRequest {
|
|
592
|
+
/**
|
|
593
|
+
*
|
|
594
|
+
* @type {SyncStandardVo}
|
|
595
|
+
* @memberof MaintenanceStandardApiSyncMaintenanceStandard
|
|
596
|
+
*/
|
|
597
|
+
readonly syncStandardVo: SyncStandardVo;
|
|
598
|
+
}
|
|
561
599
|
/**
|
|
562
600
|
* Request parameters for updateMaintenanceStandard operation in MaintenanceStandardApi.
|
|
563
601
|
* @export
|
|
@@ -689,6 +727,15 @@ export declare class MaintenanceStandardApi extends BaseAPI {
|
|
|
689
727
|
* @memberof MaintenanceStandardApi
|
|
690
728
|
*/
|
|
691
729
|
maintenanceStandardBatchImportUpload(requestParameters: MaintenanceStandardApiMaintenanceStandardBatchImportUploadRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultExcelImportResultDTOMaintenanceStandardImportDTO, any>>;
|
|
730
|
+
/**
|
|
731
|
+
*
|
|
732
|
+
* @summary 同步其他园区巡检标准
|
|
733
|
+
* @param {MaintenanceStandardApiSyncMaintenanceStandardRequest} requestParameters Request parameters.
|
|
734
|
+
* @param {*} [options] Override http request option.
|
|
735
|
+
* @throws {RequiredError}
|
|
736
|
+
* @memberof MaintenanceStandardApi
|
|
737
|
+
*/
|
|
738
|
+
syncMaintenanceStandard(requestParameters: MaintenanceStandardApiSyncMaintenanceStandardRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
692
739
|
/**
|
|
693
740
|
*
|
|
694
741
|
* @summary 编辑维保标准
|
|
@@ -473,6 +473,39 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration)
|
|
|
473
473
|
options: localVarRequestOptions,
|
|
474
474
|
};
|
|
475
475
|
}),
|
|
476
|
+
/**
|
|
477
|
+
*
|
|
478
|
+
* @summary 同步其他园区巡检标准
|
|
479
|
+
* @param {SyncStandardVo} syncStandardVo
|
|
480
|
+
* @param {*} [options] Override http request option.
|
|
481
|
+
* @throws {RequiredError}
|
|
482
|
+
*/
|
|
483
|
+
syncMaintenanceStandard: (syncStandardVo_1, ...args_1) => __awaiter(this, [syncStandardVo_1, ...args_1], void 0, function* (syncStandardVo, options = {}) {
|
|
484
|
+
// verify required parameter 'syncStandardVo' is not null or undefined
|
|
485
|
+
assertParamExists('syncMaintenanceStandard', 'syncStandardVo', syncStandardVo);
|
|
486
|
+
const localVarPath = `/gizone/maintenanceStandard/park/sync`;
|
|
487
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
488
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
489
|
+
let baseOptions;
|
|
490
|
+
if (configuration) {
|
|
491
|
+
baseOptions = configuration.baseOptions;
|
|
492
|
+
}
|
|
493
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
494
|
+
const localVarHeaderParameter = {};
|
|
495
|
+
const localVarQueryParameter = {};
|
|
496
|
+
// authentication tokenScheme required
|
|
497
|
+
// http bearer authentication required
|
|
498
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
499
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
500
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
501
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
502
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
503
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncStandardVo, localVarRequestOptions, configuration);
|
|
504
|
+
return {
|
|
505
|
+
url: toPathString(localVarUrlObj),
|
|
506
|
+
options: localVarRequestOptions,
|
|
507
|
+
};
|
|
508
|
+
}),
|
|
476
509
|
/**
|
|
477
510
|
*
|
|
478
511
|
* @summary 编辑维保标准
|
|
@@ -720,6 +753,22 @@ export const MaintenanceStandardApiFp = function (configuration) {
|
|
|
720
753
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
721
754
|
});
|
|
722
755
|
},
|
|
756
|
+
/**
|
|
757
|
+
*
|
|
758
|
+
* @summary 同步其他园区巡检标准
|
|
759
|
+
* @param {SyncStandardVo} syncStandardVo
|
|
760
|
+
* @param {*} [options] Override http request option.
|
|
761
|
+
* @throws {RequiredError}
|
|
762
|
+
*/
|
|
763
|
+
syncMaintenanceStandard(syncStandardVo, options) {
|
|
764
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
765
|
+
var _a, _b, _c;
|
|
766
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncMaintenanceStandard(syncStandardVo, options);
|
|
767
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
768
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceStandardApi.syncMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
769
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
770
|
+
});
|
|
771
|
+
},
|
|
723
772
|
/**
|
|
724
773
|
*
|
|
725
774
|
* @summary 编辑维保标准
|
|
@@ -863,6 +912,16 @@ export const MaintenanceStandardApiFactory = function (configuration, basePath,
|
|
|
863
912
|
maintenanceStandardBatchImportUpload(requestParameters, options) {
|
|
864
913
|
return localVarFp.maintenanceStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
865
914
|
},
|
|
915
|
+
/**
|
|
916
|
+
*
|
|
917
|
+
* @summary 同步其他园区巡检标准
|
|
918
|
+
* @param {MaintenanceStandardApiSyncMaintenanceStandardRequest} requestParameters Request parameters.
|
|
919
|
+
* @param {*} [options] Override http request option.
|
|
920
|
+
* @throws {RequiredError}
|
|
921
|
+
*/
|
|
922
|
+
syncMaintenanceStandard(requestParameters, options) {
|
|
923
|
+
return localVarFp.syncMaintenanceStandard(requestParameters.syncStandardVo, options).then((request) => request(axios, basePath));
|
|
924
|
+
},
|
|
866
925
|
/**
|
|
867
926
|
*
|
|
868
927
|
* @summary 编辑维保标准
|
|
@@ -1011,6 +1070,17 @@ export class MaintenanceStandardApi extends BaseAPI {
|
|
|
1011
1070
|
maintenanceStandardBatchImportUpload(requestParameters, options) {
|
|
1012
1071
|
return MaintenanceStandardApiFp(this.configuration).maintenanceStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
1013
1072
|
}
|
|
1073
|
+
/**
|
|
1074
|
+
*
|
|
1075
|
+
* @summary 同步其他园区巡检标准
|
|
1076
|
+
* @param {MaintenanceStandardApiSyncMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1077
|
+
* @param {*} [options] Override http request option.
|
|
1078
|
+
* @throws {RequiredError}
|
|
1079
|
+
* @memberof MaintenanceStandardApi
|
|
1080
|
+
*/
|
|
1081
|
+
syncMaintenanceStandard(requestParameters, options) {
|
|
1082
|
+
return MaintenanceStandardApiFp(this.configuration).syncMaintenanceStandard(requestParameters.syncStandardVo, options).then((request) => request(this.axios, this.basePath));
|
|
1083
|
+
}
|
|
1014
1084
|
/**
|
|
1015
1085
|
*
|
|
1016
1086
|
* @summary 编辑维保标准
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DisasterWarningStandardCategoryEnum } from './disaster-warning-standard-category-enum';
|
|
13
|
+
/**
|
|
14
|
+
* 灾害预警标准新增或修改
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DisasterWarningStandardAddOrUpdateVo
|
|
17
|
+
*/
|
|
18
|
+
export interface DisasterWarningStandardAddOrUpdateVo {
|
|
19
|
+
/**
|
|
20
|
+
* 园区ID
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof DisasterWarningStandardAddOrUpdateVo
|
|
23
|
+
*/
|
|
24
|
+
'parkId': number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {DisasterWarningStandardCategoryEnum}
|
|
28
|
+
* @memberof DisasterWarningStandardAddOrUpdateVo
|
|
29
|
+
*/
|
|
30
|
+
'category': DisasterWarningStandardCategoryEnum;
|
|
31
|
+
/**
|
|
32
|
+
* 内容
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof DisasterWarningStandardAddOrUpdateVo
|
|
35
|
+
*/
|
|
36
|
+
'content': string;
|
|
37
|
+
/**
|
|
38
|
+
* 标准
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof DisasterWarningStandardAddOrUpdateVo
|
|
41
|
+
*/
|
|
42
|
+
'standard': string;
|
|
43
|
+
/**
|
|
44
|
+
* 执行时间(小时)
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof DisasterWarningStandardAddOrUpdateVo
|
|
47
|
+
*/
|
|
48
|
+
'executionTime': number;
|
|
49
|
+
/**
|
|
50
|
+
* 是否扫码 1:是 0:否
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof DisasterWarningStandardAddOrUpdateVo
|
|
53
|
+
*/
|
|
54
|
+
'isScanRequired': boolean;
|
|
55
|
+
/**
|
|
56
|
+
* 是否拍照 1是 0 否
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof DisasterWarningStandardAddOrUpdateVo
|
|
59
|
+
*/
|
|
60
|
+
'isPhotoRequired': boolean;
|
|
61
|
+
/**
|
|
62
|
+
* 是否备注 1是 0否
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof DisasterWarningStandardAddOrUpdateVo
|
|
65
|
+
*/
|
|
66
|
+
'isRemarkRequired': boolean;
|
|
67
|
+
/**
|
|
68
|
+
* 是否需要抄表 1是 2否
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof DisasterWarningStandardAddOrUpdateVo
|
|
71
|
+
*/
|
|
72
|
+
'isReadingRequired': boolean;
|
|
73
|
+
/**
|
|
74
|
+
* 阈值
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof DisasterWarningStandardAddOrUpdateVo
|
|
77
|
+
*/
|
|
78
|
+
'threshold'?: number;
|
|
79
|
+
/**
|
|
80
|
+
* 1大于 2小于
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof DisasterWarningStandardAddOrUpdateVo
|
|
83
|
+
*/
|
|
84
|
+
'compare'?: number;
|
|
85
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 灾害预警标准分类枚举
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const DisasterWarningStandardCategoryEnum: {
|
|
18
|
+
readonly BaoXue: "BAO_XUE";
|
|
19
|
+
readonly BaoYu: "BAO_YU";
|
|
20
|
+
readonly BingBao: "BING_BAO";
|
|
21
|
+
readonly ChiXuDiWen: "CHI_XU_DI_WEN";
|
|
22
|
+
readonly ChiXuGaoWen: "CHI_XU_GAO_WEN";
|
|
23
|
+
readonly DaFeng: "DA_FENG";
|
|
24
|
+
readonly DaWu: "DA_WU";
|
|
25
|
+
readonly DaXue: "DA_XUE";
|
|
26
|
+
readonly DaoLuBingXue: "DAO_LU_BING_XUE";
|
|
27
|
+
readonly DaoLuJieBing: "DAO_LU_JIE_BING";
|
|
28
|
+
readonly DiWen: "DI_WEN";
|
|
29
|
+
readonly GanHan: "GAN_HAN";
|
|
30
|
+
readonly HanChao: "HAN_CHAO";
|
|
31
|
+
readonly HanLeng: "HAN_LENG";
|
|
32
|
+
readonly HuiMai: "HUI_MAI";
|
|
33
|
+
readonly HuoXian: "HUO_XIAN";
|
|
34
|
+
readonly JiangWen: "JIANG_WEN";
|
|
35
|
+
readonly LeiBao: "LEI_BAO";
|
|
36
|
+
readonly LeiBaoDaFeng: "LEI_BAO_DA_FENG";
|
|
37
|
+
readonly LeiDian: "LEI_DIAN";
|
|
38
|
+
readonly LeiYuDaFeng: "LEI_YU_DA_FENG";
|
|
39
|
+
readonly Mai: "MAI";
|
|
40
|
+
readonly QiangDuiLiu: "QIANG_DUI_LIU";
|
|
41
|
+
readonly QiangJiangYu: "QIANG_JIANG_YU";
|
|
42
|
+
readonly SenLinHuoXian: "SEN_LIN_HUO_XIAN";
|
|
43
|
+
readonly ShaChen: "SHA_CHEN";
|
|
44
|
+
readonly ShaChenBao: "SHA_CHEN_BAO";
|
|
45
|
+
readonly ShuangDong: "SHUANG_DONG";
|
|
46
|
+
readonly TaiFeng: "TAI_FENG";
|
|
47
|
+
readonly XueZai: "XUE_ZAI";
|
|
48
|
+
readonly ZhongWuRan: "ZHONG_WU_RAN";
|
|
49
|
+
};
|
|
50
|
+
export type DisasterWarningStandardCategoryEnum = typeof DisasterWarningStandardCategoryEnum[keyof typeof DisasterWarningStandardCategoryEnum];
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
export const DisasterWarningStandardCategoryEnum = {
|
|
20
|
+
BaoXue: 'BAO_XUE',
|
|
21
|
+
BaoYu: 'BAO_YU',
|
|
22
|
+
BingBao: 'BING_BAO',
|
|
23
|
+
ChiXuDiWen: 'CHI_XU_DI_WEN',
|
|
24
|
+
ChiXuGaoWen: 'CHI_XU_GAO_WEN',
|
|
25
|
+
DaFeng: 'DA_FENG',
|
|
26
|
+
DaWu: 'DA_WU',
|
|
27
|
+
DaXue: 'DA_XUE',
|
|
28
|
+
DaoLuBingXue: 'DAO_LU_BING_XUE',
|
|
29
|
+
DaoLuJieBing: 'DAO_LU_JIE_BING',
|
|
30
|
+
DiWen: 'DI_WEN',
|
|
31
|
+
GanHan: 'GAN_HAN',
|
|
32
|
+
HanChao: 'HAN_CHAO',
|
|
33
|
+
HanLeng: 'HAN_LENG',
|
|
34
|
+
HuiMai: 'HUI_MAI',
|
|
35
|
+
HuoXian: 'HUO_XIAN',
|
|
36
|
+
JiangWen: 'JIANG_WEN',
|
|
37
|
+
LeiBao: 'LEI_BAO',
|
|
38
|
+
LeiBaoDaFeng: 'LEI_BAO_DA_FENG',
|
|
39
|
+
LeiDian: 'LEI_DIAN',
|
|
40
|
+
LeiYuDaFeng: 'LEI_YU_DA_FENG',
|
|
41
|
+
Mai: 'MAI',
|
|
42
|
+
QiangDuiLiu: 'QIANG_DUI_LIU',
|
|
43
|
+
QiangJiangYu: 'QIANG_JIANG_YU',
|
|
44
|
+
SenLinHuoXian: 'SEN_LIN_HUO_XIAN',
|
|
45
|
+
ShaChen: 'SHA_CHEN',
|
|
46
|
+
ShaChenBao: 'SHA_CHEN_BAO',
|
|
47
|
+
ShuangDong: 'SHUANG_DONG',
|
|
48
|
+
TaiFeng: 'TAI_FENG',
|
|
49
|
+
XueZai: 'XUE_ZAI',
|
|
50
|
+
ZhongWuRan: 'ZHONG_WU_RAN'
|
|
51
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DisasterWarningStandardCategoryEnum } from './disaster-warning-standard-category-enum';
|
|
13
|
+
/**
|
|
14
|
+
* 页数据列表
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DisasterWarningStandardEntity
|
|
17
|
+
*/
|
|
18
|
+
export interface DisasterWarningStandardEntity {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof DisasterWarningStandardEntity
|
|
23
|
+
*/
|
|
24
|
+
'id'?: number;
|
|
25
|
+
/**
|
|
26
|
+
* 园区ID
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof DisasterWarningStandardEntity
|
|
29
|
+
*/
|
|
30
|
+
'parkId'?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {DisasterWarningStandardCategoryEnum}
|
|
34
|
+
* @memberof DisasterWarningStandardEntity
|
|
35
|
+
*/
|
|
36
|
+
'category'?: DisasterWarningStandardCategoryEnum;
|
|
37
|
+
/**
|
|
38
|
+
* 内容
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof DisasterWarningStandardEntity
|
|
41
|
+
*/
|
|
42
|
+
'content'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* 标准
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof DisasterWarningStandardEntity
|
|
47
|
+
*/
|
|
48
|
+
'standard'?: string;
|
|
49
|
+
/**
|
|
50
|
+
* 执行时间(小时)
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof DisasterWarningStandardEntity
|
|
53
|
+
*/
|
|
54
|
+
'executionTime'?: number;
|
|
55
|
+
/**
|
|
56
|
+
* 是否扫码 1:是 0:否
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof DisasterWarningStandardEntity
|
|
59
|
+
*/
|
|
60
|
+
'isScanRequired'?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* 是否拍照 1是 0 否
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof DisasterWarningStandardEntity
|
|
65
|
+
*/
|
|
66
|
+
'isPhotoRequired'?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* 是否备注 1是 0否
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof DisasterWarningStandardEntity
|
|
71
|
+
*/
|
|
72
|
+
'isRemarkRequired'?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* 是否需要抄表 1是 2否
|
|
75
|
+
* @type {boolean}
|
|
76
|
+
* @memberof DisasterWarningStandardEntity
|
|
77
|
+
*/
|
|
78
|
+
'isReadingRequired'?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* 阈值
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof DisasterWarningStandardEntity
|
|
83
|
+
*/
|
|
84
|
+
'threshold'?: number;
|
|
85
|
+
/**
|
|
86
|
+
* 1大于 2小于
|
|
87
|
+
* @type {number}
|
|
88
|
+
* @memberof DisasterWarningStandardEntity
|
|
89
|
+
*/
|
|
90
|
+
'compare'?: number;
|
|
91
|
+
/**
|
|
92
|
+
* 创建时间
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof DisasterWarningStandardEntity
|
|
95
|
+
*/
|
|
96
|
+
'createTime'?: string;
|
|
97
|
+
/**
|
|
98
|
+
* 更新时间
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof DisasterWarningStandardEntity
|
|
101
|
+
*/
|
|
102
|
+
'updateTime'?: string;
|
|
103
|
+
/**
|
|
104
|
+
* 1:未删除 0:删除
|
|
105
|
+
* @type {number}
|
|
106
|
+
* @memberof DisasterWarningStandardEntity
|
|
107
|
+
*/
|
|
108
|
+
'isDelete'?: number;
|
|
109
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export {};
|