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