@gizone/rrs-client 4.2.9-alpha.643 → 4.2.9-alpha.658
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 +20 -0
- package/apis/device-api.ts +15 -15
- package/apis/hwork-api.ts +93 -0
- package/apis/maintenance-order-api.ts +359 -270
- package/apis/reimbursement-bill-api.ts +89 -0
- package/apis/web-hook-api.ts +364 -0
- package/dist/apis/device-api.d.ts +10 -10
- package/dist/apis/device-api.js +11 -11
- package/dist/apis/hwork-api.d.ts +48 -0
- package/dist/apis/hwork-api.js +70 -0
- package/dist/apis/maintenance-order-api.d.ts +235 -188
- package/dist/apis/maintenance-order-api.js +259 -190
- package/dist/apis/reimbursement-bill-api.d.ts +47 -0
- package/dist/apis/reimbursement-bill-api.js +69 -0
- package/dist/apis/web-hook-api.d.ts +212 -0
- package/dist/apis/web-hook-api.js +280 -0
- package/dist/esm/apis/device-api.d.ts +10 -10
- package/dist/esm/apis/device-api.js +11 -11
- package/dist/esm/apis/hwork-api.d.ts +48 -0
- package/dist/esm/apis/hwork-api.js +71 -1
- package/dist/esm/apis/maintenance-order-api.d.ts +235 -188
- package/dist/esm/apis/maintenance-order-api.js +259 -190
- package/dist/esm/apis/reimbursement-bill-api.d.ts +47 -0
- package/dist/esm/apis/reimbursement-bill-api.js +69 -0
- package/dist/esm/apis/web-hook-api.d.ts +212 -0
- package/dist/esm/apis/web-hook-api.js +280 -0
- package/dist/esm/models/budget-interaction-result-detail-dto.d.ts +48 -0
- package/dist/esm/models/budget-interaction-result-detail-dto.js +14 -0
- package/dist/esm/models/czy-budget-interaction-result-webhook-dto.d.ts +79 -0
- package/dist/esm/models/czy-budget-interaction-result-webhook-dto.js +14 -0
- package/dist/esm/models/czy-settlement-interaction-webhook-dto.d.ts +57 -0
- package/dist/esm/models/czy-settlement-interaction-webhook-dto.js +14 -0
- package/dist/esm/models/czycover-file-url-webhook-dto.d.ts +84 -0
- package/dist/esm/models/czycover-file-url-webhook-dto.js +14 -0
- package/dist/esm/models/dashboard-maintenance-order-statistics-by-park-vo.d.ts +0 -6
- package/dist/esm/models/dashboard-maintenance-order-statistics-by-type-vo.d.ts +0 -6
- package/dist/esm/models/dept.d.ts +36 -0
- package/dist/esm/models/dept.js +14 -0
- package/dist/esm/models/hwork-notice-bpm-dto.d.ts +60 -0
- package/dist/esm/models/hwork-notice-bpm-dto.js +14 -0
- package/dist/esm/models/hwork-user-list-req-dto.d.ts +30 -0
- package/dist/esm/models/hwork-user-list-req-dto.js +14 -0
- package/dist/esm/models/hwork-user-list-result-vo.d.ts +44 -0
- package/dist/esm/models/hwork-user-list-result-vo.js +14 -0
- package/dist/esm/models/index.d.ts +20 -0
- package/dist/esm/models/index.js +20 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +6 -6
- package/dist/esm/models/json-result-hwork-user-list-result-vo.d.ts +62 -0
- package/dist/esm/models/json-result-hwork-user-list-result-vo.js +14 -0
- package/dist/esm/models/json-result-list-maintenance-order-process-record-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-maintenance-order-process-record-list-vo.js +14 -0
- package/dist/esm/models/json-result-list-reimbursement-bill-process-record-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-reimbursement-bill-process-record-list-vo.js +14 -0
- package/dist/esm/models/maintenance-order-approval-config-add-dto.d.ts +6 -0
- package/dist/esm/models/maintenance-order-process-record-list-vo.d.ts +61 -0
- package/dist/esm/models/maintenance-order-process-record-list-vo.js +14 -0
- package/dist/esm/models/maintenance-order-process-status-enum.d.ts +30 -0
- package/dist/esm/models/maintenance-order-process-status-enum.js +31 -0
- package/dist/esm/models/mdm-increment-vendor-bank-accounts-vo.d.ts +9 -9
- package/dist/esm/models/mdm-increment-vendors-vo.d.ts +12 -12
- package/dist/esm/models/payment-result-dto.d.ts +102 -0
- package/dist/esm/models/payment-result-dto.js +14 -0
- package/dist/esm/models/reimbursement-bill-draft-dto.d.ts +6 -0
- package/dist/esm/models/reimbursement-bill-process-record-list-vo.d.ts +55 -0
- package/dist/esm/models/reimbursement-bill-process-record-list-vo.js +14 -0
- package/dist/esm/models/reimbursement-bill-process-type-enum.d.ts +22 -0
- package/dist/esm/models/reimbursement-bill-process-type-enum.js +23 -0
- package/dist/esm/models/reimbursement-bill-submit-dto.d.ts +7 -1
- package/dist/esm/models/reimbursement-create-result-dto.d.ts +48 -0
- package/dist/esm/models/reimbursement-create-result-dto.js +14 -0
- package/dist/esm/models/reimbursement-platform-status-dto.d.ts +169 -0
- package/dist/esm/models/reimbursement-platform-status-dto.js +14 -0
- package/dist/esm/models/reimbursement-reverse-status-dto.d.ts +60 -0
- package/dist/esm/models/reimbursement-reverse-status-dto.js +14 -0
- package/dist/esm/models/user.d.ts +36 -0
- package/dist/esm/models/user.js +14 -0
- package/dist/models/budget-interaction-result-detail-dto.d.ts +48 -0
- package/dist/models/budget-interaction-result-detail-dto.js +15 -0
- package/dist/models/czy-budget-interaction-result-webhook-dto.d.ts +79 -0
- package/dist/models/czy-budget-interaction-result-webhook-dto.js +15 -0
- package/dist/models/czy-settlement-interaction-webhook-dto.d.ts +57 -0
- package/dist/models/czy-settlement-interaction-webhook-dto.js +15 -0
- package/dist/models/czycover-file-url-webhook-dto.d.ts +84 -0
- package/dist/models/czycover-file-url-webhook-dto.js +15 -0
- package/dist/models/dashboard-maintenance-order-statistics-by-park-vo.d.ts +0 -6
- package/dist/models/dashboard-maintenance-order-statistics-by-type-vo.d.ts +0 -6
- package/dist/models/dept.d.ts +36 -0
- package/dist/models/dept.js +15 -0
- package/dist/models/hwork-notice-bpm-dto.d.ts +60 -0
- package/dist/models/hwork-notice-bpm-dto.js +15 -0
- package/dist/models/hwork-user-list-req-dto.d.ts +30 -0
- package/dist/models/hwork-user-list-req-dto.js +15 -0
- package/dist/models/hwork-user-list-result-vo.d.ts +44 -0
- package/dist/models/hwork-user-list-result-vo.js +15 -0
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.js +20 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +6 -6
- package/dist/models/json-result-hwork-user-list-result-vo.d.ts +62 -0
- package/dist/models/json-result-hwork-user-list-result-vo.js +15 -0
- package/dist/models/json-result-list-maintenance-order-process-record-list-vo.d.ts +62 -0
- package/dist/models/json-result-list-maintenance-order-process-record-list-vo.js +15 -0
- package/dist/models/json-result-list-reimbursement-bill-process-record-list-vo.d.ts +62 -0
- package/dist/models/json-result-list-reimbursement-bill-process-record-list-vo.js +15 -0
- package/dist/models/maintenance-order-approval-config-add-dto.d.ts +6 -0
- package/dist/models/maintenance-order-process-record-list-vo.d.ts +61 -0
- package/dist/models/maintenance-order-process-record-list-vo.js +15 -0
- package/dist/models/maintenance-order-process-status-enum.d.ts +30 -0
- package/dist/models/maintenance-order-process-status-enum.js +34 -0
- package/dist/models/mdm-increment-vendor-bank-accounts-vo.d.ts +9 -9
- package/dist/models/mdm-increment-vendors-vo.d.ts +12 -12
- package/dist/models/payment-result-dto.d.ts +102 -0
- package/dist/models/payment-result-dto.js +15 -0
- package/dist/models/reimbursement-bill-draft-dto.d.ts +6 -0
- package/dist/models/reimbursement-bill-process-record-list-vo.d.ts +55 -0
- package/dist/models/reimbursement-bill-process-record-list-vo.js +15 -0
- package/dist/models/reimbursement-bill-process-type-enum.d.ts +22 -0
- package/dist/models/reimbursement-bill-process-type-enum.js +26 -0
- package/dist/models/reimbursement-bill-submit-dto.d.ts +7 -1
- package/dist/models/reimbursement-create-result-dto.d.ts +48 -0
- package/dist/models/reimbursement-create-result-dto.js +15 -0
- package/dist/models/reimbursement-platform-status-dto.d.ts +169 -0
- package/dist/models/reimbursement-platform-status-dto.js +15 -0
- package/dist/models/reimbursement-reverse-status-dto.d.ts +60 -0
- package/dist/models/reimbursement-reverse-status-dto.js +15 -0
- package/dist/models/user.d.ts +36 -0
- package/dist/models/user.js +15 -0
- package/models/budget-interaction-result-detail-dto.ts +54 -0
- package/models/czy-budget-interaction-result-webhook-dto.ts +87 -0
- package/models/czy-settlement-interaction-webhook-dto.ts +69 -0
- package/models/czycover-file-url-webhook-dto.ts +90 -0
- package/models/dashboard-maintenance-order-statistics-by-park-vo.ts +0 -6
- package/models/dashboard-maintenance-order-statistics-by-type-vo.ts +0 -6
- package/models/dept.ts +42 -0
- package/models/hwork-notice-bpm-dto.ts +66 -0
- package/models/hwork-user-list-req-dto.ts +36 -0
- package/models/hwork-user-list-result-vo.ts +54 -0
- package/models/index.ts +20 -0
- package/models/ipage-energy-cost-record-info-vo.ts +6 -6
- package/models/json-result-hwork-user-list-result-vo.ts +72 -0
- package/models/json-result-list-maintenance-order-process-record-list-vo.ts +72 -0
- package/models/json-result-list-reimbursement-bill-process-record-list-vo.ts +72 -0
- package/models/maintenance-order-approval-config-add-dto.ts +6 -0
- package/models/maintenance-order-process-record-list-vo.ts +71 -0
- package/models/maintenance-order-process-status-enum.ts +40 -0
- package/models/mdm-increment-vendor-bank-accounts-vo.ts +9 -9
- package/models/mdm-increment-vendors-vo.ts +12 -12
- package/models/payment-result-dto.ts +108 -0
- package/models/reimbursement-bill-draft-dto.ts +6 -0
- package/models/reimbursement-bill-process-record-list-vo.ts +65 -0
- package/models/reimbursement-bill-process-type-enum.ts +32 -0
- package/models/reimbursement-bill-submit-dto.ts +7 -1
- package/models/reimbursement-create-result-dto.ts +54 -0
- package/models/reimbursement-platform-status-dto.ts +177 -0
- package/models/reimbursement-reverse-status-dto.ts +66 -0
- package/models/user.ts +42 -0
- package/ossutil.log +1185 -1179
- package/package.json +1 -1
|
@@ -33,16 +33,19 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
33
33
|
export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @summary
|
|
36
|
+
* 验收
|
|
37
|
+
* @summary 验收
|
|
38
38
|
* @param {number} id
|
|
39
|
+
* @param {MaintenanceOrderAcceptanceAddDto} maintenanceOrderAcceptanceAddDto
|
|
39
40
|
* @param {*} [options] Override http request option.
|
|
40
41
|
* @throws {RequiredError}
|
|
41
42
|
*/
|
|
42
|
-
|
|
43
|
+
maintenanceOrderAccept: (id_1, maintenanceOrderAcceptanceAddDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderAcceptanceAddDto_1, ...args_1], void 0, function* (id, maintenanceOrderAcceptanceAddDto, options = {}) {
|
|
43
44
|
// verify required parameter 'id' is not null or undefined
|
|
44
|
-
assertParamExists('
|
|
45
|
-
|
|
45
|
+
assertParamExists('maintenanceOrderAccept', 'id', id);
|
|
46
|
+
// verify required parameter 'maintenanceOrderAcceptanceAddDto' is not null or undefined
|
|
47
|
+
assertParamExists('maintenanceOrderAccept', 'maintenanceOrderAcceptanceAddDto', maintenanceOrderAcceptanceAddDto);
|
|
48
|
+
const localVarPath = `/gizone/maintenance-order/{id}/accept`
|
|
46
49
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
47
50
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
51
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -50,34 +53,36 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
50
53
|
if (configuration) {
|
|
51
54
|
baseOptions = configuration.baseOptions;
|
|
52
55
|
}
|
|
53
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
56
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
54
57
|
const localVarHeaderParameter = {};
|
|
55
58
|
const localVarQueryParameter = {};
|
|
56
59
|
// authentication tokenScheme required
|
|
57
60
|
// http bearer authentication required
|
|
58
61
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
62
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
59
63
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
64
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
65
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
66
|
+
localVarRequestOptions.data = serializeDataIfNeeded(maintenanceOrderAcceptanceAddDto, localVarRequestOptions, configuration);
|
|
62
67
|
return {
|
|
63
68
|
url: toPathString(localVarUrlObj),
|
|
64
69
|
options: localVarRequestOptions,
|
|
65
70
|
};
|
|
66
71
|
}),
|
|
67
72
|
/**
|
|
68
|
-
*
|
|
69
|
-
* @summary
|
|
73
|
+
* 编辑节点验收记录
|
|
74
|
+
* @summary 编辑节点验收记录
|
|
70
75
|
* @param {number} id
|
|
71
|
-
* @param {
|
|
76
|
+
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
72
77
|
* @param {*} [options] Override http request option.
|
|
73
78
|
* @throws {RequiredError}
|
|
74
79
|
*/
|
|
75
|
-
|
|
80
|
+
maintenanceOrderAcceptanceNodes: (id_1, acceptanceNodeInfo_1, ...args_1) => __awaiter(this, [id_1, acceptanceNodeInfo_1, ...args_1], void 0, function* (id, acceptanceNodeInfo, options = {}) {
|
|
76
81
|
// verify required parameter 'id' is not null or undefined
|
|
77
|
-
assertParamExists('
|
|
78
|
-
// verify required parameter '
|
|
79
|
-
assertParamExists('
|
|
80
|
-
const localVarPath = `/gizone/maintenance-order/{id}/
|
|
82
|
+
assertParamExists('maintenanceOrderAcceptanceNodes', 'id', id);
|
|
83
|
+
// verify required parameter 'acceptanceNodeInfo' is not null or undefined
|
|
84
|
+
assertParamExists('maintenanceOrderAcceptanceNodes', 'acceptanceNodeInfo', acceptanceNodeInfo);
|
|
85
|
+
const localVarPath = `/gizone/maintenance-order/{id}/acceptance-nodes`
|
|
81
86
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
82
87
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
88
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -95,7 +100,7 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
95
100
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
96
101
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
102
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
103
|
+
localVarRequestOptions.data = serializeDataIfNeeded(acceptanceNodeInfo, localVarRequestOptions, configuration);
|
|
99
104
|
return {
|
|
100
105
|
url: toPathString(localVarUrlObj),
|
|
101
106
|
options: localVarRequestOptions,
|
|
@@ -108,9 +113,9 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
108
113
|
* @param {*} [options] Override http request option.
|
|
109
114
|
* @throws {RequiredError}
|
|
110
115
|
*/
|
|
111
|
-
|
|
116
|
+
maintenanceOrderComplete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
112
117
|
// verify required parameter 'id' is not null or undefined
|
|
113
|
-
assertParamExists('
|
|
118
|
+
assertParamExists('maintenanceOrderComplete', 'id', id);
|
|
114
119
|
const localVarPath = `/gizone/maintenance-order/{id}/complete`
|
|
115
120
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
116
121
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -141,11 +146,11 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
141
146
|
* @param {*} [options] Override http request option.
|
|
142
147
|
* @throws {RequiredError}
|
|
143
148
|
*/
|
|
144
|
-
|
|
149
|
+
maintenanceOrderConstructionSchedules: (id_1, maintenanceConstructionSchedulesDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceConstructionSchedulesDto_1, ...args_1], void 0, function* (id, maintenanceConstructionSchedulesDto, options = {}) {
|
|
145
150
|
// verify required parameter 'id' is not null or undefined
|
|
146
|
-
assertParamExists('
|
|
151
|
+
assertParamExists('maintenanceOrderConstructionSchedules', 'id', id);
|
|
147
152
|
// verify required parameter 'maintenanceConstructionSchedulesDto' is not null or undefined
|
|
148
|
-
assertParamExists('
|
|
153
|
+
assertParamExists('maintenanceOrderConstructionSchedules', 'maintenanceConstructionSchedulesDto', maintenanceConstructionSchedulesDto);
|
|
149
154
|
const localVarPath = `/gizone/maintenance-order/{id}/construction-schedules`
|
|
150
155
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
151
156
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -171,19 +176,16 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
171
176
|
};
|
|
172
177
|
}),
|
|
173
178
|
/**
|
|
174
|
-
*
|
|
175
|
-
* @summary
|
|
179
|
+
* 删除修缮订单(逻辑删除)
|
|
180
|
+
* @summary 删除修缮订单
|
|
176
181
|
* @param {number} id
|
|
177
|
-
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
178
182
|
* @param {*} [options] Override http request option.
|
|
179
183
|
* @throws {RequiredError}
|
|
180
184
|
*/
|
|
181
|
-
|
|
185
|
+
maintenanceOrderDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
182
186
|
// verify required parameter 'id' is not null or undefined
|
|
183
|
-
assertParamExists('
|
|
184
|
-
|
|
185
|
-
assertParamExists('editAcceptanceNodes', 'acceptanceNodeInfo', acceptanceNodeInfo);
|
|
186
|
-
const localVarPath = `/gizone/maintenance-order/{id}/acceptance-nodes`
|
|
187
|
+
assertParamExists('maintenanceOrderDelete', 'id', id);
|
|
188
|
+
const localVarPath = `/gizone/maintenance-order/{id}`
|
|
187
189
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
188
190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
189
191
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -191,36 +193,31 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
191
193
|
if (configuration) {
|
|
192
194
|
baseOptions = configuration.baseOptions;
|
|
193
195
|
}
|
|
194
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
196
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
195
197
|
const localVarHeaderParameter = {};
|
|
196
198
|
const localVarQueryParameter = {};
|
|
197
199
|
// authentication tokenScheme required
|
|
198
200
|
// http bearer authentication required
|
|
199
201
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
200
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
201
202
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
202
203
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
203
204
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
204
|
-
localVarRequestOptions.data = serializeDataIfNeeded(acceptanceNodeInfo, localVarRequestOptions, configuration);
|
|
205
205
|
return {
|
|
206
206
|
url: toPathString(localVarUrlObj),
|
|
207
207
|
options: localVarRequestOptions,
|
|
208
208
|
};
|
|
209
209
|
}),
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
212
|
-
* @summary
|
|
211
|
+
* 根据ID查询修缮订单详情
|
|
212
|
+
* @summary 查询修缮订单详情
|
|
213
213
|
* @param {number} id
|
|
214
|
-
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
215
214
|
* @param {*} [options] Override http request option.
|
|
216
215
|
* @throws {RequiredError}
|
|
217
216
|
*/
|
|
218
|
-
|
|
217
|
+
maintenanceOrderDetail: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
219
218
|
// verify required parameter 'id' is not null or undefined
|
|
220
|
-
assertParamExists('
|
|
221
|
-
|
|
222
|
-
assertParamExists('editMaterialConfirmation', 'materialConfirmationInfo', materialConfirmationInfo);
|
|
223
|
-
const localVarPath = `/gizone/maintenance-order/{id}/material-confirmations`
|
|
219
|
+
assertParamExists('maintenanceOrderDetail', 'id', id);
|
|
220
|
+
const localVarPath = `/gizone/maintenance-order/{id}`
|
|
224
221
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
225
222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
226
223
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -228,17 +225,15 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
228
225
|
if (configuration) {
|
|
229
226
|
baseOptions = configuration.baseOptions;
|
|
230
227
|
}
|
|
231
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
228
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
232
229
|
const localVarHeaderParameter = {};
|
|
233
230
|
const localVarQueryParameter = {};
|
|
234
231
|
// authentication tokenScheme required
|
|
235
232
|
// http bearer authentication required
|
|
236
233
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
237
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
238
234
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
239
235
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
240
236
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
241
|
-
localVarRequestOptions.data = serializeDataIfNeeded(materialConfirmationInfo, localVarRequestOptions, configuration);
|
|
242
237
|
return {
|
|
243
238
|
url: toPathString(localVarUrlObj),
|
|
244
239
|
options: localVarRequestOptions,
|
|
@@ -256,7 +251,7 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
256
251
|
* @param {*} [options] Override http request option.
|
|
257
252
|
* @throws {RequiredError}
|
|
258
253
|
*/
|
|
259
|
-
|
|
254
|
+
maintenanceOrderExport: (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
255
|
const localVarPath = `/gizone/maintenance-order/export`;
|
|
261
256
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
262
257
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -301,16 +296,19 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
301
296
|
};
|
|
302
297
|
}),
|
|
303
298
|
/**
|
|
304
|
-
*
|
|
305
|
-
* @summary
|
|
299
|
+
* 编辑原材料确认单
|
|
300
|
+
* @summary 编辑原材料确认单
|
|
306
301
|
* @param {number} id
|
|
302
|
+
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
307
303
|
* @param {*} [options] Override http request option.
|
|
308
304
|
* @throws {RequiredError}
|
|
309
305
|
*/
|
|
310
|
-
|
|
306
|
+
maintenanceOrderMaterialConfirmations: (id_1, materialConfirmationInfo_1, ...args_1) => __awaiter(this, [id_1, materialConfirmationInfo_1, ...args_1], void 0, function* (id, materialConfirmationInfo, options = {}) {
|
|
311
307
|
// verify required parameter 'id' is not null or undefined
|
|
312
|
-
assertParamExists('
|
|
313
|
-
|
|
308
|
+
assertParamExists('maintenanceOrderMaterialConfirmations', 'id', id);
|
|
309
|
+
// verify required parameter 'materialConfirmationInfo' is not null or undefined
|
|
310
|
+
assertParamExists('maintenanceOrderMaterialConfirmations', 'materialConfirmationInfo', materialConfirmationInfo);
|
|
311
|
+
const localVarPath = `/gizone/maintenance-order/{id}/material-confirmations`
|
|
314
312
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
315
313
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
316
314
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -318,15 +316,17 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
318
316
|
if (configuration) {
|
|
319
317
|
baseOptions = configuration.baseOptions;
|
|
320
318
|
}
|
|
321
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
319
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
322
320
|
const localVarHeaderParameter = {};
|
|
323
321
|
const localVarQueryParameter = {};
|
|
324
322
|
// authentication tokenScheme required
|
|
325
323
|
// http bearer authentication required
|
|
326
324
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
325
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
327
326
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
328
327
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
329
328
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
329
|
+
localVarRequestOptions.data = serializeDataIfNeeded(materialConfirmationInfo, localVarRequestOptions, configuration);
|
|
330
330
|
return {
|
|
331
331
|
url: toPathString(localVarUrlObj),
|
|
332
332
|
options: localVarRequestOptions,
|
|
@@ -348,11 +348,11 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
348
348
|
* @param {*} [options] Override http request option.
|
|
349
349
|
* @throws {RequiredError}
|
|
350
350
|
*/
|
|
351
|
-
|
|
351
|
+
maintenanceOrderPageList: (page_1, pageSize_1, parkId_1, parkIds_1, maintenanceOrderTypes_1, maintenanceOrderStatuses_1, startTimeBegin_1, startTimeEnd_1, searchValue_1, isTimeOut_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, parkId_1, parkIds_1, maintenanceOrderTypes_1, maintenanceOrderStatuses_1, startTimeBegin_1, startTimeEnd_1, searchValue_1, isTimeOut_1, ...args_1], void 0, function* (page, pageSize, parkId, parkIds, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, isTimeOut, options = {}) {
|
|
352
352
|
// verify required parameter 'page' is not null or undefined
|
|
353
|
-
assertParamExists('
|
|
353
|
+
assertParamExists('maintenanceOrderPageList', 'page', page);
|
|
354
354
|
// verify required parameter 'pageSize' is not null or undefined
|
|
355
|
-
assertParamExists('
|
|
355
|
+
assertParamExists('maintenanceOrderPageList', 'pageSize', pageSize);
|
|
356
356
|
const localVarPath = `/gizone/maintenance-order`;
|
|
357
357
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
358
358
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -408,6 +408,38 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
408
408
|
options: localVarRequestOptions,
|
|
409
409
|
};
|
|
410
410
|
}),
|
|
411
|
+
/**
|
|
412
|
+
*
|
|
413
|
+
* @summary 查询修缮单流转记录
|
|
414
|
+
* @param {number} id
|
|
415
|
+
* @param {*} [options] Override http request option.
|
|
416
|
+
* @throws {RequiredError}
|
|
417
|
+
*/
|
|
418
|
+
maintenanceOrderProcessRecord: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
419
|
+
// verify required parameter 'id' is not null or undefined
|
|
420
|
+
assertParamExists('maintenanceOrderProcessRecord', 'id', id);
|
|
421
|
+
const localVarPath = `/gizone/maintenance-order/{id}/processRecord`
|
|
422
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
423
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
424
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
425
|
+
let baseOptions;
|
|
426
|
+
if (configuration) {
|
|
427
|
+
baseOptions = configuration.baseOptions;
|
|
428
|
+
}
|
|
429
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
430
|
+
const localVarHeaderParameter = {};
|
|
431
|
+
const localVarQueryParameter = {};
|
|
432
|
+
// authentication tokenScheme required
|
|
433
|
+
// http bearer authentication required
|
|
434
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
435
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
436
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
437
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
438
|
+
return {
|
|
439
|
+
url: toPathString(localVarUrlObj),
|
|
440
|
+
options: localVarRequestOptions,
|
|
441
|
+
};
|
|
442
|
+
}),
|
|
411
443
|
/**
|
|
412
444
|
* 结算
|
|
413
445
|
* @summary 结算
|
|
@@ -416,11 +448,11 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
416
448
|
* @param {*} [options] Override http request option.
|
|
417
449
|
* @throws {RequiredError}
|
|
418
450
|
*/
|
|
419
|
-
|
|
451
|
+
maintenanceOrderSettlement: (id_1, maintenanceOrderSettlementAddDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderSettlementAddDto_1, ...args_1], void 0, function* (id, maintenanceOrderSettlementAddDto, options = {}) {
|
|
420
452
|
// verify required parameter 'id' is not null or undefined
|
|
421
|
-
assertParamExists('
|
|
453
|
+
assertParamExists('maintenanceOrderSettlement', 'id', id);
|
|
422
454
|
// verify required parameter 'maintenanceOrderSettlementAddDto' is not null or undefined
|
|
423
|
-
assertParamExists('
|
|
455
|
+
assertParamExists('maintenanceOrderSettlement', 'maintenanceOrderSettlementAddDto', maintenanceOrderSettlementAddDto);
|
|
424
456
|
const localVarPath = `/gizone/maintenance-order/{id}/settlement`
|
|
425
457
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
426
458
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -453,11 +485,11 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
453
485
|
* @param {*} [options] Override http request option.
|
|
454
486
|
* @throws {RequiredError}
|
|
455
487
|
*/
|
|
456
|
-
|
|
488
|
+
maintenanceOrderWarranty: (id_1, maintenanceOrderWarrantyUpdateDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderWarrantyUpdateDto_1, ...args_1], void 0, function* (id, maintenanceOrderWarrantyUpdateDto, options = {}) {
|
|
457
489
|
// verify required parameter 'id' is not null or undefined
|
|
458
|
-
assertParamExists('
|
|
490
|
+
assertParamExists('maintenanceOrderWarranty', 'id', id);
|
|
459
491
|
// verify required parameter 'maintenanceOrderWarrantyUpdateDto' is not null or undefined
|
|
460
|
-
assertParamExists('
|
|
492
|
+
assertParamExists('maintenanceOrderWarranty', 'maintenanceOrderWarrantyUpdateDto', maintenanceOrderWarrantyUpdateDto);
|
|
461
493
|
const localVarPath = `/gizone/maintenance-order/{id}/warranty`
|
|
462
494
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
463
495
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -492,35 +524,36 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
492
524
|
const localVarAxiosParamCreator = MaintenanceOrderApiAxiosParamCreator(configuration);
|
|
493
525
|
return {
|
|
494
526
|
/**
|
|
495
|
-
*
|
|
496
|
-
* @summary
|
|
527
|
+
* 验收
|
|
528
|
+
* @summary 验收
|
|
497
529
|
* @param {number} id
|
|
530
|
+
* @param {MaintenanceOrderAcceptanceAddDto} maintenanceOrderAcceptanceAddDto
|
|
498
531
|
* @param {*} [options] Override http request option.
|
|
499
532
|
* @throws {RequiredError}
|
|
500
533
|
*/
|
|
501
|
-
|
|
534
|
+
maintenanceOrderAccept(id, maintenanceOrderAcceptanceAddDto, options) {
|
|
502
535
|
return __awaiter(this, void 0, void 0, function* () {
|
|
503
536
|
var _a, _b, _c;
|
|
504
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
537
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderAccept(id, maintenanceOrderAcceptanceAddDto, options);
|
|
505
538
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
506
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
539
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderAccept']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
507
540
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
508
541
|
});
|
|
509
542
|
},
|
|
510
543
|
/**
|
|
511
|
-
*
|
|
512
|
-
* @summary
|
|
544
|
+
* 编辑节点验收记录
|
|
545
|
+
* @summary 编辑节点验收记录
|
|
513
546
|
* @param {number} id
|
|
514
|
-
* @param {
|
|
547
|
+
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
515
548
|
* @param {*} [options] Override http request option.
|
|
516
549
|
* @throws {RequiredError}
|
|
517
550
|
*/
|
|
518
|
-
|
|
551
|
+
maintenanceOrderAcceptanceNodes(id, acceptanceNodeInfo, options) {
|
|
519
552
|
return __awaiter(this, void 0, void 0, function* () {
|
|
520
553
|
var _a, _b, _c;
|
|
521
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
554
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderAcceptanceNodes(id, acceptanceNodeInfo, options);
|
|
522
555
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
523
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
556
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderAcceptanceNodes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
524
557
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
525
558
|
});
|
|
526
559
|
},
|
|
@@ -531,12 +564,12 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
531
564
|
* @param {*} [options] Override http request option.
|
|
532
565
|
* @throws {RequiredError}
|
|
533
566
|
*/
|
|
534
|
-
|
|
567
|
+
maintenanceOrderComplete(id, options) {
|
|
535
568
|
return __awaiter(this, void 0, void 0, function* () {
|
|
536
569
|
var _a, _b, _c;
|
|
537
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
570
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderComplete(id, options);
|
|
538
571
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
539
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
572
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderComplete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
540
573
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
541
574
|
});
|
|
542
575
|
},
|
|
@@ -548,46 +581,44 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
548
581
|
* @param {*} [options] Override http request option.
|
|
549
582
|
* @throws {RequiredError}
|
|
550
583
|
*/
|
|
551
|
-
|
|
584
|
+
maintenanceOrderConstructionSchedules(id, maintenanceConstructionSchedulesDto, options) {
|
|
552
585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
553
586
|
var _a, _b, _c;
|
|
554
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
587
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderConstructionSchedules(id, maintenanceConstructionSchedulesDto, options);
|
|
555
588
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
556
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
589
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderConstructionSchedules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
557
590
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
558
591
|
});
|
|
559
592
|
},
|
|
560
593
|
/**
|
|
561
|
-
*
|
|
562
|
-
* @summary
|
|
594
|
+
* 删除修缮订单(逻辑删除)
|
|
595
|
+
* @summary 删除修缮订单
|
|
563
596
|
* @param {number} id
|
|
564
|
-
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
565
597
|
* @param {*} [options] Override http request option.
|
|
566
598
|
* @throws {RequiredError}
|
|
567
599
|
*/
|
|
568
|
-
|
|
600
|
+
maintenanceOrderDelete(id, options) {
|
|
569
601
|
return __awaiter(this, void 0, void 0, function* () {
|
|
570
602
|
var _a, _b, _c;
|
|
571
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
603
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderDelete(id, options);
|
|
572
604
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
573
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
605
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
574
606
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
575
607
|
});
|
|
576
608
|
},
|
|
577
609
|
/**
|
|
578
|
-
*
|
|
579
|
-
* @summary
|
|
610
|
+
* 根据ID查询修缮订单详情
|
|
611
|
+
* @summary 查询修缮订单详情
|
|
580
612
|
* @param {number} id
|
|
581
|
-
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
582
613
|
* @param {*} [options] Override http request option.
|
|
583
614
|
* @throws {RequiredError}
|
|
584
615
|
*/
|
|
585
|
-
|
|
616
|
+
maintenanceOrderDetail(id, options) {
|
|
586
617
|
return __awaiter(this, void 0, void 0, function* () {
|
|
587
618
|
var _a, _b, _c;
|
|
588
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
619
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderDetail(id, options);
|
|
589
620
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
590
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
621
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
591
622
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
592
623
|
});
|
|
593
624
|
},
|
|
@@ -603,28 +634,29 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
603
634
|
* @param {*} [options] Override http request option.
|
|
604
635
|
* @throws {RequiredError}
|
|
605
636
|
*/
|
|
606
|
-
|
|
637
|
+
maintenanceOrderExport(parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options) {
|
|
607
638
|
return __awaiter(this, void 0, void 0, function* () {
|
|
608
639
|
var _a, _b, _c;
|
|
609
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
640
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderExport(parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options);
|
|
610
641
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
611
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
642
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
612
643
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
613
644
|
});
|
|
614
645
|
},
|
|
615
646
|
/**
|
|
616
|
-
*
|
|
617
|
-
* @summary
|
|
647
|
+
* 编辑原材料确认单
|
|
648
|
+
* @summary 编辑原材料确认单
|
|
618
649
|
* @param {number} id
|
|
650
|
+
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
619
651
|
* @param {*} [options] Override http request option.
|
|
620
652
|
* @throws {RequiredError}
|
|
621
653
|
*/
|
|
622
|
-
|
|
654
|
+
maintenanceOrderMaterialConfirmations(id, materialConfirmationInfo, options) {
|
|
623
655
|
return __awaiter(this, void 0, void 0, function* () {
|
|
624
656
|
var _a, _b, _c;
|
|
625
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
657
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderMaterialConfirmations(id, materialConfirmationInfo, options);
|
|
626
658
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
627
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
659
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderMaterialConfirmations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
628
660
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
629
661
|
});
|
|
630
662
|
},
|
|
@@ -644,12 +676,28 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
644
676
|
* @param {*} [options] Override http request option.
|
|
645
677
|
* @throws {RequiredError}
|
|
646
678
|
*/
|
|
647
|
-
|
|
679
|
+
maintenanceOrderPageList(page, pageSize, parkId, parkIds, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, isTimeOut, options) {
|
|
680
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
681
|
+
var _a, _b, _c;
|
|
682
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderPageList(page, pageSize, parkId, parkIds, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, isTimeOut, options);
|
|
683
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
684
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderPageList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
685
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
686
|
+
});
|
|
687
|
+
},
|
|
688
|
+
/**
|
|
689
|
+
*
|
|
690
|
+
* @summary 查询修缮单流转记录
|
|
691
|
+
* @param {number} id
|
|
692
|
+
* @param {*} [options] Override http request option.
|
|
693
|
+
* @throws {RequiredError}
|
|
694
|
+
*/
|
|
695
|
+
maintenanceOrderProcessRecord(id, options) {
|
|
648
696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
649
697
|
var _a, _b, _c;
|
|
650
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
698
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderProcessRecord(id, options);
|
|
651
699
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
652
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
700
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderProcessRecord']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
653
701
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
654
702
|
});
|
|
655
703
|
},
|
|
@@ -661,12 +709,12 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
661
709
|
* @param {*} [options] Override http request option.
|
|
662
710
|
* @throws {RequiredError}
|
|
663
711
|
*/
|
|
664
|
-
|
|
712
|
+
maintenanceOrderSettlement(id, maintenanceOrderSettlementAddDto, options) {
|
|
665
713
|
return __awaiter(this, void 0, void 0, function* () {
|
|
666
714
|
var _a, _b, _c;
|
|
667
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
715
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderSettlement(id, maintenanceOrderSettlementAddDto, options);
|
|
668
716
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
669
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
717
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderSettlement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
670
718
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
671
719
|
});
|
|
672
720
|
},
|
|
@@ -678,12 +726,12 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
678
726
|
* @param {*} [options] Override http request option.
|
|
679
727
|
* @throws {RequiredError}
|
|
680
728
|
*/
|
|
681
|
-
|
|
729
|
+
maintenanceOrderWarranty(id, maintenanceOrderWarrantyUpdateDto, options) {
|
|
682
730
|
return __awaiter(this, void 0, void 0, function* () {
|
|
683
731
|
var _a, _b, _c;
|
|
684
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
732
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderWarranty(id, maintenanceOrderWarrantyUpdateDto, options);
|
|
685
733
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
686
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
734
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderWarranty']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
687
735
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
688
736
|
});
|
|
689
737
|
},
|
|
@@ -697,114 +745,124 @@ export const MaintenanceOrderApiFactory = function (configuration, basePath, axi
|
|
|
697
745
|
const localVarFp = MaintenanceOrderApiFp(configuration);
|
|
698
746
|
return {
|
|
699
747
|
/**
|
|
700
|
-
*
|
|
701
|
-
* @summary
|
|
702
|
-
* @param {
|
|
748
|
+
* 验收
|
|
749
|
+
* @summary 验收
|
|
750
|
+
* @param {MaintenanceOrderApiMaintenanceOrderAcceptRequest} requestParameters Request parameters.
|
|
703
751
|
* @param {*} [options] Override http request option.
|
|
704
752
|
* @throws {RequiredError}
|
|
705
753
|
*/
|
|
706
|
-
|
|
707
|
-
return localVarFp.
|
|
754
|
+
maintenanceOrderAccept(requestParameters, options) {
|
|
755
|
+
return localVarFp.maintenanceOrderAccept(requestParameters.id, requestParameters.maintenanceOrderAcceptanceAddDto, options).then((request) => request(axios, basePath));
|
|
708
756
|
},
|
|
709
757
|
/**
|
|
710
|
-
*
|
|
711
|
-
* @summary
|
|
712
|
-
* @param {
|
|
758
|
+
* 编辑节点验收记录
|
|
759
|
+
* @summary 编辑节点验收记录
|
|
760
|
+
* @param {MaintenanceOrderApiMaintenanceOrderAcceptanceNodesRequest} requestParameters Request parameters.
|
|
713
761
|
* @param {*} [options] Override http request option.
|
|
714
762
|
* @throws {RequiredError}
|
|
715
763
|
*/
|
|
716
|
-
|
|
717
|
-
return localVarFp.
|
|
764
|
+
maintenanceOrderAcceptanceNodes(requestParameters, options) {
|
|
765
|
+
return localVarFp.maintenanceOrderAcceptanceNodes(requestParameters.id, requestParameters.acceptanceNodeInfo, options).then((request) => request(axios, basePath));
|
|
718
766
|
},
|
|
719
767
|
/**
|
|
720
768
|
* 施工完成
|
|
721
769
|
* @summary 施工完成
|
|
722
|
-
* @param {
|
|
770
|
+
* @param {MaintenanceOrderApiMaintenanceOrderCompleteRequest} requestParameters Request parameters.
|
|
723
771
|
* @param {*} [options] Override http request option.
|
|
724
772
|
* @throws {RequiredError}
|
|
725
773
|
*/
|
|
726
|
-
|
|
727
|
-
return localVarFp.
|
|
774
|
+
maintenanceOrderComplete(requestParameters, options) {
|
|
775
|
+
return localVarFp.maintenanceOrderComplete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
728
776
|
},
|
|
729
777
|
/**
|
|
730
778
|
* 施工排期
|
|
731
779
|
* @summary 施工排期
|
|
732
|
-
* @param {
|
|
780
|
+
* @param {MaintenanceOrderApiMaintenanceOrderConstructionSchedulesRequest} requestParameters Request parameters.
|
|
733
781
|
* @param {*} [options] Override http request option.
|
|
734
782
|
* @throws {RequiredError}
|
|
735
783
|
*/
|
|
736
|
-
|
|
737
|
-
return localVarFp.
|
|
784
|
+
maintenanceOrderConstructionSchedules(requestParameters, options) {
|
|
785
|
+
return localVarFp.maintenanceOrderConstructionSchedules(requestParameters.id, requestParameters.maintenanceConstructionSchedulesDto, options).then((request) => request(axios, basePath));
|
|
738
786
|
},
|
|
739
787
|
/**
|
|
740
|
-
*
|
|
741
|
-
* @summary
|
|
742
|
-
* @param {
|
|
788
|
+
* 删除修缮订单(逻辑删除)
|
|
789
|
+
* @summary 删除修缮订单
|
|
790
|
+
* @param {MaintenanceOrderApiMaintenanceOrderDeleteRequest} requestParameters Request parameters.
|
|
743
791
|
* @param {*} [options] Override http request option.
|
|
744
792
|
* @throws {RequiredError}
|
|
745
793
|
*/
|
|
746
|
-
|
|
747
|
-
return localVarFp.
|
|
794
|
+
maintenanceOrderDelete(requestParameters, options) {
|
|
795
|
+
return localVarFp.maintenanceOrderDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
748
796
|
},
|
|
749
797
|
/**
|
|
750
|
-
*
|
|
751
|
-
* @summary
|
|
752
|
-
* @param {
|
|
798
|
+
* 根据ID查询修缮订单详情
|
|
799
|
+
* @summary 查询修缮订单详情
|
|
800
|
+
* @param {MaintenanceOrderApiMaintenanceOrderDetailRequest} requestParameters Request parameters.
|
|
753
801
|
* @param {*} [options] Override http request option.
|
|
754
802
|
* @throws {RequiredError}
|
|
755
803
|
*/
|
|
756
|
-
|
|
757
|
-
return localVarFp.
|
|
804
|
+
maintenanceOrderDetail(requestParameters, options) {
|
|
805
|
+
return localVarFp.maintenanceOrderDetail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
758
806
|
},
|
|
759
807
|
/**
|
|
760
808
|
* 导出
|
|
761
809
|
* @summary 导出
|
|
762
|
-
* @param {
|
|
810
|
+
* @param {MaintenanceOrderApiMaintenanceOrderExportRequest} requestParameters Request parameters.
|
|
763
811
|
* @param {*} [options] Override http request option.
|
|
764
812
|
* @throws {RequiredError}
|
|
765
813
|
*/
|
|
766
|
-
|
|
767
|
-
return localVarFp.
|
|
814
|
+
maintenanceOrderExport(requestParameters = {}, options) {
|
|
815
|
+
return localVarFp.maintenanceOrderExport(requestParameters.parkId, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, options).then((request) => request(axios, basePath));
|
|
768
816
|
},
|
|
769
817
|
/**
|
|
770
|
-
*
|
|
771
|
-
* @summary
|
|
772
|
-
* @param {
|
|
818
|
+
* 编辑原材料确认单
|
|
819
|
+
* @summary 编辑原材料确认单
|
|
820
|
+
* @param {MaintenanceOrderApiMaintenanceOrderMaterialConfirmationsRequest} requestParameters Request parameters.
|
|
773
821
|
* @param {*} [options] Override http request option.
|
|
774
822
|
* @throws {RequiredError}
|
|
775
823
|
*/
|
|
776
|
-
|
|
777
|
-
return localVarFp.
|
|
824
|
+
maintenanceOrderMaterialConfirmations(requestParameters, options) {
|
|
825
|
+
return localVarFp.maintenanceOrderMaterialConfirmations(requestParameters.id, requestParameters.materialConfirmationInfo, options).then((request) => request(axios, basePath));
|
|
778
826
|
},
|
|
779
827
|
/**
|
|
780
828
|
* 分页查询修缮订单列表
|
|
781
829
|
* @summary 分页查询修缮订单列表
|
|
782
|
-
* @param {
|
|
830
|
+
* @param {MaintenanceOrderApiMaintenanceOrderPageListRequest} requestParameters Request parameters.
|
|
831
|
+
* @param {*} [options] Override http request option.
|
|
832
|
+
* @throws {RequiredError}
|
|
833
|
+
*/
|
|
834
|
+
maintenanceOrderPageList(requestParameters, options) {
|
|
835
|
+
return localVarFp.maintenanceOrderPageList(requestParameters.page, requestParameters.pageSize, requestParameters.parkId, requestParameters.parkIds, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, requestParameters.isTimeOut, options).then((request) => request(axios, basePath));
|
|
836
|
+
},
|
|
837
|
+
/**
|
|
838
|
+
*
|
|
839
|
+
* @summary 查询修缮单流转记录
|
|
840
|
+
* @param {MaintenanceOrderApiMaintenanceOrderProcessRecordRequest} requestParameters Request parameters.
|
|
783
841
|
* @param {*} [options] Override http request option.
|
|
784
842
|
* @throws {RequiredError}
|
|
785
843
|
*/
|
|
786
|
-
|
|
787
|
-
return localVarFp.
|
|
844
|
+
maintenanceOrderProcessRecord(requestParameters, options) {
|
|
845
|
+
return localVarFp.maintenanceOrderProcessRecord(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
788
846
|
},
|
|
789
847
|
/**
|
|
790
848
|
* 结算
|
|
791
849
|
* @summary 结算
|
|
792
|
-
* @param {
|
|
850
|
+
* @param {MaintenanceOrderApiMaintenanceOrderSettlementRequest} requestParameters Request parameters.
|
|
793
851
|
* @param {*} [options] Override http request option.
|
|
794
852
|
* @throws {RequiredError}
|
|
795
853
|
*/
|
|
796
|
-
|
|
797
|
-
return localVarFp.
|
|
854
|
+
maintenanceOrderSettlement(requestParameters, options) {
|
|
855
|
+
return localVarFp.maintenanceOrderSettlement(requestParameters.id, requestParameters.maintenanceOrderSettlementAddDto, options).then((request) => request(axios, basePath));
|
|
798
856
|
},
|
|
799
857
|
/**
|
|
800
858
|
* 质保
|
|
801
859
|
* @summary 质保
|
|
802
|
-
* @param {
|
|
860
|
+
* @param {MaintenanceOrderApiMaintenanceOrderWarrantyRequest} requestParameters Request parameters.
|
|
803
861
|
* @param {*} [options] Override http request option.
|
|
804
862
|
* @throws {RequiredError}
|
|
805
863
|
*/
|
|
806
|
-
|
|
807
|
-
return localVarFp.
|
|
864
|
+
maintenanceOrderWarranty(requestParameters, options) {
|
|
865
|
+
return localVarFp.maintenanceOrderWarranty(requestParameters.id, requestParameters.maintenanceOrderWarrantyUpdateDto, options).then((request) => request(axios, basePath));
|
|
808
866
|
},
|
|
809
867
|
};
|
|
810
868
|
};
|
|
@@ -816,124 +874,135 @@ export const MaintenanceOrderApiFactory = function (configuration, basePath, axi
|
|
|
816
874
|
*/
|
|
817
875
|
export class MaintenanceOrderApi extends BaseAPI {
|
|
818
876
|
/**
|
|
819
|
-
*
|
|
820
|
-
* @summary
|
|
821
|
-
* @param {
|
|
877
|
+
* 验收
|
|
878
|
+
* @summary 验收
|
|
879
|
+
* @param {MaintenanceOrderApiMaintenanceOrderAcceptRequest} requestParameters Request parameters.
|
|
822
880
|
* @param {*} [options] Override http request option.
|
|
823
881
|
* @throws {RequiredError}
|
|
824
882
|
* @memberof MaintenanceOrderApi
|
|
825
883
|
*/
|
|
826
|
-
|
|
827
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
884
|
+
maintenanceOrderAccept(requestParameters, options) {
|
|
885
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderAccept(requestParameters.id, requestParameters.maintenanceOrderAcceptanceAddDto, options).then((request) => request(this.axios, this.basePath));
|
|
828
886
|
}
|
|
829
887
|
/**
|
|
830
|
-
*
|
|
831
|
-
* @summary
|
|
832
|
-
* @param {
|
|
888
|
+
* 编辑节点验收记录
|
|
889
|
+
* @summary 编辑节点验收记录
|
|
890
|
+
* @param {MaintenanceOrderApiMaintenanceOrderAcceptanceNodesRequest} requestParameters Request parameters.
|
|
833
891
|
* @param {*} [options] Override http request option.
|
|
834
892
|
* @throws {RequiredError}
|
|
835
893
|
* @memberof MaintenanceOrderApi
|
|
836
894
|
*/
|
|
837
|
-
|
|
838
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
895
|
+
maintenanceOrderAcceptanceNodes(requestParameters, options) {
|
|
896
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderAcceptanceNodes(requestParameters.id, requestParameters.acceptanceNodeInfo, options).then((request) => request(this.axios, this.basePath));
|
|
839
897
|
}
|
|
840
898
|
/**
|
|
841
899
|
* 施工完成
|
|
842
900
|
* @summary 施工完成
|
|
843
|
-
* @param {
|
|
901
|
+
* @param {MaintenanceOrderApiMaintenanceOrderCompleteRequest} requestParameters Request parameters.
|
|
844
902
|
* @param {*} [options] Override http request option.
|
|
845
903
|
* @throws {RequiredError}
|
|
846
904
|
* @memberof MaintenanceOrderApi
|
|
847
905
|
*/
|
|
848
|
-
|
|
849
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
906
|
+
maintenanceOrderComplete(requestParameters, options) {
|
|
907
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderComplete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
850
908
|
}
|
|
851
909
|
/**
|
|
852
910
|
* 施工排期
|
|
853
911
|
* @summary 施工排期
|
|
854
|
-
* @param {
|
|
912
|
+
* @param {MaintenanceOrderApiMaintenanceOrderConstructionSchedulesRequest} requestParameters Request parameters.
|
|
855
913
|
* @param {*} [options] Override http request option.
|
|
856
914
|
* @throws {RequiredError}
|
|
857
915
|
* @memberof MaintenanceOrderApi
|
|
858
916
|
*/
|
|
859
|
-
|
|
860
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
917
|
+
maintenanceOrderConstructionSchedules(requestParameters, options) {
|
|
918
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderConstructionSchedules(requestParameters.id, requestParameters.maintenanceConstructionSchedulesDto, options).then((request) => request(this.axios, this.basePath));
|
|
861
919
|
}
|
|
862
920
|
/**
|
|
863
|
-
*
|
|
864
|
-
* @summary
|
|
865
|
-
* @param {
|
|
921
|
+
* 删除修缮订单(逻辑删除)
|
|
922
|
+
* @summary 删除修缮订单
|
|
923
|
+
* @param {MaintenanceOrderApiMaintenanceOrderDeleteRequest} requestParameters Request parameters.
|
|
866
924
|
* @param {*} [options] Override http request option.
|
|
867
925
|
* @throws {RequiredError}
|
|
868
926
|
* @memberof MaintenanceOrderApi
|
|
869
927
|
*/
|
|
870
|
-
|
|
871
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
928
|
+
maintenanceOrderDelete(requestParameters, options) {
|
|
929
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
872
930
|
}
|
|
873
931
|
/**
|
|
874
|
-
*
|
|
875
|
-
* @summary
|
|
876
|
-
* @param {
|
|
932
|
+
* 根据ID查询修缮订单详情
|
|
933
|
+
* @summary 查询修缮订单详情
|
|
934
|
+
* @param {MaintenanceOrderApiMaintenanceOrderDetailRequest} requestParameters Request parameters.
|
|
877
935
|
* @param {*} [options] Override http request option.
|
|
878
936
|
* @throws {RequiredError}
|
|
879
937
|
* @memberof MaintenanceOrderApi
|
|
880
938
|
*/
|
|
881
|
-
|
|
882
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
939
|
+
maintenanceOrderDetail(requestParameters, options) {
|
|
940
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
883
941
|
}
|
|
884
942
|
/**
|
|
885
943
|
* 导出
|
|
886
944
|
* @summary 导出
|
|
887
|
-
* @param {
|
|
945
|
+
* @param {MaintenanceOrderApiMaintenanceOrderExportRequest} requestParameters Request parameters.
|
|
888
946
|
* @param {*} [options] Override http request option.
|
|
889
947
|
* @throws {RequiredError}
|
|
890
948
|
* @memberof MaintenanceOrderApi
|
|
891
949
|
*/
|
|
892
|
-
|
|
893
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
950
|
+
maintenanceOrderExport(requestParameters = {}, options) {
|
|
951
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderExport(requestParameters.parkId, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, options).then((request) => request(this.axios, this.basePath));
|
|
894
952
|
}
|
|
895
953
|
/**
|
|
896
|
-
*
|
|
897
|
-
* @summary
|
|
898
|
-
* @param {
|
|
954
|
+
* 编辑原材料确认单
|
|
955
|
+
* @summary 编辑原材料确认单
|
|
956
|
+
* @param {MaintenanceOrderApiMaintenanceOrderMaterialConfirmationsRequest} requestParameters Request parameters.
|
|
899
957
|
* @param {*} [options] Override http request option.
|
|
900
958
|
* @throws {RequiredError}
|
|
901
959
|
* @memberof MaintenanceOrderApi
|
|
902
960
|
*/
|
|
903
|
-
|
|
904
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
961
|
+
maintenanceOrderMaterialConfirmations(requestParameters, options) {
|
|
962
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderMaterialConfirmations(requestParameters.id, requestParameters.materialConfirmationInfo, options).then((request) => request(this.axios, this.basePath));
|
|
905
963
|
}
|
|
906
964
|
/**
|
|
907
965
|
* 分页查询修缮订单列表
|
|
908
966
|
* @summary 分页查询修缮订单列表
|
|
909
|
-
* @param {
|
|
967
|
+
* @param {MaintenanceOrderApiMaintenanceOrderPageListRequest} requestParameters Request parameters.
|
|
968
|
+
* @param {*} [options] Override http request option.
|
|
969
|
+
* @throws {RequiredError}
|
|
970
|
+
* @memberof MaintenanceOrderApi
|
|
971
|
+
*/
|
|
972
|
+
maintenanceOrderPageList(requestParameters, options) {
|
|
973
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderPageList(requestParameters.page, requestParameters.pageSize, requestParameters.parkId, requestParameters.parkIds, requestParameters.maintenanceOrderTypes, requestParameters.maintenanceOrderStatuses, requestParameters.startTimeBegin, requestParameters.startTimeEnd, requestParameters.searchValue, requestParameters.isTimeOut, options).then((request) => request(this.axios, this.basePath));
|
|
974
|
+
}
|
|
975
|
+
/**
|
|
976
|
+
*
|
|
977
|
+
* @summary 查询修缮单流转记录
|
|
978
|
+
* @param {MaintenanceOrderApiMaintenanceOrderProcessRecordRequest} requestParameters Request parameters.
|
|
910
979
|
* @param {*} [options] Override http request option.
|
|
911
980
|
* @throws {RequiredError}
|
|
912
981
|
* @memberof MaintenanceOrderApi
|
|
913
982
|
*/
|
|
914
|
-
|
|
915
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
983
|
+
maintenanceOrderProcessRecord(requestParameters, options) {
|
|
984
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderProcessRecord(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
916
985
|
}
|
|
917
986
|
/**
|
|
918
987
|
* 结算
|
|
919
988
|
* @summary 结算
|
|
920
|
-
* @param {
|
|
989
|
+
* @param {MaintenanceOrderApiMaintenanceOrderSettlementRequest} requestParameters Request parameters.
|
|
921
990
|
* @param {*} [options] Override http request option.
|
|
922
991
|
* @throws {RequiredError}
|
|
923
992
|
* @memberof MaintenanceOrderApi
|
|
924
993
|
*/
|
|
925
|
-
|
|
926
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
994
|
+
maintenanceOrderSettlement(requestParameters, options) {
|
|
995
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderSettlement(requestParameters.id, requestParameters.maintenanceOrderSettlementAddDto, options).then((request) => request(this.axios, this.basePath));
|
|
927
996
|
}
|
|
928
997
|
/**
|
|
929
998
|
* 质保
|
|
930
999
|
* @summary 质保
|
|
931
|
-
* @param {
|
|
1000
|
+
* @param {MaintenanceOrderApiMaintenanceOrderWarrantyRequest} requestParameters Request parameters.
|
|
932
1001
|
* @param {*} [options] Override http request option.
|
|
933
1002
|
* @throws {RequiredError}
|
|
934
1003
|
* @memberof MaintenanceOrderApi
|
|
935
1004
|
*/
|
|
936
|
-
|
|
937
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
1005
|
+
maintenanceOrderWarranty(requestParameters, options) {
|
|
1006
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderWarranty(requestParameters.id, requestParameters.maintenanceOrderWarrantyUpdateDto, options).then((request) => request(this.axios, this.basePath));
|
|
938
1007
|
}
|
|
939
1008
|
}
|