@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
|
@@ -22,14 +22,20 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
+
import type { InspectionCategoryEnum } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { InspectionStandardAddOrUpdateVO } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
25
29
|
import type { JsonResult } from '../models';
|
|
26
30
|
// @ts-ignore
|
|
27
|
-
import type {
|
|
31
|
+
import type { JsonResultInspectionStandardEntity } from '../models';
|
|
28
32
|
// @ts-ignore
|
|
29
33
|
import type { JsonResultListMaintenanceStandardEntity } from '../models';
|
|
30
34
|
// @ts-ignore
|
|
31
35
|
import type { JsonResultMaintenanceStandardEntity } from '../models';
|
|
32
36
|
// @ts-ignore
|
|
37
|
+
import type { JsonResultPageDtoInspectionStandardEntity } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
33
39
|
import type { JsonResultPageDtoMaintenanceStandardDTO } from '../models';
|
|
34
40
|
// @ts-ignore
|
|
35
41
|
import type { JsonResultVoid } from '../models';
|
|
@@ -40,10 +46,10 @@ import type { StandardDeleteVo } from '../models';
|
|
|
40
46
|
// @ts-ignore
|
|
41
47
|
import type { WorkOrderPlanRepeatsEnum } from '../models';
|
|
42
48
|
/**
|
|
43
|
-
*
|
|
49
|
+
* InspectionApi - axios parameter creator
|
|
44
50
|
* @export
|
|
45
51
|
*/
|
|
46
|
-
export const
|
|
52
|
+
export const InspectionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
47
53
|
return {
|
|
48
54
|
/**
|
|
49
55
|
*
|
|
@@ -127,15 +133,55 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
127
133
|
},
|
|
128
134
|
/**
|
|
129
135
|
*
|
|
130
|
-
* @summary
|
|
131
|
-
* @param {
|
|
136
|
+
* @summary 添加巡检标准
|
|
137
|
+
* @param {Array<InspectionStandardAddOrUpdateVO>} inspectionStandardAddOrUpdateVO
|
|
132
138
|
* @param {*} [options] Override http request option.
|
|
133
139
|
* @throws {RequiredError}
|
|
134
140
|
*/
|
|
135
|
-
|
|
141
|
+
createInspectionStandard: async (inspectionStandardAddOrUpdateVO: Array<InspectionStandardAddOrUpdateVO>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
142
|
+
// verify required parameter 'inspectionStandardAddOrUpdateVO' is not null or undefined
|
|
143
|
+
assertParamExists('createInspectionStandard', 'inspectionStandardAddOrUpdateVO', inspectionStandardAddOrUpdateVO)
|
|
144
|
+
const localVarPath = `/gizone/inspectionStandard`;
|
|
145
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
147
|
+
let baseOptions;
|
|
148
|
+
if (configuration) {
|
|
149
|
+
baseOptions = configuration.baseOptions;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
153
|
+
const localVarHeaderParameter = {} as any;
|
|
154
|
+
const localVarQueryParameter = {} as any;
|
|
155
|
+
|
|
156
|
+
// authentication tokenScheme required
|
|
157
|
+
// http bearer authentication required
|
|
158
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
163
|
+
|
|
164
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
165
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
166
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
167
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inspectionStandardAddOrUpdateVO, localVarRequestOptions, configuration)
|
|
168
|
+
|
|
169
|
+
return {
|
|
170
|
+
url: toPathString(localVarUrlObj),
|
|
171
|
+
options: localVarRequestOptions,
|
|
172
|
+
};
|
|
173
|
+
},
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @summary 删除巡检标准
|
|
177
|
+
* @param {number} id 巡检标准id
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
deleteInspectionStandard: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
136
182
|
// verify required parameter 'id' is not null or undefined
|
|
137
|
-
assertParamExists('
|
|
138
|
-
const localVarPath = `/gizone/
|
|
183
|
+
assertParamExists('deleteInspectionStandard', 'id', id)
|
|
184
|
+
const localVarPath = `/gizone/inspectionStandard/{id}`
|
|
139
185
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
140
186
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
141
187
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -165,14 +211,54 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
165
211
|
},
|
|
166
212
|
/**
|
|
167
213
|
*
|
|
168
|
-
* @summary
|
|
214
|
+
* @summary 批量删除巡检标准
|
|
215
|
+
* @param {Array<number>} requestBody
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
*/
|
|
219
|
+
deleteInspectionStandards: async (requestBody: Array<number>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
220
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
221
|
+
assertParamExists('deleteInspectionStandards', 'requestBody', requestBody)
|
|
222
|
+
const localVarPath = `/gizone/inspectionStandard/delBatch`;
|
|
223
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
224
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
225
|
+
let baseOptions;
|
|
226
|
+
if (configuration) {
|
|
227
|
+
baseOptions = configuration.baseOptions;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
231
|
+
const localVarHeaderParameter = {} as any;
|
|
232
|
+
const localVarQueryParameter = {} as any;
|
|
233
|
+
|
|
234
|
+
// authentication tokenScheme required
|
|
235
|
+
// http bearer authentication required
|
|
236
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
241
|
+
|
|
242
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
243
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
244
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
245
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
246
|
+
|
|
247
|
+
return {
|
|
248
|
+
url: toPathString(localVarUrlObj),
|
|
249
|
+
options: localVarRequestOptions,
|
|
250
|
+
};
|
|
251
|
+
},
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @summary 删除维保标准
|
|
169
255
|
* @param {number} id
|
|
170
256
|
* @param {*} [options] Override http request option.
|
|
171
257
|
* @throws {RequiredError}
|
|
172
258
|
*/
|
|
173
|
-
|
|
259
|
+
deleteMaintenanceStandard: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
174
260
|
// verify required parameter 'id' is not null or undefined
|
|
175
|
-
assertParamExists('
|
|
261
|
+
assertParamExists('deleteMaintenanceStandard', 'id', id)
|
|
176
262
|
const localVarPath = `/gizone/maintenanceStandard/{id}`
|
|
177
263
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
178
264
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -182,7 +268,7 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
182
268
|
baseOptions = configuration.baseOptions;
|
|
183
269
|
}
|
|
184
270
|
|
|
185
|
-
const localVarRequestOptions = { method: '
|
|
271
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
186
272
|
const localVarHeaderParameter = {} as any;
|
|
187
273
|
const localVarQueryParameter = {} as any;
|
|
188
274
|
|
|
@@ -203,24 +289,16 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
203
289
|
},
|
|
204
290
|
/**
|
|
205
291
|
*
|
|
206
|
-
* @summary
|
|
207
|
-
* @param {number}
|
|
208
|
-
* @param {number} pageSize 每页数量
|
|
209
|
-
* @param {number} page 页码
|
|
210
|
-
* @param {string} [searchValue] 关键搜索值
|
|
211
|
-
* @param {number} [equipmentSystemId] 维保分类
|
|
212
|
-
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
292
|
+
* @summary 巡检标准详情
|
|
293
|
+
* @param {number} id
|
|
213
294
|
* @param {*} [options] Override http request option.
|
|
214
295
|
* @throws {RequiredError}
|
|
215
296
|
*/
|
|
216
|
-
|
|
217
|
-
// verify required parameter '
|
|
218
|
-
assertParamExists('
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
// verify required parameter 'page' is not null or undefined
|
|
222
|
-
assertParamExists('listMaintenanceStandard', 'page', page)
|
|
223
|
-
const localVarPath = `/gizone/maintenanceStandard`;
|
|
297
|
+
getInspectionStandard: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
298
|
+
// verify required parameter 'id' is not null or undefined
|
|
299
|
+
assertParamExists('getInspectionStandard', 'id', id)
|
|
300
|
+
const localVarPath = `/gizone/inspectionStandard/{id}`
|
|
301
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
224
302
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
225
303
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
226
304
|
let baseOptions;
|
|
@@ -236,29 +314,43 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
236
314
|
// http bearer authentication required
|
|
237
315
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
238
316
|
|
|
239
|
-
if (searchValue !== undefined) {
|
|
240
|
-
localVarQueryParameter['searchValue'] = searchValue;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
if (equipmentSystemId !== undefined) {
|
|
244
|
-
localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
|
|
245
|
-
}
|
|
246
317
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
}
|
|
318
|
+
|
|
319
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
320
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
321
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
250
322
|
|
|
251
|
-
|
|
252
|
-
|
|
323
|
+
return {
|
|
324
|
+
url: toPathString(localVarUrlObj),
|
|
325
|
+
options: localVarRequestOptions,
|
|
326
|
+
};
|
|
327
|
+
},
|
|
328
|
+
/**
|
|
329
|
+
*
|
|
330
|
+
* @summary 维保标准详情
|
|
331
|
+
* @param {number} id
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
*/
|
|
335
|
+
getMaintenanceStandard: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
336
|
+
// verify required parameter 'id' is not null or undefined
|
|
337
|
+
assertParamExists('getMaintenanceStandard', 'id', id)
|
|
338
|
+
const localVarPath = `/gizone/maintenanceStandard/{id}`
|
|
339
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
340
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
341
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
342
|
+
let baseOptions;
|
|
343
|
+
if (configuration) {
|
|
344
|
+
baseOptions = configuration.baseOptions;
|
|
253
345
|
}
|
|
254
346
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
}
|
|
347
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
348
|
+
const localVarHeaderParameter = {} as any;
|
|
349
|
+
const localVarQueryParameter = {} as any;
|
|
258
350
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
351
|
+
// authentication tokenScheme required
|
|
352
|
+
// http bearer authentication required
|
|
353
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
262
354
|
|
|
263
355
|
|
|
264
356
|
|
|
@@ -273,15 +365,24 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
273
365
|
},
|
|
274
366
|
/**
|
|
275
367
|
*
|
|
276
|
-
* @summary
|
|
277
|
-
* @param {number}
|
|
368
|
+
* @summary 巡检标准列表
|
|
369
|
+
* @param {number} parkId 园区id
|
|
370
|
+
* @param {number} pageSize 每页数量
|
|
371
|
+
* @param {number} page 页码
|
|
372
|
+
* @param {string} [searchValue] 内容
|
|
373
|
+
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
374
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
278
375
|
* @param {*} [options] Override http request option.
|
|
279
376
|
* @throws {RequiredError}
|
|
280
377
|
*/
|
|
281
|
-
|
|
282
|
-
// verify required parameter '
|
|
283
|
-
assertParamExists('
|
|
284
|
-
|
|
378
|
+
listInspectionStandard: async (parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
379
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
380
|
+
assertParamExists('listInspectionStandard', 'parkId', parkId)
|
|
381
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
382
|
+
assertParamExists('listInspectionStandard', 'pageSize', pageSize)
|
|
383
|
+
// verify required parameter 'page' is not null or undefined
|
|
384
|
+
assertParamExists('listInspectionStandard', 'page', page)
|
|
385
|
+
const localVarPath = `/gizone/inspectionStandard`;
|
|
285
386
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
286
387
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
287
388
|
let baseOptions;
|
|
@@ -297,8 +398,28 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
297
398
|
// http bearer authentication required
|
|
298
399
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
299
400
|
|
|
300
|
-
if (
|
|
301
|
-
localVarQueryParameter['
|
|
401
|
+
if (searchValue !== undefined) {
|
|
402
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
if (category !== undefined) {
|
|
406
|
+
localVarQueryParameter['category'] = category;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
if (parkId !== undefined) {
|
|
410
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
if (pageSize !== undefined) {
|
|
414
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
if (page !== undefined) {
|
|
418
|
+
localVarQueryParameter['page'] = page;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
if (repeats !== undefined) {
|
|
422
|
+
localVarQueryParameter['repeats'] = repeats;
|
|
302
423
|
}
|
|
303
424
|
|
|
304
425
|
|
|
@@ -314,15 +435,24 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
314
435
|
},
|
|
315
436
|
/**
|
|
316
437
|
*
|
|
317
|
-
* @summary
|
|
318
|
-
* @param {number}
|
|
438
|
+
* @summary 维保标准列表
|
|
439
|
+
* @param {number} parkId 园区ID
|
|
440
|
+
* @param {number} pageSize 每页数量
|
|
441
|
+
* @param {number} page 页码
|
|
442
|
+
* @param {string} [searchValue] 关键搜索值
|
|
443
|
+
* @param {number} [equipmentSystemId] 维保分类
|
|
444
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
319
445
|
* @param {*} [options] Override http request option.
|
|
320
446
|
* @throws {RequiredError}
|
|
321
447
|
*/
|
|
322
|
-
|
|
323
|
-
// verify required parameter '
|
|
324
|
-
assertParamExists('
|
|
325
|
-
|
|
448
|
+
listMaintenanceStandard: async (parkId: number, pageSize: number, page: number, searchValue?: string, equipmentSystemId?: number, repeats?: WorkOrderPlanRepeatsEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
449
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
450
|
+
assertParamExists('listMaintenanceStandard', 'parkId', parkId)
|
|
451
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
452
|
+
assertParamExists('listMaintenanceStandard', 'pageSize', pageSize)
|
|
453
|
+
// verify required parameter 'page' is not null or undefined
|
|
454
|
+
assertParamExists('listMaintenanceStandard', 'page', page)
|
|
455
|
+
const localVarPath = `/gizone/maintenanceStandard`;
|
|
326
456
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
327
457
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
328
458
|
let baseOptions;
|
|
@@ -338,10 +468,30 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
338
468
|
// http bearer authentication required
|
|
339
469
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
340
470
|
|
|
471
|
+
if (searchValue !== undefined) {
|
|
472
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
473
|
+
}
|
|
474
|
+
|
|
341
475
|
if (equipmentSystemId !== undefined) {
|
|
342
476
|
localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
|
|
343
477
|
}
|
|
344
478
|
|
|
479
|
+
if (repeats !== undefined) {
|
|
480
|
+
localVarQueryParameter['repeats'] = repeats;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
if (parkId !== undefined) {
|
|
484
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
if (pageSize !== undefined) {
|
|
488
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
if (page !== undefined) {
|
|
492
|
+
localVarQueryParameter['page'] = page;
|
|
493
|
+
}
|
|
494
|
+
|
|
345
495
|
|
|
346
496
|
|
|
347
497
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -355,12 +505,15 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
355
505
|
},
|
|
356
506
|
/**
|
|
357
507
|
*
|
|
358
|
-
* @summary
|
|
508
|
+
* @summary 根据设备id查询维保标准
|
|
509
|
+
* @param {number} equipmentId
|
|
359
510
|
* @param {*} [options] Override http request option.
|
|
360
511
|
* @throws {RequiredError}
|
|
361
512
|
*/
|
|
362
|
-
|
|
363
|
-
|
|
513
|
+
listMaintenanceStandardByEquipmentId: async (equipmentId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
514
|
+
// verify required parameter 'equipmentId' is not null or undefined
|
|
515
|
+
assertParamExists('listMaintenanceStandardByEquipmentId', 'equipmentId', equipmentId)
|
|
516
|
+
const localVarPath = `/gizone/maintenanceStandard/selectByEquipmentId`;
|
|
364
517
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
365
518
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
366
519
|
let baseOptions;
|
|
@@ -368,7 +521,7 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
368
521
|
baseOptions = configuration.baseOptions;
|
|
369
522
|
}
|
|
370
523
|
|
|
371
|
-
const localVarRequestOptions = { method: '
|
|
524
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
372
525
|
const localVarHeaderParameter = {} as any;
|
|
373
526
|
const localVarQueryParameter = {} as any;
|
|
374
527
|
|
|
@@ -376,6 +529,10 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
376
529
|
// http bearer authentication required
|
|
377
530
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
378
531
|
|
|
532
|
+
if (equipmentId !== undefined) {
|
|
533
|
+
localVarQueryParameter['equipmentId'] = equipmentId;
|
|
534
|
+
}
|
|
535
|
+
|
|
379
536
|
|
|
380
537
|
|
|
381
538
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -389,12 +546,15 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
389
546
|
},
|
|
390
547
|
/**
|
|
391
548
|
*
|
|
392
|
-
* @summary
|
|
549
|
+
* @summary 根据设备系统id查询维保标准
|
|
550
|
+
* @param {number} equipmentSystemId
|
|
393
551
|
* @param {*} [options] Override http request option.
|
|
394
552
|
* @throws {RequiredError}
|
|
395
553
|
*/
|
|
396
|
-
|
|
397
|
-
|
|
554
|
+
listMaintenanceStandardByEquipmentSystemId: async (equipmentSystemId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
555
|
+
// verify required parameter 'equipmentSystemId' is not null or undefined
|
|
556
|
+
assertParamExists('listMaintenanceStandardByEquipmentSystemId', 'equipmentSystemId', equipmentSystemId)
|
|
557
|
+
const localVarPath = `/gizone/maintenanceStandard/selectByEquipmentSystemId`;
|
|
398
558
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
399
559
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
400
560
|
let baseOptions;
|
|
@@ -410,6 +570,10 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
410
570
|
// http bearer authentication required
|
|
411
571
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
412
572
|
|
|
573
|
+
if (equipmentSystemId !== undefined) {
|
|
574
|
+
localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
|
|
575
|
+
}
|
|
576
|
+
|
|
413
577
|
|
|
414
578
|
|
|
415
579
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -423,12 +587,18 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
423
587
|
},
|
|
424
588
|
/**
|
|
425
589
|
*
|
|
426
|
-
* @summary
|
|
590
|
+
* @summary 同步其他园区巡检标准
|
|
591
|
+
* @param {number} parkIdOne
|
|
592
|
+
* @param {number} parkIdTwo
|
|
427
593
|
* @param {*} [options] Override http request option.
|
|
428
594
|
* @throws {RequiredError}
|
|
429
595
|
*/
|
|
430
|
-
|
|
431
|
-
|
|
596
|
+
syncInspectionStandard: async (parkIdOne: number, parkIdTwo: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
597
|
+
// verify required parameter 'parkIdOne' is not null or undefined
|
|
598
|
+
assertParamExists('syncInspectionStandard', 'parkIdOne', parkIdOne)
|
|
599
|
+
// verify required parameter 'parkIdTwo' is not null or undefined
|
|
600
|
+
assertParamExists('syncInspectionStandard', 'parkIdTwo', parkIdTwo)
|
|
601
|
+
const localVarPath = `/gizone/inspectionStandard/sync/park/inspectionStandard`;
|
|
432
602
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
433
603
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
434
604
|
let baseOptions;
|
|
@@ -444,6 +614,14 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
444
614
|
// http bearer authentication required
|
|
445
615
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
446
616
|
|
|
617
|
+
if (parkIdOne !== undefined) {
|
|
618
|
+
localVarQueryParameter['parkIdOne'] = parkIdOne;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
if (parkIdTwo !== undefined) {
|
|
622
|
+
localVarQueryParameter['parkIdTwo'] = parkIdTwo;
|
|
623
|
+
}
|
|
624
|
+
|
|
447
625
|
|
|
448
626
|
|
|
449
627
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -457,19 +635,19 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
457
635
|
},
|
|
458
636
|
/**
|
|
459
637
|
*
|
|
460
|
-
* @summary
|
|
461
|
-
* @param {number}
|
|
462
|
-
* @param {
|
|
463
|
-
* @param {string} [language] 语言
|
|
638
|
+
* @summary 修改巡检标准
|
|
639
|
+
* @param {number} id
|
|
640
|
+
* @param {InspectionStandardAddOrUpdateVO} inspectionStandardAddOrUpdateVO
|
|
464
641
|
* @param {*} [options] Override http request option.
|
|
465
642
|
* @throws {RequiredError}
|
|
466
643
|
*/
|
|
467
|
-
|
|
468
|
-
// verify required parameter '
|
|
469
|
-
assertParamExists('
|
|
470
|
-
// verify required parameter '
|
|
471
|
-
assertParamExists('
|
|
472
|
-
const localVarPath = `/gizone/
|
|
644
|
+
updateInspectionStandard: async (id: number, inspectionStandardAddOrUpdateVO: InspectionStandardAddOrUpdateVO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
645
|
+
// verify required parameter 'id' is not null or undefined
|
|
646
|
+
assertParamExists('updateInspectionStandard', 'id', id)
|
|
647
|
+
// verify required parameter 'inspectionStandardAddOrUpdateVO' is not null or undefined
|
|
648
|
+
assertParamExists('updateInspectionStandard', 'inspectionStandardAddOrUpdateVO', inspectionStandardAddOrUpdateVO)
|
|
649
|
+
const localVarPath = `/gizone/inspectionStandard/{id}`
|
|
650
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
473
651
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
474
652
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
475
653
|
let baseOptions;
|
|
@@ -477,35 +655,22 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
477
655
|
baseOptions = configuration.baseOptions;
|
|
478
656
|
}
|
|
479
657
|
|
|
480
|
-
const localVarRequestOptions = { method: '
|
|
658
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
481
659
|
const localVarHeaderParameter = {} as any;
|
|
482
660
|
const localVarQueryParameter = {} as any;
|
|
483
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
484
661
|
|
|
485
662
|
// authentication tokenScheme required
|
|
486
663
|
// http bearer authentication required
|
|
487
664
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
488
665
|
|
|
489
666
|
|
|
490
|
-
if (parkId !== undefined) {
|
|
491
|
-
localVarFormParams.append('parkId', parkId as any);
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
if (language !== undefined) {
|
|
495
|
-
localVarFormParams.append('language', language as any);
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
if (file !== undefined) {
|
|
499
|
-
localVarFormParams.append('file', file as any);
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
504
667
|
|
|
668
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
669
|
+
|
|
505
670
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
506
671
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
507
672
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
508
|
-
localVarRequestOptions.data =
|
|
673
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inspectionStandardAddOrUpdateVO, localVarRequestOptions, configuration)
|
|
509
674
|
|
|
510
675
|
return {
|
|
511
676
|
url: toPathString(localVarUrlObj),
|
|
@@ -560,11 +725,11 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration?:
|
|
|
560
725
|
};
|
|
561
726
|
|
|
562
727
|
/**
|
|
563
|
-
*
|
|
728
|
+
* InspectionApi - functional programming interface
|
|
564
729
|
* @export
|
|
565
730
|
*/
|
|
566
|
-
export const
|
|
567
|
-
const localVarAxiosParamCreator =
|
|
731
|
+
export const InspectionApiFp = function(configuration?: Configuration) {
|
|
732
|
+
const localVarAxiosParamCreator = InspectionApiAxiosParamCreator(configuration)
|
|
568
733
|
return {
|
|
569
734
|
/**
|
|
570
735
|
*
|
|
@@ -576,7 +741,7 @@ export const MaintenanceStandardApiFp = function(configuration?: Configuration)
|
|
|
576
741
|
async addMaintenanceStandard(maintenanceStandardAddOrUpdateVo: Array<MaintenanceStandardAddOrUpdateVo>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
577
742
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addMaintenanceStandard(maintenanceStandardAddOrUpdateVo, options);
|
|
578
743
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
579
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
744
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.addMaintenanceStandard']?.[localVarOperationServerIndex]?.url;
|
|
580
745
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
581
746
|
},
|
|
582
747
|
/**
|
|
@@ -589,7 +754,46 @@ export const MaintenanceStandardApiFp = function(configuration?: Configuration)
|
|
|
589
754
|
async batchDeleteMaintenanceStandard(standardDeleteVo: StandardDeleteVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
590
755
|
const localVarAxiosArgs = await localVarAxiosParamCreator.batchDeleteMaintenanceStandard(standardDeleteVo, options);
|
|
591
756
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
592
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
757
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.batchDeleteMaintenanceStandard']?.[localVarOperationServerIndex]?.url;
|
|
758
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
759
|
+
},
|
|
760
|
+
/**
|
|
761
|
+
*
|
|
762
|
+
* @summary 添加巡检标准
|
|
763
|
+
* @param {Array<InspectionStandardAddOrUpdateVO>} inspectionStandardAddOrUpdateVO
|
|
764
|
+
* @param {*} [options] Override http request option.
|
|
765
|
+
* @throws {RequiredError}
|
|
766
|
+
*/
|
|
767
|
+
async createInspectionStandard(inspectionStandardAddOrUpdateVO: Array<InspectionStandardAddOrUpdateVO>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
768
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createInspectionStandard(inspectionStandardAddOrUpdateVO, options);
|
|
769
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
770
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.createInspectionStandard']?.[localVarOperationServerIndex]?.url;
|
|
771
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
772
|
+
},
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @summary 删除巡检标准
|
|
776
|
+
* @param {number} id 巡检标准id
|
|
777
|
+
* @param {*} [options] Override http request option.
|
|
778
|
+
* @throws {RequiredError}
|
|
779
|
+
*/
|
|
780
|
+
async deleteInspectionStandard(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
781
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInspectionStandard(id, options);
|
|
782
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
783
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.deleteInspectionStandard']?.[localVarOperationServerIndex]?.url;
|
|
784
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
785
|
+
},
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @summary 批量删除巡检标准
|
|
789
|
+
* @param {Array<number>} requestBody
|
|
790
|
+
* @param {*} [options] Override http request option.
|
|
791
|
+
* @throws {RequiredError}
|
|
792
|
+
*/
|
|
793
|
+
async deleteInspectionStandards(requestBody: Array<number>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
794
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInspectionStandards(requestBody, options);
|
|
795
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
796
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.deleteInspectionStandards']?.[localVarOperationServerIndex]?.url;
|
|
593
797
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
594
798
|
},
|
|
595
799
|
/**
|
|
@@ -602,7 +806,20 @@ export const MaintenanceStandardApiFp = function(configuration?: Configuration)
|
|
|
602
806
|
async deleteMaintenanceStandard(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
603
807
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMaintenanceStandard(id, options);
|
|
604
808
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
605
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
809
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.deleteMaintenanceStandard']?.[localVarOperationServerIndex]?.url;
|
|
810
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
811
|
+
},
|
|
812
|
+
/**
|
|
813
|
+
*
|
|
814
|
+
* @summary 巡检标准详情
|
|
815
|
+
* @param {number} id
|
|
816
|
+
* @param {*} [options] Override http request option.
|
|
817
|
+
* @throws {RequiredError}
|
|
818
|
+
*/
|
|
819
|
+
async getInspectionStandard(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultInspectionStandardEntity>> {
|
|
820
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInspectionStandard(id, options);
|
|
821
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
822
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.getInspectionStandard']?.[localVarOperationServerIndex]?.url;
|
|
606
823
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
607
824
|
},
|
|
608
825
|
/**
|
|
@@ -615,7 +832,25 @@ export const MaintenanceStandardApiFp = function(configuration?: Configuration)
|
|
|
615
832
|
async getMaintenanceStandard(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultMaintenanceStandardEntity>> {
|
|
616
833
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMaintenanceStandard(id, options);
|
|
617
834
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
618
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
835
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.getMaintenanceStandard']?.[localVarOperationServerIndex]?.url;
|
|
836
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
837
|
+
},
|
|
838
|
+
/**
|
|
839
|
+
*
|
|
840
|
+
* @summary 巡检标准列表
|
|
841
|
+
* @param {number} parkId 园区id
|
|
842
|
+
* @param {number} pageSize 每页数量
|
|
843
|
+
* @param {number} page 页码
|
|
844
|
+
* @param {string} [searchValue] 内容
|
|
845
|
+
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
846
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
847
|
+
* @param {*} [options] Override http request option.
|
|
848
|
+
* @throws {RequiredError}
|
|
849
|
+
*/
|
|
850
|
+
async listInspectionStandard(parkId: number, pageSize: number, page: number, searchValue?: string, category?: InspectionCategoryEnum, repeats?: WorkOrderPlanRepeatsEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoInspectionStandardEntity>> {
|
|
851
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, options);
|
|
852
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
853
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.listInspectionStandard']?.[localVarOperationServerIndex]?.url;
|
|
619
854
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
620
855
|
},
|
|
621
856
|
/**
|
|
@@ -633,7 +868,7 @@ export const MaintenanceStandardApiFp = function(configuration?: Configuration)
|
|
|
633
868
|
async listMaintenanceStandard(parkId: number, pageSize: number, page: number, searchValue?: string, equipmentSystemId?: number, repeats?: WorkOrderPlanRepeatsEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoMaintenanceStandardDTO>> {
|
|
634
869
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options);
|
|
635
870
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
636
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
871
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.listMaintenanceStandard']?.[localVarOperationServerIndex]?.url;
|
|
637
872
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
638
873
|
},
|
|
639
874
|
/**
|
|
@@ -646,7 +881,7 @@ export const MaintenanceStandardApiFp = function(configuration?: Configuration)
|
|
|
646
881
|
async listMaintenanceStandardByEquipmentId(equipmentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListMaintenanceStandardEntity>> {
|
|
647
882
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listMaintenanceStandardByEquipmentId(equipmentId, options);
|
|
648
883
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
649
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
884
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.listMaintenanceStandardByEquipmentId']?.[localVarOperationServerIndex]?.url;
|
|
650
885
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
651
886
|
},
|
|
652
887
|
/**
|
|
@@ -659,58 +894,35 @@ export const MaintenanceStandardApiFp = function(configuration?: Configuration)
|
|
|
659
894
|
async listMaintenanceStandardByEquipmentSystemId(equipmentSystemId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListMaintenanceStandardEntity>> {
|
|
660
895
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options);
|
|
661
896
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
662
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
663
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
664
|
-
},
|
|
665
|
-
/**
|
|
666
|
-
*
|
|
667
|
-
* @summary 维保标准导入-确认导入
|
|
668
|
-
* @param {*} [options] Override http request option.
|
|
669
|
-
* @throws {RequiredError}
|
|
670
|
-
*/
|
|
671
|
-
async maintenanceStandardBatchImportConfirm(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultExcelImportResultDTOMaintenanceStandardImportDTO>> {
|
|
672
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.maintenanceStandardBatchImportConfirm(options);
|
|
673
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
674
|
-
const localVarOperationServerBasePath = operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportConfirm']?.[localVarOperationServerIndex]?.url;
|
|
897
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.listMaintenanceStandardByEquipmentSystemId']?.[localVarOperationServerIndex]?.url;
|
|
675
898
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
676
899
|
},
|
|
677
900
|
/**
|
|
678
901
|
*
|
|
679
|
-
* @summary
|
|
902
|
+
* @summary 同步其他园区巡检标准
|
|
903
|
+
* @param {number} parkIdOne
|
|
904
|
+
* @param {number} parkIdTwo
|
|
680
905
|
* @param {*} [options] Override http request option.
|
|
681
906
|
* @throws {RequiredError}
|
|
682
907
|
*/
|
|
683
|
-
async
|
|
684
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
908
|
+
async syncInspectionStandard(parkIdOne: number, parkIdTwo: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
909
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncInspectionStandard(parkIdOne, parkIdTwo, options);
|
|
685
910
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
686
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
911
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.syncInspectionStandard']?.[localVarOperationServerIndex]?.url;
|
|
687
912
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
688
913
|
},
|
|
689
914
|
/**
|
|
690
915
|
*
|
|
691
|
-
* @summary
|
|
692
|
-
* @param {
|
|
693
|
-
* @
|
|
694
|
-
*/
|
|
695
|
-
async maintenanceStandardBatchImportTemplate(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
696
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.maintenanceStandardBatchImportTemplate(options);
|
|
697
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
698
|
-
const localVarOperationServerBasePath = operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportTemplate']?.[localVarOperationServerIndex]?.url;
|
|
699
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
700
|
-
},
|
|
701
|
-
/**
|
|
702
|
-
*
|
|
703
|
-
* @summary 维保标准导入-上传文件
|
|
704
|
-
* @param {number} parkId 园区id
|
|
705
|
-
* @param {File} file
|
|
706
|
-
* @param {string} [language] 语言
|
|
916
|
+
* @summary 修改巡检标准
|
|
917
|
+
* @param {number} id
|
|
918
|
+
* @param {InspectionStandardAddOrUpdateVO} inspectionStandardAddOrUpdateVO
|
|
707
919
|
* @param {*} [options] Override http request option.
|
|
708
920
|
* @throws {RequiredError}
|
|
709
921
|
*/
|
|
710
|
-
async
|
|
711
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
922
|
+
async updateInspectionStandard(id: number, inspectionStandardAddOrUpdateVO: InspectionStandardAddOrUpdateVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
923
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateInspectionStandard(id, inspectionStandardAddOrUpdateVO, options);
|
|
712
924
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
713
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
925
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.updateInspectionStandard']?.[localVarOperationServerIndex]?.url;
|
|
714
926
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
715
927
|
},
|
|
716
928
|
/**
|
|
@@ -724,467 +936,658 @@ export const MaintenanceStandardApiFp = function(configuration?: Configuration)
|
|
|
724
936
|
async updateMaintenanceStandard(id: number, maintenanceStandardAddOrUpdateVo: MaintenanceStandardAddOrUpdateVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
725
937
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMaintenanceStandard(id, maintenanceStandardAddOrUpdateVo, options);
|
|
726
938
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
727
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
939
|
+
const localVarOperationServerBasePath = operationServerMap['InspectionApi.updateMaintenanceStandard']?.[localVarOperationServerIndex]?.url;
|
|
728
940
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
729
941
|
},
|
|
730
942
|
}
|
|
731
943
|
};
|
|
732
944
|
|
|
733
945
|
/**
|
|
734
|
-
*
|
|
946
|
+
* InspectionApi - factory interface
|
|
735
947
|
* @export
|
|
736
948
|
*/
|
|
737
|
-
export const
|
|
738
|
-
const localVarFp =
|
|
949
|
+
export const InspectionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
950
|
+
const localVarFp = InspectionApiFp(configuration)
|
|
739
951
|
return {
|
|
740
952
|
/**
|
|
741
953
|
*
|
|
742
954
|
* @summary 新增维保标准
|
|
743
|
-
* @param {
|
|
955
|
+
* @param {InspectionApiAddMaintenanceStandardRequest} requestParameters Request parameters.
|
|
744
956
|
* @param {*} [options] Override http request option.
|
|
745
957
|
* @throws {RequiredError}
|
|
746
958
|
*/
|
|
747
|
-
addMaintenanceStandard(requestParameters:
|
|
959
|
+
addMaintenanceStandard(requestParameters: InspectionApiAddMaintenanceStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
748
960
|
return localVarFp.addMaintenanceStandard(requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
749
961
|
},
|
|
750
962
|
/**
|
|
751
963
|
*
|
|
752
964
|
* @summary 批量删除维保标准
|
|
753
|
-
* @param {
|
|
965
|
+
* @param {InspectionApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
754
966
|
* @param {*} [options] Override http request option.
|
|
755
967
|
* @throws {RequiredError}
|
|
756
968
|
*/
|
|
757
|
-
batchDeleteMaintenanceStandard(requestParameters:
|
|
969
|
+
batchDeleteMaintenanceStandard(requestParameters: InspectionApiBatchDeleteMaintenanceStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
758
970
|
return localVarFp.batchDeleteMaintenanceStandard(requestParameters.standardDeleteVo, options).then((request) => request(axios, basePath));
|
|
759
971
|
},
|
|
972
|
+
/**
|
|
973
|
+
*
|
|
974
|
+
* @summary 添加巡检标准
|
|
975
|
+
* @param {InspectionApiCreateInspectionStandardRequest} requestParameters Request parameters.
|
|
976
|
+
* @param {*} [options] Override http request option.
|
|
977
|
+
* @throws {RequiredError}
|
|
978
|
+
*/
|
|
979
|
+
createInspectionStandard(requestParameters: InspectionApiCreateInspectionStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
980
|
+
return localVarFp.createInspectionStandard(requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(axios, basePath));
|
|
981
|
+
},
|
|
982
|
+
/**
|
|
983
|
+
*
|
|
984
|
+
* @summary 删除巡检标准
|
|
985
|
+
* @param {InspectionApiDeleteInspectionStandardRequest} requestParameters Request parameters.
|
|
986
|
+
* @param {*} [options] Override http request option.
|
|
987
|
+
* @throws {RequiredError}
|
|
988
|
+
*/
|
|
989
|
+
deleteInspectionStandard(requestParameters: InspectionApiDeleteInspectionStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
990
|
+
return localVarFp.deleteInspectionStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
991
|
+
},
|
|
992
|
+
/**
|
|
993
|
+
*
|
|
994
|
+
* @summary 批量删除巡检标准
|
|
995
|
+
* @param {InspectionApiDeleteInspectionStandardsRequest} requestParameters Request parameters.
|
|
996
|
+
* @param {*} [options] Override http request option.
|
|
997
|
+
* @throws {RequiredError}
|
|
998
|
+
*/
|
|
999
|
+
deleteInspectionStandards(requestParameters: InspectionApiDeleteInspectionStandardsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
1000
|
+
return localVarFp.deleteInspectionStandards(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
1001
|
+
},
|
|
760
1002
|
/**
|
|
761
1003
|
*
|
|
762
1004
|
* @summary 删除维保标准
|
|
763
|
-
* @param {
|
|
1005
|
+
* @param {InspectionApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
764
1006
|
* @param {*} [options] Override http request option.
|
|
765
1007
|
* @throws {RequiredError}
|
|
766
1008
|
*/
|
|
767
|
-
deleteMaintenanceStandard(requestParameters:
|
|
1009
|
+
deleteMaintenanceStandard(requestParameters: InspectionApiDeleteMaintenanceStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
768
1010
|
return localVarFp.deleteMaintenanceStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
769
1011
|
},
|
|
770
1012
|
/**
|
|
771
1013
|
*
|
|
772
|
-
* @summary
|
|
773
|
-
* @param {
|
|
1014
|
+
* @summary 巡检标准详情
|
|
1015
|
+
* @param {InspectionApiGetInspectionStandardRequest} requestParameters Request parameters.
|
|
774
1016
|
* @param {*} [options] Override http request option.
|
|
775
1017
|
* @throws {RequiredError}
|
|
776
1018
|
*/
|
|
777
|
-
|
|
778
|
-
return localVarFp.
|
|
1019
|
+
getInspectionStandard(requestParameters: InspectionApiGetInspectionStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultInspectionStandardEntity> {
|
|
1020
|
+
return localVarFp.getInspectionStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
779
1021
|
},
|
|
780
1022
|
/**
|
|
781
1023
|
*
|
|
782
|
-
* @summary
|
|
783
|
-
* @param {
|
|
1024
|
+
* @summary 维保标准详情
|
|
1025
|
+
* @param {InspectionApiGetMaintenanceStandardRequest} requestParameters Request parameters.
|
|
784
1026
|
* @param {*} [options] Override http request option.
|
|
785
1027
|
* @throws {RequiredError}
|
|
786
1028
|
*/
|
|
787
|
-
|
|
788
|
-
return localVarFp.
|
|
1029
|
+
getMaintenanceStandard(requestParameters: InspectionApiGetMaintenanceStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultMaintenanceStandardEntity> {
|
|
1030
|
+
return localVarFp.getMaintenanceStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
789
1031
|
},
|
|
790
1032
|
/**
|
|
791
1033
|
*
|
|
792
|
-
* @summary
|
|
793
|
-
* @param {
|
|
1034
|
+
* @summary 巡检标准列表
|
|
1035
|
+
* @param {InspectionApiListInspectionStandardRequest} requestParameters Request parameters.
|
|
794
1036
|
* @param {*} [options] Override http request option.
|
|
795
1037
|
* @throws {RequiredError}
|
|
796
1038
|
*/
|
|
797
|
-
|
|
798
|
-
return localVarFp.
|
|
1039
|
+
listInspectionStandard(requestParameters: InspectionApiListInspectionStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoInspectionStandardEntity> {
|
|
1040
|
+
return localVarFp.listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(axios, basePath));
|
|
799
1041
|
},
|
|
800
1042
|
/**
|
|
801
1043
|
*
|
|
802
|
-
* @summary
|
|
803
|
-
* @param {
|
|
1044
|
+
* @summary 维保标准列表
|
|
1045
|
+
* @param {InspectionApiListMaintenanceStandardRequest} requestParameters Request parameters.
|
|
804
1046
|
* @param {*} [options] Override http request option.
|
|
805
1047
|
* @throws {RequiredError}
|
|
806
1048
|
*/
|
|
807
|
-
|
|
808
|
-
return localVarFp.
|
|
1049
|
+
listMaintenanceStandard(requestParameters: InspectionApiListMaintenanceStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoMaintenanceStandardDTO> {
|
|
1050
|
+
return localVarFp.listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(axios, basePath));
|
|
809
1051
|
},
|
|
810
1052
|
/**
|
|
811
1053
|
*
|
|
812
|
-
* @summary
|
|
1054
|
+
* @summary 根据设备id查询维保标准
|
|
1055
|
+
* @param {InspectionApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
813
1056
|
* @param {*} [options] Override http request option.
|
|
814
1057
|
* @throws {RequiredError}
|
|
815
1058
|
*/
|
|
816
|
-
|
|
817
|
-
return localVarFp.
|
|
1059
|
+
listMaintenanceStandardByEquipmentId(requestParameters: InspectionApiListMaintenanceStandardByEquipmentIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListMaintenanceStandardEntity> {
|
|
1060
|
+
return localVarFp.listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(axios, basePath));
|
|
818
1061
|
},
|
|
819
1062
|
/**
|
|
820
1063
|
*
|
|
821
|
-
* @summary
|
|
1064
|
+
* @summary 根据设备系统id查询维保标准
|
|
1065
|
+
* @param {InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
822
1066
|
* @param {*} [options] Override http request option.
|
|
823
1067
|
* @throws {RequiredError}
|
|
824
1068
|
*/
|
|
825
|
-
|
|
826
|
-
return localVarFp.
|
|
1069
|
+
listMaintenanceStandardByEquipmentSystemId(requestParameters: InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListMaintenanceStandardEntity> {
|
|
1070
|
+
return localVarFp.listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(axios, basePath));
|
|
827
1071
|
},
|
|
828
1072
|
/**
|
|
829
1073
|
*
|
|
830
|
-
* @summary
|
|
1074
|
+
* @summary 同步其他园区巡检标准
|
|
1075
|
+
* @param {InspectionApiSyncInspectionStandardRequest} requestParameters Request parameters.
|
|
831
1076
|
* @param {*} [options] Override http request option.
|
|
832
1077
|
* @throws {RequiredError}
|
|
833
1078
|
*/
|
|
834
|
-
|
|
835
|
-
return localVarFp.
|
|
1079
|
+
syncInspectionStandard(requestParameters: InspectionApiSyncInspectionStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
1080
|
+
return localVarFp.syncInspectionStandard(requestParameters.parkIdOne, requestParameters.parkIdTwo, options).then((request) => request(axios, basePath));
|
|
836
1081
|
},
|
|
837
1082
|
/**
|
|
838
1083
|
*
|
|
839
|
-
* @summary
|
|
840
|
-
* @param {
|
|
1084
|
+
* @summary 修改巡检标准
|
|
1085
|
+
* @param {InspectionApiUpdateInspectionStandardRequest} requestParameters Request parameters.
|
|
841
1086
|
* @param {*} [options] Override http request option.
|
|
842
1087
|
* @throws {RequiredError}
|
|
843
1088
|
*/
|
|
844
|
-
|
|
845
|
-
return localVarFp.
|
|
1089
|
+
updateInspectionStandard(requestParameters: InspectionApiUpdateInspectionStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
1090
|
+
return localVarFp.updateInspectionStandard(requestParameters.id, requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(axios, basePath));
|
|
846
1091
|
},
|
|
847
1092
|
/**
|
|
848
1093
|
*
|
|
849
1094
|
* @summary 编辑维保标准
|
|
850
|
-
* @param {
|
|
1095
|
+
* @param {InspectionApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
|
|
851
1096
|
* @param {*} [options] Override http request option.
|
|
852
1097
|
* @throws {RequiredError}
|
|
853
1098
|
*/
|
|
854
|
-
updateMaintenanceStandard(requestParameters:
|
|
1099
|
+
updateMaintenanceStandard(requestParameters: InspectionApiUpdateMaintenanceStandardRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
855
1100
|
return localVarFp.updateMaintenanceStandard(requestParameters.id, requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
856
1101
|
},
|
|
857
1102
|
};
|
|
858
1103
|
};
|
|
859
1104
|
|
|
860
1105
|
/**
|
|
861
|
-
* Request parameters for addMaintenanceStandard operation in
|
|
1106
|
+
* Request parameters for addMaintenanceStandard operation in InspectionApi.
|
|
862
1107
|
* @export
|
|
863
|
-
* @interface
|
|
1108
|
+
* @interface InspectionApiAddMaintenanceStandardRequest
|
|
864
1109
|
*/
|
|
865
|
-
export interface
|
|
1110
|
+
export interface InspectionApiAddMaintenanceStandardRequest {
|
|
866
1111
|
/**
|
|
867
1112
|
*
|
|
868
1113
|
* @type {Array<MaintenanceStandardAddOrUpdateVo>}
|
|
869
|
-
* @memberof
|
|
1114
|
+
* @memberof InspectionApiAddMaintenanceStandard
|
|
870
1115
|
*/
|
|
871
1116
|
readonly maintenanceStandardAddOrUpdateVo: Array<MaintenanceStandardAddOrUpdateVo>
|
|
872
1117
|
}
|
|
873
1118
|
|
|
874
1119
|
/**
|
|
875
|
-
* Request parameters for batchDeleteMaintenanceStandard operation in
|
|
1120
|
+
* Request parameters for batchDeleteMaintenanceStandard operation in InspectionApi.
|
|
876
1121
|
* @export
|
|
877
|
-
* @interface
|
|
1122
|
+
* @interface InspectionApiBatchDeleteMaintenanceStandardRequest
|
|
878
1123
|
*/
|
|
879
|
-
export interface
|
|
1124
|
+
export interface InspectionApiBatchDeleteMaintenanceStandardRequest {
|
|
880
1125
|
/**
|
|
881
1126
|
*
|
|
882
1127
|
* @type {StandardDeleteVo}
|
|
883
|
-
* @memberof
|
|
1128
|
+
* @memberof InspectionApiBatchDeleteMaintenanceStandard
|
|
884
1129
|
*/
|
|
885
1130
|
readonly standardDeleteVo: StandardDeleteVo
|
|
886
1131
|
}
|
|
887
1132
|
|
|
888
1133
|
/**
|
|
889
|
-
* Request parameters for
|
|
1134
|
+
* Request parameters for createInspectionStandard operation in InspectionApi.
|
|
1135
|
+
* @export
|
|
1136
|
+
* @interface InspectionApiCreateInspectionStandardRequest
|
|
1137
|
+
*/
|
|
1138
|
+
export interface InspectionApiCreateInspectionStandardRequest {
|
|
1139
|
+
/**
|
|
1140
|
+
*
|
|
1141
|
+
* @type {Array<InspectionStandardAddOrUpdateVO>}
|
|
1142
|
+
* @memberof InspectionApiCreateInspectionStandard
|
|
1143
|
+
*/
|
|
1144
|
+
readonly inspectionStandardAddOrUpdateVO: Array<InspectionStandardAddOrUpdateVO>
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* Request parameters for deleteInspectionStandard operation in InspectionApi.
|
|
1149
|
+
* @export
|
|
1150
|
+
* @interface InspectionApiDeleteInspectionStandardRequest
|
|
1151
|
+
*/
|
|
1152
|
+
export interface InspectionApiDeleteInspectionStandardRequest {
|
|
1153
|
+
/**
|
|
1154
|
+
* 巡检标准id
|
|
1155
|
+
* @type {number}
|
|
1156
|
+
* @memberof InspectionApiDeleteInspectionStandard
|
|
1157
|
+
*/
|
|
1158
|
+
readonly id: number
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* Request parameters for deleteInspectionStandards operation in InspectionApi.
|
|
1163
|
+
* @export
|
|
1164
|
+
* @interface InspectionApiDeleteInspectionStandardsRequest
|
|
1165
|
+
*/
|
|
1166
|
+
export interface InspectionApiDeleteInspectionStandardsRequest {
|
|
1167
|
+
/**
|
|
1168
|
+
*
|
|
1169
|
+
* @type {Array<number>}
|
|
1170
|
+
* @memberof InspectionApiDeleteInspectionStandards
|
|
1171
|
+
*/
|
|
1172
|
+
readonly requestBody: Array<number>
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* Request parameters for deleteMaintenanceStandard operation in InspectionApi.
|
|
1177
|
+
* @export
|
|
1178
|
+
* @interface InspectionApiDeleteMaintenanceStandardRequest
|
|
1179
|
+
*/
|
|
1180
|
+
export interface InspectionApiDeleteMaintenanceStandardRequest {
|
|
1181
|
+
/**
|
|
1182
|
+
*
|
|
1183
|
+
* @type {number}
|
|
1184
|
+
* @memberof InspectionApiDeleteMaintenanceStandard
|
|
1185
|
+
*/
|
|
1186
|
+
readonly id: number
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* Request parameters for getInspectionStandard operation in InspectionApi.
|
|
890
1191
|
* @export
|
|
891
|
-
* @interface
|
|
1192
|
+
* @interface InspectionApiGetInspectionStandardRequest
|
|
892
1193
|
*/
|
|
893
|
-
export interface
|
|
1194
|
+
export interface InspectionApiGetInspectionStandardRequest {
|
|
894
1195
|
/**
|
|
895
1196
|
*
|
|
896
1197
|
* @type {number}
|
|
897
|
-
* @memberof
|
|
1198
|
+
* @memberof InspectionApiGetInspectionStandard
|
|
898
1199
|
*/
|
|
899
1200
|
readonly id: number
|
|
900
1201
|
}
|
|
901
1202
|
|
|
902
1203
|
/**
|
|
903
|
-
* Request parameters for getMaintenanceStandard operation in
|
|
1204
|
+
* Request parameters for getMaintenanceStandard operation in InspectionApi.
|
|
904
1205
|
* @export
|
|
905
|
-
* @interface
|
|
1206
|
+
* @interface InspectionApiGetMaintenanceStandardRequest
|
|
906
1207
|
*/
|
|
907
|
-
export interface
|
|
1208
|
+
export interface InspectionApiGetMaintenanceStandardRequest {
|
|
908
1209
|
/**
|
|
909
1210
|
*
|
|
910
1211
|
* @type {number}
|
|
911
|
-
* @memberof
|
|
1212
|
+
* @memberof InspectionApiGetMaintenanceStandard
|
|
912
1213
|
*/
|
|
913
1214
|
readonly id: number
|
|
914
1215
|
}
|
|
915
1216
|
|
|
916
1217
|
/**
|
|
917
|
-
* Request parameters for
|
|
1218
|
+
* Request parameters for listInspectionStandard operation in InspectionApi.
|
|
1219
|
+
* @export
|
|
1220
|
+
* @interface InspectionApiListInspectionStandardRequest
|
|
1221
|
+
*/
|
|
1222
|
+
export interface InspectionApiListInspectionStandardRequest {
|
|
1223
|
+
/**
|
|
1224
|
+
* 园区id
|
|
1225
|
+
* @type {number}
|
|
1226
|
+
* @memberof InspectionApiListInspectionStandard
|
|
1227
|
+
*/
|
|
1228
|
+
readonly parkId: number
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* 每页数量
|
|
1232
|
+
* @type {number}
|
|
1233
|
+
* @memberof InspectionApiListInspectionStandard
|
|
1234
|
+
*/
|
|
1235
|
+
readonly pageSize: number
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* 页码
|
|
1239
|
+
* @type {number}
|
|
1240
|
+
* @memberof InspectionApiListInspectionStandard
|
|
1241
|
+
*/
|
|
1242
|
+
readonly page: number
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* 内容
|
|
1246
|
+
* @type {string}
|
|
1247
|
+
* @memberof InspectionApiListInspectionStandard
|
|
1248
|
+
*/
|
|
1249
|
+
readonly searchValue?: string
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* 巡检分类
|
|
1253
|
+
* @type {InspectionCategoryEnum}
|
|
1254
|
+
* @memberof InspectionApiListInspectionStandard
|
|
1255
|
+
*/
|
|
1256
|
+
readonly category?: InspectionCategoryEnum
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* 周期
|
|
1260
|
+
* @type {WorkOrderPlanRepeatsEnum}
|
|
1261
|
+
* @memberof InspectionApiListInspectionStandard
|
|
1262
|
+
*/
|
|
1263
|
+
readonly repeats?: WorkOrderPlanRepeatsEnum
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* Request parameters for listMaintenanceStandard operation in InspectionApi.
|
|
918
1268
|
* @export
|
|
919
|
-
* @interface
|
|
1269
|
+
* @interface InspectionApiListMaintenanceStandardRequest
|
|
920
1270
|
*/
|
|
921
|
-
export interface
|
|
1271
|
+
export interface InspectionApiListMaintenanceStandardRequest {
|
|
922
1272
|
/**
|
|
923
1273
|
* 园区ID
|
|
924
1274
|
* @type {number}
|
|
925
|
-
* @memberof
|
|
1275
|
+
* @memberof InspectionApiListMaintenanceStandard
|
|
926
1276
|
*/
|
|
927
1277
|
readonly parkId: number
|
|
928
1278
|
|
|
929
1279
|
/**
|
|
930
1280
|
* 每页数量
|
|
931
1281
|
* @type {number}
|
|
932
|
-
* @memberof
|
|
1282
|
+
* @memberof InspectionApiListMaintenanceStandard
|
|
933
1283
|
*/
|
|
934
1284
|
readonly pageSize: number
|
|
935
1285
|
|
|
936
1286
|
/**
|
|
937
1287
|
* 页码
|
|
938
1288
|
* @type {number}
|
|
939
|
-
* @memberof
|
|
1289
|
+
* @memberof InspectionApiListMaintenanceStandard
|
|
940
1290
|
*/
|
|
941
1291
|
readonly page: number
|
|
942
1292
|
|
|
943
1293
|
/**
|
|
944
1294
|
* 关键搜索值
|
|
945
1295
|
* @type {string}
|
|
946
|
-
* @memberof
|
|
1296
|
+
* @memberof InspectionApiListMaintenanceStandard
|
|
947
1297
|
*/
|
|
948
1298
|
readonly searchValue?: string
|
|
949
1299
|
|
|
950
1300
|
/**
|
|
951
1301
|
* 维保分类
|
|
952
1302
|
* @type {number}
|
|
953
|
-
* @memberof
|
|
1303
|
+
* @memberof InspectionApiListMaintenanceStandard
|
|
954
1304
|
*/
|
|
955
1305
|
readonly equipmentSystemId?: number
|
|
956
1306
|
|
|
957
1307
|
/**
|
|
958
1308
|
* 周期
|
|
959
1309
|
* @type {WorkOrderPlanRepeatsEnum}
|
|
960
|
-
* @memberof
|
|
1310
|
+
* @memberof InspectionApiListMaintenanceStandard
|
|
961
1311
|
*/
|
|
962
1312
|
readonly repeats?: WorkOrderPlanRepeatsEnum
|
|
963
1313
|
}
|
|
964
1314
|
|
|
965
1315
|
/**
|
|
966
|
-
* Request parameters for listMaintenanceStandardByEquipmentId operation in
|
|
1316
|
+
* Request parameters for listMaintenanceStandardByEquipmentId operation in InspectionApi.
|
|
967
1317
|
* @export
|
|
968
|
-
* @interface
|
|
1318
|
+
* @interface InspectionApiListMaintenanceStandardByEquipmentIdRequest
|
|
969
1319
|
*/
|
|
970
|
-
export interface
|
|
1320
|
+
export interface InspectionApiListMaintenanceStandardByEquipmentIdRequest {
|
|
971
1321
|
/**
|
|
972
1322
|
*
|
|
973
1323
|
* @type {number}
|
|
974
|
-
* @memberof
|
|
1324
|
+
* @memberof InspectionApiListMaintenanceStandardByEquipmentId
|
|
975
1325
|
*/
|
|
976
1326
|
readonly equipmentId: number
|
|
977
1327
|
}
|
|
978
1328
|
|
|
979
1329
|
/**
|
|
980
|
-
* Request parameters for listMaintenanceStandardByEquipmentSystemId operation in
|
|
1330
|
+
* Request parameters for listMaintenanceStandardByEquipmentSystemId operation in InspectionApi.
|
|
981
1331
|
* @export
|
|
982
|
-
* @interface
|
|
1332
|
+
* @interface InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest
|
|
983
1333
|
*/
|
|
984
|
-
export interface
|
|
1334
|
+
export interface InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest {
|
|
985
1335
|
/**
|
|
986
1336
|
*
|
|
987
1337
|
* @type {number}
|
|
988
|
-
* @memberof
|
|
1338
|
+
* @memberof InspectionApiListMaintenanceStandardByEquipmentSystemId
|
|
989
1339
|
*/
|
|
990
1340
|
readonly equipmentSystemId: number
|
|
991
1341
|
}
|
|
992
1342
|
|
|
993
1343
|
/**
|
|
994
|
-
* Request parameters for
|
|
1344
|
+
* Request parameters for syncInspectionStandard operation in InspectionApi.
|
|
995
1345
|
* @export
|
|
996
|
-
* @interface
|
|
1346
|
+
* @interface InspectionApiSyncInspectionStandardRequest
|
|
997
1347
|
*/
|
|
998
|
-
export interface
|
|
1348
|
+
export interface InspectionApiSyncInspectionStandardRequest {
|
|
999
1349
|
/**
|
|
1000
|
-
*
|
|
1350
|
+
*
|
|
1001
1351
|
* @type {number}
|
|
1002
|
-
* @memberof
|
|
1352
|
+
* @memberof InspectionApiSyncInspectionStandard
|
|
1003
1353
|
*/
|
|
1004
|
-
readonly
|
|
1354
|
+
readonly parkIdOne: number
|
|
1005
1355
|
|
|
1006
1356
|
/**
|
|
1007
1357
|
*
|
|
1008
|
-
* @type {
|
|
1009
|
-
* @memberof
|
|
1358
|
+
* @type {number}
|
|
1359
|
+
* @memberof InspectionApiSyncInspectionStandard
|
|
1010
1360
|
*/
|
|
1011
|
-
readonly
|
|
1361
|
+
readonly parkIdTwo: number
|
|
1362
|
+
}
|
|
1012
1363
|
|
|
1364
|
+
/**
|
|
1365
|
+
* Request parameters for updateInspectionStandard operation in InspectionApi.
|
|
1366
|
+
* @export
|
|
1367
|
+
* @interface InspectionApiUpdateInspectionStandardRequest
|
|
1368
|
+
*/
|
|
1369
|
+
export interface InspectionApiUpdateInspectionStandardRequest {
|
|
1013
1370
|
/**
|
|
1014
|
-
*
|
|
1015
|
-
* @type {
|
|
1016
|
-
* @memberof
|
|
1371
|
+
*
|
|
1372
|
+
* @type {number}
|
|
1373
|
+
* @memberof InspectionApiUpdateInspectionStandard
|
|
1374
|
+
*/
|
|
1375
|
+
readonly id: number
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
*
|
|
1379
|
+
* @type {InspectionStandardAddOrUpdateVO}
|
|
1380
|
+
* @memberof InspectionApiUpdateInspectionStandard
|
|
1017
1381
|
*/
|
|
1018
|
-
readonly
|
|
1382
|
+
readonly inspectionStandardAddOrUpdateVO: InspectionStandardAddOrUpdateVO
|
|
1019
1383
|
}
|
|
1020
1384
|
|
|
1021
1385
|
/**
|
|
1022
|
-
* Request parameters for updateMaintenanceStandard operation in
|
|
1386
|
+
* Request parameters for updateMaintenanceStandard operation in InspectionApi.
|
|
1023
1387
|
* @export
|
|
1024
|
-
* @interface
|
|
1388
|
+
* @interface InspectionApiUpdateMaintenanceStandardRequest
|
|
1025
1389
|
*/
|
|
1026
|
-
export interface
|
|
1390
|
+
export interface InspectionApiUpdateMaintenanceStandardRequest {
|
|
1027
1391
|
/**
|
|
1028
1392
|
*
|
|
1029
1393
|
* @type {number}
|
|
1030
|
-
* @memberof
|
|
1394
|
+
* @memberof InspectionApiUpdateMaintenanceStandard
|
|
1031
1395
|
*/
|
|
1032
1396
|
readonly id: number
|
|
1033
1397
|
|
|
1034
1398
|
/**
|
|
1035
1399
|
*
|
|
1036
1400
|
* @type {MaintenanceStandardAddOrUpdateVo}
|
|
1037
|
-
* @memberof
|
|
1401
|
+
* @memberof InspectionApiUpdateMaintenanceStandard
|
|
1038
1402
|
*/
|
|
1039
1403
|
readonly maintenanceStandardAddOrUpdateVo: MaintenanceStandardAddOrUpdateVo
|
|
1040
1404
|
}
|
|
1041
1405
|
|
|
1042
1406
|
/**
|
|
1043
|
-
*
|
|
1407
|
+
* InspectionApi - object-oriented interface
|
|
1044
1408
|
* @export
|
|
1045
|
-
* @class
|
|
1409
|
+
* @class InspectionApi
|
|
1046
1410
|
* @extends {BaseAPI}
|
|
1047
1411
|
*/
|
|
1048
|
-
export class
|
|
1412
|
+
export class InspectionApi extends BaseAPI {
|
|
1049
1413
|
/**
|
|
1050
1414
|
*
|
|
1051
1415
|
* @summary 新增维保标准
|
|
1052
|
-
* @param {
|
|
1416
|
+
* @param {InspectionApiAddMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1053
1417
|
* @param {*} [options] Override http request option.
|
|
1054
1418
|
* @throws {RequiredError}
|
|
1055
|
-
* @memberof
|
|
1419
|
+
* @memberof InspectionApi
|
|
1056
1420
|
*/
|
|
1057
|
-
public addMaintenanceStandard(requestParameters:
|
|
1058
|
-
return
|
|
1421
|
+
public addMaintenanceStandard(requestParameters: InspectionApiAddMaintenanceStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1422
|
+
return InspectionApiFp(this.configuration).addMaintenanceStandard(requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
1059
1423
|
}
|
|
1060
1424
|
|
|
1061
1425
|
/**
|
|
1062
1426
|
*
|
|
1063
1427
|
* @summary 批量删除维保标准
|
|
1064
|
-
* @param {
|
|
1428
|
+
* @param {InspectionApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1429
|
+
* @param {*} [options] Override http request option.
|
|
1430
|
+
* @throws {RequiredError}
|
|
1431
|
+
* @memberof InspectionApi
|
|
1432
|
+
*/
|
|
1433
|
+
public batchDeleteMaintenanceStandard(requestParameters: InspectionApiBatchDeleteMaintenanceStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1434
|
+
return InspectionApiFp(this.configuration).batchDeleteMaintenanceStandard(requestParameters.standardDeleteVo, options).then((request) => request(this.axios, this.basePath));
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
*
|
|
1439
|
+
* @summary 添加巡检标准
|
|
1440
|
+
* @param {InspectionApiCreateInspectionStandardRequest} requestParameters Request parameters.
|
|
1441
|
+
* @param {*} [options] Override http request option.
|
|
1442
|
+
* @throws {RequiredError}
|
|
1443
|
+
* @memberof InspectionApi
|
|
1444
|
+
*/
|
|
1445
|
+
public createInspectionStandard(requestParameters: InspectionApiCreateInspectionStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1446
|
+
return InspectionApiFp(this.configuration).createInspectionStandard(requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(this.axios, this.basePath));
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
*
|
|
1451
|
+
* @summary 删除巡检标准
|
|
1452
|
+
* @param {InspectionApiDeleteInspectionStandardRequest} requestParameters Request parameters.
|
|
1065
1453
|
* @param {*} [options] Override http request option.
|
|
1066
1454
|
* @throws {RequiredError}
|
|
1067
|
-
* @memberof
|
|
1455
|
+
* @memberof InspectionApi
|
|
1068
1456
|
*/
|
|
1069
|
-
public
|
|
1070
|
-
return
|
|
1457
|
+
public deleteInspectionStandard(requestParameters: InspectionApiDeleteInspectionStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1458
|
+
return InspectionApiFp(this.configuration).deleteInspectionStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
/**
|
|
1462
|
+
*
|
|
1463
|
+
* @summary 批量删除巡检标准
|
|
1464
|
+
* @param {InspectionApiDeleteInspectionStandardsRequest} requestParameters Request parameters.
|
|
1465
|
+
* @param {*} [options] Override http request option.
|
|
1466
|
+
* @throws {RequiredError}
|
|
1467
|
+
* @memberof InspectionApi
|
|
1468
|
+
*/
|
|
1469
|
+
public deleteInspectionStandards(requestParameters: InspectionApiDeleteInspectionStandardsRequest, options?: RawAxiosRequestConfig) {
|
|
1470
|
+
return InspectionApiFp(this.configuration).deleteInspectionStandards(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1071
1471
|
}
|
|
1072
1472
|
|
|
1073
1473
|
/**
|
|
1074
1474
|
*
|
|
1075
1475
|
* @summary 删除维保标准
|
|
1076
|
-
* @param {
|
|
1476
|
+
* @param {InspectionApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1077
1477
|
* @param {*} [options] Override http request option.
|
|
1078
1478
|
* @throws {RequiredError}
|
|
1079
|
-
* @memberof
|
|
1479
|
+
* @memberof InspectionApi
|
|
1080
1480
|
*/
|
|
1081
|
-
public deleteMaintenanceStandard(requestParameters:
|
|
1082
|
-
return
|
|
1481
|
+
public deleteMaintenanceStandard(requestParameters: InspectionApiDeleteMaintenanceStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1482
|
+
return InspectionApiFp(this.configuration).deleteMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1083
1483
|
}
|
|
1084
1484
|
|
|
1085
1485
|
/**
|
|
1086
1486
|
*
|
|
1087
|
-
* @summary
|
|
1088
|
-
* @param {
|
|
1487
|
+
* @summary 巡检标准详情
|
|
1488
|
+
* @param {InspectionApiGetInspectionStandardRequest} requestParameters Request parameters.
|
|
1089
1489
|
* @param {*} [options] Override http request option.
|
|
1090
1490
|
* @throws {RequiredError}
|
|
1091
|
-
* @memberof
|
|
1491
|
+
* @memberof InspectionApi
|
|
1092
1492
|
*/
|
|
1093
|
-
public
|
|
1094
|
-
return
|
|
1493
|
+
public getInspectionStandard(requestParameters: InspectionApiGetInspectionStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1494
|
+
return InspectionApiFp(this.configuration).getInspectionStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1095
1495
|
}
|
|
1096
1496
|
|
|
1097
1497
|
/**
|
|
1098
1498
|
*
|
|
1099
|
-
* @summary
|
|
1100
|
-
* @param {
|
|
1499
|
+
* @summary 维保标准详情
|
|
1500
|
+
* @param {InspectionApiGetMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1101
1501
|
* @param {*} [options] Override http request option.
|
|
1102
1502
|
* @throws {RequiredError}
|
|
1103
|
-
* @memberof
|
|
1503
|
+
* @memberof InspectionApi
|
|
1104
1504
|
*/
|
|
1105
|
-
public
|
|
1106
|
-
return
|
|
1505
|
+
public getMaintenanceStandard(requestParameters: InspectionApiGetMaintenanceStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1506
|
+
return InspectionApiFp(this.configuration).getMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1107
1507
|
}
|
|
1108
1508
|
|
|
1109
1509
|
/**
|
|
1110
1510
|
*
|
|
1111
|
-
* @summary
|
|
1112
|
-
* @param {
|
|
1511
|
+
* @summary 巡检标准列表
|
|
1512
|
+
* @param {InspectionApiListInspectionStandardRequest} requestParameters Request parameters.
|
|
1113
1513
|
* @param {*} [options] Override http request option.
|
|
1114
1514
|
* @throws {RequiredError}
|
|
1115
|
-
* @memberof
|
|
1515
|
+
* @memberof InspectionApi
|
|
1116
1516
|
*/
|
|
1117
|
-
public
|
|
1118
|
-
return
|
|
1517
|
+
public listInspectionStandard(requestParameters: InspectionApiListInspectionStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1518
|
+
return InspectionApiFp(this.configuration).listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
|
|
1119
1519
|
}
|
|
1120
1520
|
|
|
1121
1521
|
/**
|
|
1122
1522
|
*
|
|
1123
|
-
* @summary
|
|
1124
|
-
* @param {
|
|
1523
|
+
* @summary 维保标准列表
|
|
1524
|
+
* @param {InspectionApiListMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1125
1525
|
* @param {*} [options] Override http request option.
|
|
1126
1526
|
* @throws {RequiredError}
|
|
1127
|
-
* @memberof
|
|
1527
|
+
* @memberof InspectionApi
|
|
1128
1528
|
*/
|
|
1129
|
-
public
|
|
1130
|
-
return
|
|
1529
|
+
public listMaintenanceStandard(requestParameters: InspectionApiListMaintenanceStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1530
|
+
return InspectionApiFp(this.configuration).listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
|
|
1131
1531
|
}
|
|
1132
1532
|
|
|
1133
1533
|
/**
|
|
1134
1534
|
*
|
|
1135
|
-
* @summary
|
|
1535
|
+
* @summary 根据设备id查询维保标准
|
|
1536
|
+
* @param {InspectionApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
1136
1537
|
* @param {*} [options] Override http request option.
|
|
1137
1538
|
* @throws {RequiredError}
|
|
1138
|
-
* @memberof
|
|
1539
|
+
* @memberof InspectionApi
|
|
1139
1540
|
*/
|
|
1140
|
-
public
|
|
1141
|
-
return
|
|
1541
|
+
public listMaintenanceStandardByEquipmentId(requestParameters: InspectionApiListMaintenanceStandardByEquipmentIdRequest, options?: RawAxiosRequestConfig) {
|
|
1542
|
+
return InspectionApiFp(this.configuration).listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1142
1543
|
}
|
|
1143
1544
|
|
|
1144
1545
|
/**
|
|
1145
1546
|
*
|
|
1146
|
-
* @summary
|
|
1547
|
+
* @summary 根据设备系统id查询维保标准
|
|
1548
|
+
* @param {InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
1147
1549
|
* @param {*} [options] Override http request option.
|
|
1148
1550
|
* @throws {RequiredError}
|
|
1149
|
-
* @memberof
|
|
1551
|
+
* @memberof InspectionApi
|
|
1150
1552
|
*/
|
|
1151
|
-
public
|
|
1152
|
-
return
|
|
1553
|
+
public listMaintenanceStandardByEquipmentSystemId(requestParameters: InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest, options?: RawAxiosRequestConfig) {
|
|
1554
|
+
return InspectionApiFp(this.configuration).listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(this.axios, this.basePath));
|
|
1153
1555
|
}
|
|
1154
1556
|
|
|
1155
1557
|
/**
|
|
1156
1558
|
*
|
|
1157
|
-
* @summary
|
|
1559
|
+
* @summary 同步其他园区巡检标准
|
|
1560
|
+
* @param {InspectionApiSyncInspectionStandardRequest} requestParameters Request parameters.
|
|
1158
1561
|
* @param {*} [options] Override http request option.
|
|
1159
1562
|
* @throws {RequiredError}
|
|
1160
|
-
* @memberof
|
|
1563
|
+
* @memberof InspectionApi
|
|
1161
1564
|
*/
|
|
1162
|
-
public
|
|
1163
|
-
return
|
|
1565
|
+
public syncInspectionStandard(requestParameters: InspectionApiSyncInspectionStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1566
|
+
return InspectionApiFp(this.configuration).syncInspectionStandard(requestParameters.parkIdOne, requestParameters.parkIdTwo, options).then((request) => request(this.axios, this.basePath));
|
|
1164
1567
|
}
|
|
1165
1568
|
|
|
1166
1569
|
/**
|
|
1167
1570
|
*
|
|
1168
|
-
* @summary
|
|
1169
|
-
* @param {
|
|
1571
|
+
* @summary 修改巡检标准
|
|
1572
|
+
* @param {InspectionApiUpdateInspectionStandardRequest} requestParameters Request parameters.
|
|
1170
1573
|
* @param {*} [options] Override http request option.
|
|
1171
1574
|
* @throws {RequiredError}
|
|
1172
|
-
* @memberof
|
|
1575
|
+
* @memberof InspectionApi
|
|
1173
1576
|
*/
|
|
1174
|
-
public
|
|
1175
|
-
return
|
|
1577
|
+
public updateInspectionStandard(requestParameters: InspectionApiUpdateInspectionStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1578
|
+
return InspectionApiFp(this.configuration).updateInspectionStandard(requestParameters.id, requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(this.axios, this.basePath));
|
|
1176
1579
|
}
|
|
1177
1580
|
|
|
1178
1581
|
/**
|
|
1179
1582
|
*
|
|
1180
1583
|
* @summary 编辑维保标准
|
|
1181
|
-
* @param {
|
|
1584
|
+
* @param {InspectionApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1182
1585
|
* @param {*} [options] Override http request option.
|
|
1183
1586
|
* @throws {RequiredError}
|
|
1184
|
-
* @memberof
|
|
1587
|
+
* @memberof InspectionApi
|
|
1185
1588
|
*/
|
|
1186
|
-
public updateMaintenanceStandard(requestParameters:
|
|
1187
|
-
return
|
|
1589
|
+
public updateMaintenanceStandard(requestParameters: InspectionApiUpdateMaintenanceStandardRequest, options?: RawAxiosRequestConfig) {
|
|
1590
|
+
return InspectionApiFp(this.configuration).updateMaintenanceStandard(requestParameters.id, requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
1188
1591
|
}
|
|
1189
1592
|
}
|
|
1190
1593
|
|