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