@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
|
@@ -27,10 +27,10 @@ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchPara
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* InspectionApi - axios parameter creator
|
|
31
31
|
* @export
|
|
32
32
|
*/
|
|
33
|
-
export const
|
|
33
|
+
export const InspectionApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -98,6 +98,104 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration)
|
|
|
98
98
|
options: localVarRequestOptions,
|
|
99
99
|
};
|
|
100
100
|
}),
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @summary 添加巡检标准
|
|
104
|
+
* @param {Array<InspectionStandardAddOrUpdateVO>} inspectionStandardAddOrUpdateVO
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
createInspectionStandard: (inspectionStandardAddOrUpdateVO_1, ...args_1) => __awaiter(this, [inspectionStandardAddOrUpdateVO_1, ...args_1], void 0, function* (inspectionStandardAddOrUpdateVO, options = {}) {
|
|
109
|
+
// verify required parameter 'inspectionStandardAddOrUpdateVO' is not null or undefined
|
|
110
|
+
assertParamExists('createInspectionStandard', 'inspectionStandardAddOrUpdateVO', inspectionStandardAddOrUpdateVO);
|
|
111
|
+
const localVarPath = `/gizone/inspectionStandard`;
|
|
112
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
113
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
114
|
+
let baseOptions;
|
|
115
|
+
if (configuration) {
|
|
116
|
+
baseOptions = configuration.baseOptions;
|
|
117
|
+
}
|
|
118
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
119
|
+
const localVarHeaderParameter = {};
|
|
120
|
+
const localVarQueryParameter = {};
|
|
121
|
+
// authentication tokenScheme required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
124
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
125
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
126
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
128
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inspectionStandardAddOrUpdateVO, localVarRequestOptions, configuration);
|
|
129
|
+
return {
|
|
130
|
+
url: toPathString(localVarUrlObj),
|
|
131
|
+
options: localVarRequestOptions,
|
|
132
|
+
};
|
|
133
|
+
}),
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @summary 删除巡检标准
|
|
137
|
+
* @param {number} id 巡检标准id
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
deleteInspectionStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
142
|
+
// verify required parameter 'id' is not null or undefined
|
|
143
|
+
assertParamExists('deleteInspectionStandard', 'id', id);
|
|
144
|
+
const localVarPath = `/gizone/inspectionStandard/{id}`
|
|
145
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
146
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
147
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
148
|
+
let baseOptions;
|
|
149
|
+
if (configuration) {
|
|
150
|
+
baseOptions = configuration.baseOptions;
|
|
151
|
+
}
|
|
152
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
153
|
+
const localVarHeaderParameter = {};
|
|
154
|
+
const localVarQueryParameter = {};
|
|
155
|
+
// authentication tokenScheme required
|
|
156
|
+
// http bearer authentication required
|
|
157
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
160
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
161
|
+
return {
|
|
162
|
+
url: toPathString(localVarUrlObj),
|
|
163
|
+
options: localVarRequestOptions,
|
|
164
|
+
};
|
|
165
|
+
}),
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @summary 批量删除巡检标准
|
|
169
|
+
* @param {Array<number>} requestBody
|
|
170
|
+
* @param {*} [options] Override http request option.
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
deleteInspectionStandards: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
174
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
175
|
+
assertParamExists('deleteInspectionStandards', 'requestBody', requestBody);
|
|
176
|
+
const localVarPath = `/gizone/inspectionStandard/delBatch`;
|
|
177
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
178
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
179
|
+
let baseOptions;
|
|
180
|
+
if (configuration) {
|
|
181
|
+
baseOptions = configuration.baseOptions;
|
|
182
|
+
}
|
|
183
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
184
|
+
const localVarHeaderParameter = {};
|
|
185
|
+
const localVarQueryParameter = {};
|
|
186
|
+
// authentication tokenScheme required
|
|
187
|
+
// http bearer authentication required
|
|
188
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
189
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
193
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
194
|
+
return {
|
|
195
|
+
url: toPathString(localVarUrlObj),
|
|
196
|
+
options: localVarRequestOptions,
|
|
197
|
+
};
|
|
198
|
+
}),
|
|
101
199
|
/**
|
|
102
200
|
*
|
|
103
201
|
* @summary 删除维保标准
|
|
@@ -130,6 +228,38 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration)
|
|
|
130
228
|
options: localVarRequestOptions,
|
|
131
229
|
};
|
|
132
230
|
}),
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @summary 巡检标准详情
|
|
234
|
+
* @param {number} id
|
|
235
|
+
* @param {*} [options] Override http request option.
|
|
236
|
+
* @throws {RequiredError}
|
|
237
|
+
*/
|
|
238
|
+
getInspectionStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
239
|
+
// verify required parameter 'id' is not null or undefined
|
|
240
|
+
assertParamExists('getInspectionStandard', 'id', id);
|
|
241
|
+
const localVarPath = `/gizone/inspectionStandard/{id}`
|
|
242
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
243
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
244
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
245
|
+
let baseOptions;
|
|
246
|
+
if (configuration) {
|
|
247
|
+
baseOptions = configuration.baseOptions;
|
|
248
|
+
}
|
|
249
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
250
|
+
const localVarHeaderParameter = {};
|
|
251
|
+
const localVarQueryParameter = {};
|
|
252
|
+
// authentication tokenScheme required
|
|
253
|
+
// http bearer authentication required
|
|
254
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
255
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
256
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
257
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
258
|
+
return {
|
|
259
|
+
url: toPathString(localVarUrlObj),
|
|
260
|
+
options: localVarRequestOptions,
|
|
261
|
+
};
|
|
262
|
+
}),
|
|
133
263
|
/**
|
|
134
264
|
*
|
|
135
265
|
* @summary 维保标准详情
|
|
@@ -162,6 +292,64 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration)
|
|
|
162
292
|
options: localVarRequestOptions,
|
|
163
293
|
};
|
|
164
294
|
}),
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @summary 巡检标准列表
|
|
298
|
+
* @param {number} parkId 园区id
|
|
299
|
+
* @param {number} pageSize 每页数量
|
|
300
|
+
* @param {number} page 页码
|
|
301
|
+
* @param {string} [searchValue] 内容
|
|
302
|
+
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
303
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
304
|
+
* @param {*} [options] Override http request option.
|
|
305
|
+
* @throws {RequiredError}
|
|
306
|
+
*/
|
|
307
|
+
listInspectionStandard: (parkId_1, pageSize_1, page_1, searchValue_1, category_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, pageSize_1, page_1, searchValue_1, category_1, repeats_1, ...args_1], void 0, function* (parkId, pageSize, page, searchValue, category, repeats, options = {}) {
|
|
308
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
309
|
+
assertParamExists('listInspectionStandard', 'parkId', parkId);
|
|
310
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
311
|
+
assertParamExists('listInspectionStandard', 'pageSize', pageSize);
|
|
312
|
+
// verify required parameter 'page' is not null or undefined
|
|
313
|
+
assertParamExists('listInspectionStandard', 'page', page);
|
|
314
|
+
const localVarPath = `/gizone/inspectionStandard`;
|
|
315
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
316
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
317
|
+
let baseOptions;
|
|
318
|
+
if (configuration) {
|
|
319
|
+
baseOptions = configuration.baseOptions;
|
|
320
|
+
}
|
|
321
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
322
|
+
const localVarHeaderParameter = {};
|
|
323
|
+
const localVarQueryParameter = {};
|
|
324
|
+
// authentication tokenScheme required
|
|
325
|
+
// http bearer authentication required
|
|
326
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
327
|
+
if (searchValue !== undefined) {
|
|
328
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
329
|
+
}
|
|
330
|
+
if (category !== undefined) {
|
|
331
|
+
localVarQueryParameter['category'] = category;
|
|
332
|
+
}
|
|
333
|
+
if (parkId !== undefined) {
|
|
334
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
335
|
+
}
|
|
336
|
+
if (pageSize !== undefined) {
|
|
337
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
338
|
+
}
|
|
339
|
+
if (page !== undefined) {
|
|
340
|
+
localVarQueryParameter['page'] = page;
|
|
341
|
+
}
|
|
342
|
+
if (repeats !== undefined) {
|
|
343
|
+
localVarQueryParameter['repeats'] = repeats;
|
|
344
|
+
}
|
|
345
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
346
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
347
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
348
|
+
return {
|
|
349
|
+
url: toPathString(localVarUrlObj),
|
|
350
|
+
options: localVarRequestOptions,
|
|
351
|
+
};
|
|
352
|
+
}),
|
|
165
353
|
/**
|
|
166
354
|
*
|
|
167
355
|
* @summary 维保标准列表
|
|
@@ -290,40 +478,18 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration)
|
|
|
290
478
|
}),
|
|
291
479
|
/**
|
|
292
480
|
*
|
|
293
|
-
* @summary
|
|
294
|
-
* @param {
|
|
295
|
-
* @
|
|
296
|
-
*/
|
|
297
|
-
maintenanceStandardBatchImportConfirm: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
298
|
-
const localVarPath = `/gizone/maintenanceStandard/batchImport/confirm`;
|
|
299
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
300
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
301
|
-
let baseOptions;
|
|
302
|
-
if (configuration) {
|
|
303
|
-
baseOptions = configuration.baseOptions;
|
|
304
|
-
}
|
|
305
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
306
|
-
const localVarHeaderParameter = {};
|
|
307
|
-
const localVarQueryParameter = {};
|
|
308
|
-
// authentication tokenScheme required
|
|
309
|
-
// http bearer authentication required
|
|
310
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
311
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
312
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
313
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
314
|
-
return {
|
|
315
|
-
url: toPathString(localVarUrlObj),
|
|
316
|
-
options: localVarRequestOptions,
|
|
317
|
-
};
|
|
318
|
-
}),
|
|
319
|
-
/**
|
|
320
|
-
*
|
|
321
|
-
* @summary 维保标准导入-预览结果
|
|
481
|
+
* @summary 同步其他园区巡检标准
|
|
482
|
+
* @param {number} parkIdOne
|
|
483
|
+
* @param {number} parkIdTwo
|
|
322
484
|
* @param {*} [options] Override http request option.
|
|
323
485
|
* @throws {RequiredError}
|
|
324
486
|
*/
|
|
325
|
-
|
|
326
|
-
|
|
487
|
+
syncInspectionStandard: (parkIdOne_1, parkIdTwo_1, ...args_1) => __awaiter(this, [parkIdOne_1, parkIdTwo_1, ...args_1], void 0, function* (parkIdOne, parkIdTwo, options = {}) {
|
|
488
|
+
// verify required parameter 'parkIdOne' is not null or undefined
|
|
489
|
+
assertParamExists('syncInspectionStandard', 'parkIdOne', parkIdOne);
|
|
490
|
+
// verify required parameter 'parkIdTwo' is not null or undefined
|
|
491
|
+
assertParamExists('syncInspectionStandard', 'parkIdTwo', parkIdTwo);
|
|
492
|
+
const localVarPath = `/gizone/inspectionStandard/sync/park/inspectionStandard`;
|
|
327
493
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
328
494
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
329
495
|
let baseOptions;
|
|
@@ -336,34 +502,12 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration)
|
|
|
336
502
|
// authentication tokenScheme required
|
|
337
503
|
// http bearer authentication required
|
|
338
504
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
options: localVarRequestOptions,
|
|
345
|
-
};
|
|
346
|
-
}),
|
|
347
|
-
/**
|
|
348
|
-
*
|
|
349
|
-
* @summary 维保标准导入-下载模板
|
|
350
|
-
* @param {*} [options] Override http request option.
|
|
351
|
-
* @throws {RequiredError}
|
|
352
|
-
*/
|
|
353
|
-
maintenanceStandardBatchImportTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
354
|
-
const localVarPath = `/gizone/maintenanceStandard/batchImport/template`;
|
|
355
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
356
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
357
|
-
let baseOptions;
|
|
358
|
-
if (configuration) {
|
|
359
|
-
baseOptions = configuration.baseOptions;
|
|
505
|
+
if (parkIdOne !== undefined) {
|
|
506
|
+
localVarQueryParameter['parkIdOne'] = parkIdOne;
|
|
507
|
+
}
|
|
508
|
+
if (parkIdTwo !== undefined) {
|
|
509
|
+
localVarQueryParameter['parkIdTwo'] = parkIdTwo;
|
|
360
510
|
}
|
|
361
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
362
|
-
const localVarHeaderParameter = {};
|
|
363
|
-
const localVarQueryParameter = {};
|
|
364
|
-
// authentication tokenScheme required
|
|
365
|
-
// http bearer authentication required
|
|
366
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
367
511
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
368
512
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
369
513
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -374,46 +518,36 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration)
|
|
|
374
518
|
}),
|
|
375
519
|
/**
|
|
376
520
|
*
|
|
377
|
-
* @summary
|
|
378
|
-
* @param {number}
|
|
379
|
-
* @param {
|
|
380
|
-
* @param {string} [language] 语言
|
|
521
|
+
* @summary 修改巡检标准
|
|
522
|
+
* @param {number} id
|
|
523
|
+
* @param {InspectionStandardAddOrUpdateVO} inspectionStandardAddOrUpdateVO
|
|
381
524
|
* @param {*} [options] Override http request option.
|
|
382
525
|
* @throws {RequiredError}
|
|
383
526
|
*/
|
|
384
|
-
|
|
385
|
-
// verify required parameter '
|
|
386
|
-
assertParamExists('
|
|
387
|
-
// verify required parameter '
|
|
388
|
-
assertParamExists('
|
|
389
|
-
const localVarPath = `/gizone/
|
|
527
|
+
updateInspectionStandard: (id_1, inspectionStandardAddOrUpdateVO_1, ...args_1) => __awaiter(this, [id_1, inspectionStandardAddOrUpdateVO_1, ...args_1], void 0, function* (id, inspectionStandardAddOrUpdateVO, options = {}) {
|
|
528
|
+
// verify required parameter 'id' is not null or undefined
|
|
529
|
+
assertParamExists('updateInspectionStandard', 'id', id);
|
|
530
|
+
// verify required parameter 'inspectionStandardAddOrUpdateVO' is not null or undefined
|
|
531
|
+
assertParamExists('updateInspectionStandard', 'inspectionStandardAddOrUpdateVO', inspectionStandardAddOrUpdateVO);
|
|
532
|
+
const localVarPath = `/gizone/inspectionStandard/{id}`
|
|
533
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
390
534
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
391
535
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
392
536
|
let baseOptions;
|
|
393
537
|
if (configuration) {
|
|
394
538
|
baseOptions = configuration.baseOptions;
|
|
395
539
|
}
|
|
396
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
540
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
397
541
|
const localVarHeaderParameter = {};
|
|
398
542
|
const localVarQueryParameter = {};
|
|
399
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
400
543
|
// authentication tokenScheme required
|
|
401
544
|
// http bearer authentication required
|
|
402
545
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
403
|
-
|
|
404
|
-
localVarFormParams.append('parkId', parkId);
|
|
405
|
-
}
|
|
406
|
-
if (language !== undefined) {
|
|
407
|
-
localVarFormParams.append('language', language);
|
|
408
|
-
}
|
|
409
|
-
if (file !== undefined) {
|
|
410
|
-
localVarFormParams.append('file', file);
|
|
411
|
-
}
|
|
412
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
546
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
413
547
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
414
548
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
415
549
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
416
|
-
localVarRequestOptions.data =
|
|
550
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inspectionStandardAddOrUpdateVO, localVarRequestOptions, configuration);
|
|
417
551
|
return {
|
|
418
552
|
url: toPathString(localVarUrlObj),
|
|
419
553
|
options: localVarRequestOptions,
|
|
@@ -459,11 +593,11 @@ export const MaintenanceStandardApiAxiosParamCreator = function (configuration)
|
|
|
459
593
|
};
|
|
460
594
|
};
|
|
461
595
|
/**
|
|
462
|
-
*
|
|
596
|
+
* InspectionApi - functional programming interface
|
|
463
597
|
* @export
|
|
464
598
|
*/
|
|
465
|
-
export const
|
|
466
|
-
const localVarAxiosParamCreator =
|
|
599
|
+
export const InspectionApiFp = function (configuration) {
|
|
600
|
+
const localVarAxiosParamCreator = InspectionApiAxiosParamCreator(configuration);
|
|
467
601
|
return {
|
|
468
602
|
/**
|
|
469
603
|
*
|
|
@@ -477,7 +611,7 @@ export const MaintenanceStandardApiFp = function (configuration) {
|
|
|
477
611
|
var _a, _b, _c;
|
|
478
612
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.addMaintenanceStandard(maintenanceStandardAddOrUpdateVo, options);
|
|
479
613
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
480
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
614
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.addMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
481
615
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
482
616
|
});
|
|
483
617
|
},
|
|
@@ -493,7 +627,55 @@ export const MaintenanceStandardApiFp = function (configuration) {
|
|
|
493
627
|
var _a, _b, _c;
|
|
494
628
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.batchDeleteMaintenanceStandard(standardDeleteVo, options);
|
|
495
629
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
496
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
630
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.batchDeleteMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
631
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
632
|
+
});
|
|
633
|
+
},
|
|
634
|
+
/**
|
|
635
|
+
*
|
|
636
|
+
* @summary 添加巡检标准
|
|
637
|
+
* @param {Array<InspectionStandardAddOrUpdateVO>} inspectionStandardAddOrUpdateVO
|
|
638
|
+
* @param {*} [options] Override http request option.
|
|
639
|
+
* @throws {RequiredError}
|
|
640
|
+
*/
|
|
641
|
+
createInspectionStandard(inspectionStandardAddOrUpdateVO, options) {
|
|
642
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
643
|
+
var _a, _b, _c;
|
|
644
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createInspectionStandard(inspectionStandardAddOrUpdateVO, options);
|
|
645
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
646
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.createInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
647
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
648
|
+
});
|
|
649
|
+
},
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @summary 删除巡检标准
|
|
653
|
+
* @param {number} id 巡检标准id
|
|
654
|
+
* @param {*} [options] Override http request option.
|
|
655
|
+
* @throws {RequiredError}
|
|
656
|
+
*/
|
|
657
|
+
deleteInspectionStandard(id, options) {
|
|
658
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
659
|
+
var _a, _b, _c;
|
|
660
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteInspectionStandard(id, options);
|
|
661
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
662
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.deleteInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
663
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
664
|
+
});
|
|
665
|
+
},
|
|
666
|
+
/**
|
|
667
|
+
*
|
|
668
|
+
* @summary 批量删除巡检标准
|
|
669
|
+
* @param {Array<number>} requestBody
|
|
670
|
+
* @param {*} [options] Override http request option.
|
|
671
|
+
* @throws {RequiredError}
|
|
672
|
+
*/
|
|
673
|
+
deleteInspectionStandards(requestBody, options) {
|
|
674
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
675
|
+
var _a, _b, _c;
|
|
676
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteInspectionStandards(requestBody, options);
|
|
677
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
678
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.deleteInspectionStandards']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
497
679
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
498
680
|
});
|
|
499
681
|
},
|
|
@@ -509,139 +691,147 @@ export const MaintenanceStandardApiFp = function (configuration) {
|
|
|
509
691
|
var _a, _b, _c;
|
|
510
692
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteMaintenanceStandard(id, options);
|
|
511
693
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
512
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
694
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.deleteMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
513
695
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
514
696
|
});
|
|
515
697
|
},
|
|
516
698
|
/**
|
|
517
699
|
*
|
|
518
|
-
* @summary
|
|
700
|
+
* @summary 巡检标准详情
|
|
519
701
|
* @param {number} id
|
|
520
702
|
* @param {*} [options] Override http request option.
|
|
521
703
|
* @throws {RequiredError}
|
|
522
704
|
*/
|
|
523
|
-
|
|
705
|
+
getInspectionStandard(id, options) {
|
|
524
706
|
return __awaiter(this, void 0, void 0, function* () {
|
|
525
707
|
var _a, _b, _c;
|
|
526
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
708
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInspectionStandard(id, options);
|
|
527
709
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
528
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
710
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.getInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
529
711
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
530
712
|
});
|
|
531
713
|
},
|
|
532
714
|
/**
|
|
533
715
|
*
|
|
534
|
-
* @summary
|
|
535
|
-
* @param {number}
|
|
536
|
-
* @param {number} pageSize 每页数量
|
|
537
|
-
* @param {number} page 页码
|
|
538
|
-
* @param {string} [searchValue] 关键搜索值
|
|
539
|
-
* @param {number} [equipmentSystemId] 维保分类
|
|
540
|
-
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
716
|
+
* @summary 维保标准详情
|
|
717
|
+
* @param {number} id
|
|
541
718
|
* @param {*} [options] Override http request option.
|
|
542
719
|
* @throws {RequiredError}
|
|
543
720
|
*/
|
|
544
|
-
|
|
721
|
+
getMaintenanceStandard(id, options) {
|
|
545
722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
546
723
|
var _a, _b, _c;
|
|
547
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
724
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMaintenanceStandard(id, options);
|
|
548
725
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
549
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
726
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.getMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
550
727
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
551
728
|
});
|
|
552
729
|
},
|
|
553
730
|
/**
|
|
554
731
|
*
|
|
555
|
-
* @summary
|
|
556
|
-
* @param {number}
|
|
732
|
+
* @summary 巡检标准列表
|
|
733
|
+
* @param {number} parkId 园区id
|
|
734
|
+
* @param {number} pageSize 每页数量
|
|
735
|
+
* @param {number} page 页码
|
|
736
|
+
* @param {string} [searchValue] 内容
|
|
737
|
+
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
738
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
557
739
|
* @param {*} [options] Override http request option.
|
|
558
740
|
* @throws {RequiredError}
|
|
559
741
|
*/
|
|
560
|
-
|
|
742
|
+
listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, options) {
|
|
561
743
|
return __awaiter(this, void 0, void 0, function* () {
|
|
562
744
|
var _a, _b, _c;
|
|
563
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
745
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, options);
|
|
564
746
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
565
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
747
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.listInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
566
748
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
567
749
|
});
|
|
568
750
|
},
|
|
569
751
|
/**
|
|
570
752
|
*
|
|
571
|
-
* @summary
|
|
572
|
-
* @param {number}
|
|
753
|
+
* @summary 维保标准列表
|
|
754
|
+
* @param {number} parkId 园区ID
|
|
755
|
+
* @param {number} pageSize 每页数量
|
|
756
|
+
* @param {number} page 页码
|
|
757
|
+
* @param {string} [searchValue] 关键搜索值
|
|
758
|
+
* @param {number} [equipmentSystemId] 维保分类
|
|
759
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
573
760
|
* @param {*} [options] Override http request option.
|
|
574
761
|
* @throws {RequiredError}
|
|
575
762
|
*/
|
|
576
|
-
|
|
763
|
+
listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options) {
|
|
577
764
|
return __awaiter(this, void 0, void 0, function* () {
|
|
578
765
|
var _a, _b, _c;
|
|
579
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
766
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options);
|
|
580
767
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
581
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
768
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.listMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
582
769
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
583
770
|
});
|
|
584
771
|
},
|
|
585
772
|
/**
|
|
586
773
|
*
|
|
587
|
-
* @summary
|
|
774
|
+
* @summary 根据设备id查询维保标准
|
|
775
|
+
* @param {number} equipmentId
|
|
588
776
|
* @param {*} [options] Override http request option.
|
|
589
777
|
* @throws {RequiredError}
|
|
590
778
|
*/
|
|
591
|
-
|
|
779
|
+
listMaintenanceStandardByEquipmentId(equipmentId, options) {
|
|
592
780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
593
781
|
var _a, _b, _c;
|
|
594
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
782
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandardByEquipmentId(equipmentId, options);
|
|
595
783
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
596
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
784
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.listMaintenanceStandardByEquipmentId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
597
785
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
598
786
|
});
|
|
599
787
|
},
|
|
600
788
|
/**
|
|
601
789
|
*
|
|
602
|
-
* @summary
|
|
790
|
+
* @summary 根据设备系统id查询维保标准
|
|
791
|
+
* @param {number} equipmentSystemId
|
|
603
792
|
* @param {*} [options] Override http request option.
|
|
604
793
|
* @throws {RequiredError}
|
|
605
794
|
*/
|
|
606
|
-
|
|
795
|
+
listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options) {
|
|
607
796
|
return __awaiter(this, void 0, void 0, function* () {
|
|
608
797
|
var _a, _b, _c;
|
|
609
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
798
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options);
|
|
610
799
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
611
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
800
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.listMaintenanceStandardByEquipmentSystemId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
612
801
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
613
802
|
});
|
|
614
803
|
},
|
|
615
804
|
/**
|
|
616
805
|
*
|
|
617
|
-
* @summary
|
|
806
|
+
* @summary 同步其他园区巡检标准
|
|
807
|
+
* @param {number} parkIdOne
|
|
808
|
+
* @param {number} parkIdTwo
|
|
618
809
|
* @param {*} [options] Override http request option.
|
|
619
810
|
* @throws {RequiredError}
|
|
620
811
|
*/
|
|
621
|
-
|
|
812
|
+
syncInspectionStandard(parkIdOne, parkIdTwo, options) {
|
|
622
813
|
return __awaiter(this, void 0, void 0, function* () {
|
|
623
814
|
var _a, _b, _c;
|
|
624
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
815
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncInspectionStandard(parkIdOne, parkIdTwo, options);
|
|
625
816
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
626
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
817
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.syncInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
627
818
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
628
819
|
});
|
|
629
820
|
},
|
|
630
821
|
/**
|
|
631
822
|
*
|
|
632
|
-
* @summary
|
|
633
|
-
* @param {number}
|
|
634
|
-
* @param {
|
|
635
|
-
* @param {string} [language] 语言
|
|
823
|
+
* @summary 修改巡检标准
|
|
824
|
+
* @param {number} id
|
|
825
|
+
* @param {InspectionStandardAddOrUpdateVO} inspectionStandardAddOrUpdateVO
|
|
636
826
|
* @param {*} [options] Override http request option.
|
|
637
827
|
* @throws {RequiredError}
|
|
638
828
|
*/
|
|
639
|
-
|
|
829
|
+
updateInspectionStandard(id, inspectionStandardAddOrUpdateVO, options) {
|
|
640
830
|
return __awaiter(this, void 0, void 0, function* () {
|
|
641
831
|
var _a, _b, _c;
|
|
642
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
832
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateInspectionStandard(id, inspectionStandardAddOrUpdateVO, options);
|
|
643
833
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
644
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
834
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.updateInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
645
835
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
646
836
|
});
|
|
647
837
|
},
|
|
@@ -658,23 +848,23 @@ export const MaintenanceStandardApiFp = function (configuration) {
|
|
|
658
848
|
var _a, _b, _c;
|
|
659
849
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateMaintenanceStandard(id, maintenanceStandardAddOrUpdateVo, options);
|
|
660
850
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
661
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
851
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InspectionApi.updateMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
662
852
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
663
853
|
});
|
|
664
854
|
},
|
|
665
855
|
};
|
|
666
856
|
};
|
|
667
857
|
/**
|
|
668
|
-
*
|
|
858
|
+
* InspectionApi - factory interface
|
|
669
859
|
* @export
|
|
670
860
|
*/
|
|
671
|
-
export const
|
|
672
|
-
const localVarFp =
|
|
861
|
+
export const InspectionApiFactory = function (configuration, basePath, axios) {
|
|
862
|
+
const localVarFp = InspectionApiFp(configuration);
|
|
673
863
|
return {
|
|
674
864
|
/**
|
|
675
865
|
*
|
|
676
866
|
* @summary 新增维保标准
|
|
677
|
-
* @param {
|
|
867
|
+
* @param {InspectionApiAddMaintenanceStandardRequest} requestParameters Request parameters.
|
|
678
868
|
* @param {*} [options] Override http request option.
|
|
679
869
|
* @throws {RequiredError}
|
|
680
870
|
*/
|
|
@@ -684,17 +874,47 @@ export const MaintenanceStandardApiFactory = function (configuration, basePath,
|
|
|
684
874
|
/**
|
|
685
875
|
*
|
|
686
876
|
* @summary 批量删除维保标准
|
|
687
|
-
* @param {
|
|
877
|
+
* @param {InspectionApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
688
878
|
* @param {*} [options] Override http request option.
|
|
689
879
|
* @throws {RequiredError}
|
|
690
880
|
*/
|
|
691
881
|
batchDeleteMaintenanceStandard(requestParameters, options) {
|
|
692
882
|
return localVarFp.batchDeleteMaintenanceStandard(requestParameters.standardDeleteVo, options).then((request) => request(axios, basePath));
|
|
693
883
|
},
|
|
884
|
+
/**
|
|
885
|
+
*
|
|
886
|
+
* @summary 添加巡检标准
|
|
887
|
+
* @param {InspectionApiCreateInspectionStandardRequest} requestParameters Request parameters.
|
|
888
|
+
* @param {*} [options] Override http request option.
|
|
889
|
+
* @throws {RequiredError}
|
|
890
|
+
*/
|
|
891
|
+
createInspectionStandard(requestParameters, options) {
|
|
892
|
+
return localVarFp.createInspectionStandard(requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(axios, basePath));
|
|
893
|
+
},
|
|
894
|
+
/**
|
|
895
|
+
*
|
|
896
|
+
* @summary 删除巡检标准
|
|
897
|
+
* @param {InspectionApiDeleteInspectionStandardRequest} requestParameters Request parameters.
|
|
898
|
+
* @param {*} [options] Override http request option.
|
|
899
|
+
* @throws {RequiredError}
|
|
900
|
+
*/
|
|
901
|
+
deleteInspectionStandard(requestParameters, options) {
|
|
902
|
+
return localVarFp.deleteInspectionStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
903
|
+
},
|
|
904
|
+
/**
|
|
905
|
+
*
|
|
906
|
+
* @summary 批量删除巡检标准
|
|
907
|
+
* @param {InspectionApiDeleteInspectionStandardsRequest} requestParameters Request parameters.
|
|
908
|
+
* @param {*} [options] Override http request option.
|
|
909
|
+
* @throws {RequiredError}
|
|
910
|
+
*/
|
|
911
|
+
deleteInspectionStandards(requestParameters, options) {
|
|
912
|
+
return localVarFp.deleteInspectionStandards(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
913
|
+
},
|
|
694
914
|
/**
|
|
695
915
|
*
|
|
696
916
|
* @summary 删除维保标准
|
|
697
|
-
* @param {
|
|
917
|
+
* @param {InspectionApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
698
918
|
* @param {*} [options] Override http request option.
|
|
699
919
|
* @throws {RequiredError}
|
|
700
920
|
*/
|
|
@@ -703,85 +923,88 @@ export const MaintenanceStandardApiFactory = function (configuration, basePath,
|
|
|
703
923
|
},
|
|
704
924
|
/**
|
|
705
925
|
*
|
|
706
|
-
* @summary
|
|
707
|
-
* @param {
|
|
926
|
+
* @summary 巡检标准详情
|
|
927
|
+
* @param {InspectionApiGetInspectionStandardRequest} requestParameters Request parameters.
|
|
708
928
|
* @param {*} [options] Override http request option.
|
|
709
929
|
* @throws {RequiredError}
|
|
710
930
|
*/
|
|
711
|
-
|
|
712
|
-
return localVarFp.
|
|
931
|
+
getInspectionStandard(requestParameters, options) {
|
|
932
|
+
return localVarFp.getInspectionStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
713
933
|
},
|
|
714
934
|
/**
|
|
715
935
|
*
|
|
716
|
-
* @summary
|
|
717
|
-
* @param {
|
|
936
|
+
* @summary 维保标准详情
|
|
937
|
+
* @param {InspectionApiGetMaintenanceStandardRequest} requestParameters Request parameters.
|
|
718
938
|
* @param {*} [options] Override http request option.
|
|
719
939
|
* @throws {RequiredError}
|
|
720
940
|
*/
|
|
721
|
-
|
|
722
|
-
return localVarFp.
|
|
941
|
+
getMaintenanceStandard(requestParameters, options) {
|
|
942
|
+
return localVarFp.getMaintenanceStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
723
943
|
},
|
|
724
944
|
/**
|
|
725
945
|
*
|
|
726
|
-
* @summary
|
|
727
|
-
* @param {
|
|
946
|
+
* @summary 巡检标准列表
|
|
947
|
+
* @param {InspectionApiListInspectionStandardRequest} requestParameters Request parameters.
|
|
728
948
|
* @param {*} [options] Override http request option.
|
|
729
949
|
* @throws {RequiredError}
|
|
730
950
|
*/
|
|
731
|
-
|
|
732
|
-
return localVarFp.
|
|
951
|
+
listInspectionStandard(requestParameters, options) {
|
|
952
|
+
return localVarFp.listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(axios, basePath));
|
|
733
953
|
},
|
|
734
954
|
/**
|
|
735
955
|
*
|
|
736
|
-
* @summary
|
|
737
|
-
* @param {
|
|
956
|
+
* @summary 维保标准列表
|
|
957
|
+
* @param {InspectionApiListMaintenanceStandardRequest} requestParameters Request parameters.
|
|
738
958
|
* @param {*} [options] Override http request option.
|
|
739
959
|
* @throws {RequiredError}
|
|
740
960
|
*/
|
|
741
|
-
|
|
742
|
-
return localVarFp.
|
|
961
|
+
listMaintenanceStandard(requestParameters, options) {
|
|
962
|
+
return localVarFp.listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(axios, basePath));
|
|
743
963
|
},
|
|
744
964
|
/**
|
|
745
965
|
*
|
|
746
|
-
* @summary
|
|
966
|
+
* @summary 根据设备id查询维保标准
|
|
967
|
+
* @param {InspectionApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
747
968
|
* @param {*} [options] Override http request option.
|
|
748
969
|
* @throws {RequiredError}
|
|
749
970
|
*/
|
|
750
|
-
|
|
751
|
-
return localVarFp.
|
|
971
|
+
listMaintenanceStandardByEquipmentId(requestParameters, options) {
|
|
972
|
+
return localVarFp.listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(axios, basePath));
|
|
752
973
|
},
|
|
753
974
|
/**
|
|
754
975
|
*
|
|
755
|
-
* @summary
|
|
976
|
+
* @summary 根据设备系统id查询维保标准
|
|
977
|
+
* @param {InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
756
978
|
* @param {*} [options] Override http request option.
|
|
757
979
|
* @throws {RequiredError}
|
|
758
980
|
*/
|
|
759
|
-
|
|
760
|
-
return localVarFp.
|
|
981
|
+
listMaintenanceStandardByEquipmentSystemId(requestParameters, options) {
|
|
982
|
+
return localVarFp.listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(axios, basePath));
|
|
761
983
|
},
|
|
762
984
|
/**
|
|
763
985
|
*
|
|
764
|
-
* @summary
|
|
986
|
+
* @summary 同步其他园区巡检标准
|
|
987
|
+
* @param {InspectionApiSyncInspectionStandardRequest} requestParameters Request parameters.
|
|
765
988
|
* @param {*} [options] Override http request option.
|
|
766
989
|
* @throws {RequiredError}
|
|
767
990
|
*/
|
|
768
|
-
|
|
769
|
-
return localVarFp.
|
|
991
|
+
syncInspectionStandard(requestParameters, options) {
|
|
992
|
+
return localVarFp.syncInspectionStandard(requestParameters.parkIdOne, requestParameters.parkIdTwo, options).then((request) => request(axios, basePath));
|
|
770
993
|
},
|
|
771
994
|
/**
|
|
772
995
|
*
|
|
773
|
-
* @summary
|
|
774
|
-
* @param {
|
|
996
|
+
* @summary 修改巡检标准
|
|
997
|
+
* @param {InspectionApiUpdateInspectionStandardRequest} requestParameters Request parameters.
|
|
775
998
|
* @param {*} [options] Override http request option.
|
|
776
999
|
* @throws {RequiredError}
|
|
777
1000
|
*/
|
|
778
|
-
|
|
779
|
-
return localVarFp.
|
|
1001
|
+
updateInspectionStandard(requestParameters, options) {
|
|
1002
|
+
return localVarFp.updateInspectionStandard(requestParameters.id, requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(axios, basePath));
|
|
780
1003
|
},
|
|
781
1004
|
/**
|
|
782
1005
|
*
|
|
783
1006
|
* @summary 编辑维保标准
|
|
784
|
-
* @param {
|
|
1007
|
+
* @param {InspectionApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
|
|
785
1008
|
* @param {*} [options] Override http request option.
|
|
786
1009
|
* @throws {RequiredError}
|
|
787
1010
|
*/
|
|
@@ -791,139 +1014,175 @@ export const MaintenanceStandardApiFactory = function (configuration, basePath,
|
|
|
791
1014
|
};
|
|
792
1015
|
};
|
|
793
1016
|
/**
|
|
794
|
-
*
|
|
1017
|
+
* InspectionApi - object-oriented interface
|
|
795
1018
|
* @export
|
|
796
|
-
* @class
|
|
1019
|
+
* @class InspectionApi
|
|
797
1020
|
* @extends {BaseAPI}
|
|
798
1021
|
*/
|
|
799
|
-
export class
|
|
1022
|
+
export class InspectionApi extends BaseAPI {
|
|
800
1023
|
/**
|
|
801
1024
|
*
|
|
802
1025
|
* @summary 新增维保标准
|
|
803
|
-
* @param {
|
|
1026
|
+
* @param {InspectionApiAddMaintenanceStandardRequest} requestParameters Request parameters.
|
|
804
1027
|
* @param {*} [options] Override http request option.
|
|
805
1028
|
* @throws {RequiredError}
|
|
806
|
-
* @memberof
|
|
1029
|
+
* @memberof InspectionApi
|
|
807
1030
|
*/
|
|
808
1031
|
addMaintenanceStandard(requestParameters, options) {
|
|
809
|
-
return
|
|
1032
|
+
return InspectionApiFp(this.configuration).addMaintenanceStandard(requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
810
1033
|
}
|
|
811
1034
|
/**
|
|
812
1035
|
*
|
|
813
1036
|
* @summary 批量删除维保标准
|
|
814
|
-
* @param {
|
|
1037
|
+
* @param {InspectionApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
815
1038
|
* @param {*} [options] Override http request option.
|
|
816
1039
|
* @throws {RequiredError}
|
|
817
|
-
* @memberof
|
|
1040
|
+
* @memberof InspectionApi
|
|
818
1041
|
*/
|
|
819
1042
|
batchDeleteMaintenanceStandard(requestParameters, options) {
|
|
820
|
-
return
|
|
1043
|
+
return InspectionApiFp(this.configuration).batchDeleteMaintenanceStandard(requestParameters.standardDeleteVo, options).then((request) => request(this.axios, this.basePath));
|
|
1044
|
+
}
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @summary 添加巡检标准
|
|
1048
|
+
* @param {InspectionApiCreateInspectionStandardRequest} requestParameters Request parameters.
|
|
1049
|
+
* @param {*} [options] Override http request option.
|
|
1050
|
+
* @throws {RequiredError}
|
|
1051
|
+
* @memberof InspectionApi
|
|
1052
|
+
*/
|
|
1053
|
+
createInspectionStandard(requestParameters, options) {
|
|
1054
|
+
return InspectionApiFp(this.configuration).createInspectionStandard(requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(this.axios, this.basePath));
|
|
1055
|
+
}
|
|
1056
|
+
/**
|
|
1057
|
+
*
|
|
1058
|
+
* @summary 删除巡检标准
|
|
1059
|
+
* @param {InspectionApiDeleteInspectionStandardRequest} requestParameters Request parameters.
|
|
1060
|
+
* @param {*} [options] Override http request option.
|
|
1061
|
+
* @throws {RequiredError}
|
|
1062
|
+
* @memberof InspectionApi
|
|
1063
|
+
*/
|
|
1064
|
+
deleteInspectionStandard(requestParameters, options) {
|
|
1065
|
+
return InspectionApiFp(this.configuration).deleteInspectionStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1066
|
+
}
|
|
1067
|
+
/**
|
|
1068
|
+
*
|
|
1069
|
+
* @summary 批量删除巡检标准
|
|
1070
|
+
* @param {InspectionApiDeleteInspectionStandardsRequest} requestParameters Request parameters.
|
|
1071
|
+
* @param {*} [options] Override http request option.
|
|
1072
|
+
* @throws {RequiredError}
|
|
1073
|
+
* @memberof InspectionApi
|
|
1074
|
+
*/
|
|
1075
|
+
deleteInspectionStandards(requestParameters, options) {
|
|
1076
|
+
return InspectionApiFp(this.configuration).deleteInspectionStandards(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
821
1077
|
}
|
|
822
1078
|
/**
|
|
823
1079
|
*
|
|
824
1080
|
* @summary 删除维保标准
|
|
825
|
-
* @param {
|
|
1081
|
+
* @param {InspectionApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
826
1082
|
* @param {*} [options] Override http request option.
|
|
827
1083
|
* @throws {RequiredError}
|
|
828
|
-
* @memberof
|
|
1084
|
+
* @memberof InspectionApi
|
|
829
1085
|
*/
|
|
830
1086
|
deleteMaintenanceStandard(requestParameters, options) {
|
|
831
|
-
return
|
|
1087
|
+
return InspectionApiFp(this.configuration).deleteMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
832
1088
|
}
|
|
833
1089
|
/**
|
|
834
1090
|
*
|
|
835
|
-
* @summary
|
|
836
|
-
* @param {
|
|
1091
|
+
* @summary 巡检标准详情
|
|
1092
|
+
* @param {InspectionApiGetInspectionStandardRequest} requestParameters Request parameters.
|
|
837
1093
|
* @param {*} [options] Override http request option.
|
|
838
1094
|
* @throws {RequiredError}
|
|
839
|
-
* @memberof
|
|
1095
|
+
* @memberof InspectionApi
|
|
840
1096
|
*/
|
|
841
|
-
|
|
842
|
-
return
|
|
1097
|
+
getInspectionStandard(requestParameters, options) {
|
|
1098
|
+
return InspectionApiFp(this.configuration).getInspectionStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
843
1099
|
}
|
|
844
1100
|
/**
|
|
845
1101
|
*
|
|
846
|
-
* @summary
|
|
847
|
-
* @param {
|
|
1102
|
+
* @summary 维保标准详情
|
|
1103
|
+
* @param {InspectionApiGetMaintenanceStandardRequest} requestParameters Request parameters.
|
|
848
1104
|
* @param {*} [options] Override http request option.
|
|
849
1105
|
* @throws {RequiredError}
|
|
850
|
-
* @memberof
|
|
1106
|
+
* @memberof InspectionApi
|
|
851
1107
|
*/
|
|
852
|
-
|
|
853
|
-
return
|
|
1108
|
+
getMaintenanceStandard(requestParameters, options) {
|
|
1109
|
+
return InspectionApiFp(this.configuration).getMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
854
1110
|
}
|
|
855
1111
|
/**
|
|
856
1112
|
*
|
|
857
|
-
* @summary
|
|
858
|
-
* @param {
|
|
1113
|
+
* @summary 巡检标准列表
|
|
1114
|
+
* @param {InspectionApiListInspectionStandardRequest} requestParameters Request parameters.
|
|
859
1115
|
* @param {*} [options] Override http request option.
|
|
860
1116
|
* @throws {RequiredError}
|
|
861
|
-
* @memberof
|
|
1117
|
+
* @memberof InspectionApi
|
|
862
1118
|
*/
|
|
863
|
-
|
|
864
|
-
return
|
|
1119
|
+
listInspectionStandard(requestParameters, options) {
|
|
1120
|
+
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));
|
|
865
1121
|
}
|
|
866
1122
|
/**
|
|
867
1123
|
*
|
|
868
|
-
* @summary
|
|
869
|
-
* @param {
|
|
1124
|
+
* @summary 维保标准列表
|
|
1125
|
+
* @param {InspectionApiListMaintenanceStandardRequest} requestParameters Request parameters.
|
|
870
1126
|
* @param {*} [options] Override http request option.
|
|
871
1127
|
* @throws {RequiredError}
|
|
872
|
-
* @memberof
|
|
1128
|
+
* @memberof InspectionApi
|
|
873
1129
|
*/
|
|
874
|
-
|
|
875
|
-
return
|
|
1130
|
+
listMaintenanceStandard(requestParameters, options) {
|
|
1131
|
+
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));
|
|
876
1132
|
}
|
|
877
1133
|
/**
|
|
878
1134
|
*
|
|
879
|
-
* @summary
|
|
1135
|
+
* @summary 根据设备id查询维保标准
|
|
1136
|
+
* @param {InspectionApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
880
1137
|
* @param {*} [options] Override http request option.
|
|
881
1138
|
* @throws {RequiredError}
|
|
882
|
-
* @memberof
|
|
1139
|
+
* @memberof InspectionApi
|
|
883
1140
|
*/
|
|
884
|
-
|
|
885
|
-
return
|
|
1141
|
+
listMaintenanceStandardByEquipmentId(requestParameters, options) {
|
|
1142
|
+
return InspectionApiFp(this.configuration).listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
886
1143
|
}
|
|
887
1144
|
/**
|
|
888
1145
|
*
|
|
889
|
-
* @summary
|
|
1146
|
+
* @summary 根据设备系统id查询维保标准
|
|
1147
|
+
* @param {InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
890
1148
|
* @param {*} [options] Override http request option.
|
|
891
1149
|
* @throws {RequiredError}
|
|
892
|
-
* @memberof
|
|
1150
|
+
* @memberof InspectionApi
|
|
893
1151
|
*/
|
|
894
|
-
|
|
895
|
-
return
|
|
1152
|
+
listMaintenanceStandardByEquipmentSystemId(requestParameters, options) {
|
|
1153
|
+
return InspectionApiFp(this.configuration).listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(this.axios, this.basePath));
|
|
896
1154
|
}
|
|
897
1155
|
/**
|
|
898
1156
|
*
|
|
899
|
-
* @summary
|
|
1157
|
+
* @summary 同步其他园区巡检标准
|
|
1158
|
+
* @param {InspectionApiSyncInspectionStandardRequest} requestParameters Request parameters.
|
|
900
1159
|
* @param {*} [options] Override http request option.
|
|
901
1160
|
* @throws {RequiredError}
|
|
902
|
-
* @memberof
|
|
1161
|
+
* @memberof InspectionApi
|
|
903
1162
|
*/
|
|
904
|
-
|
|
905
|
-
return
|
|
1163
|
+
syncInspectionStandard(requestParameters, options) {
|
|
1164
|
+
return InspectionApiFp(this.configuration).syncInspectionStandard(requestParameters.parkIdOne, requestParameters.parkIdTwo, options).then((request) => request(this.axios, this.basePath));
|
|
906
1165
|
}
|
|
907
1166
|
/**
|
|
908
1167
|
*
|
|
909
|
-
* @summary
|
|
910
|
-
* @param {
|
|
1168
|
+
* @summary 修改巡检标准
|
|
1169
|
+
* @param {InspectionApiUpdateInspectionStandardRequest} requestParameters Request parameters.
|
|
911
1170
|
* @param {*} [options] Override http request option.
|
|
912
1171
|
* @throws {RequiredError}
|
|
913
|
-
* @memberof
|
|
1172
|
+
* @memberof InspectionApi
|
|
914
1173
|
*/
|
|
915
|
-
|
|
916
|
-
return
|
|
1174
|
+
updateInspectionStandard(requestParameters, options) {
|
|
1175
|
+
return InspectionApiFp(this.configuration).updateInspectionStandard(requestParameters.id, requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(this.axios, this.basePath));
|
|
917
1176
|
}
|
|
918
1177
|
/**
|
|
919
1178
|
*
|
|
920
1179
|
* @summary 编辑维保标准
|
|
921
|
-
* @param {
|
|
1180
|
+
* @param {InspectionApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
|
|
922
1181
|
* @param {*} [options] Override http request option.
|
|
923
1182
|
* @throws {RequiredError}
|
|
924
|
-
* @memberof
|
|
1183
|
+
* @memberof InspectionApi
|
|
925
1184
|
*/
|
|
926
1185
|
updateMaintenanceStandard(requestParameters, options) {
|
|
927
|
-
return
|
|
1186
|
+
return InspectionApiFp(this.configuration).updateMaintenanceStandard(requestParameters.id, requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
928
1187
|
}
|
|
929
1188
|
}
|