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