@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,929 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* MaintenanceOrderApi - axios parameter creator
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
34
|
+
return {
|
|
35
|
+
/**
|
|
36
|
+
* 删除修缮订单(逻辑删除)
|
|
37
|
+
* @summary 删除修缮订单
|
|
38
|
+
* @param {number} id
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
_delete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
43
|
+
// verify required parameter 'id' is not null or undefined
|
|
44
|
+
assertParamExists('_delete', 'id', id);
|
|
45
|
+
const localVarPath = `/gizone/maintenance-order/{id}`
|
|
46
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
47
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
|
+
let baseOptions;
|
|
50
|
+
if (configuration) {
|
|
51
|
+
baseOptions = configuration.baseOptions;
|
|
52
|
+
}
|
|
53
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
54
|
+
const localVarHeaderParameter = {};
|
|
55
|
+
const localVarQueryParameter = {};
|
|
56
|
+
// authentication tokenScheme required
|
|
57
|
+
// http bearer authentication required
|
|
58
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
59
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
+
return {
|
|
63
|
+
url: toPathString(localVarUrlObj),
|
|
64
|
+
options: localVarRequestOptions,
|
|
65
|
+
};
|
|
66
|
+
}),
|
|
67
|
+
/**
|
|
68
|
+
* 验收
|
|
69
|
+
* @summary 验收
|
|
70
|
+
* @param {number} id
|
|
71
|
+
* @param {MaintenanceOrderAcceptanceAddDto} maintenanceOrderAcceptanceAddDto
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
accept: (id_1, maintenanceOrderAcceptanceAddDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderAcceptanceAddDto_1, ...args_1], void 0, function* (id, maintenanceOrderAcceptanceAddDto, options = {}) {
|
|
76
|
+
// verify required parameter 'id' is not null or undefined
|
|
77
|
+
assertParamExists('accept', 'id', id);
|
|
78
|
+
// verify required parameter 'maintenanceOrderAcceptanceAddDto' is not null or undefined
|
|
79
|
+
assertParamExists('accept', 'maintenanceOrderAcceptanceAddDto', maintenanceOrderAcceptanceAddDto);
|
|
80
|
+
const localVarPath = `/gizone/maintenance-order/{id}/accept`
|
|
81
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
82
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
84
|
+
let baseOptions;
|
|
85
|
+
if (configuration) {
|
|
86
|
+
baseOptions = configuration.baseOptions;
|
|
87
|
+
}
|
|
88
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
89
|
+
const localVarHeaderParameter = {};
|
|
90
|
+
const localVarQueryParameter = {};
|
|
91
|
+
// authentication tokenScheme required
|
|
92
|
+
// http bearer authentication required
|
|
93
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
94
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
95
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
96
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
+
localVarRequestOptions.data = serializeDataIfNeeded(maintenanceOrderAcceptanceAddDto, localVarRequestOptions, configuration);
|
|
99
|
+
return {
|
|
100
|
+
url: toPathString(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
}),
|
|
104
|
+
/**
|
|
105
|
+
* 施工完成
|
|
106
|
+
* @summary 施工完成
|
|
107
|
+
* @param {number} id
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
complete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
112
|
+
// verify required parameter 'id' is not null or undefined
|
|
113
|
+
assertParamExists('complete', 'id', id);
|
|
114
|
+
const localVarPath = `/gizone/maintenance-order/{id}/complete`
|
|
115
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
116
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
118
|
+
let baseOptions;
|
|
119
|
+
if (configuration) {
|
|
120
|
+
baseOptions = configuration.baseOptions;
|
|
121
|
+
}
|
|
122
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
123
|
+
const localVarHeaderParameter = {};
|
|
124
|
+
const localVarQueryParameter = {};
|
|
125
|
+
// authentication tokenScheme required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
128
|
+
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
|
+
return {
|
|
132
|
+
url: toPathString(localVarUrlObj),
|
|
133
|
+
options: localVarRequestOptions,
|
|
134
|
+
};
|
|
135
|
+
}),
|
|
136
|
+
/**
|
|
137
|
+
* 施工排期
|
|
138
|
+
* @summary 施工排期
|
|
139
|
+
* @param {number} id
|
|
140
|
+
* @param {MaintenanceConstructionSchedulesDto} maintenanceConstructionSchedulesDto
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
constructionSchedules: (id_1, maintenanceConstructionSchedulesDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceConstructionSchedulesDto_1, ...args_1], void 0, function* (id, maintenanceConstructionSchedulesDto, options = {}) {
|
|
145
|
+
// verify required parameter 'id' is not null or undefined
|
|
146
|
+
assertParamExists('constructionSchedules', 'id', id);
|
|
147
|
+
// verify required parameter 'maintenanceConstructionSchedulesDto' is not null or undefined
|
|
148
|
+
assertParamExists('constructionSchedules', 'maintenanceConstructionSchedulesDto', maintenanceConstructionSchedulesDto);
|
|
149
|
+
const localVarPath = `/gizone/maintenance-order/{id}/construction-schedules`
|
|
150
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
151
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
152
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
153
|
+
let baseOptions;
|
|
154
|
+
if (configuration) {
|
|
155
|
+
baseOptions = configuration.baseOptions;
|
|
156
|
+
}
|
|
157
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
158
|
+
const localVarHeaderParameter = {};
|
|
159
|
+
const localVarQueryParameter = {};
|
|
160
|
+
// authentication tokenScheme required
|
|
161
|
+
// http bearer authentication required
|
|
162
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
163
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
164
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
165
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
166
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
167
|
+
localVarRequestOptions.data = serializeDataIfNeeded(maintenanceConstructionSchedulesDto, localVarRequestOptions, configuration);
|
|
168
|
+
return {
|
|
169
|
+
url: toPathString(localVarUrlObj),
|
|
170
|
+
options: localVarRequestOptions,
|
|
171
|
+
};
|
|
172
|
+
}),
|
|
173
|
+
/**
|
|
174
|
+
* 编辑节点验收记录
|
|
175
|
+
* @summary 编辑节点验收记录
|
|
176
|
+
* @param {number} id
|
|
177
|
+
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
editAcceptanceNodes: (id_1, acceptanceNodeInfo_1, ...args_1) => __awaiter(this, [id_1, acceptanceNodeInfo_1, ...args_1], void 0, function* (id, acceptanceNodeInfo, options = {}) {
|
|
182
|
+
// verify required parameter 'id' is not null or undefined
|
|
183
|
+
assertParamExists('editAcceptanceNodes', 'id', id);
|
|
184
|
+
// verify required parameter 'acceptanceNodeInfo' is not null or undefined
|
|
185
|
+
assertParamExists('editAcceptanceNodes', 'acceptanceNodeInfo', acceptanceNodeInfo);
|
|
186
|
+
const localVarPath = `/gizone/maintenance-order/{id}/acceptance-nodes`
|
|
187
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
188
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
189
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
190
|
+
let baseOptions;
|
|
191
|
+
if (configuration) {
|
|
192
|
+
baseOptions = configuration.baseOptions;
|
|
193
|
+
}
|
|
194
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
195
|
+
const localVarHeaderParameter = {};
|
|
196
|
+
const localVarQueryParameter = {};
|
|
197
|
+
// authentication tokenScheme required
|
|
198
|
+
// http bearer authentication required
|
|
199
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
200
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
201
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
202
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
203
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
204
|
+
localVarRequestOptions.data = serializeDataIfNeeded(acceptanceNodeInfo, localVarRequestOptions, configuration);
|
|
205
|
+
return {
|
|
206
|
+
url: toPathString(localVarUrlObj),
|
|
207
|
+
options: localVarRequestOptions,
|
|
208
|
+
};
|
|
209
|
+
}),
|
|
210
|
+
/**
|
|
211
|
+
* 编辑原材料确认单
|
|
212
|
+
* @summary 编辑原材料确认单
|
|
213
|
+
* @param {number} id
|
|
214
|
+
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
editMaterialConfirmation: (id_1, materialConfirmationInfo_1, ...args_1) => __awaiter(this, [id_1, materialConfirmationInfo_1, ...args_1], void 0, function* (id, materialConfirmationInfo, options = {}) {
|
|
219
|
+
// verify required parameter 'id' is not null or undefined
|
|
220
|
+
assertParamExists('editMaterialConfirmation', 'id', id);
|
|
221
|
+
// verify required parameter 'materialConfirmationInfo' is not null or undefined
|
|
222
|
+
assertParamExists('editMaterialConfirmation', 'materialConfirmationInfo', materialConfirmationInfo);
|
|
223
|
+
const localVarPath = `/gizone/maintenance-order/{id}/material-confirmations`
|
|
224
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
225
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
226
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
227
|
+
let baseOptions;
|
|
228
|
+
if (configuration) {
|
|
229
|
+
baseOptions = configuration.baseOptions;
|
|
230
|
+
}
|
|
231
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
232
|
+
const localVarHeaderParameter = {};
|
|
233
|
+
const localVarQueryParameter = {};
|
|
234
|
+
// authentication tokenScheme required
|
|
235
|
+
// http bearer authentication required
|
|
236
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
237
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
238
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
239
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
240
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
241
|
+
localVarRequestOptions.data = serializeDataIfNeeded(materialConfirmationInfo, localVarRequestOptions, configuration);
|
|
242
|
+
return {
|
|
243
|
+
url: toPathString(localVarUrlObj),
|
|
244
|
+
options: localVarRequestOptions,
|
|
245
|
+
};
|
|
246
|
+
}),
|
|
247
|
+
/**
|
|
248
|
+
* 导出
|
|
249
|
+
* @summary 导出
|
|
250
|
+
* @param {number} [parkId] 园区ID
|
|
251
|
+
* @param {Array<MaintenanceOrderTypeEnum>} [maintenanceOrderTypes] 修缮类型
|
|
252
|
+
* @param {Array<MaintenanceOrderStatusEnum>} [maintenanceOrderStatuses] 修缮状态
|
|
253
|
+
* @param {string} [startTimeBegin] 开始时间(生成时间)
|
|
254
|
+
* @param {string} [startTimeEnd] 结束时间(生成时间)
|
|
255
|
+
* @param {string} [searchValue] 关键词
|
|
256
|
+
* @param {*} [options] Override http request option.
|
|
257
|
+
* @throws {RequiredError}
|
|
258
|
+
*/
|
|
259
|
+
export5: (parkId_1, maintenanceOrderTypes_1, maintenanceOrderStatuses_1, startTimeBegin_1, startTimeEnd_1, searchValue_1, ...args_1) => __awaiter(this, [parkId_1, maintenanceOrderTypes_1, maintenanceOrderStatuses_1, startTimeBegin_1, startTimeEnd_1, searchValue_1, ...args_1], void 0, function* (parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options = {}) {
|
|
260
|
+
const localVarPath = `/gizone/maintenance-order/export`;
|
|
261
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
262
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
263
|
+
let baseOptions;
|
|
264
|
+
if (configuration) {
|
|
265
|
+
baseOptions = configuration.baseOptions;
|
|
266
|
+
}
|
|
267
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
268
|
+
const localVarHeaderParameter = {};
|
|
269
|
+
const localVarQueryParameter = {};
|
|
270
|
+
// authentication tokenScheme required
|
|
271
|
+
// http bearer authentication required
|
|
272
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
273
|
+
if (parkId !== undefined) {
|
|
274
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
275
|
+
}
|
|
276
|
+
if (maintenanceOrderTypes) {
|
|
277
|
+
localVarQueryParameter['maintenanceOrderTypes'] = maintenanceOrderTypes;
|
|
278
|
+
}
|
|
279
|
+
if (maintenanceOrderStatuses) {
|
|
280
|
+
localVarQueryParameter['maintenanceOrderStatuses'] = maintenanceOrderStatuses;
|
|
281
|
+
}
|
|
282
|
+
if (startTimeBegin !== undefined) {
|
|
283
|
+
localVarQueryParameter['startTimeBegin'] = (startTimeBegin instanceof Date) ?
|
|
284
|
+
startTimeBegin.toISOString() :
|
|
285
|
+
startTimeBegin;
|
|
286
|
+
}
|
|
287
|
+
if (startTimeEnd !== undefined) {
|
|
288
|
+
localVarQueryParameter['startTimeEnd'] = (startTimeEnd instanceof Date) ?
|
|
289
|
+
startTimeEnd.toISOString() :
|
|
290
|
+
startTimeEnd;
|
|
291
|
+
}
|
|
292
|
+
if (searchValue !== undefined) {
|
|
293
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
294
|
+
}
|
|
295
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
296
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
297
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
298
|
+
return {
|
|
299
|
+
url: toPathString(localVarUrlObj),
|
|
300
|
+
options: localVarRequestOptions,
|
|
301
|
+
};
|
|
302
|
+
}),
|
|
303
|
+
/**
|
|
304
|
+
* 根据ID查询修缮订单详情
|
|
305
|
+
* @summary 查询修缮订单详情
|
|
306
|
+
* @param {number} id
|
|
307
|
+
* @param {*} [options] Override http request option.
|
|
308
|
+
* @throws {RequiredError}
|
|
309
|
+
*/
|
|
310
|
+
getDetailsById: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
311
|
+
// verify required parameter 'id' is not null or undefined
|
|
312
|
+
assertParamExists('getDetailsById', 'id', id);
|
|
313
|
+
const localVarPath = `/gizone/maintenance-order/{id}`
|
|
314
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
315
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
316
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
317
|
+
let baseOptions;
|
|
318
|
+
if (configuration) {
|
|
319
|
+
baseOptions = configuration.baseOptions;
|
|
320
|
+
}
|
|
321
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
322
|
+
const localVarHeaderParameter = {};
|
|
323
|
+
const localVarQueryParameter = {};
|
|
324
|
+
// authentication tokenScheme required
|
|
325
|
+
// http bearer authentication required
|
|
326
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
327
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
328
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
329
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
330
|
+
return {
|
|
331
|
+
url: toPathString(localVarUrlObj),
|
|
332
|
+
options: localVarRequestOptions,
|
|
333
|
+
};
|
|
334
|
+
}),
|
|
335
|
+
/**
|
|
336
|
+
* 分页查询修缮订单列表
|
|
337
|
+
* @summary 分页查询修缮订单列表
|
|
338
|
+
* @param {number} page 页码
|
|
339
|
+
* @param {number} pageSize 每页数量
|
|
340
|
+
* @param {number} [parkId] 园区ID
|
|
341
|
+
* @param {Array<MaintenanceOrderTypeEnum>} [maintenanceOrderTypes] 修缮类型
|
|
342
|
+
* @param {Array<MaintenanceOrderStatusEnum>} [maintenanceOrderStatuses] 修缮状态
|
|
343
|
+
* @param {string} [startTimeBegin] 开始时间(生成时间)
|
|
344
|
+
* @param {string} [startTimeEnd] 结束时间(生成时间)
|
|
345
|
+
* @param {string} [searchValue] 关键词
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
*/
|
|
349
|
+
pageList1: (page_1, pageSize_1, parkId_1, maintenanceOrderTypes_1, maintenanceOrderStatuses_1, startTimeBegin_1, startTimeEnd_1, searchValue_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, parkId_1, maintenanceOrderTypes_1, maintenanceOrderStatuses_1, startTimeBegin_1, startTimeEnd_1, searchValue_1, ...args_1], void 0, function* (page, pageSize, parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options = {}) {
|
|
350
|
+
// verify required parameter 'page' is not null or undefined
|
|
351
|
+
assertParamExists('pageList1', 'page', page);
|
|
352
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
353
|
+
assertParamExists('pageList1', 'pageSize', pageSize);
|
|
354
|
+
const localVarPath = `/gizone/maintenance-order`;
|
|
355
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
356
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
357
|
+
let baseOptions;
|
|
358
|
+
if (configuration) {
|
|
359
|
+
baseOptions = configuration.baseOptions;
|
|
360
|
+
}
|
|
361
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
362
|
+
const localVarHeaderParameter = {};
|
|
363
|
+
const localVarQueryParameter = {};
|
|
364
|
+
// authentication tokenScheme required
|
|
365
|
+
// http bearer authentication required
|
|
366
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
367
|
+
if (page !== undefined) {
|
|
368
|
+
localVarQueryParameter['page'] = page;
|
|
369
|
+
}
|
|
370
|
+
if (pageSize !== undefined) {
|
|
371
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
372
|
+
}
|
|
373
|
+
if (parkId !== undefined) {
|
|
374
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
375
|
+
}
|
|
376
|
+
if (maintenanceOrderTypes) {
|
|
377
|
+
localVarQueryParameter['maintenanceOrderTypes'] = maintenanceOrderTypes;
|
|
378
|
+
}
|
|
379
|
+
if (maintenanceOrderStatuses) {
|
|
380
|
+
localVarQueryParameter['maintenanceOrderStatuses'] = maintenanceOrderStatuses;
|
|
381
|
+
}
|
|
382
|
+
if (startTimeBegin !== undefined) {
|
|
383
|
+
localVarQueryParameter['startTimeBegin'] = (startTimeBegin instanceof Date) ?
|
|
384
|
+
startTimeBegin.toISOString() :
|
|
385
|
+
startTimeBegin;
|
|
386
|
+
}
|
|
387
|
+
if (startTimeEnd !== undefined) {
|
|
388
|
+
localVarQueryParameter['startTimeEnd'] = (startTimeEnd instanceof Date) ?
|
|
389
|
+
startTimeEnd.toISOString() :
|
|
390
|
+
startTimeEnd;
|
|
391
|
+
}
|
|
392
|
+
if (searchValue !== undefined) {
|
|
393
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
394
|
+
}
|
|
395
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
396
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
397
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
398
|
+
return {
|
|
399
|
+
url: toPathString(localVarUrlObj),
|
|
400
|
+
options: localVarRequestOptions,
|
|
401
|
+
};
|
|
402
|
+
}),
|
|
403
|
+
/**
|
|
404
|
+
* 结算
|
|
405
|
+
* @summary 结算
|
|
406
|
+
* @param {number} id
|
|
407
|
+
* @param {MaintenanceOrderSettlementAddDto} maintenanceOrderSettlementAddDto
|
|
408
|
+
* @param {*} [options] Override http request option.
|
|
409
|
+
* @throws {RequiredError}
|
|
410
|
+
*/
|
|
411
|
+
settlement: (id_1, maintenanceOrderSettlementAddDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderSettlementAddDto_1, ...args_1], void 0, function* (id, maintenanceOrderSettlementAddDto, options = {}) {
|
|
412
|
+
// verify required parameter 'id' is not null or undefined
|
|
413
|
+
assertParamExists('settlement', 'id', id);
|
|
414
|
+
// verify required parameter 'maintenanceOrderSettlementAddDto' is not null or undefined
|
|
415
|
+
assertParamExists('settlement', 'maintenanceOrderSettlementAddDto', maintenanceOrderSettlementAddDto);
|
|
416
|
+
const localVarPath = `/gizone/maintenance-order/{id}/settlement`
|
|
417
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
418
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
419
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
420
|
+
let baseOptions;
|
|
421
|
+
if (configuration) {
|
|
422
|
+
baseOptions = configuration.baseOptions;
|
|
423
|
+
}
|
|
424
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
425
|
+
const localVarHeaderParameter = {};
|
|
426
|
+
const localVarQueryParameter = {};
|
|
427
|
+
// authentication tokenScheme required
|
|
428
|
+
// http bearer authentication required
|
|
429
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
430
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
431
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
432
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
433
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
434
|
+
localVarRequestOptions.data = serializeDataIfNeeded(maintenanceOrderSettlementAddDto, localVarRequestOptions, configuration);
|
|
435
|
+
return {
|
|
436
|
+
url: toPathString(localVarUrlObj),
|
|
437
|
+
options: localVarRequestOptions,
|
|
438
|
+
};
|
|
439
|
+
}),
|
|
440
|
+
/**
|
|
441
|
+
* 质保
|
|
442
|
+
* @summary 质保
|
|
443
|
+
* @param {number} id
|
|
444
|
+
* @param {MaintenanceOrderWarrantyUpdateDto} maintenanceOrderWarrantyUpdateDto
|
|
445
|
+
* @param {*} [options] Override http request option.
|
|
446
|
+
* @throws {RequiredError}
|
|
447
|
+
*/
|
|
448
|
+
warranty: (id_1, maintenanceOrderWarrantyUpdateDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderWarrantyUpdateDto_1, ...args_1], void 0, function* (id, maintenanceOrderWarrantyUpdateDto, options = {}) {
|
|
449
|
+
// verify required parameter 'id' is not null or undefined
|
|
450
|
+
assertParamExists('warranty', 'id', id);
|
|
451
|
+
// verify required parameter 'maintenanceOrderWarrantyUpdateDto' is not null or undefined
|
|
452
|
+
assertParamExists('warranty', 'maintenanceOrderWarrantyUpdateDto', maintenanceOrderWarrantyUpdateDto);
|
|
453
|
+
const localVarPath = `/gizone/maintenance-order/{id}/warranty`
|
|
454
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
455
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
456
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
457
|
+
let baseOptions;
|
|
458
|
+
if (configuration) {
|
|
459
|
+
baseOptions = configuration.baseOptions;
|
|
460
|
+
}
|
|
461
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
462
|
+
const localVarHeaderParameter = {};
|
|
463
|
+
const localVarQueryParameter = {};
|
|
464
|
+
// authentication tokenScheme required
|
|
465
|
+
// http bearer authentication required
|
|
466
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
467
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
468
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
469
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
470
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
471
|
+
localVarRequestOptions.data = serializeDataIfNeeded(maintenanceOrderWarrantyUpdateDto, localVarRequestOptions, configuration);
|
|
472
|
+
return {
|
|
473
|
+
url: toPathString(localVarUrlObj),
|
|
474
|
+
options: localVarRequestOptions,
|
|
475
|
+
};
|
|
476
|
+
}),
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
/**
|
|
480
|
+
* MaintenanceOrderApi - functional programming interface
|
|
481
|
+
* @export
|
|
482
|
+
*/
|
|
483
|
+
export const MaintenanceOrderApiFp = function (configuration) {
|
|
484
|
+
const localVarAxiosParamCreator = MaintenanceOrderApiAxiosParamCreator(configuration);
|
|
485
|
+
return {
|
|
486
|
+
/**
|
|
487
|
+
* 删除修缮订单(逻辑删除)
|
|
488
|
+
* @summary 删除修缮订单
|
|
489
|
+
* @param {number} id
|
|
490
|
+
* @param {*} [options] Override http request option.
|
|
491
|
+
* @throws {RequiredError}
|
|
492
|
+
*/
|
|
493
|
+
_delete(id, options) {
|
|
494
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
495
|
+
var _a, _b, _c;
|
|
496
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator._delete(id, options);
|
|
497
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
498
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi._delete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
499
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
500
|
+
});
|
|
501
|
+
},
|
|
502
|
+
/**
|
|
503
|
+
* 验收
|
|
504
|
+
* @summary 验收
|
|
505
|
+
* @param {number} id
|
|
506
|
+
* @param {MaintenanceOrderAcceptanceAddDto} maintenanceOrderAcceptanceAddDto
|
|
507
|
+
* @param {*} [options] Override http request option.
|
|
508
|
+
* @throws {RequiredError}
|
|
509
|
+
*/
|
|
510
|
+
accept(id, maintenanceOrderAcceptanceAddDto, options) {
|
|
511
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
512
|
+
var _a, _b, _c;
|
|
513
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.accept(id, maintenanceOrderAcceptanceAddDto, options);
|
|
514
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
515
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.accept']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
516
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
517
|
+
});
|
|
518
|
+
},
|
|
519
|
+
/**
|
|
520
|
+
* 施工完成
|
|
521
|
+
* @summary 施工完成
|
|
522
|
+
* @param {number} id
|
|
523
|
+
* @param {*} [options] Override http request option.
|
|
524
|
+
* @throws {RequiredError}
|
|
525
|
+
*/
|
|
526
|
+
complete(id, options) {
|
|
527
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
528
|
+
var _a, _b, _c;
|
|
529
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.complete(id, options);
|
|
530
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
531
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.complete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
532
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
533
|
+
});
|
|
534
|
+
},
|
|
535
|
+
/**
|
|
536
|
+
* 施工排期
|
|
537
|
+
* @summary 施工排期
|
|
538
|
+
* @param {number} id
|
|
539
|
+
* @param {MaintenanceConstructionSchedulesDto} maintenanceConstructionSchedulesDto
|
|
540
|
+
* @param {*} [options] Override http request option.
|
|
541
|
+
* @throws {RequiredError}
|
|
542
|
+
*/
|
|
543
|
+
constructionSchedules(id, maintenanceConstructionSchedulesDto, options) {
|
|
544
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
545
|
+
var _a, _b, _c;
|
|
546
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.constructionSchedules(id, maintenanceConstructionSchedulesDto, options);
|
|
547
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
548
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.constructionSchedules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
549
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
550
|
+
});
|
|
551
|
+
},
|
|
552
|
+
/**
|
|
553
|
+
* 编辑节点验收记录
|
|
554
|
+
* @summary 编辑节点验收记录
|
|
555
|
+
* @param {number} id
|
|
556
|
+
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
557
|
+
* @param {*} [options] Override http request option.
|
|
558
|
+
* @throws {RequiredError}
|
|
559
|
+
*/
|
|
560
|
+
editAcceptanceNodes(id, acceptanceNodeInfo, options) {
|
|
561
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
562
|
+
var _a, _b, _c;
|
|
563
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editAcceptanceNodes(id, acceptanceNodeInfo, options);
|
|
564
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
565
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.editAcceptanceNodes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
566
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
567
|
+
});
|
|
568
|
+
},
|
|
569
|
+
/**
|
|
570
|
+
* 编辑原材料确认单
|
|
571
|
+
* @summary 编辑原材料确认单
|
|
572
|
+
* @param {number} id
|
|
573
|
+
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
574
|
+
* @param {*} [options] Override http request option.
|
|
575
|
+
* @throws {RequiredError}
|
|
576
|
+
*/
|
|
577
|
+
editMaterialConfirmation(id, materialConfirmationInfo, options) {
|
|
578
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
579
|
+
var _a, _b, _c;
|
|
580
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editMaterialConfirmation(id, materialConfirmationInfo, options);
|
|
581
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
582
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.editMaterialConfirmation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
583
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
584
|
+
});
|
|
585
|
+
},
|
|
586
|
+
/**
|
|
587
|
+
* 导出
|
|
588
|
+
* @summary 导出
|
|
589
|
+
* @param {number} [parkId] 园区ID
|
|
590
|
+
* @param {Array<MaintenanceOrderTypeEnum>} [maintenanceOrderTypes] 修缮类型
|
|
591
|
+
* @param {Array<MaintenanceOrderStatusEnum>} [maintenanceOrderStatuses] 修缮状态
|
|
592
|
+
* @param {string} [startTimeBegin] 开始时间(生成时间)
|
|
593
|
+
* @param {string} [startTimeEnd] 结束时间(生成时间)
|
|
594
|
+
* @param {string} [searchValue] 关键词
|
|
595
|
+
* @param {*} [options] Override http request option.
|
|
596
|
+
* @throws {RequiredError}
|
|
597
|
+
*/
|
|
598
|
+
export5(parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options) {
|
|
599
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
600
|
+
var _a, _b, _c;
|
|
601
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.export5(parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options);
|
|
602
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
603
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.export5']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
604
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
605
|
+
});
|
|
606
|
+
},
|
|
607
|
+
/**
|
|
608
|
+
* 根据ID查询修缮订单详情
|
|
609
|
+
* @summary 查询修缮订单详情
|
|
610
|
+
* @param {number} id
|
|
611
|
+
* @param {*} [options] Override http request option.
|
|
612
|
+
* @throws {RequiredError}
|
|
613
|
+
*/
|
|
614
|
+
getDetailsById(id, options) {
|
|
615
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
616
|
+
var _a, _b, _c;
|
|
617
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDetailsById(id, options);
|
|
618
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
619
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.getDetailsById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
620
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
621
|
+
});
|
|
622
|
+
},
|
|
623
|
+
/**
|
|
624
|
+
* 分页查询修缮订单列表
|
|
625
|
+
* @summary 分页查询修缮订单列表
|
|
626
|
+
* @param {number} page 页码
|
|
627
|
+
* @param {number} pageSize 每页数量
|
|
628
|
+
* @param {number} [parkId] 园区ID
|
|
629
|
+
* @param {Array<MaintenanceOrderTypeEnum>} [maintenanceOrderTypes] 修缮类型
|
|
630
|
+
* @param {Array<MaintenanceOrderStatusEnum>} [maintenanceOrderStatuses] 修缮状态
|
|
631
|
+
* @param {string} [startTimeBegin] 开始时间(生成时间)
|
|
632
|
+
* @param {string} [startTimeEnd] 结束时间(生成时间)
|
|
633
|
+
* @param {string} [searchValue] 关键词
|
|
634
|
+
* @param {*} [options] Override http request option.
|
|
635
|
+
* @throws {RequiredError}
|
|
636
|
+
*/
|
|
637
|
+
pageList1(page, pageSize, parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options) {
|
|
638
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
639
|
+
var _a, _b, _c;
|
|
640
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.pageList1(page, pageSize, parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options);
|
|
641
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
642
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.pageList1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
643
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
644
|
+
});
|
|
645
|
+
},
|
|
646
|
+
/**
|
|
647
|
+
* 结算
|
|
648
|
+
* @summary 结算
|
|
649
|
+
* @param {number} id
|
|
650
|
+
* @param {MaintenanceOrderSettlementAddDto} maintenanceOrderSettlementAddDto
|
|
651
|
+
* @param {*} [options] Override http request option.
|
|
652
|
+
* @throws {RequiredError}
|
|
653
|
+
*/
|
|
654
|
+
settlement(id, maintenanceOrderSettlementAddDto, options) {
|
|
655
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
656
|
+
var _a, _b, _c;
|
|
657
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.settlement(id, maintenanceOrderSettlementAddDto, options);
|
|
658
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
659
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.settlement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
660
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
661
|
+
});
|
|
662
|
+
},
|
|
663
|
+
/**
|
|
664
|
+
* 质保
|
|
665
|
+
* @summary 质保
|
|
666
|
+
* @param {number} id
|
|
667
|
+
* @param {MaintenanceOrderWarrantyUpdateDto} maintenanceOrderWarrantyUpdateDto
|
|
668
|
+
* @param {*} [options] Override http request option.
|
|
669
|
+
* @throws {RequiredError}
|
|
670
|
+
*/
|
|
671
|
+
warranty(id, maintenanceOrderWarrantyUpdateDto, options) {
|
|
672
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
673
|
+
var _a, _b, _c;
|
|
674
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.warranty(id, maintenanceOrderWarrantyUpdateDto, options);
|
|
675
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
676
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.warranty']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
677
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
678
|
+
});
|
|
679
|
+
},
|
|
680
|
+
};
|
|
681
|
+
};
|
|
682
|
+
/**
|
|
683
|
+
* MaintenanceOrderApi - factory interface
|
|
684
|
+
* @export
|
|
685
|
+
*/
|
|
686
|
+
export const MaintenanceOrderApiFactory = function (configuration, basePath, axios) {
|
|
687
|
+
const localVarFp = MaintenanceOrderApiFp(configuration);
|
|
688
|
+
return {
|
|
689
|
+
/**
|
|
690
|
+
* 删除修缮订单(逻辑删除)
|
|
691
|
+
* @summary 删除修缮订单
|
|
692
|
+
* @param {MaintenanceOrderApiDeleteRequest} requestParameters Request parameters.
|
|
693
|
+
* @param {*} [options] Override http request option.
|
|
694
|
+
* @throws {RequiredError}
|
|
695
|
+
*/
|
|
696
|
+
_delete(requestParameters, options) {
|
|
697
|
+
return localVarFp._delete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
698
|
+
},
|
|
699
|
+
/**
|
|
700
|
+
* 验收
|
|
701
|
+
* @summary 验收
|
|
702
|
+
* @param {MaintenanceOrderApiAcceptRequest} requestParameters Request parameters.
|
|
703
|
+
* @param {*} [options] Override http request option.
|
|
704
|
+
* @throws {RequiredError}
|
|
705
|
+
*/
|
|
706
|
+
accept(requestParameters, options) {
|
|
707
|
+
return localVarFp.accept(requestParameters.id, requestParameters.maintenanceOrderAcceptanceAddDto, options).then((request) => request(axios, basePath));
|
|
708
|
+
},
|
|
709
|
+
/**
|
|
710
|
+
* 施工完成
|
|
711
|
+
* @summary 施工完成
|
|
712
|
+
* @param {MaintenanceOrderApiCompleteRequest} requestParameters Request parameters.
|
|
713
|
+
* @param {*} [options] Override http request option.
|
|
714
|
+
* @throws {RequiredError}
|
|
715
|
+
*/
|
|
716
|
+
complete(requestParameters, options) {
|
|
717
|
+
return localVarFp.complete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
718
|
+
},
|
|
719
|
+
/**
|
|
720
|
+
* 施工排期
|
|
721
|
+
* @summary 施工排期
|
|
722
|
+
* @param {MaintenanceOrderApiConstructionSchedulesRequest} requestParameters Request parameters.
|
|
723
|
+
* @param {*} [options] Override http request option.
|
|
724
|
+
* @throws {RequiredError}
|
|
725
|
+
*/
|
|
726
|
+
constructionSchedules(requestParameters, options) {
|
|
727
|
+
return localVarFp.constructionSchedules(requestParameters.id, requestParameters.maintenanceConstructionSchedulesDto, options).then((request) => request(axios, basePath));
|
|
728
|
+
},
|
|
729
|
+
/**
|
|
730
|
+
* 编辑节点验收记录
|
|
731
|
+
* @summary 编辑节点验收记录
|
|
732
|
+
* @param {MaintenanceOrderApiEditAcceptanceNodesRequest} requestParameters Request parameters.
|
|
733
|
+
* @param {*} [options] Override http request option.
|
|
734
|
+
* @throws {RequiredError}
|
|
735
|
+
*/
|
|
736
|
+
editAcceptanceNodes(requestParameters, options) {
|
|
737
|
+
return localVarFp.editAcceptanceNodes(requestParameters.id, requestParameters.acceptanceNodeInfo, options).then((request) => request(axios, basePath));
|
|
738
|
+
},
|
|
739
|
+
/**
|
|
740
|
+
* 编辑原材料确认单
|
|
741
|
+
* @summary 编辑原材料确认单
|
|
742
|
+
* @param {MaintenanceOrderApiEditMaterialConfirmationRequest} requestParameters Request parameters.
|
|
743
|
+
* @param {*} [options] Override http request option.
|
|
744
|
+
* @throws {RequiredError}
|
|
745
|
+
*/
|
|
746
|
+
editMaterialConfirmation(requestParameters, options) {
|
|
747
|
+
return localVarFp.editMaterialConfirmation(requestParameters.id, requestParameters.materialConfirmationInfo, options).then((request) => request(axios, basePath));
|
|
748
|
+
},
|
|
749
|
+
/**
|
|
750
|
+
* 导出
|
|
751
|
+
* @summary 导出
|
|
752
|
+
* @param {MaintenanceOrderApiExport5Request} requestParameters Request parameters.
|
|
753
|
+
* @param {*} [options] Override http request option.
|
|
754
|
+
* @throws {RequiredError}
|
|
755
|
+
*/
|
|
756
|
+
export5(requestParameters = {}, options) {
|
|
757
|
+
return localVarFp.export5(requestParameters.parkId, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, options).then((request) => request(axios, basePath));
|
|
758
|
+
},
|
|
759
|
+
/**
|
|
760
|
+
* 根据ID查询修缮订单详情
|
|
761
|
+
* @summary 查询修缮订单详情
|
|
762
|
+
* @param {MaintenanceOrderApiGetDetailsByIdRequest} requestParameters Request parameters.
|
|
763
|
+
* @param {*} [options] Override http request option.
|
|
764
|
+
* @throws {RequiredError}
|
|
765
|
+
*/
|
|
766
|
+
getDetailsById(requestParameters, options) {
|
|
767
|
+
return localVarFp.getDetailsById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
768
|
+
},
|
|
769
|
+
/**
|
|
770
|
+
* 分页查询修缮订单列表
|
|
771
|
+
* @summary 分页查询修缮订单列表
|
|
772
|
+
* @param {MaintenanceOrderApiPageList1Request} requestParameters Request parameters.
|
|
773
|
+
* @param {*} [options] Override http request option.
|
|
774
|
+
* @throws {RequiredError}
|
|
775
|
+
*/
|
|
776
|
+
pageList1(requestParameters, options) {
|
|
777
|
+
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));
|
|
778
|
+
},
|
|
779
|
+
/**
|
|
780
|
+
* 结算
|
|
781
|
+
* @summary 结算
|
|
782
|
+
* @param {MaintenanceOrderApiSettlementRequest} requestParameters Request parameters.
|
|
783
|
+
* @param {*} [options] Override http request option.
|
|
784
|
+
* @throws {RequiredError}
|
|
785
|
+
*/
|
|
786
|
+
settlement(requestParameters, options) {
|
|
787
|
+
return localVarFp.settlement(requestParameters.id, requestParameters.maintenanceOrderSettlementAddDto, options).then((request) => request(axios, basePath));
|
|
788
|
+
},
|
|
789
|
+
/**
|
|
790
|
+
* 质保
|
|
791
|
+
* @summary 质保
|
|
792
|
+
* @param {MaintenanceOrderApiWarrantyRequest} requestParameters Request parameters.
|
|
793
|
+
* @param {*} [options] Override http request option.
|
|
794
|
+
* @throws {RequiredError}
|
|
795
|
+
*/
|
|
796
|
+
warranty(requestParameters, options) {
|
|
797
|
+
return localVarFp.warranty(requestParameters.id, requestParameters.maintenanceOrderWarrantyUpdateDto, options).then((request) => request(axios, basePath));
|
|
798
|
+
},
|
|
799
|
+
};
|
|
800
|
+
};
|
|
801
|
+
/**
|
|
802
|
+
* MaintenanceOrderApi - object-oriented interface
|
|
803
|
+
* @export
|
|
804
|
+
* @class MaintenanceOrderApi
|
|
805
|
+
* @extends {BaseAPI}
|
|
806
|
+
*/
|
|
807
|
+
export class MaintenanceOrderApi extends BaseAPI {
|
|
808
|
+
/**
|
|
809
|
+
* 删除修缮订单(逻辑删除)
|
|
810
|
+
* @summary 删除修缮订单
|
|
811
|
+
* @param {MaintenanceOrderApiDeleteRequest} requestParameters Request parameters.
|
|
812
|
+
* @param {*} [options] Override http request option.
|
|
813
|
+
* @throws {RequiredError}
|
|
814
|
+
* @memberof MaintenanceOrderApi
|
|
815
|
+
*/
|
|
816
|
+
_delete(requestParameters, options) {
|
|
817
|
+
return MaintenanceOrderApiFp(this.configuration)._delete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* 验收
|
|
821
|
+
* @summary 验收
|
|
822
|
+
* @param {MaintenanceOrderApiAcceptRequest} requestParameters Request parameters.
|
|
823
|
+
* @param {*} [options] Override http request option.
|
|
824
|
+
* @throws {RequiredError}
|
|
825
|
+
* @memberof MaintenanceOrderApi
|
|
826
|
+
*/
|
|
827
|
+
accept(requestParameters, options) {
|
|
828
|
+
return MaintenanceOrderApiFp(this.configuration).accept(requestParameters.id, requestParameters.maintenanceOrderAcceptanceAddDto, options).then((request) => request(this.axios, this.basePath));
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* 施工完成
|
|
832
|
+
* @summary 施工完成
|
|
833
|
+
* @param {MaintenanceOrderApiCompleteRequest} requestParameters Request parameters.
|
|
834
|
+
* @param {*} [options] Override http request option.
|
|
835
|
+
* @throws {RequiredError}
|
|
836
|
+
* @memberof MaintenanceOrderApi
|
|
837
|
+
*/
|
|
838
|
+
complete(requestParameters, options) {
|
|
839
|
+
return MaintenanceOrderApiFp(this.configuration).complete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
* 施工排期
|
|
843
|
+
* @summary 施工排期
|
|
844
|
+
* @param {MaintenanceOrderApiConstructionSchedulesRequest} requestParameters Request parameters.
|
|
845
|
+
* @param {*} [options] Override http request option.
|
|
846
|
+
* @throws {RequiredError}
|
|
847
|
+
* @memberof MaintenanceOrderApi
|
|
848
|
+
*/
|
|
849
|
+
constructionSchedules(requestParameters, options) {
|
|
850
|
+
return MaintenanceOrderApiFp(this.configuration).constructionSchedules(requestParameters.id, requestParameters.maintenanceConstructionSchedulesDto, options).then((request) => request(this.axios, this.basePath));
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
* 编辑节点验收记录
|
|
854
|
+
* @summary 编辑节点验收记录
|
|
855
|
+
* @param {MaintenanceOrderApiEditAcceptanceNodesRequest} requestParameters Request parameters.
|
|
856
|
+
* @param {*} [options] Override http request option.
|
|
857
|
+
* @throws {RequiredError}
|
|
858
|
+
* @memberof MaintenanceOrderApi
|
|
859
|
+
*/
|
|
860
|
+
editAcceptanceNodes(requestParameters, options) {
|
|
861
|
+
return MaintenanceOrderApiFp(this.configuration).editAcceptanceNodes(requestParameters.id, requestParameters.acceptanceNodeInfo, options).then((request) => request(this.axios, this.basePath));
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* 编辑原材料确认单
|
|
865
|
+
* @summary 编辑原材料确认单
|
|
866
|
+
* @param {MaintenanceOrderApiEditMaterialConfirmationRequest} requestParameters Request parameters.
|
|
867
|
+
* @param {*} [options] Override http request option.
|
|
868
|
+
* @throws {RequiredError}
|
|
869
|
+
* @memberof MaintenanceOrderApi
|
|
870
|
+
*/
|
|
871
|
+
editMaterialConfirmation(requestParameters, options) {
|
|
872
|
+
return MaintenanceOrderApiFp(this.configuration).editMaterialConfirmation(requestParameters.id, requestParameters.materialConfirmationInfo, options).then((request) => request(this.axios, this.basePath));
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* 导出
|
|
876
|
+
* @summary 导出
|
|
877
|
+
* @param {MaintenanceOrderApiExport5Request} requestParameters Request parameters.
|
|
878
|
+
* @param {*} [options] Override http request option.
|
|
879
|
+
* @throws {RequiredError}
|
|
880
|
+
* @memberof MaintenanceOrderApi
|
|
881
|
+
*/
|
|
882
|
+
export5(requestParameters = {}, options) {
|
|
883
|
+
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));
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* 根据ID查询修缮订单详情
|
|
887
|
+
* @summary 查询修缮订单详情
|
|
888
|
+
* @param {MaintenanceOrderApiGetDetailsByIdRequest} requestParameters Request parameters.
|
|
889
|
+
* @param {*} [options] Override http request option.
|
|
890
|
+
* @throws {RequiredError}
|
|
891
|
+
* @memberof MaintenanceOrderApi
|
|
892
|
+
*/
|
|
893
|
+
getDetailsById(requestParameters, options) {
|
|
894
|
+
return MaintenanceOrderApiFp(this.configuration).getDetailsById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* 分页查询修缮订单列表
|
|
898
|
+
* @summary 分页查询修缮订单列表
|
|
899
|
+
* @param {MaintenanceOrderApiPageList1Request} requestParameters Request parameters.
|
|
900
|
+
* @param {*} [options] Override http request option.
|
|
901
|
+
* @throws {RequiredError}
|
|
902
|
+
* @memberof MaintenanceOrderApi
|
|
903
|
+
*/
|
|
904
|
+
pageList1(requestParameters, options) {
|
|
905
|
+
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));
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* 结算
|
|
909
|
+
* @summary 结算
|
|
910
|
+
* @param {MaintenanceOrderApiSettlementRequest} requestParameters Request parameters.
|
|
911
|
+
* @param {*} [options] Override http request option.
|
|
912
|
+
* @throws {RequiredError}
|
|
913
|
+
* @memberof MaintenanceOrderApi
|
|
914
|
+
*/
|
|
915
|
+
settlement(requestParameters, options) {
|
|
916
|
+
return MaintenanceOrderApiFp(this.configuration).settlement(requestParameters.id, requestParameters.maintenanceOrderSettlementAddDto, options).then((request) => request(this.axios, this.basePath));
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
* 质保
|
|
920
|
+
* @summary 质保
|
|
921
|
+
* @param {MaintenanceOrderApiWarrantyRequest} requestParameters Request parameters.
|
|
922
|
+
* @param {*} [options] Override http request option.
|
|
923
|
+
* @throws {RequiredError}
|
|
924
|
+
* @memberof MaintenanceOrderApi
|
|
925
|
+
*/
|
|
926
|
+
warranty(requestParameters, options) {
|
|
927
|
+
return MaintenanceOrderApiFp(this.configuration).warranty(requestParameters.id, requestParameters.maintenanceOrderWarrantyUpdateDto, options).then((request) => request(this.axios, this.basePath));
|
|
928
|
+
}
|
|
929
|
+
}
|