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