@gizone/rrs-client 3.11.12-alpha.5 → 3.11.12-alpha.50
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 +33 -14
- package/api.ts +2 -1
- package/apis/access-api.ts +61 -61
- package/apis/app-auth-api.ts +13 -13
- package/apis/auth-api.ts +13 -13
- 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-standard-api.ts +1240 -0
- package/apis/{inspection-api.ts → maintenance-standard-api.ts} +350 -624
- 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 +739 -226
- 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/app-auth-api.d.ts +6 -6
- package/dist/apis/app-auth-api.js +11 -11
- package/dist/apis/auth-api.d.ts +6 -6
- package/dist/apis/auth-api.js +11 -11
- package/dist/apis/calendar-api.d.ts +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 +644 -0
- package/dist/apis/inspection-standard-api.js +958 -0
- package/dist/apis/maintenance-standard-api.d.ts +684 -0
- package/dist/apis/{inspection-api.js → maintenance-standard-api.js} +263 -436
- 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 +399 -123
- package/dist/apis/work-order-api.js +533 -164
- 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/app-auth-api.d.ts +6 -6
- package/dist/esm/apis/app-auth-api.js +11 -11
- package/dist/esm/apis/auth-api.d.ts +6 -6
- package/dist/esm/apis/auth-api.js +11 -11
- package/dist/esm/apis/calendar-api.d.ts +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 +644 -0
- package/dist/esm/apis/inspection-standard-api.js +951 -0
- package/dist/esm/apis/maintenance-standard-api.d.ts +684 -0
- package/dist/esm/apis/{inspection-api.js → maintenance-standard-api.js} +258 -431
- 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 +399 -123
- package/dist/esm/apis/work-order-api.js +533 -164
- 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/{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 +14 -14
- package/dist/esm/models/index.d.ts +31 -13
- package/dist/esm/models/index.js +31 -13
- package/dist/esm/models/inspection-item-bo.d.ts +4 -10
- package/dist/esm/models/inspection-point-item.d.ts +18 -6
- package/dist/esm/models/inspection-standard-import-dto.d.ts +108 -0
- 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-list-work-order-dept-settings-entity.d.ts +56 -0
- package/dist/esm/models/{json-result-calendar-add-redis-list-vo.d.ts → json-result-page-dto-sys-user-msg-dto.d.ts} +11 -11
- package/dist/esm/models/{json-result-sys-user-msg-do.d.ts → json-result-park-info-dto.d.ts} +11 -11
- package/dist/{models/json-result-calendar-add-redis-list-vo.d.ts → esm/models/json-result-sys-user-msg-dto.d.ts} +11 -11
- package/dist/esm/models/{json-result-page-dto-sys-user-msg-list-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-history-dto.d.ts +0 -6
- package/dist/esm/models/maintenance-history-dto.js +0 -6
- 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-sys-user-msg-list-dto.d.ts → esm/models/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/{work-order-check-before-acceptance-no-vo.d.ts → park-info-edit-vo.d.ts} +15 -14
- 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 -6
- package/dist/esm/models/period-detail-resp.js +0 -6
- 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/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/sys-user.d.ts +4 -4
- 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 +52 -6
- package/dist/esm/models/work-order-detail-dto.js +0 -6
- package/dist/esm/models/work-order-inspection-detail-dto.d.ts +1 -13
- package/dist/esm/models/work-order-inspection-item-req.d.ts +3 -3
- package/dist/esm/models/work-order-internal-status-enum.d.ts +23 -0
- package/{models/work-order-check-before-acceptance-adopt-vo.ts → dist/esm/models/work-order-internal-status-enum.js} +9 -21
- 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/{models/work-order-check-before-acceptance-adopt-vo.d.ts → esm/models/work-order-report-vo.d.ts} +11 -10
- package/dist/esm/models/work-order-report-vo.js +14 -0
- package/dist/esm/models/work-order-search-dto.d.ts +0 -6
- package/dist/esm/models/work-order-search-dto.js +0 -6
- 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/{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 +14 -14
- package/dist/models/index.d.ts +31 -13
- package/dist/models/index.js +31 -13
- package/dist/models/inspection-item-bo.d.ts +4 -10
- package/dist/models/inspection-point-item.d.ts +18 -6
- package/dist/models/inspection-standard-import-dto.d.ts +108 -0
- 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-work-order-dept-settings-entity.d.ts +56 -0
- package/dist/models/json-result-page-dto-sys-user-msg-dto.d.ts +56 -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-sys-user-msg-dto.d.ts +56 -0
- package/dist/{esm/models/json-result-space-edit-before-and-after-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-history-dto.d.ts +0 -6
- package/dist/models/maintenance-history-dto.js +0 -6
- 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-sys-user-msg-list-dto.d.ts → models/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/{work-order-check-before-acceptance-no-vo.d.ts → park-info-edit-vo.d.ts} +15 -14
- 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 -6
- package/dist/models/period-detail-resp.js +0 -6
- 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/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/sys-user.d.ts +4 -4
- 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 +52 -6
- package/dist/models/work-order-detail-dto.js +0 -6
- package/dist/models/work-order-inspection-detail-dto.d.ts +1 -13
- package/dist/models/work-order-inspection-item-req.d.ts +3 -3
- 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/{esm/models/work-order-check-before-acceptance-adopt-vo.d.ts → models/work-order-report-vo.d.ts} +11 -10
- package/dist/models/work-order-report-vo.js +15 -0
- package/dist/models/work-order-search-dto.d.ts +0 -6
- package/dist/models/work-order-search-dto.js +0 -6
- 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/{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 +14 -14
- package/models/index.ts +31 -13
- package/models/inspection-item-bo.ts +4 -10
- package/models/inspection-point-item.ts +18 -6
- package/models/inspection-standard-import-dto.ts +114 -0
- 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-list-work-order-dept-settings-entity.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-history-dto.ts +0 -6
- package/models/maintenance-standard-import-dto.ts +120 -0
- 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 -6
- 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/sys-dept.ts +7 -1
- package/models/{sys-user-msg-list-dto.ts → sys-user-msg-dto.ts} +36 -28
- package/models/sys-user.ts +4 -4
- 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-check-before-acceptance-no-vo.ts → work-order-dept-settings-add-or-update-vo.ts} +12 -12
- package/models/work-order-dept-settings-entity.ts +77 -0
- package/models/work-order-detail-dto.ts +60 -6
- package/models/work-order-inspection-detail-dto.ts +1 -13
- package/models/work-order-inspection-item-req.ts +3 -3
- 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-search-dto.ts +0 -6
- 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-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-sys-user-msg-list-dto.js → excel-import-result-dtocalendar-export-dto.js} +0 -0
- /package/dist/esm/models/{json-result-space-edit-before-and-after-dto.js → excel-import-result-dtoinspection-standard-import-dto.js} +0 -0
- /package/dist/esm/models/{json-result-sys-user-msg-do.js → excel-import-result-dtomaintenance-standard-import-dto.js} +0 -0
- /package/dist/esm/models/{page-dto-sys-user-msg-list-dto.js → inspection-standard-import-dto.js} +0 -0
- /package/dist/esm/models/{space-edit-before-and-after-dto.js → json-result-excel-import-result-dtocalendar-export-dto.js} +0 -0
- /package/dist/esm/models/{space-edit-excel-dto.js → json-result-excel-import-result-dtoinspection-standard-import-dto.js} +0 -0
- /package/dist/esm/models/{sys-user-msg-do.js → json-result-excel-import-result-dtomaintenance-standard-import-dto.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-sys-user-msg-dto.js} +0 -0
- /package/dist/esm/models/{work-order-check-before-acceptance-adopt-vo.js → json-result-park-info-dto.js} +0 -0
- /package/dist/esm/models/{work-order-check-before-acceptance-no-vo.js → json-result-sys-user-msg-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-sys-user-msg-list-dto.js → excel-import-result-dtocalendar-export-dto.js} +0 -0
- /package/dist/models/{json-result-space-edit-before-and-after-dto.js → excel-import-result-dtoinspection-standard-import-dto.js} +0 -0
- /package/dist/models/{json-result-sys-user-msg-do.js → excel-import-result-dtomaintenance-standard-import-dto.js} +0 -0
- /package/dist/models/{page-dto-sys-user-msg-list-dto.js → inspection-standard-import-dto.js} +0 -0
- /package/dist/models/{space-edit-before-and-after-dto.js → json-result-excel-import-result-dtocalendar-export-dto.js} +0 -0
- /package/dist/models/{space-edit-excel-dto.js → json-result-excel-import-result-dtoinspection-standard-import-dto.js} +0 -0
- /package/dist/models/{sys-user-msg-do.js → json-result-excel-import-result-dtomaintenance-standard-import-dto.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-sys-user-msg-dto.js} +0 -0
- /package/dist/models/{work-order-check-before-acceptance-adopt-vo.js → json-result-park-info-dto.js} +0 -0
- /package/dist/models/{work-order-check-before-acceptance-no-vo.js → json-result-sys-user-msg-dto.js} +0 -0
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.MaintenanceStandardApi = exports.MaintenanceStandardApiFactory = exports.MaintenanceStandardApiFp = exports.MaintenanceStandardApiAxiosParamCreator = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -30,10 +30,10 @@ const common_1 = require("../common");
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
const base_1 = require("../base");
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* MaintenanceStandardApi - axios parameter creator
|
|
34
34
|
* @export
|
|
35
35
|
*/
|
|
36
|
-
const
|
|
36
|
+
const MaintenanceStandardApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
@@ -103,48 +103,15 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
}),
|
|
104
104
|
/**
|
|
105
105
|
*
|
|
106
|
-
* @summary
|
|
107
|
-
* @param {
|
|
108
|
-
* @param {*} [options] Override http request option.
|
|
109
|
-
* @throws {RequiredError}
|
|
110
|
-
*/
|
|
111
|
-
createInspectionStandard: (inspectionStandardAddOrUpdateVO_1, ...args_1) => __awaiter(this, [inspectionStandardAddOrUpdateVO_1, ...args_1], void 0, function* (inspectionStandardAddOrUpdateVO, options = {}) {
|
|
112
|
-
// verify required parameter 'inspectionStandardAddOrUpdateVO' is not null or undefined
|
|
113
|
-
(0, common_1.assertParamExists)('createInspectionStandard', 'inspectionStandardAddOrUpdateVO', inspectionStandardAddOrUpdateVO);
|
|
114
|
-
const localVarPath = `/gizone/inspectionStandard`;
|
|
115
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
|
-
let baseOptions;
|
|
118
|
-
if (configuration) {
|
|
119
|
-
baseOptions = configuration.baseOptions;
|
|
120
|
-
}
|
|
121
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
122
|
-
const localVarHeaderParameter = {};
|
|
123
|
-
const localVarQueryParameter = {};
|
|
124
|
-
// authentication tokenScheme required
|
|
125
|
-
// http bearer authentication required
|
|
126
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
127
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
128
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
129
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
130
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
131
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inspectionStandardAddOrUpdateVO, localVarRequestOptions, configuration);
|
|
132
|
-
return {
|
|
133
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
134
|
-
options: localVarRequestOptions,
|
|
135
|
-
};
|
|
136
|
-
}),
|
|
137
|
-
/**
|
|
138
|
-
*
|
|
139
|
-
* @summary 删除巡检标准
|
|
140
|
-
* @param {number} id 巡检标准id
|
|
106
|
+
* @summary 删除维保标准
|
|
107
|
+
* @param {number} id
|
|
141
108
|
* @param {*} [options] Override http request option.
|
|
142
109
|
* @throws {RequiredError}
|
|
143
110
|
*/
|
|
144
|
-
|
|
111
|
+
deleteMaintenanceStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
145
112
|
// verify required parameter 'id' is not null or undefined
|
|
146
|
-
(0, common_1.assertParamExists)('
|
|
147
|
-
const localVarPath = `/gizone/
|
|
113
|
+
(0, common_1.assertParamExists)('deleteMaintenanceStandard', 'id', id);
|
|
114
|
+
const localVarPath = `/gizone/maintenanceStandard/{id}`
|
|
148
115
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
149
116
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
150
117
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -168,47 +135,14 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
168
135
|
}),
|
|
169
136
|
/**
|
|
170
137
|
*
|
|
171
|
-
* @summary
|
|
172
|
-
* @param {Array<number>} requestBody
|
|
173
|
-
* @param {*} [options] Override http request option.
|
|
174
|
-
* @throws {RequiredError}
|
|
175
|
-
*/
|
|
176
|
-
deleteInspectionStandards: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
177
|
-
// verify required parameter 'requestBody' is not null or undefined
|
|
178
|
-
(0, common_1.assertParamExists)('deleteInspectionStandards', 'requestBody', requestBody);
|
|
179
|
-
const localVarPath = `/gizone/inspectionStandard/delBatch`;
|
|
180
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
181
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
182
|
-
let baseOptions;
|
|
183
|
-
if (configuration) {
|
|
184
|
-
baseOptions = configuration.baseOptions;
|
|
185
|
-
}
|
|
186
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
187
|
-
const localVarHeaderParameter = {};
|
|
188
|
-
const localVarQueryParameter = {};
|
|
189
|
-
// authentication tokenScheme required
|
|
190
|
-
// http bearer authentication required
|
|
191
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
192
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
193
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
194
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
195
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
196
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
197
|
-
return {
|
|
198
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
199
|
-
options: localVarRequestOptions,
|
|
200
|
-
};
|
|
201
|
-
}),
|
|
202
|
-
/**
|
|
203
|
-
*
|
|
204
|
-
* @summary 删除维保标准
|
|
138
|
+
* @summary 维保标准详情
|
|
205
139
|
* @param {number} id
|
|
206
140
|
* @param {*} [options] Override http request option.
|
|
207
141
|
* @throws {RequiredError}
|
|
208
142
|
*/
|
|
209
|
-
|
|
143
|
+
getMaintenanceStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
210
144
|
// verify required parameter 'id' is not null or undefined
|
|
211
|
-
(0, common_1.assertParamExists)('
|
|
145
|
+
(0, common_1.assertParamExists)('getMaintenanceStandard', 'id', id);
|
|
212
146
|
const localVarPath = `/gizone/maintenanceStandard/{id}`
|
|
213
147
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
214
148
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -217,7 +151,7 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
217
151
|
if (configuration) {
|
|
218
152
|
baseOptions = configuration.baseOptions;
|
|
219
153
|
}
|
|
220
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
154
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
221
155
|
const localVarHeaderParameter = {};
|
|
222
156
|
const localVarQueryParameter = {};
|
|
223
157
|
// authentication tokenScheme required
|
|
@@ -233,16 +167,24 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
233
167
|
}),
|
|
234
168
|
/**
|
|
235
169
|
*
|
|
236
|
-
* @summary
|
|
237
|
-
* @param {number}
|
|
170
|
+
* @summary 维保标准列表
|
|
171
|
+
* @param {number} parkId 园区ID
|
|
172
|
+
* @param {number} pageSize 每页数量
|
|
173
|
+
* @param {number} page 页码
|
|
174
|
+
* @param {string} [searchValue] 关键搜索值
|
|
175
|
+
* @param {number} [equipmentSystemId] 维保分类
|
|
176
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
238
177
|
* @param {*} [options] Override http request option.
|
|
239
178
|
* @throws {RequiredError}
|
|
240
179
|
*/
|
|
241
|
-
|
|
242
|
-
// verify required parameter '
|
|
243
|
-
(0, common_1.assertParamExists)('
|
|
244
|
-
|
|
245
|
-
|
|
180
|
+
listMaintenanceStandard: (parkId_1, pageSize_1, page_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, pageSize_1, page_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1], void 0, function* (parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options = {}) {
|
|
181
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
182
|
+
(0, common_1.assertParamExists)('listMaintenanceStandard', 'parkId', parkId);
|
|
183
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
184
|
+
(0, common_1.assertParamExists)('listMaintenanceStandard', 'pageSize', pageSize);
|
|
185
|
+
// verify required parameter 'page' is not null or undefined
|
|
186
|
+
(0, common_1.assertParamExists)('listMaintenanceStandard', 'page', page);
|
|
187
|
+
const localVarPath = `/gizone/maintenanceStandard`;
|
|
246
188
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
247
189
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
248
190
|
let baseOptions;
|
|
@@ -255,6 +197,24 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
255
197
|
// authentication tokenScheme required
|
|
256
198
|
// http bearer authentication required
|
|
257
199
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
200
|
+
if (searchValue !== undefined) {
|
|
201
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
202
|
+
}
|
|
203
|
+
if (equipmentSystemId !== undefined) {
|
|
204
|
+
localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
|
|
205
|
+
}
|
|
206
|
+
if (repeats !== undefined) {
|
|
207
|
+
localVarQueryParameter['repeats'] = repeats;
|
|
208
|
+
}
|
|
209
|
+
if (parkId !== undefined) {
|
|
210
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
211
|
+
}
|
|
212
|
+
if (pageSize !== undefined) {
|
|
213
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
214
|
+
}
|
|
215
|
+
if (page !== undefined) {
|
|
216
|
+
localVarQueryParameter['page'] = page;
|
|
217
|
+
}
|
|
258
218
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
259
219
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
260
220
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -265,16 +225,15 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
265
225
|
}),
|
|
266
226
|
/**
|
|
267
227
|
*
|
|
268
|
-
* @summary
|
|
269
|
-
* @param {number}
|
|
228
|
+
* @summary 根据设备id查询维保标准
|
|
229
|
+
* @param {number} equipmentId
|
|
270
230
|
* @param {*} [options] Override http request option.
|
|
271
231
|
* @throws {RequiredError}
|
|
272
232
|
*/
|
|
273
|
-
|
|
274
|
-
// verify required parameter '
|
|
275
|
-
(0, common_1.assertParamExists)('
|
|
276
|
-
const localVarPath = `/gizone/maintenanceStandard/
|
|
277
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
233
|
+
listMaintenanceStandardByEquipmentId: (equipmentId_1, ...args_1) => __awaiter(this, [equipmentId_1, ...args_1], void 0, function* (equipmentId, options = {}) {
|
|
234
|
+
// verify required parameter 'equipmentId' is not null or undefined
|
|
235
|
+
(0, common_1.assertParamExists)('listMaintenanceStandardByEquipmentId', 'equipmentId', equipmentId);
|
|
236
|
+
const localVarPath = `/gizone/maintenanceStandard/selectByEquipmentId`;
|
|
278
237
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
279
238
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
280
239
|
let baseOptions;
|
|
@@ -287,6 +246,9 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
287
246
|
// authentication tokenScheme required
|
|
288
247
|
// http bearer authentication required
|
|
289
248
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
249
|
+
if (equipmentId !== undefined) {
|
|
250
|
+
localVarQueryParameter['equipmentId'] = equipmentId;
|
|
251
|
+
}
|
|
290
252
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
291
253
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
292
254
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -297,24 +259,15 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
297
259
|
}),
|
|
298
260
|
/**
|
|
299
261
|
*
|
|
300
|
-
* @summary
|
|
301
|
-
* @param {number}
|
|
302
|
-
* @param {number} pageSize 每页数量
|
|
303
|
-
* @param {number} page 页码
|
|
304
|
-
* @param {string} [searchValue] 内容
|
|
305
|
-
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
306
|
-
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
262
|
+
* @summary 根据设备系统id查询维保标准
|
|
263
|
+
* @param {number} equipmentSystemId
|
|
307
264
|
* @param {*} [options] Override http request option.
|
|
308
265
|
* @throws {RequiredError}
|
|
309
266
|
*/
|
|
310
|
-
|
|
311
|
-
// verify required parameter '
|
|
312
|
-
(0, common_1.assertParamExists)('
|
|
313
|
-
|
|
314
|
-
(0, common_1.assertParamExists)('listInspectionStandard', 'pageSize', pageSize);
|
|
315
|
-
// verify required parameter 'page' is not null or undefined
|
|
316
|
-
(0, common_1.assertParamExists)('listInspectionStandard', 'page', page);
|
|
317
|
-
const localVarPath = `/gizone/inspectionStandard`;
|
|
267
|
+
listMaintenanceStandardByEquipmentSystemId: (equipmentSystemId_1, ...args_1) => __awaiter(this, [equipmentSystemId_1, ...args_1], void 0, function* (equipmentSystemId, options = {}) {
|
|
268
|
+
// verify required parameter 'equipmentSystemId' is not null or undefined
|
|
269
|
+
(0, common_1.assertParamExists)('listMaintenanceStandardByEquipmentSystemId', 'equipmentSystemId', equipmentSystemId);
|
|
270
|
+
const localVarPath = `/gizone/maintenanceStandard/selectByEquipmentSystemId`;
|
|
318
271
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
319
272
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
320
273
|
let baseOptions;
|
|
@@ -327,23 +280,8 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
327
280
|
// authentication tokenScheme required
|
|
328
281
|
// http bearer authentication required
|
|
329
282
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
330
|
-
if (
|
|
331
|
-
localVarQueryParameter['
|
|
332
|
-
}
|
|
333
|
-
if (category !== undefined) {
|
|
334
|
-
localVarQueryParameter['category'] = category;
|
|
335
|
-
}
|
|
336
|
-
if (parkId !== undefined) {
|
|
337
|
-
localVarQueryParameter['parkId'] = parkId;
|
|
338
|
-
}
|
|
339
|
-
if (pageSize !== undefined) {
|
|
340
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
341
|
-
}
|
|
342
|
-
if (page !== undefined) {
|
|
343
|
-
localVarQueryParameter['page'] = page;
|
|
344
|
-
}
|
|
345
|
-
if (repeats !== undefined) {
|
|
346
|
-
localVarQueryParameter['repeats'] = repeats;
|
|
283
|
+
if (equipmentSystemId !== undefined) {
|
|
284
|
+
localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
|
|
347
285
|
}
|
|
348
286
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
349
287
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -355,24 +293,18 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
355
293
|
}),
|
|
356
294
|
/**
|
|
357
295
|
*
|
|
358
|
-
* @summary
|
|
296
|
+
* @summary 维保标准导出-数据
|
|
359
297
|
* @param {number} parkId 园区ID
|
|
360
|
-
* @param {number} pageSize 每页数量
|
|
361
|
-
* @param {number} page 页码
|
|
362
298
|
* @param {string} [searchValue] 关键搜索值
|
|
363
299
|
* @param {number} [equipmentSystemId] 维保分类
|
|
364
300
|
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
365
301
|
* @param {*} [options] Override http request option.
|
|
366
302
|
* @throws {RequiredError}
|
|
367
303
|
*/
|
|
368
|
-
|
|
304
|
+
maintenanceStandardBatchExport: (parkId_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1], void 0, function* (parkId, searchValue, equipmentSystemId, repeats, options = {}) {
|
|
369
305
|
// verify required parameter 'parkId' is not null or undefined
|
|
370
|
-
(0, common_1.assertParamExists)('
|
|
371
|
-
|
|
372
|
-
(0, common_1.assertParamExists)('listMaintenanceStandard', 'pageSize', pageSize);
|
|
373
|
-
// verify required parameter 'page' is not null or undefined
|
|
374
|
-
(0, common_1.assertParamExists)('listMaintenanceStandard', 'page', page);
|
|
375
|
-
const localVarPath = `/gizone/maintenanceStandard`;
|
|
306
|
+
(0, common_1.assertParamExists)('maintenanceStandardBatchExport', 'parkId', parkId);
|
|
307
|
+
const localVarPath = `/gizone/maintenanceStandard/batchExport`;
|
|
376
308
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
377
309
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
378
310
|
let baseOptions;
|
|
@@ -397,12 +329,6 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
397
329
|
if (parkId !== undefined) {
|
|
398
330
|
localVarQueryParameter['parkId'] = parkId;
|
|
399
331
|
}
|
|
400
|
-
if (pageSize !== undefined) {
|
|
401
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
402
|
-
}
|
|
403
|
-
if (page !== undefined) {
|
|
404
|
-
localVarQueryParameter['page'] = page;
|
|
405
|
-
}
|
|
406
332
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
407
333
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
408
334
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -413,30 +339,24 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
413
339
|
}),
|
|
414
340
|
/**
|
|
415
341
|
*
|
|
416
|
-
* @summary
|
|
417
|
-
* @param {number} equipmentId
|
|
342
|
+
* @summary 维保标准导入-确认导入
|
|
418
343
|
* @param {*} [options] Override http request option.
|
|
419
344
|
* @throws {RequiredError}
|
|
420
345
|
*/
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
(0, common_1.assertParamExists)('listMaintenanceStandardByEquipmentId', 'equipmentId', equipmentId);
|
|
424
|
-
const localVarPath = `/gizone/maintenanceStandard/selectByEquipmentId`;
|
|
346
|
+
maintenanceStandardBatchImportConfirm: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
347
|
+
const localVarPath = `/gizone/maintenanceStandard/batchImport/confirm`;
|
|
425
348
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
426
349
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
427
350
|
let baseOptions;
|
|
428
351
|
if (configuration) {
|
|
429
352
|
baseOptions = configuration.baseOptions;
|
|
430
353
|
}
|
|
431
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
354
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
432
355
|
const localVarHeaderParameter = {};
|
|
433
356
|
const localVarQueryParameter = {};
|
|
434
357
|
// authentication tokenScheme required
|
|
435
358
|
// http bearer authentication required
|
|
436
359
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
437
|
-
if (equipmentId !== undefined) {
|
|
438
|
-
localVarQueryParameter['equipmentId'] = equipmentId;
|
|
439
|
-
}
|
|
440
360
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
441
361
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
442
362
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -447,15 +367,12 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
447
367
|
}),
|
|
448
368
|
/**
|
|
449
369
|
*
|
|
450
|
-
* @summary
|
|
451
|
-
* @param {number} equipmentSystemId
|
|
370
|
+
* @summary 维保标准导入-预览结果
|
|
452
371
|
* @param {*} [options] Override http request option.
|
|
453
372
|
* @throws {RequiredError}
|
|
454
373
|
*/
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
(0, common_1.assertParamExists)('listMaintenanceStandardByEquipmentSystemId', 'equipmentSystemId', equipmentSystemId);
|
|
458
|
-
const localVarPath = `/gizone/maintenanceStandard/selectByEquipmentSystemId`;
|
|
374
|
+
maintenanceStandardBatchImportPreview: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
375
|
+
const localVarPath = `/gizone/maintenanceStandard/batchImport/preview`;
|
|
459
376
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
460
377
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
461
378
|
let baseOptions;
|
|
@@ -468,9 +385,6 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
468
385
|
// authentication tokenScheme required
|
|
469
386
|
// http bearer authentication required
|
|
470
387
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
471
|
-
if (equipmentSystemId !== undefined) {
|
|
472
|
-
localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
|
|
473
|
-
}
|
|
474
388
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
475
389
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
476
390
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -481,18 +395,12 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
481
395
|
}),
|
|
482
396
|
/**
|
|
483
397
|
*
|
|
484
|
-
* @summary
|
|
485
|
-
* @param {number} parkIdOne
|
|
486
|
-
* @param {number} parkIdTwo
|
|
398
|
+
* @summary 维保标准导入-下载模板
|
|
487
399
|
* @param {*} [options] Override http request option.
|
|
488
400
|
* @throws {RequiredError}
|
|
489
401
|
*/
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
(0, common_1.assertParamExists)('syncInspectionStandard', 'parkIdOne', parkIdOne);
|
|
493
|
-
// verify required parameter 'parkIdTwo' is not null or undefined
|
|
494
|
-
(0, common_1.assertParamExists)('syncInspectionStandard', 'parkIdTwo', parkIdTwo);
|
|
495
|
-
const localVarPath = `/gizone/inspectionStandard/sync/park/inspectionStandard`;
|
|
402
|
+
maintenanceStandardBatchImportTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
403
|
+
const localVarPath = `/gizone/maintenanceStandard/batchImport/template`;
|
|
496
404
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
497
405
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
498
406
|
let baseOptions;
|
|
@@ -505,12 +413,6 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
505
413
|
// authentication tokenScheme required
|
|
506
414
|
// http bearer authentication required
|
|
507
415
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
508
|
-
if (parkIdOne !== undefined) {
|
|
509
|
-
localVarQueryParameter['parkIdOne'] = parkIdOne;
|
|
510
|
-
}
|
|
511
|
-
if (parkIdTwo !== undefined) {
|
|
512
|
-
localVarQueryParameter['parkIdTwo'] = parkIdTwo;
|
|
513
|
-
}
|
|
514
416
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
515
417
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
516
418
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -521,36 +423,46 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
521
423
|
}),
|
|
522
424
|
/**
|
|
523
425
|
*
|
|
524
|
-
* @summary
|
|
525
|
-
* @param {number} id
|
|
526
|
-
* @param {
|
|
426
|
+
* @summary 维保标准导入-上传文件
|
|
427
|
+
* @param {number} parkId 园区id
|
|
428
|
+
* @param {File} file
|
|
429
|
+
* @param {string} [language] 语言
|
|
527
430
|
* @param {*} [options] Override http request option.
|
|
528
431
|
* @throws {RequiredError}
|
|
529
432
|
*/
|
|
530
|
-
|
|
531
|
-
// verify required parameter '
|
|
532
|
-
(0, common_1.assertParamExists)('
|
|
533
|
-
// verify required parameter '
|
|
534
|
-
(0, common_1.assertParamExists)('
|
|
535
|
-
const localVarPath = `/gizone/
|
|
536
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
433
|
+
maintenanceStandardBatchImportUpload: (parkId_1, file_1, language_1, ...args_1) => __awaiter(this, [parkId_1, file_1, language_1, ...args_1], void 0, function* (parkId, file, language, options = {}) {
|
|
434
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
435
|
+
(0, common_1.assertParamExists)('maintenanceStandardBatchImportUpload', 'parkId', parkId);
|
|
436
|
+
// verify required parameter 'file' is not null or undefined
|
|
437
|
+
(0, common_1.assertParamExists)('maintenanceStandardBatchImportUpload', 'file', file);
|
|
438
|
+
const localVarPath = `/gizone/maintenanceStandard/batchImport/upload`;
|
|
537
439
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
538
440
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
539
441
|
let baseOptions;
|
|
540
442
|
if (configuration) {
|
|
541
443
|
baseOptions = configuration.baseOptions;
|
|
542
444
|
}
|
|
543
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
445
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
544
446
|
const localVarHeaderParameter = {};
|
|
545
447
|
const localVarQueryParameter = {};
|
|
448
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
546
449
|
// authentication tokenScheme required
|
|
547
450
|
// http bearer authentication required
|
|
548
451
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
549
|
-
|
|
452
|
+
if (parkId !== undefined) {
|
|
453
|
+
localVarFormParams.append('parkId', parkId);
|
|
454
|
+
}
|
|
455
|
+
if (language !== undefined) {
|
|
456
|
+
localVarFormParams.append('language', language);
|
|
457
|
+
}
|
|
458
|
+
if (file !== undefined) {
|
|
459
|
+
localVarFormParams.append('file', file);
|
|
460
|
+
}
|
|
461
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
550
462
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
551
463
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
552
464
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
553
|
-
localVarRequestOptions.data =
|
|
465
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
554
466
|
return {
|
|
555
467
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
556
468
|
options: localVarRequestOptions,
|
|
@@ -595,13 +507,13 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
595
507
|
}),
|
|
596
508
|
};
|
|
597
509
|
};
|
|
598
|
-
exports.
|
|
510
|
+
exports.MaintenanceStandardApiAxiosParamCreator = MaintenanceStandardApiAxiosParamCreator;
|
|
599
511
|
/**
|
|
600
|
-
*
|
|
512
|
+
* MaintenanceStandardApi - functional programming interface
|
|
601
513
|
* @export
|
|
602
514
|
*/
|
|
603
|
-
const
|
|
604
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
515
|
+
const MaintenanceStandardApiFp = function (configuration) {
|
|
516
|
+
const localVarAxiosParamCreator = (0, exports.MaintenanceStandardApiAxiosParamCreator)(configuration);
|
|
605
517
|
return {
|
|
606
518
|
/**
|
|
607
519
|
*
|
|
@@ -615,7 +527,7 @@ const InspectionApiFp = function (configuration) {
|
|
|
615
527
|
var _a, _b, _c;
|
|
616
528
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.addMaintenanceStandard(maintenanceStandardAddOrUpdateVo, options);
|
|
617
529
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
618
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
530
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.addMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
619
531
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
620
532
|
});
|
|
621
533
|
},
|
|
@@ -631,211 +543,174 @@ const InspectionApiFp = function (configuration) {
|
|
|
631
543
|
var _a, _b, _c;
|
|
632
544
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.batchDeleteMaintenanceStandard(standardDeleteVo, options);
|
|
633
545
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
634
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
635
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
636
|
-
});
|
|
637
|
-
},
|
|
638
|
-
/**
|
|
639
|
-
*
|
|
640
|
-
* @summary 添加巡检标准
|
|
641
|
-
* @param {Array<InspectionStandardAddOrUpdateVO>} inspectionStandardAddOrUpdateVO
|
|
642
|
-
* @param {*} [options] Override http request option.
|
|
643
|
-
* @throws {RequiredError}
|
|
644
|
-
*/
|
|
645
|
-
createInspectionStandard(inspectionStandardAddOrUpdateVO, options) {
|
|
646
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
647
|
-
var _a, _b, _c;
|
|
648
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createInspectionStandard(inspectionStandardAddOrUpdateVO, options);
|
|
649
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
650
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.createInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
651
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
652
|
-
});
|
|
653
|
-
},
|
|
654
|
-
/**
|
|
655
|
-
*
|
|
656
|
-
* @summary 删除巡检标准
|
|
657
|
-
* @param {number} id 巡检标准id
|
|
658
|
-
* @param {*} [options] Override http request option.
|
|
659
|
-
* @throws {RequiredError}
|
|
660
|
-
*/
|
|
661
|
-
deleteInspectionStandard(id, options) {
|
|
662
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
663
|
-
var _a, _b, _c;
|
|
664
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteInspectionStandard(id, options);
|
|
665
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
666
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.deleteInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
546
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.batchDeleteMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
667
547
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
668
548
|
});
|
|
669
549
|
},
|
|
670
550
|
/**
|
|
671
551
|
*
|
|
672
|
-
* @summary
|
|
673
|
-
* @param {
|
|
552
|
+
* @summary 删除维保标准
|
|
553
|
+
* @param {number} id
|
|
674
554
|
* @param {*} [options] Override http request option.
|
|
675
555
|
* @throws {RequiredError}
|
|
676
556
|
*/
|
|
677
|
-
|
|
557
|
+
deleteMaintenanceStandard(id, options) {
|
|
678
558
|
return __awaiter(this, void 0, void 0, function* () {
|
|
679
559
|
var _a, _b, _c;
|
|
680
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
560
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteMaintenanceStandard(id, options);
|
|
681
561
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
682
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
562
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.deleteMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
683
563
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
684
564
|
});
|
|
685
565
|
},
|
|
686
566
|
/**
|
|
687
567
|
*
|
|
688
|
-
* @summary
|
|
568
|
+
* @summary 维保标准详情
|
|
689
569
|
* @param {number} id
|
|
690
570
|
* @param {*} [options] Override http request option.
|
|
691
571
|
* @throws {RequiredError}
|
|
692
572
|
*/
|
|
693
|
-
|
|
573
|
+
getMaintenanceStandard(id, options) {
|
|
694
574
|
return __awaiter(this, void 0, void 0, function* () {
|
|
695
575
|
var _a, _b, _c;
|
|
696
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
576
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMaintenanceStandard(id, options);
|
|
697
577
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
698
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
578
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.getMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
699
579
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
700
580
|
});
|
|
701
581
|
},
|
|
702
582
|
/**
|
|
703
583
|
*
|
|
704
|
-
* @summary
|
|
705
|
-
* @param {number}
|
|
584
|
+
* @summary 维保标准列表
|
|
585
|
+
* @param {number} parkId 园区ID
|
|
586
|
+
* @param {number} pageSize 每页数量
|
|
587
|
+
* @param {number} page 页码
|
|
588
|
+
* @param {string} [searchValue] 关键搜索值
|
|
589
|
+
* @param {number} [equipmentSystemId] 维保分类
|
|
590
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
706
591
|
* @param {*} [options] Override http request option.
|
|
707
592
|
* @throws {RequiredError}
|
|
708
593
|
*/
|
|
709
|
-
|
|
594
|
+
listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options) {
|
|
710
595
|
return __awaiter(this, void 0, void 0, function* () {
|
|
711
596
|
var _a, _b, _c;
|
|
712
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
597
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options);
|
|
713
598
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
714
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
599
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.listMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
715
600
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
716
601
|
});
|
|
717
602
|
},
|
|
718
603
|
/**
|
|
719
604
|
*
|
|
720
|
-
* @summary
|
|
721
|
-
* @param {number}
|
|
605
|
+
* @summary 根据设备id查询维保标准
|
|
606
|
+
* @param {number} equipmentId
|
|
722
607
|
* @param {*} [options] Override http request option.
|
|
723
608
|
* @throws {RequiredError}
|
|
724
609
|
*/
|
|
725
|
-
|
|
610
|
+
listMaintenanceStandardByEquipmentId(equipmentId, options) {
|
|
726
611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
727
612
|
var _a, _b, _c;
|
|
728
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
613
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandardByEquipmentId(equipmentId, options);
|
|
729
614
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
730
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
615
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.listMaintenanceStandardByEquipmentId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
731
616
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
732
617
|
});
|
|
733
618
|
},
|
|
734
619
|
/**
|
|
735
620
|
*
|
|
736
|
-
* @summary
|
|
737
|
-
* @param {number}
|
|
738
|
-
* @param {number} pageSize 每页数量
|
|
739
|
-
* @param {number} page 页码
|
|
740
|
-
* @param {string} [searchValue] 内容
|
|
741
|
-
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
742
|
-
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
621
|
+
* @summary 根据设备系统id查询维保标准
|
|
622
|
+
* @param {number} equipmentSystemId
|
|
743
623
|
* @param {*} [options] Override http request option.
|
|
744
624
|
* @throws {RequiredError}
|
|
745
625
|
*/
|
|
746
|
-
|
|
626
|
+
listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options) {
|
|
747
627
|
return __awaiter(this, void 0, void 0, function* () {
|
|
748
628
|
var _a, _b, _c;
|
|
749
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
629
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options);
|
|
750
630
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
751
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
631
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.listMaintenanceStandardByEquipmentSystemId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
752
632
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
753
633
|
});
|
|
754
634
|
},
|
|
755
635
|
/**
|
|
756
636
|
*
|
|
757
|
-
* @summary
|
|
637
|
+
* @summary 维保标准导出-数据
|
|
758
638
|
* @param {number} parkId 园区ID
|
|
759
|
-
* @param {number} pageSize 每页数量
|
|
760
|
-
* @param {number} page 页码
|
|
761
639
|
* @param {string} [searchValue] 关键搜索值
|
|
762
640
|
* @param {number} [equipmentSystemId] 维保分类
|
|
763
641
|
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
764
642
|
* @param {*} [options] Override http request option.
|
|
765
643
|
* @throws {RequiredError}
|
|
766
644
|
*/
|
|
767
|
-
|
|
645
|
+
maintenanceStandardBatchExport(parkId, searchValue, equipmentSystemId, repeats, options) {
|
|
768
646
|
return __awaiter(this, void 0, void 0, function* () {
|
|
769
647
|
var _a, _b, _c;
|
|
770
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
648
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchExport(parkId, searchValue, equipmentSystemId, repeats, options);
|
|
771
649
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
772
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
650
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
773
651
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
774
652
|
});
|
|
775
653
|
},
|
|
776
654
|
/**
|
|
777
655
|
*
|
|
778
|
-
* @summary
|
|
779
|
-
* @param {number} equipmentId
|
|
656
|
+
* @summary 维保标准导入-确认导入
|
|
780
657
|
* @param {*} [options] Override http request option.
|
|
781
658
|
* @throws {RequiredError}
|
|
782
659
|
*/
|
|
783
|
-
|
|
660
|
+
maintenanceStandardBatchImportConfirm(options) {
|
|
784
661
|
return __awaiter(this, void 0, void 0, function* () {
|
|
785
662
|
var _a, _b, _c;
|
|
786
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
663
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchImportConfirm(options);
|
|
787
664
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
788
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
665
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportConfirm']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
789
666
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
790
667
|
});
|
|
791
668
|
},
|
|
792
669
|
/**
|
|
793
670
|
*
|
|
794
|
-
* @summary
|
|
795
|
-
* @param {number} equipmentSystemId
|
|
671
|
+
* @summary 维保标准导入-预览结果
|
|
796
672
|
* @param {*} [options] Override http request option.
|
|
797
673
|
* @throws {RequiredError}
|
|
798
674
|
*/
|
|
799
|
-
|
|
675
|
+
maintenanceStandardBatchImportPreview(options) {
|
|
800
676
|
return __awaiter(this, void 0, void 0, function* () {
|
|
801
677
|
var _a, _b, _c;
|
|
802
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
678
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchImportPreview(options);
|
|
803
679
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
804
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
680
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportPreview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
805
681
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
806
682
|
});
|
|
807
683
|
},
|
|
808
684
|
/**
|
|
809
685
|
*
|
|
810
|
-
* @summary
|
|
811
|
-
* @param {number} parkIdOne
|
|
812
|
-
* @param {number} parkIdTwo
|
|
686
|
+
* @summary 维保标准导入-下载模板
|
|
813
687
|
* @param {*} [options] Override http request option.
|
|
814
688
|
* @throws {RequiredError}
|
|
815
689
|
*/
|
|
816
|
-
|
|
690
|
+
maintenanceStandardBatchImportTemplate(options) {
|
|
817
691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
818
692
|
var _a, _b, _c;
|
|
819
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
693
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchImportTemplate(options);
|
|
820
694
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
821
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
695
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
822
696
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
823
697
|
});
|
|
824
698
|
},
|
|
825
699
|
/**
|
|
826
700
|
*
|
|
827
|
-
* @summary
|
|
828
|
-
* @param {number} id
|
|
829
|
-
* @param {
|
|
701
|
+
* @summary 维保标准导入-上传文件
|
|
702
|
+
* @param {number} parkId 园区id
|
|
703
|
+
* @param {File} file
|
|
704
|
+
* @param {string} [language] 语言
|
|
830
705
|
* @param {*} [options] Override http request option.
|
|
831
706
|
* @throws {RequiredError}
|
|
832
707
|
*/
|
|
833
|
-
|
|
708
|
+
maintenanceStandardBatchImportUpload(parkId, file, language, options) {
|
|
834
709
|
return __awaiter(this, void 0, void 0, function* () {
|
|
835
710
|
var _a, _b, _c;
|
|
836
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
711
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchImportUpload(parkId, file, language, options);
|
|
837
712
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
838
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
713
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
839
714
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
840
715
|
});
|
|
841
716
|
},
|
|
@@ -852,24 +727,24 @@ const InspectionApiFp = function (configuration) {
|
|
|
852
727
|
var _a, _b, _c;
|
|
853
728
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateMaintenanceStandard(id, maintenanceStandardAddOrUpdateVo, options);
|
|
854
729
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
855
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
730
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.updateMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
856
731
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
857
732
|
});
|
|
858
733
|
},
|
|
859
734
|
};
|
|
860
735
|
};
|
|
861
|
-
exports.
|
|
736
|
+
exports.MaintenanceStandardApiFp = MaintenanceStandardApiFp;
|
|
862
737
|
/**
|
|
863
|
-
*
|
|
738
|
+
* MaintenanceStandardApi - factory interface
|
|
864
739
|
* @export
|
|
865
740
|
*/
|
|
866
|
-
const
|
|
867
|
-
const localVarFp = (0, exports.
|
|
741
|
+
const MaintenanceStandardApiFactory = function (configuration, basePath, axios) {
|
|
742
|
+
const localVarFp = (0, exports.MaintenanceStandardApiFp)(configuration);
|
|
868
743
|
return {
|
|
869
744
|
/**
|
|
870
745
|
*
|
|
871
746
|
* @summary 新增维保标准
|
|
872
|
-
* @param {
|
|
747
|
+
* @param {MaintenanceStandardApiAddMaintenanceStandardRequest} requestParameters Request parameters.
|
|
873
748
|
* @param {*} [options] Override http request option.
|
|
874
749
|
* @throws {RequiredError}
|
|
875
750
|
*/
|
|
@@ -879,7 +754,7 @@ const InspectionApiFactory = function (configuration, basePath, axios) {
|
|
|
879
754
|
/**
|
|
880
755
|
*
|
|
881
756
|
* @summary 批量删除维保标准
|
|
882
|
-
* @param {
|
|
757
|
+
* @param {MaintenanceStandardApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
883
758
|
* @param {*} [options] Override http request option.
|
|
884
759
|
* @throws {RequiredError}
|
|
885
760
|
*/
|
|
@@ -888,128 +763,105 @@ const InspectionApiFactory = function (configuration, basePath, axios) {
|
|
|
888
763
|
},
|
|
889
764
|
/**
|
|
890
765
|
*
|
|
891
|
-
* @summary
|
|
892
|
-
* @param {
|
|
893
|
-
* @param {*} [options] Override http request option.
|
|
894
|
-
* @throws {RequiredError}
|
|
895
|
-
*/
|
|
896
|
-
createInspectionStandard(requestParameters, options) {
|
|
897
|
-
return localVarFp.createInspectionStandard(requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(axios, basePath));
|
|
898
|
-
},
|
|
899
|
-
/**
|
|
900
|
-
*
|
|
901
|
-
* @summary 删除巡检标准
|
|
902
|
-
* @param {InspectionApiDeleteInspectionStandardRequest} requestParameters Request parameters.
|
|
903
|
-
* @param {*} [options] Override http request option.
|
|
904
|
-
* @throws {RequiredError}
|
|
905
|
-
*/
|
|
906
|
-
deleteInspectionStandard(requestParameters, options) {
|
|
907
|
-
return localVarFp.deleteInspectionStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
908
|
-
},
|
|
909
|
-
/**
|
|
910
|
-
*
|
|
911
|
-
* @summary 批量删除巡检标准
|
|
912
|
-
* @param {InspectionApiDeleteInspectionStandardsRequest} requestParameters Request parameters.
|
|
766
|
+
* @summary 删除维保标准
|
|
767
|
+
* @param {MaintenanceStandardApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
913
768
|
* @param {*} [options] Override http request option.
|
|
914
769
|
* @throws {RequiredError}
|
|
915
770
|
*/
|
|
916
|
-
|
|
917
|
-
return localVarFp.
|
|
771
|
+
deleteMaintenanceStandard(requestParameters, options) {
|
|
772
|
+
return localVarFp.deleteMaintenanceStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
918
773
|
},
|
|
919
774
|
/**
|
|
920
775
|
*
|
|
921
|
-
* @summary
|
|
922
|
-
* @param {
|
|
776
|
+
* @summary 维保标准详情
|
|
777
|
+
* @param {MaintenanceStandardApiGetMaintenanceStandardRequest} requestParameters Request parameters.
|
|
923
778
|
* @param {*} [options] Override http request option.
|
|
924
779
|
* @throws {RequiredError}
|
|
925
780
|
*/
|
|
926
|
-
|
|
927
|
-
return localVarFp.
|
|
781
|
+
getMaintenanceStandard(requestParameters, options) {
|
|
782
|
+
return localVarFp.getMaintenanceStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
928
783
|
},
|
|
929
784
|
/**
|
|
930
785
|
*
|
|
931
|
-
* @summary
|
|
932
|
-
* @param {
|
|
786
|
+
* @summary 维保标准列表
|
|
787
|
+
* @param {MaintenanceStandardApiListMaintenanceStandardRequest} requestParameters Request parameters.
|
|
933
788
|
* @param {*} [options] Override http request option.
|
|
934
789
|
* @throws {RequiredError}
|
|
935
790
|
*/
|
|
936
|
-
|
|
937
|
-
return localVarFp.
|
|
791
|
+
listMaintenanceStandard(requestParameters, options) {
|
|
792
|
+
return localVarFp.listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(axios, basePath));
|
|
938
793
|
},
|
|
939
794
|
/**
|
|
940
795
|
*
|
|
941
|
-
* @summary
|
|
942
|
-
* @param {
|
|
796
|
+
* @summary 根据设备id查询维保标准
|
|
797
|
+
* @param {MaintenanceStandardApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
943
798
|
* @param {*} [options] Override http request option.
|
|
944
799
|
* @throws {RequiredError}
|
|
945
800
|
*/
|
|
946
|
-
|
|
947
|
-
return localVarFp.
|
|
801
|
+
listMaintenanceStandardByEquipmentId(requestParameters, options) {
|
|
802
|
+
return localVarFp.listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(axios, basePath));
|
|
948
803
|
},
|
|
949
804
|
/**
|
|
950
805
|
*
|
|
951
|
-
* @summary
|
|
952
|
-
* @param {
|
|
806
|
+
* @summary 根据设备系统id查询维保标准
|
|
807
|
+
* @param {MaintenanceStandardApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
953
808
|
* @param {*} [options] Override http request option.
|
|
954
809
|
* @throws {RequiredError}
|
|
955
810
|
*/
|
|
956
|
-
|
|
957
|
-
return localVarFp.
|
|
811
|
+
listMaintenanceStandardByEquipmentSystemId(requestParameters, options) {
|
|
812
|
+
return localVarFp.listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(axios, basePath));
|
|
958
813
|
},
|
|
959
814
|
/**
|
|
960
815
|
*
|
|
961
|
-
* @summary
|
|
962
|
-
* @param {
|
|
816
|
+
* @summary 维保标准导出-数据
|
|
817
|
+
* @param {MaintenanceStandardApiMaintenanceStandardBatchExportRequest} requestParameters Request parameters.
|
|
963
818
|
* @param {*} [options] Override http request option.
|
|
964
819
|
* @throws {RequiredError}
|
|
965
820
|
*/
|
|
966
|
-
|
|
967
|
-
return localVarFp.
|
|
821
|
+
maintenanceStandardBatchExport(requestParameters, options) {
|
|
822
|
+
return localVarFp.maintenanceStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(axios, basePath));
|
|
968
823
|
},
|
|
969
824
|
/**
|
|
970
825
|
*
|
|
971
|
-
* @summary
|
|
972
|
-
* @param {InspectionApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
826
|
+
* @summary 维保标准导入-确认导入
|
|
973
827
|
* @param {*} [options] Override http request option.
|
|
974
828
|
* @throws {RequiredError}
|
|
975
829
|
*/
|
|
976
|
-
|
|
977
|
-
return localVarFp.
|
|
830
|
+
maintenanceStandardBatchImportConfirm(options) {
|
|
831
|
+
return localVarFp.maintenanceStandardBatchImportConfirm(options).then((request) => request(axios, basePath));
|
|
978
832
|
},
|
|
979
833
|
/**
|
|
980
834
|
*
|
|
981
|
-
* @summary
|
|
982
|
-
* @param {InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
835
|
+
* @summary 维保标准导入-预览结果
|
|
983
836
|
* @param {*} [options] Override http request option.
|
|
984
837
|
* @throws {RequiredError}
|
|
985
838
|
*/
|
|
986
|
-
|
|
987
|
-
return localVarFp.
|
|
839
|
+
maintenanceStandardBatchImportPreview(options) {
|
|
840
|
+
return localVarFp.maintenanceStandardBatchImportPreview(options).then((request) => request(axios, basePath));
|
|
988
841
|
},
|
|
989
842
|
/**
|
|
990
843
|
*
|
|
991
|
-
* @summary
|
|
992
|
-
* @param {InspectionApiSyncInspectionStandardRequest} requestParameters Request parameters.
|
|
844
|
+
* @summary 维保标准导入-下载模板
|
|
993
845
|
* @param {*} [options] Override http request option.
|
|
994
846
|
* @throws {RequiredError}
|
|
995
847
|
*/
|
|
996
|
-
|
|
997
|
-
return localVarFp.
|
|
848
|
+
maintenanceStandardBatchImportTemplate(options) {
|
|
849
|
+
return localVarFp.maintenanceStandardBatchImportTemplate(options).then((request) => request(axios, basePath));
|
|
998
850
|
},
|
|
999
851
|
/**
|
|
1000
852
|
*
|
|
1001
|
-
* @summary
|
|
1002
|
-
* @param {
|
|
853
|
+
* @summary 维保标准导入-上传文件
|
|
854
|
+
* @param {MaintenanceStandardApiMaintenanceStandardBatchImportUploadRequest} requestParameters Request parameters.
|
|
1003
855
|
* @param {*} [options] Override http request option.
|
|
1004
856
|
* @throws {RequiredError}
|
|
1005
857
|
*/
|
|
1006
|
-
|
|
1007
|
-
return localVarFp.
|
|
858
|
+
maintenanceStandardBatchImportUpload(requestParameters, options) {
|
|
859
|
+
return localVarFp.maintenanceStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
1008
860
|
},
|
|
1009
861
|
/**
|
|
1010
862
|
*
|
|
1011
863
|
* @summary 编辑维保标准
|
|
1012
|
-
* @param {
|
|
864
|
+
* @param {MaintenanceStandardApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1013
865
|
* @param {*} [options] Override http request option.
|
|
1014
866
|
* @throws {RequiredError}
|
|
1015
867
|
*/
|
|
@@ -1018,178 +870,153 @@ const InspectionApiFactory = function (configuration, basePath, axios) {
|
|
|
1018
870
|
},
|
|
1019
871
|
};
|
|
1020
872
|
};
|
|
1021
|
-
exports.
|
|
873
|
+
exports.MaintenanceStandardApiFactory = MaintenanceStandardApiFactory;
|
|
1022
874
|
/**
|
|
1023
|
-
*
|
|
875
|
+
* MaintenanceStandardApi - object-oriented interface
|
|
1024
876
|
* @export
|
|
1025
|
-
* @class
|
|
877
|
+
* @class MaintenanceStandardApi
|
|
1026
878
|
* @extends {BaseAPI}
|
|
1027
879
|
*/
|
|
1028
|
-
class
|
|
880
|
+
class MaintenanceStandardApi extends base_1.BaseAPI {
|
|
1029
881
|
/**
|
|
1030
882
|
*
|
|
1031
883
|
* @summary 新增维保标准
|
|
1032
|
-
* @param {
|
|
884
|
+
* @param {MaintenanceStandardApiAddMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1033
885
|
* @param {*} [options] Override http request option.
|
|
1034
886
|
* @throws {RequiredError}
|
|
1035
|
-
* @memberof
|
|
887
|
+
* @memberof MaintenanceStandardApi
|
|
1036
888
|
*/
|
|
1037
889
|
addMaintenanceStandard(requestParameters, options) {
|
|
1038
|
-
return (0, exports.
|
|
890
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).addMaintenanceStandard(requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
1039
891
|
}
|
|
1040
892
|
/**
|
|
1041
893
|
*
|
|
1042
894
|
* @summary 批量删除维保标准
|
|
1043
|
-
* @param {
|
|
895
|
+
* @param {MaintenanceStandardApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1044
896
|
* @param {*} [options] Override http request option.
|
|
1045
897
|
* @throws {RequiredError}
|
|
1046
|
-
* @memberof
|
|
898
|
+
* @memberof MaintenanceStandardApi
|
|
1047
899
|
*/
|
|
1048
900
|
batchDeleteMaintenanceStandard(requestParameters, options) {
|
|
1049
|
-
return (0, exports.
|
|
901
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).batchDeleteMaintenanceStandard(requestParameters.standardDeleteVo, options).then((request) => request(this.axios, this.basePath));
|
|
1050
902
|
}
|
|
1051
903
|
/**
|
|
1052
904
|
*
|
|
1053
|
-
* @summary
|
|
1054
|
-
* @param {
|
|
1055
|
-
* @param {*} [options] Override http request option.
|
|
1056
|
-
* @throws {RequiredError}
|
|
1057
|
-
* @memberof InspectionApi
|
|
1058
|
-
*/
|
|
1059
|
-
createInspectionStandard(requestParameters, options) {
|
|
1060
|
-
return (0, exports.InspectionApiFp)(this.configuration).createInspectionStandard(requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(this.axios, this.basePath));
|
|
1061
|
-
}
|
|
1062
|
-
/**
|
|
1063
|
-
*
|
|
1064
|
-
* @summary 删除巡检标准
|
|
1065
|
-
* @param {InspectionApiDeleteInspectionStandardRequest} requestParameters Request parameters.
|
|
1066
|
-
* @param {*} [options] Override http request option.
|
|
1067
|
-
* @throws {RequiredError}
|
|
1068
|
-
* @memberof InspectionApi
|
|
1069
|
-
*/
|
|
1070
|
-
deleteInspectionStandard(requestParameters, options) {
|
|
1071
|
-
return (0, exports.InspectionApiFp)(this.configuration).deleteInspectionStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1072
|
-
}
|
|
1073
|
-
/**
|
|
1074
|
-
*
|
|
1075
|
-
* @summary 批量删除巡检标准
|
|
1076
|
-
* @param {InspectionApiDeleteInspectionStandardsRequest} requestParameters Request parameters.
|
|
905
|
+
* @summary 删除维保标准
|
|
906
|
+
* @param {MaintenanceStandardApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1077
907
|
* @param {*} [options] Override http request option.
|
|
1078
908
|
* @throws {RequiredError}
|
|
1079
|
-
* @memberof
|
|
909
|
+
* @memberof MaintenanceStandardApi
|
|
1080
910
|
*/
|
|
1081
|
-
|
|
1082
|
-
return (0, exports.
|
|
911
|
+
deleteMaintenanceStandard(requestParameters, options) {
|
|
912
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).deleteMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1083
913
|
}
|
|
1084
914
|
/**
|
|
1085
915
|
*
|
|
1086
|
-
* @summary
|
|
1087
|
-
* @param {
|
|
916
|
+
* @summary 维保标准详情
|
|
917
|
+
* @param {MaintenanceStandardApiGetMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1088
918
|
* @param {*} [options] Override http request option.
|
|
1089
919
|
* @throws {RequiredError}
|
|
1090
|
-
* @memberof
|
|
920
|
+
* @memberof MaintenanceStandardApi
|
|
1091
921
|
*/
|
|
1092
|
-
|
|
1093
|
-
return (0, exports.
|
|
922
|
+
getMaintenanceStandard(requestParameters, options) {
|
|
923
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).getMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1094
924
|
}
|
|
1095
925
|
/**
|
|
1096
926
|
*
|
|
1097
|
-
* @summary
|
|
1098
|
-
* @param {
|
|
927
|
+
* @summary 维保标准列表
|
|
928
|
+
* @param {MaintenanceStandardApiListMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1099
929
|
* @param {*} [options] Override http request option.
|
|
1100
930
|
* @throws {RequiredError}
|
|
1101
|
-
* @memberof
|
|
931
|
+
* @memberof MaintenanceStandardApi
|
|
1102
932
|
*/
|
|
1103
|
-
|
|
1104
|
-
return (0, exports.
|
|
933
|
+
listMaintenanceStandard(requestParameters, options) {
|
|
934
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
|
|
1105
935
|
}
|
|
1106
936
|
/**
|
|
1107
937
|
*
|
|
1108
|
-
* @summary
|
|
1109
|
-
* @param {
|
|
938
|
+
* @summary 根据设备id查询维保标准
|
|
939
|
+
* @param {MaintenanceStandardApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
1110
940
|
* @param {*} [options] Override http request option.
|
|
1111
941
|
* @throws {RequiredError}
|
|
1112
|
-
* @memberof
|
|
942
|
+
* @memberof MaintenanceStandardApi
|
|
1113
943
|
*/
|
|
1114
|
-
|
|
1115
|
-
return (0, exports.
|
|
944
|
+
listMaintenanceStandardByEquipmentId(requestParameters, options) {
|
|
945
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1116
946
|
}
|
|
1117
947
|
/**
|
|
1118
948
|
*
|
|
1119
|
-
* @summary
|
|
1120
|
-
* @param {
|
|
949
|
+
* @summary 根据设备系统id查询维保标准
|
|
950
|
+
* @param {MaintenanceStandardApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
1121
951
|
* @param {*} [options] Override http request option.
|
|
1122
952
|
* @throws {RequiredError}
|
|
1123
|
-
* @memberof
|
|
953
|
+
* @memberof MaintenanceStandardApi
|
|
1124
954
|
*/
|
|
1125
|
-
|
|
1126
|
-
return (0, exports.
|
|
955
|
+
listMaintenanceStandardByEquipmentSystemId(requestParameters, options) {
|
|
956
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(this.axios, this.basePath));
|
|
1127
957
|
}
|
|
1128
958
|
/**
|
|
1129
959
|
*
|
|
1130
|
-
* @summary
|
|
1131
|
-
* @param {
|
|
960
|
+
* @summary 维保标准导出-数据
|
|
961
|
+
* @param {MaintenanceStandardApiMaintenanceStandardBatchExportRequest} requestParameters Request parameters.
|
|
1132
962
|
* @param {*} [options] Override http request option.
|
|
1133
963
|
* @throws {RequiredError}
|
|
1134
|
-
* @memberof
|
|
964
|
+
* @memberof MaintenanceStandardApi
|
|
1135
965
|
*/
|
|
1136
|
-
|
|
1137
|
-
return (0, exports.
|
|
966
|
+
maintenanceStandardBatchExport(requestParameters, options) {
|
|
967
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).maintenanceStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
|
|
1138
968
|
}
|
|
1139
969
|
/**
|
|
1140
970
|
*
|
|
1141
|
-
* @summary
|
|
1142
|
-
* @param {InspectionApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
971
|
+
* @summary 维保标准导入-确认导入
|
|
1143
972
|
* @param {*} [options] Override http request option.
|
|
1144
973
|
* @throws {RequiredError}
|
|
1145
|
-
* @memberof
|
|
974
|
+
* @memberof MaintenanceStandardApi
|
|
1146
975
|
*/
|
|
1147
|
-
|
|
1148
|
-
return (0, exports.
|
|
976
|
+
maintenanceStandardBatchImportConfirm(options) {
|
|
977
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).maintenanceStandardBatchImportConfirm(options).then((request) => request(this.axios, this.basePath));
|
|
1149
978
|
}
|
|
1150
979
|
/**
|
|
1151
980
|
*
|
|
1152
|
-
* @summary
|
|
1153
|
-
* @param {InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
981
|
+
* @summary 维保标准导入-预览结果
|
|
1154
982
|
* @param {*} [options] Override http request option.
|
|
1155
983
|
* @throws {RequiredError}
|
|
1156
|
-
* @memberof
|
|
984
|
+
* @memberof MaintenanceStandardApi
|
|
1157
985
|
*/
|
|
1158
|
-
|
|
1159
|
-
return (0, exports.
|
|
986
|
+
maintenanceStandardBatchImportPreview(options) {
|
|
987
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).maintenanceStandardBatchImportPreview(options).then((request) => request(this.axios, this.basePath));
|
|
1160
988
|
}
|
|
1161
989
|
/**
|
|
1162
990
|
*
|
|
1163
|
-
* @summary
|
|
1164
|
-
* @param {InspectionApiSyncInspectionStandardRequest} requestParameters Request parameters.
|
|
991
|
+
* @summary 维保标准导入-下载模板
|
|
1165
992
|
* @param {*} [options] Override http request option.
|
|
1166
993
|
* @throws {RequiredError}
|
|
1167
|
-
* @memberof
|
|
994
|
+
* @memberof MaintenanceStandardApi
|
|
1168
995
|
*/
|
|
1169
|
-
|
|
1170
|
-
return (0, exports.
|
|
996
|
+
maintenanceStandardBatchImportTemplate(options) {
|
|
997
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).maintenanceStandardBatchImportTemplate(options).then((request) => request(this.axios, this.basePath));
|
|
1171
998
|
}
|
|
1172
999
|
/**
|
|
1173
1000
|
*
|
|
1174
|
-
* @summary
|
|
1175
|
-
* @param {
|
|
1001
|
+
* @summary 维保标准导入-上传文件
|
|
1002
|
+
* @param {MaintenanceStandardApiMaintenanceStandardBatchImportUploadRequest} requestParameters Request parameters.
|
|
1176
1003
|
* @param {*} [options] Override http request option.
|
|
1177
1004
|
* @throws {RequiredError}
|
|
1178
|
-
* @memberof
|
|
1005
|
+
* @memberof MaintenanceStandardApi
|
|
1179
1006
|
*/
|
|
1180
|
-
|
|
1181
|
-
return (0, exports.
|
|
1007
|
+
maintenanceStandardBatchImportUpload(requestParameters, options) {
|
|
1008
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).maintenanceStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
1182
1009
|
}
|
|
1183
1010
|
/**
|
|
1184
1011
|
*
|
|
1185
1012
|
* @summary 编辑维保标准
|
|
1186
|
-
* @param {
|
|
1013
|
+
* @param {MaintenanceStandardApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1187
1014
|
* @param {*} [options] Override http request option.
|
|
1188
1015
|
* @throws {RequiredError}
|
|
1189
|
-
* @memberof
|
|
1016
|
+
* @memberof MaintenanceStandardApi
|
|
1190
1017
|
*/
|
|
1191
1018
|
updateMaintenanceStandard(requestParameters, options) {
|
|
1192
|
-
return (0, exports.
|
|
1019
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).updateMaintenanceStandard(requestParameters.id, requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
1193
1020
|
}
|
|
1194
1021
|
}
|
|
1195
|
-
exports.
|
|
1022
|
+
exports.MaintenanceStandardApi = MaintenanceStandardApi;
|