@gizone/rrs-client 4.2.9-alpha.642 → 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 +26 -0
- package/apis/dashboard-api.ts +544 -0
- package/apis/device-api.ts +15 -15
- package/apis/hwork-api.ts +93 -0
- package/apis/maintenance-order-api.ts +383 -268
- package/apis/reimbursement-bill-api.ts +89 -0
- package/apis/web-hook-api.ts +364 -0
- package/dist/apis/dashboard-api.d.ts +281 -0
- package/dist/apis/dashboard-api.js +420 -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 +249 -186
- package/dist/apis/maintenance-order-api.js +269 -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/dashboard-api.d.ts +281 -0
- package/dist/esm/apis/dashboard-api.js +420 -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 +249 -186
- package/dist/esm/apis/maintenance-order-api.js +269 -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-by-park-search-dto.d.ts +80 -0
- package/dist/esm/models/dashboard-maintenance-order-by-park-search-dto.js +14 -0
- package/dist/esm/models/dashboard-maintenance-order-list-search-dto.d.ts +98 -0
- package/dist/esm/models/dashboard-maintenance-order-list-search-dto.js +14 -0
- package/dist/esm/models/dashboard-maintenance-order-statistics-by-park-vo.d.ts +90 -0
- package/dist/esm/models/dashboard-maintenance-order-statistics-by-park-vo.js +14 -0
- package/dist/esm/models/dashboard-maintenance-order-statistics-by-type-vo.d.ts +85 -0
- package/dist/esm/models/dashboard-maintenance-order-statistics-by-type-vo.js +14 -0
- 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 +26 -0
- package/dist/esm/models/index.js +26 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +3 -3
- 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-dashboard-maintenance-order-statistics-by-park-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-dashboard-maintenance-order-statistics-by-park-vo.js +14 -0
- package/dist/esm/models/json-result-list-dashboard-maintenance-order-statistics-by-type-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-dashboard-maintenance-order-statistics-by-type-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-list-vo.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/maintenance-order-status-enum.d.ts +1 -1
- package/dist/esm/models/maintenance-order-status-enum.js +1 -1
- package/dist/esm/models/maintenance-order-type-enum.d.ts +1 -1
- package/dist/esm/models/maintenance-order-type-enum.js +1 -1
- 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-by-park-search-dto.d.ts +80 -0
- package/dist/models/dashboard-maintenance-order-by-park-search-dto.js +15 -0
- package/dist/models/dashboard-maintenance-order-list-search-dto.d.ts +98 -0
- package/dist/models/dashboard-maintenance-order-list-search-dto.js +15 -0
- package/dist/models/dashboard-maintenance-order-statistics-by-park-vo.d.ts +90 -0
- package/dist/models/dashboard-maintenance-order-statistics-by-park-vo.js +15 -0
- package/dist/models/dashboard-maintenance-order-statistics-by-type-vo.d.ts +85 -0
- package/dist/models/dashboard-maintenance-order-statistics-by-type-vo.js +15 -0
- 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 +26 -0
- package/dist/models/index.js +26 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +3 -3
- 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-dashboard-maintenance-order-statistics-by-park-vo.d.ts +62 -0
- package/dist/models/json-result-list-dashboard-maintenance-order-statistics-by-park-vo.js +15 -0
- package/dist/models/json-result-list-dashboard-maintenance-order-statistics-by-type-vo.d.ts +62 -0
- package/dist/models/json-result-list-dashboard-maintenance-order-statistics-by-type-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-list-vo.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/maintenance-order-status-enum.d.ts +1 -1
- package/dist/models/maintenance-order-status-enum.js +1 -1
- package/dist/models/maintenance-order-type-enum.d.ts +1 -1
- package/dist/models/maintenance-order-type-enum.js +1 -1
- 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-by-park-search-dto.ts +90 -0
- package/models/dashboard-maintenance-order-list-search-dto.ts +108 -0
- package/models/dashboard-maintenance-order-statistics-by-park-vo.ts +96 -0
- package/models/dashboard-maintenance-order-statistics-by-type-vo.ts +95 -0
- 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 +26 -0
- package/models/ipage-energy-cost-record-info-vo.ts +3 -3
- package/models/json-result-hwork-user-list-result-vo.ts +72 -0
- package/models/json-result-list-dashboard-maintenance-order-statistics-by-park-vo.ts +72 -0
- package/models/json-result-list-dashboard-maintenance-order-statistics-by-type-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-list-vo.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/maintenance-order-status-enum.ts +1 -1
- package/models/maintenance-order-type-enum.ts +1 -1
- 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 -1176
- 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,
|
|
@@ -338,19 +338,21 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
338
338
|
* @param {number} page 页码
|
|
339
339
|
* @param {number} pageSize 每页数量
|
|
340
340
|
* @param {number} [parkId] 园区ID
|
|
341
|
+
* @param {Array<number>} [parkIds] 园区ID集合
|
|
341
342
|
* @param {Array<MaintenanceOrderTypeEnum>} [maintenanceOrderTypes] 修缮类型
|
|
342
343
|
* @param {Array<MaintenanceOrderStatusEnum>} [maintenanceOrderStatuses] 修缮状态
|
|
343
344
|
* @param {string} [startTimeBegin] 开始时间(生成时间)
|
|
344
345
|
* @param {string} [startTimeEnd] 结束时间(生成时间)
|
|
345
346
|
* @param {string} [searchValue] 关键词
|
|
347
|
+
* @param {boolean} [isTimeOut] 是否超时
|
|
346
348
|
* @param {*} [options] Override http request option.
|
|
347
349
|
* @throws {RequiredError}
|
|
348
350
|
*/
|
|
349
|
-
|
|
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 = {}) {
|
|
350
352
|
// verify required parameter 'page' is not null or undefined
|
|
351
|
-
assertParamExists('
|
|
353
|
+
assertParamExists('maintenanceOrderPageList', 'page', page);
|
|
352
354
|
// verify required parameter 'pageSize' is not null or undefined
|
|
353
|
-
assertParamExists('
|
|
355
|
+
assertParamExists('maintenanceOrderPageList', 'pageSize', pageSize);
|
|
354
356
|
const localVarPath = `/gizone/maintenance-order`;
|
|
355
357
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
356
358
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -373,6 +375,9 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
373
375
|
if (parkId !== undefined) {
|
|
374
376
|
localVarQueryParameter['parkId'] = parkId;
|
|
375
377
|
}
|
|
378
|
+
if (parkIds) {
|
|
379
|
+
localVarQueryParameter['parkIds'] = parkIds;
|
|
380
|
+
}
|
|
376
381
|
if (maintenanceOrderTypes) {
|
|
377
382
|
localVarQueryParameter['maintenanceOrderTypes'] = maintenanceOrderTypes;
|
|
378
383
|
}
|
|
@@ -392,6 +397,41 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
392
397
|
if (searchValue !== undefined) {
|
|
393
398
|
localVarQueryParameter['searchValue'] = searchValue;
|
|
394
399
|
}
|
|
400
|
+
if (isTimeOut !== undefined) {
|
|
401
|
+
localVarQueryParameter['isTimeOut'] = isTimeOut;
|
|
402
|
+
}
|
|
403
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
404
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
405
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
406
|
+
return {
|
|
407
|
+
url: toPathString(localVarUrlObj),
|
|
408
|
+
options: localVarRequestOptions,
|
|
409
|
+
};
|
|
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);
|
|
395
435
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
396
436
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
397
437
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -408,11 +448,11 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
408
448
|
* @param {*} [options] Override http request option.
|
|
409
449
|
* @throws {RequiredError}
|
|
410
450
|
*/
|
|
411
|
-
|
|
451
|
+
maintenanceOrderSettlement: (id_1, maintenanceOrderSettlementAddDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderSettlementAddDto_1, ...args_1], void 0, function* (id, maintenanceOrderSettlementAddDto, options = {}) {
|
|
412
452
|
// verify required parameter 'id' is not null or undefined
|
|
413
|
-
assertParamExists('
|
|
453
|
+
assertParamExists('maintenanceOrderSettlement', 'id', id);
|
|
414
454
|
// verify required parameter 'maintenanceOrderSettlementAddDto' is not null or undefined
|
|
415
|
-
assertParamExists('
|
|
455
|
+
assertParamExists('maintenanceOrderSettlement', 'maintenanceOrderSettlementAddDto', maintenanceOrderSettlementAddDto);
|
|
416
456
|
const localVarPath = `/gizone/maintenance-order/{id}/settlement`
|
|
417
457
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
418
458
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -445,11 +485,11 @@ export const MaintenanceOrderApiAxiosParamCreator = function (configuration) {
|
|
|
445
485
|
* @param {*} [options] Override http request option.
|
|
446
486
|
* @throws {RequiredError}
|
|
447
487
|
*/
|
|
448
|
-
|
|
488
|
+
maintenanceOrderWarranty: (id_1, maintenanceOrderWarrantyUpdateDto_1, ...args_1) => __awaiter(this, [id_1, maintenanceOrderWarrantyUpdateDto_1, ...args_1], void 0, function* (id, maintenanceOrderWarrantyUpdateDto, options = {}) {
|
|
449
489
|
// verify required parameter 'id' is not null or undefined
|
|
450
|
-
assertParamExists('
|
|
490
|
+
assertParamExists('maintenanceOrderWarranty', 'id', id);
|
|
451
491
|
// verify required parameter 'maintenanceOrderWarrantyUpdateDto' is not null or undefined
|
|
452
|
-
assertParamExists('
|
|
492
|
+
assertParamExists('maintenanceOrderWarranty', 'maintenanceOrderWarrantyUpdateDto', maintenanceOrderWarrantyUpdateDto);
|
|
453
493
|
const localVarPath = `/gizone/maintenance-order/{id}/warranty`
|
|
454
494
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
455
495
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -484,35 +524,36 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
484
524
|
const localVarAxiosParamCreator = MaintenanceOrderApiAxiosParamCreator(configuration);
|
|
485
525
|
return {
|
|
486
526
|
/**
|
|
487
|
-
*
|
|
488
|
-
* @summary
|
|
527
|
+
* 验收
|
|
528
|
+
* @summary 验收
|
|
489
529
|
* @param {number} id
|
|
530
|
+
* @param {MaintenanceOrderAcceptanceAddDto} maintenanceOrderAcceptanceAddDto
|
|
490
531
|
* @param {*} [options] Override http request option.
|
|
491
532
|
* @throws {RequiredError}
|
|
492
533
|
*/
|
|
493
|
-
|
|
534
|
+
maintenanceOrderAccept(id, maintenanceOrderAcceptanceAddDto, options) {
|
|
494
535
|
return __awaiter(this, void 0, void 0, function* () {
|
|
495
536
|
var _a, _b, _c;
|
|
496
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
537
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderAccept(id, maintenanceOrderAcceptanceAddDto, options);
|
|
497
538
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
498
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
539
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderAccept']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
499
540
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
500
541
|
});
|
|
501
542
|
},
|
|
502
543
|
/**
|
|
503
|
-
*
|
|
504
|
-
* @summary
|
|
544
|
+
* 编辑节点验收记录
|
|
545
|
+
* @summary 编辑节点验收记录
|
|
505
546
|
* @param {number} id
|
|
506
|
-
* @param {
|
|
547
|
+
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
507
548
|
* @param {*} [options] Override http request option.
|
|
508
549
|
* @throws {RequiredError}
|
|
509
550
|
*/
|
|
510
|
-
|
|
551
|
+
maintenanceOrderAcceptanceNodes(id, acceptanceNodeInfo, options) {
|
|
511
552
|
return __awaiter(this, void 0, void 0, function* () {
|
|
512
553
|
var _a, _b, _c;
|
|
513
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
554
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderAcceptanceNodes(id, acceptanceNodeInfo, options);
|
|
514
555
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
515
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
556
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderAcceptanceNodes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
516
557
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
517
558
|
});
|
|
518
559
|
},
|
|
@@ -523,12 +564,12 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
523
564
|
* @param {*} [options] Override http request option.
|
|
524
565
|
* @throws {RequiredError}
|
|
525
566
|
*/
|
|
526
|
-
|
|
567
|
+
maintenanceOrderComplete(id, options) {
|
|
527
568
|
return __awaiter(this, void 0, void 0, function* () {
|
|
528
569
|
var _a, _b, _c;
|
|
529
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
570
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderComplete(id, options);
|
|
530
571
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
531
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
572
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderComplete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
532
573
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
533
574
|
});
|
|
534
575
|
},
|
|
@@ -540,46 +581,44 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
540
581
|
* @param {*} [options] Override http request option.
|
|
541
582
|
* @throws {RequiredError}
|
|
542
583
|
*/
|
|
543
|
-
|
|
584
|
+
maintenanceOrderConstructionSchedules(id, maintenanceConstructionSchedulesDto, options) {
|
|
544
585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
545
586
|
var _a, _b, _c;
|
|
546
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
587
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderConstructionSchedules(id, maintenanceConstructionSchedulesDto, options);
|
|
547
588
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
548
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
589
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderConstructionSchedules']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
549
590
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
550
591
|
});
|
|
551
592
|
},
|
|
552
593
|
/**
|
|
553
|
-
*
|
|
554
|
-
* @summary
|
|
594
|
+
* 删除修缮订单(逻辑删除)
|
|
595
|
+
* @summary 删除修缮订单
|
|
555
596
|
* @param {number} id
|
|
556
|
-
* @param {Array<AcceptanceNodeInfo>} acceptanceNodeInfo
|
|
557
597
|
* @param {*} [options] Override http request option.
|
|
558
598
|
* @throws {RequiredError}
|
|
559
599
|
*/
|
|
560
|
-
|
|
600
|
+
maintenanceOrderDelete(id, options) {
|
|
561
601
|
return __awaiter(this, void 0, void 0, function* () {
|
|
562
602
|
var _a, _b, _c;
|
|
563
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
603
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderDelete(id, options);
|
|
564
604
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
565
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
605
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
566
606
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
567
607
|
});
|
|
568
608
|
},
|
|
569
609
|
/**
|
|
570
|
-
*
|
|
571
|
-
* @summary
|
|
610
|
+
* 根据ID查询修缮订单详情
|
|
611
|
+
* @summary 查询修缮订单详情
|
|
572
612
|
* @param {number} id
|
|
573
|
-
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
574
613
|
* @param {*} [options] Override http request option.
|
|
575
614
|
* @throws {RequiredError}
|
|
576
615
|
*/
|
|
577
|
-
|
|
616
|
+
maintenanceOrderDetail(id, options) {
|
|
578
617
|
return __awaiter(this, void 0, void 0, function* () {
|
|
579
618
|
var _a, _b, _c;
|
|
580
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
619
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderDetail(id, options);
|
|
581
620
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
582
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
621
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
583
622
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
584
623
|
});
|
|
585
624
|
},
|
|
@@ -595,28 +634,29 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
595
634
|
* @param {*} [options] Override http request option.
|
|
596
635
|
* @throws {RequiredError}
|
|
597
636
|
*/
|
|
598
|
-
|
|
637
|
+
maintenanceOrderExport(parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options) {
|
|
599
638
|
return __awaiter(this, void 0, void 0, function* () {
|
|
600
639
|
var _a, _b, _c;
|
|
601
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
640
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderExport(parkId, maintenanceOrderTypes, maintenanceOrderStatuses, startTimeBegin, startTimeEnd, searchValue, options);
|
|
602
641
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
603
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
642
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
604
643
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
605
644
|
});
|
|
606
645
|
},
|
|
607
646
|
/**
|
|
608
|
-
*
|
|
609
|
-
* @summary
|
|
647
|
+
* 编辑原材料确认单
|
|
648
|
+
* @summary 编辑原材料确认单
|
|
610
649
|
* @param {number} id
|
|
650
|
+
* @param {Array<MaterialConfirmationInfo>} materialConfirmationInfo
|
|
611
651
|
* @param {*} [options] Override http request option.
|
|
612
652
|
* @throws {RequiredError}
|
|
613
653
|
*/
|
|
614
|
-
|
|
654
|
+
maintenanceOrderMaterialConfirmations(id, materialConfirmationInfo, options) {
|
|
615
655
|
return __awaiter(this, void 0, void 0, function* () {
|
|
616
656
|
var _a, _b, _c;
|
|
617
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
657
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderMaterialConfirmations(id, materialConfirmationInfo, options);
|
|
618
658
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
619
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
659
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderMaterialConfirmations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
620
660
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
621
661
|
});
|
|
622
662
|
},
|
|
@@ -626,20 +666,38 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
626
666
|
* @param {number} page 页码
|
|
627
667
|
* @param {number} pageSize 每页数量
|
|
628
668
|
* @param {number} [parkId] 园区ID
|
|
669
|
+
* @param {Array<number>} [parkIds] 园区ID集合
|
|
629
670
|
* @param {Array<MaintenanceOrderTypeEnum>} [maintenanceOrderTypes] 修缮类型
|
|
630
671
|
* @param {Array<MaintenanceOrderStatusEnum>} [maintenanceOrderStatuses] 修缮状态
|
|
631
672
|
* @param {string} [startTimeBegin] 开始时间(生成时间)
|
|
632
673
|
* @param {string} [startTimeEnd] 结束时间(生成时间)
|
|
633
674
|
* @param {string} [searchValue] 关键词
|
|
675
|
+
* @param {boolean} [isTimeOut] 是否超时
|
|
676
|
+
* @param {*} [options] Override http request option.
|
|
677
|
+
* @throws {RequiredError}
|
|
678
|
+
*/
|
|
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
|
|
634
692
|
* @param {*} [options] Override http request option.
|
|
635
693
|
* @throws {RequiredError}
|
|
636
694
|
*/
|
|
637
|
-
|
|
695
|
+
maintenanceOrderProcessRecord(id, options) {
|
|
638
696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
639
697
|
var _a, _b, _c;
|
|
640
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
698
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderProcessRecord(id, options);
|
|
641
699
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
642
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
700
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderProcessRecord']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
643
701
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
644
702
|
});
|
|
645
703
|
},
|
|
@@ -651,12 +709,12 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
651
709
|
* @param {*} [options] Override http request option.
|
|
652
710
|
* @throws {RequiredError}
|
|
653
711
|
*/
|
|
654
|
-
|
|
712
|
+
maintenanceOrderSettlement(id, maintenanceOrderSettlementAddDto, options) {
|
|
655
713
|
return __awaiter(this, void 0, void 0, function* () {
|
|
656
714
|
var _a, _b, _c;
|
|
657
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
715
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderSettlement(id, maintenanceOrderSettlementAddDto, options);
|
|
658
716
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
659
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
717
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderSettlement']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
660
718
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
661
719
|
});
|
|
662
720
|
},
|
|
@@ -668,12 +726,12 @@ export const MaintenanceOrderApiFp = function (configuration) {
|
|
|
668
726
|
* @param {*} [options] Override http request option.
|
|
669
727
|
* @throws {RequiredError}
|
|
670
728
|
*/
|
|
671
|
-
|
|
729
|
+
maintenanceOrderWarranty(id, maintenanceOrderWarrantyUpdateDto, options) {
|
|
672
730
|
return __awaiter(this, void 0, void 0, function* () {
|
|
673
731
|
var _a, _b, _c;
|
|
674
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
732
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceOrderWarranty(id, maintenanceOrderWarrantyUpdateDto, options);
|
|
675
733
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
676
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.
|
|
734
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MaintenanceOrderApi.maintenanceOrderWarranty']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
677
735
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
678
736
|
});
|
|
679
737
|
},
|
|
@@ -687,114 +745,124 @@ export const MaintenanceOrderApiFactory = function (configuration, basePath, axi
|
|
|
687
745
|
const localVarFp = MaintenanceOrderApiFp(configuration);
|
|
688
746
|
return {
|
|
689
747
|
/**
|
|
690
|
-
*
|
|
691
|
-
* @summary
|
|
692
|
-
* @param {
|
|
748
|
+
* 验收
|
|
749
|
+
* @summary 验收
|
|
750
|
+
* @param {MaintenanceOrderApiMaintenanceOrderAcceptRequest} requestParameters Request parameters.
|
|
693
751
|
* @param {*} [options] Override http request option.
|
|
694
752
|
* @throws {RequiredError}
|
|
695
753
|
*/
|
|
696
|
-
|
|
697
|
-
return localVarFp.
|
|
754
|
+
maintenanceOrderAccept(requestParameters, options) {
|
|
755
|
+
return localVarFp.maintenanceOrderAccept(requestParameters.id, requestParameters.maintenanceOrderAcceptanceAddDto, options).then((request) => request(axios, basePath));
|
|
698
756
|
},
|
|
699
757
|
/**
|
|
700
|
-
*
|
|
701
|
-
* @summary
|
|
702
|
-
* @param {
|
|
758
|
+
* 编辑节点验收记录
|
|
759
|
+
* @summary 编辑节点验收记录
|
|
760
|
+
* @param {MaintenanceOrderApiMaintenanceOrderAcceptanceNodesRequest} requestParameters Request parameters.
|
|
703
761
|
* @param {*} [options] Override http request option.
|
|
704
762
|
* @throws {RequiredError}
|
|
705
763
|
*/
|
|
706
|
-
|
|
707
|
-
return localVarFp.
|
|
764
|
+
maintenanceOrderAcceptanceNodes(requestParameters, options) {
|
|
765
|
+
return localVarFp.maintenanceOrderAcceptanceNodes(requestParameters.id, requestParameters.acceptanceNodeInfo, options).then((request) => request(axios, basePath));
|
|
708
766
|
},
|
|
709
767
|
/**
|
|
710
768
|
* 施工完成
|
|
711
769
|
* @summary 施工完成
|
|
712
|
-
* @param {
|
|
770
|
+
* @param {MaintenanceOrderApiMaintenanceOrderCompleteRequest} requestParameters Request parameters.
|
|
713
771
|
* @param {*} [options] Override http request option.
|
|
714
772
|
* @throws {RequiredError}
|
|
715
773
|
*/
|
|
716
|
-
|
|
717
|
-
return localVarFp.
|
|
774
|
+
maintenanceOrderComplete(requestParameters, options) {
|
|
775
|
+
return localVarFp.maintenanceOrderComplete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
718
776
|
},
|
|
719
777
|
/**
|
|
720
778
|
* 施工排期
|
|
721
779
|
* @summary 施工排期
|
|
722
|
-
* @param {
|
|
780
|
+
* @param {MaintenanceOrderApiMaintenanceOrderConstructionSchedulesRequest} requestParameters Request parameters.
|
|
723
781
|
* @param {*} [options] Override http request option.
|
|
724
782
|
* @throws {RequiredError}
|
|
725
783
|
*/
|
|
726
|
-
|
|
727
|
-
return localVarFp.
|
|
784
|
+
maintenanceOrderConstructionSchedules(requestParameters, options) {
|
|
785
|
+
return localVarFp.maintenanceOrderConstructionSchedules(requestParameters.id, requestParameters.maintenanceConstructionSchedulesDto, options).then((request) => request(axios, basePath));
|
|
728
786
|
},
|
|
729
787
|
/**
|
|
730
|
-
*
|
|
731
|
-
* @summary
|
|
732
|
-
* @param {
|
|
788
|
+
* 删除修缮订单(逻辑删除)
|
|
789
|
+
* @summary 删除修缮订单
|
|
790
|
+
* @param {MaintenanceOrderApiMaintenanceOrderDeleteRequest} requestParameters Request parameters.
|
|
733
791
|
* @param {*} [options] Override http request option.
|
|
734
792
|
* @throws {RequiredError}
|
|
735
793
|
*/
|
|
736
|
-
|
|
737
|
-
return localVarFp.
|
|
794
|
+
maintenanceOrderDelete(requestParameters, options) {
|
|
795
|
+
return localVarFp.maintenanceOrderDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
738
796
|
},
|
|
739
797
|
/**
|
|
740
|
-
*
|
|
741
|
-
* @summary
|
|
742
|
-
* @param {
|
|
798
|
+
* 根据ID查询修缮订单详情
|
|
799
|
+
* @summary 查询修缮订单详情
|
|
800
|
+
* @param {MaintenanceOrderApiMaintenanceOrderDetailRequest} requestParameters Request parameters.
|
|
743
801
|
* @param {*} [options] Override http request option.
|
|
744
802
|
* @throws {RequiredError}
|
|
745
803
|
*/
|
|
746
|
-
|
|
747
|
-
return localVarFp.
|
|
804
|
+
maintenanceOrderDetail(requestParameters, options) {
|
|
805
|
+
return localVarFp.maintenanceOrderDetail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
748
806
|
},
|
|
749
807
|
/**
|
|
750
808
|
* 导出
|
|
751
809
|
* @summary 导出
|
|
752
|
-
* @param {
|
|
810
|
+
* @param {MaintenanceOrderApiMaintenanceOrderExportRequest} requestParameters Request parameters.
|
|
753
811
|
* @param {*} [options] Override http request option.
|
|
754
812
|
* @throws {RequiredError}
|
|
755
813
|
*/
|
|
756
|
-
|
|
757
|
-
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));
|
|
758
816
|
},
|
|
759
817
|
/**
|
|
760
|
-
*
|
|
761
|
-
* @summary
|
|
762
|
-
* @param {
|
|
818
|
+
* 编辑原材料确认单
|
|
819
|
+
* @summary 编辑原材料确认单
|
|
820
|
+
* @param {MaintenanceOrderApiMaintenanceOrderMaterialConfirmationsRequest} requestParameters Request parameters.
|
|
763
821
|
* @param {*} [options] Override http request option.
|
|
764
822
|
* @throws {RequiredError}
|
|
765
823
|
*/
|
|
766
|
-
|
|
767
|
-
return localVarFp.
|
|
824
|
+
maintenanceOrderMaterialConfirmations(requestParameters, options) {
|
|
825
|
+
return localVarFp.maintenanceOrderMaterialConfirmations(requestParameters.id, requestParameters.materialConfirmationInfo, options).then((request) => request(axios, basePath));
|
|
768
826
|
},
|
|
769
827
|
/**
|
|
770
828
|
* 分页查询修缮订单列表
|
|
771
829
|
* @summary 分页查询修缮订单列表
|
|
772
|
-
* @param {
|
|
830
|
+
* @param {MaintenanceOrderApiMaintenanceOrderPageListRequest} requestParameters Request parameters.
|
|
773
831
|
* @param {*} [options] Override http request option.
|
|
774
832
|
* @throws {RequiredError}
|
|
775
833
|
*/
|
|
776
|
-
|
|
777
|
-
return localVarFp.
|
|
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.
|
|
841
|
+
* @param {*} [options] Override http request option.
|
|
842
|
+
* @throws {RequiredError}
|
|
843
|
+
*/
|
|
844
|
+
maintenanceOrderProcessRecord(requestParameters, options) {
|
|
845
|
+
return localVarFp.maintenanceOrderProcessRecord(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
778
846
|
},
|
|
779
847
|
/**
|
|
780
848
|
* 结算
|
|
781
849
|
* @summary 结算
|
|
782
|
-
* @param {
|
|
850
|
+
* @param {MaintenanceOrderApiMaintenanceOrderSettlementRequest} requestParameters Request parameters.
|
|
783
851
|
* @param {*} [options] Override http request option.
|
|
784
852
|
* @throws {RequiredError}
|
|
785
853
|
*/
|
|
786
|
-
|
|
787
|
-
return localVarFp.
|
|
854
|
+
maintenanceOrderSettlement(requestParameters, options) {
|
|
855
|
+
return localVarFp.maintenanceOrderSettlement(requestParameters.id, requestParameters.maintenanceOrderSettlementAddDto, options).then((request) => request(axios, basePath));
|
|
788
856
|
},
|
|
789
857
|
/**
|
|
790
858
|
* 质保
|
|
791
859
|
* @summary 质保
|
|
792
|
-
* @param {
|
|
860
|
+
* @param {MaintenanceOrderApiMaintenanceOrderWarrantyRequest} requestParameters Request parameters.
|
|
793
861
|
* @param {*} [options] Override http request option.
|
|
794
862
|
* @throws {RequiredError}
|
|
795
863
|
*/
|
|
796
|
-
|
|
797
|
-
return localVarFp.
|
|
864
|
+
maintenanceOrderWarranty(requestParameters, options) {
|
|
865
|
+
return localVarFp.maintenanceOrderWarranty(requestParameters.id, requestParameters.maintenanceOrderWarrantyUpdateDto, options).then((request) => request(axios, basePath));
|
|
798
866
|
},
|
|
799
867
|
};
|
|
800
868
|
};
|
|
@@ -806,124 +874,135 @@ export const MaintenanceOrderApiFactory = function (configuration, basePath, axi
|
|
|
806
874
|
*/
|
|
807
875
|
export class MaintenanceOrderApi extends BaseAPI {
|
|
808
876
|
/**
|
|
809
|
-
*
|
|
810
|
-
* @summary
|
|
811
|
-
* @param {
|
|
877
|
+
* 验收
|
|
878
|
+
* @summary 验收
|
|
879
|
+
* @param {MaintenanceOrderApiMaintenanceOrderAcceptRequest} requestParameters Request parameters.
|
|
812
880
|
* @param {*} [options] Override http request option.
|
|
813
881
|
* @throws {RequiredError}
|
|
814
882
|
* @memberof MaintenanceOrderApi
|
|
815
883
|
*/
|
|
816
|
-
|
|
817
|
-
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));
|
|
818
886
|
}
|
|
819
887
|
/**
|
|
820
|
-
*
|
|
821
|
-
* @summary
|
|
822
|
-
* @param {
|
|
888
|
+
* 编辑节点验收记录
|
|
889
|
+
* @summary 编辑节点验收记录
|
|
890
|
+
* @param {MaintenanceOrderApiMaintenanceOrderAcceptanceNodesRequest} requestParameters Request parameters.
|
|
823
891
|
* @param {*} [options] Override http request option.
|
|
824
892
|
* @throws {RequiredError}
|
|
825
893
|
* @memberof MaintenanceOrderApi
|
|
826
894
|
*/
|
|
827
|
-
|
|
828
|
-
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));
|
|
829
897
|
}
|
|
830
898
|
/**
|
|
831
899
|
* 施工完成
|
|
832
900
|
* @summary 施工完成
|
|
833
|
-
* @param {
|
|
901
|
+
* @param {MaintenanceOrderApiMaintenanceOrderCompleteRequest} requestParameters Request parameters.
|
|
834
902
|
* @param {*} [options] Override http request option.
|
|
835
903
|
* @throws {RequiredError}
|
|
836
904
|
* @memberof MaintenanceOrderApi
|
|
837
905
|
*/
|
|
838
|
-
|
|
839
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
906
|
+
maintenanceOrderComplete(requestParameters, options) {
|
|
907
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderComplete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
840
908
|
}
|
|
841
909
|
/**
|
|
842
910
|
* 施工排期
|
|
843
911
|
* @summary 施工排期
|
|
844
|
-
* @param {
|
|
912
|
+
* @param {MaintenanceOrderApiMaintenanceOrderConstructionSchedulesRequest} requestParameters Request parameters.
|
|
845
913
|
* @param {*} [options] Override http request option.
|
|
846
914
|
* @throws {RequiredError}
|
|
847
915
|
* @memberof MaintenanceOrderApi
|
|
848
916
|
*/
|
|
849
|
-
|
|
850
|
-
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));
|
|
851
919
|
}
|
|
852
920
|
/**
|
|
853
|
-
*
|
|
854
|
-
* @summary
|
|
855
|
-
* @param {
|
|
921
|
+
* 删除修缮订单(逻辑删除)
|
|
922
|
+
* @summary 删除修缮订单
|
|
923
|
+
* @param {MaintenanceOrderApiMaintenanceOrderDeleteRequest} requestParameters Request parameters.
|
|
856
924
|
* @param {*} [options] Override http request option.
|
|
857
925
|
* @throws {RequiredError}
|
|
858
926
|
* @memberof MaintenanceOrderApi
|
|
859
927
|
*/
|
|
860
|
-
|
|
861
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
928
|
+
maintenanceOrderDelete(requestParameters, options) {
|
|
929
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
862
930
|
}
|
|
863
931
|
/**
|
|
864
|
-
*
|
|
865
|
-
* @summary
|
|
866
|
-
* @param {
|
|
932
|
+
* 根据ID查询修缮订单详情
|
|
933
|
+
* @summary 查询修缮订单详情
|
|
934
|
+
* @param {MaintenanceOrderApiMaintenanceOrderDetailRequest} requestParameters Request parameters.
|
|
867
935
|
* @param {*} [options] Override http request option.
|
|
868
936
|
* @throws {RequiredError}
|
|
869
937
|
* @memberof MaintenanceOrderApi
|
|
870
938
|
*/
|
|
871
|
-
|
|
872
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
939
|
+
maintenanceOrderDetail(requestParameters, options) {
|
|
940
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
873
941
|
}
|
|
874
942
|
/**
|
|
875
943
|
* 导出
|
|
876
944
|
* @summary 导出
|
|
877
|
-
* @param {
|
|
945
|
+
* @param {MaintenanceOrderApiMaintenanceOrderExportRequest} requestParameters Request parameters.
|
|
878
946
|
* @param {*} [options] Override http request option.
|
|
879
947
|
* @throws {RequiredError}
|
|
880
948
|
* @memberof MaintenanceOrderApi
|
|
881
949
|
*/
|
|
882
|
-
|
|
883
|
-
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));
|
|
884
952
|
}
|
|
885
953
|
/**
|
|
886
|
-
*
|
|
887
|
-
* @summary
|
|
888
|
-
* @param {
|
|
954
|
+
* 编辑原材料确认单
|
|
955
|
+
* @summary 编辑原材料确认单
|
|
956
|
+
* @param {MaintenanceOrderApiMaintenanceOrderMaterialConfirmationsRequest} requestParameters Request parameters.
|
|
889
957
|
* @param {*} [options] Override http request option.
|
|
890
958
|
* @throws {RequiredError}
|
|
891
959
|
* @memberof MaintenanceOrderApi
|
|
892
960
|
*/
|
|
893
|
-
|
|
894
|
-
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));
|
|
895
963
|
}
|
|
896
964
|
/**
|
|
897
965
|
* 分页查询修缮订单列表
|
|
898
966
|
* @summary 分页查询修缮订单列表
|
|
899
|
-
* @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.
|
|
900
979
|
* @param {*} [options] Override http request option.
|
|
901
980
|
* @throws {RequiredError}
|
|
902
981
|
* @memberof MaintenanceOrderApi
|
|
903
982
|
*/
|
|
904
|
-
|
|
905
|
-
return MaintenanceOrderApiFp(this.configuration).
|
|
983
|
+
maintenanceOrderProcessRecord(requestParameters, options) {
|
|
984
|
+
return MaintenanceOrderApiFp(this.configuration).maintenanceOrderProcessRecord(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
906
985
|
}
|
|
907
986
|
/**
|
|
908
987
|
* 结算
|
|
909
988
|
* @summary 结算
|
|
910
|
-
* @param {
|
|
989
|
+
* @param {MaintenanceOrderApiMaintenanceOrderSettlementRequest} requestParameters Request parameters.
|
|
911
990
|
* @param {*} [options] Override http request option.
|
|
912
991
|
* @throws {RequiredError}
|
|
913
992
|
* @memberof MaintenanceOrderApi
|
|
914
993
|
*/
|
|
915
|
-
|
|
916
|
-
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));
|
|
917
996
|
}
|
|
918
997
|
/**
|
|
919
998
|
* 质保
|
|
920
999
|
* @summary 质保
|
|
921
|
-
* @param {
|
|
1000
|
+
* @param {MaintenanceOrderApiMaintenanceOrderWarrantyRequest} requestParameters Request parameters.
|
|
922
1001
|
* @param {*} [options] Override http request option.
|
|
923
1002
|
* @throws {RequiredError}
|
|
924
1003
|
* @memberof MaintenanceOrderApi
|
|
925
1004
|
*/
|
|
926
|
-
|
|
927
|
-
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));
|
|
928
1007
|
}
|
|
929
1008
|
}
|