@gizone/rrs-client 4.2.9-alpha.696 → 4.2.9-alpha.699
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 +32 -0
- package/api.ts +2 -0
- package/apis/evaluation-api.ts +611 -0
- package/apis/evaluation-config-api.ts +1351 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/apis/evaluation-api.d.ts +334 -0
- package/dist/apis/evaluation-api.js +455 -0
- package/dist/apis/evaluation-config-api.d.ts +709 -0
- package/dist/apis/evaluation-config-api.js +1028 -0
- package/dist/esm/api.d.ts +2 -0
- package/dist/esm/api.js +2 -0
- package/dist/esm/apis/evaluation-api.d.ts +334 -0
- package/dist/esm/apis/evaluation-api.js +448 -0
- package/dist/esm/apis/evaluation-config-api.d.ts +709 -0
- package/dist/esm/apis/evaluation-config-api.js +1021 -0
- package/dist/esm/models/approver-dto.d.ts +30 -0
- package/dist/esm/models/approver-dto.js +14 -0
- package/dist/esm/models/approver-vo.d.ts +30 -0
- package/dist/esm/models/approver-vo.js +14 -0
- package/dist/esm/models/evaluation-approval-process-dto.d.ts +44 -0
- package/dist/esm/models/evaluation-approval-process-dto.js +14 -0
- package/dist/esm/models/evaluation-approval-process-vo.d.ts +44 -0
- package/dist/esm/models/evaluation-approval-process-vo.js +14 -0
- package/dist/esm/models/evaluation-config-add-dto.d.ts +62 -0
- package/dist/esm/models/evaluation-config-add-dto.js +14 -0
- package/dist/esm/models/evaluation-config-details-vo.d.ts +80 -0
- package/dist/esm/models/evaluation-config-details-vo.js +14 -0
- package/dist/esm/models/evaluation-config-import-dto.d.ts +78 -0
- package/dist/esm/models/evaluation-config-import-dto.js +14 -0
- package/dist/esm/models/evaluation-config-list-vo.d.ts +73 -0
- package/dist/esm/models/evaluation-config-list-vo.js +14 -0
- package/dist/esm/models/evaluation-config-update-dto.d.ts +62 -0
- package/dist/esm/models/evaluation-config-update-dto.js +14 -0
- package/dist/esm/models/evaluation-config-violation-dto.d.ts +62 -0
- package/dist/esm/models/evaluation-config-violation-dto.js +14 -0
- package/dist/esm/models/evaluation-config-violation-vo.d.ts +62 -0
- package/dist/esm/models/evaluation-config-violation-vo.js +14 -0
- package/dist/esm/models/evaluation-details-vo.d.ts +105 -0
- package/dist/esm/models/evaluation-details-vo.js +14 -0
- package/dist/esm/models/evaluation-draft-dto.d.ts +92 -0
- package/dist/esm/models/evaluation-draft-dto.js +14 -0
- package/dist/esm/models/evaluation-item-add-dto.d.ts +49 -0
- package/dist/esm/models/evaluation-item-add-dto.js +14 -0
- package/dist/esm/models/evaluation-item-vo.d.ts +85 -0
- package/dist/esm/models/evaluation-item-vo.js +14 -0
- package/dist/esm/models/evaluation-list-vo.d.ts +86 -0
- package/dist/esm/models/evaluation-list-vo.js +14 -0
- package/dist/esm/models/evaluation-status-enum.d.ts +24 -0
- package/dist/esm/models/evaluation-status-enum.js +25 -0
- package/dist/esm/models/evaluation-submit-dto.d.ts +92 -0
- package/dist/esm/models/evaluation-submit-dto.js +14 -0
- package/dist/esm/models/evaluation-type-enum.d.ts +21 -0
- package/dist/esm/models/evaluation-type-enum.js +22 -0
- package/dist/esm/models/evaluation-violation-deduction-type-enum.d.ts +22 -0
- package/dist/esm/models/evaluation-violation-deduction-type-enum.js +23 -0
- package/dist/esm/models/excel-import-result-dtoevaluation-config-import-dto.d.ts +31 -0
- package/dist/esm/models/excel-import-result-dtoevaluation-config-import-dto.js +14 -0
- package/dist/esm/models/index.d.ts +30 -0
- package/dist/esm/models/index.js +30 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +6 -6
- package/dist/esm/models/json-result-evaluation-approval-process-vo.d.ts +62 -0
- package/dist/esm/models/json-result-evaluation-approval-process-vo.js +14 -0
- package/dist/esm/models/json-result-evaluation-config-details-vo.d.ts +62 -0
- package/dist/esm/models/json-result-evaluation-config-details-vo.js +14 -0
- package/dist/esm/models/json-result-evaluation-details-vo.d.ts +62 -0
- package/dist/esm/models/json-result-evaluation-details-vo.js +14 -0
- package/dist/esm/models/json-result-excel-import-result-dtoevaluation-config-import-dto.d.ts +62 -0
- package/dist/esm/models/json-result-excel-import-result-dtoevaluation-config-import-dto.js +14 -0
- package/dist/esm/models/json-result-page-dto-evaluation-config-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-evaluation-config-list-vo.js +14 -0
- package/dist/esm/models/json-result-page-dto-evaluation-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-evaluation-list-vo.js +14 -0
- package/dist/esm/models/page-dto-evaluation-config-list-vo.d.ts +31 -0
- package/dist/esm/models/page-dto-evaluation-config-list-vo.js +14 -0
- package/dist/esm/models/page-dto-evaluation-list-vo.d.ts +31 -0
- package/dist/esm/models/page-dto-evaluation-list-vo.js +14 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/esm/models/violation-level-enum.d.ts +23 -0
- package/dist/esm/models/violation-level-enum.js +24 -0
- package/dist/models/approver-dto.d.ts +30 -0
- package/dist/models/approver-dto.js +15 -0
- package/dist/models/approver-vo.d.ts +30 -0
- package/dist/models/approver-vo.js +15 -0
- package/dist/models/evaluation-approval-process-dto.d.ts +44 -0
- package/dist/models/evaluation-approval-process-dto.js +15 -0
- package/dist/models/evaluation-approval-process-vo.d.ts +44 -0
- package/dist/models/evaluation-approval-process-vo.js +15 -0
- package/dist/models/evaluation-config-add-dto.d.ts +62 -0
- package/dist/models/evaluation-config-add-dto.js +15 -0
- package/dist/models/evaluation-config-details-vo.d.ts +80 -0
- package/dist/models/evaluation-config-details-vo.js +15 -0
- package/dist/models/evaluation-config-import-dto.d.ts +78 -0
- package/dist/models/evaluation-config-import-dto.js +15 -0
- package/dist/models/evaluation-config-list-vo.d.ts +73 -0
- package/dist/models/evaluation-config-list-vo.js +15 -0
- package/dist/models/evaluation-config-update-dto.d.ts +62 -0
- package/dist/models/evaluation-config-update-dto.js +15 -0
- package/dist/models/evaluation-config-violation-dto.d.ts +62 -0
- package/dist/models/evaluation-config-violation-dto.js +15 -0
- package/dist/models/evaluation-config-violation-vo.d.ts +62 -0
- package/dist/models/evaluation-config-violation-vo.js +15 -0
- package/dist/models/evaluation-details-vo.d.ts +105 -0
- package/dist/models/evaluation-details-vo.js +15 -0
- package/dist/models/evaluation-draft-dto.d.ts +92 -0
- package/dist/models/evaluation-draft-dto.js +15 -0
- package/dist/models/evaluation-item-add-dto.d.ts +49 -0
- package/dist/models/evaluation-item-add-dto.js +15 -0
- package/dist/models/evaluation-item-vo.d.ts +85 -0
- package/dist/models/evaluation-item-vo.js +15 -0
- package/dist/models/evaluation-list-vo.d.ts +86 -0
- package/dist/models/evaluation-list-vo.js +15 -0
- package/dist/models/evaluation-status-enum.d.ts +24 -0
- package/dist/models/evaluation-status-enum.js +28 -0
- package/dist/models/evaluation-submit-dto.d.ts +92 -0
- package/dist/models/evaluation-submit-dto.js +15 -0
- package/dist/models/evaluation-type-enum.d.ts +21 -0
- package/dist/models/evaluation-type-enum.js +25 -0
- package/dist/models/evaluation-violation-deduction-type-enum.d.ts +22 -0
- package/dist/models/evaluation-violation-deduction-type-enum.js +26 -0
- package/dist/models/excel-import-result-dtoevaluation-config-import-dto.d.ts +31 -0
- package/dist/models/excel-import-result-dtoevaluation-config-import-dto.js +15 -0
- package/dist/models/index.d.ts +30 -0
- package/dist/models/index.js +30 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +6 -6
- package/dist/models/json-result-evaluation-approval-process-vo.d.ts +62 -0
- package/dist/models/json-result-evaluation-approval-process-vo.js +15 -0
- package/dist/models/json-result-evaluation-config-details-vo.d.ts +62 -0
- package/dist/models/json-result-evaluation-config-details-vo.js +15 -0
- package/dist/models/json-result-evaluation-details-vo.d.ts +62 -0
- package/dist/models/json-result-evaluation-details-vo.js +15 -0
- package/dist/models/json-result-excel-import-result-dtoevaluation-config-import-dto.d.ts +62 -0
- package/dist/models/json-result-excel-import-result-dtoevaluation-config-import-dto.js +15 -0
- package/dist/models/json-result-page-dto-evaluation-config-list-vo.d.ts +62 -0
- package/dist/models/json-result-page-dto-evaluation-config-list-vo.js +15 -0
- package/dist/models/json-result-page-dto-evaluation-list-vo.d.ts +62 -0
- package/dist/models/json-result-page-dto-evaluation-list-vo.js +15 -0
- package/dist/models/page-dto-evaluation-config-list-vo.d.ts +31 -0
- package/dist/models/page-dto-evaluation-config-list-vo.js +15 -0
- package/dist/models/page-dto-evaluation-list-vo.d.ts +31 -0
- package/dist/models/page-dto-evaluation-list-vo.js +15 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/dist/models/violation-level-enum.d.ts +23 -0
- package/dist/models/violation-level-enum.js +27 -0
- package/models/approver-dto.ts +36 -0
- package/models/approver-vo.ts +36 -0
- package/models/evaluation-approval-process-dto.ts +56 -0
- package/models/evaluation-approval-process-vo.ts +56 -0
- package/models/evaluation-config-add-dto.ts +74 -0
- package/models/evaluation-config-details-vo.ts +92 -0
- package/models/evaluation-config-import-dto.ts +84 -0
- package/models/evaluation-config-list-vo.ts +83 -0
- package/models/evaluation-config-update-dto.ts +74 -0
- package/models/evaluation-config-violation-dto.ts +74 -0
- package/models/evaluation-config-violation-vo.ts +74 -0
- package/models/evaluation-details-vo.ts +119 -0
- package/models/evaluation-draft-dto.ts +104 -0
- package/models/evaluation-item-add-dto.ts +59 -0
- package/models/evaluation-item-vo.ts +95 -0
- package/models/evaluation-list-vo.ts +98 -0
- package/models/evaluation-status-enum.ts +34 -0
- package/models/evaluation-submit-dto.ts +104 -0
- package/models/evaluation-type-enum.ts +31 -0
- package/models/evaluation-violation-deduction-type-enum.ts +32 -0
- package/models/excel-import-result-dtoevaluation-config-import-dto.ts +39 -0
- package/models/index.ts +30 -0
- package/models/ipage-energy-cost-record-info-vo.ts +6 -6
- package/models/json-result-evaluation-approval-process-vo.ts +72 -0
- package/models/json-result-evaluation-config-details-vo.ts +72 -0
- package/models/json-result-evaluation-details-vo.ts +72 -0
- package/models/json-result-excel-import-result-dtoevaluation-config-import-dto.ts +72 -0
- package/models/json-result-page-dto-evaluation-config-list-vo.ts +72 -0
- package/models/json-result-page-dto-evaluation-list-vo.ts +72 -0
- package/models/page-dto-evaluation-config-list-vo.ts +39 -0
- package/models/page-dto-evaluation-list-vo.ts +39 -0
- package/models/sys-user.ts +4 -4
- package/models/violation-level-enum.ts +33 -0
- package/ossutil.log +1221 -1221
- package/package.json +1 -1
|
@@ -0,0 +1,1028 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.EvaluationConfigApi = exports.EvaluationConfigApiFactory = exports.EvaluationConfigApiFp = exports.EvaluationConfigApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* EvaluationConfigApi - axios parameter creator
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
const EvaluationConfigApiAxiosParamCreator = function (configuration) {
|
|
37
|
+
return {
|
|
38
|
+
/**
|
|
39
|
+
* 新增评价配置信息及违规配置
|
|
40
|
+
* @summary 新增评价配置
|
|
41
|
+
* @param {EvaluationConfigAddDto} evaluationConfigAddDto
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
evaluationConfigAdd: (evaluationConfigAddDto_1, ...args_1) => __awaiter(this, [evaluationConfigAddDto_1, ...args_1], void 0, function* (evaluationConfigAddDto, options = {}) {
|
|
46
|
+
// verify required parameter 'evaluationConfigAddDto' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('evaluationConfigAdd', 'evaluationConfigAddDto', evaluationConfigAddDto);
|
|
48
|
+
const localVarPath = `/gizone/evaluation-config`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
// authentication tokenScheme required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
61
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(evaluationConfigAddDto, localVarRequestOptions, configuration);
|
|
66
|
+
return {
|
|
67
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
}),
|
|
71
|
+
/**
|
|
72
|
+
* 为评价配置添加审批流程,支持自定义审批顺序
|
|
73
|
+
* @summary 添加审批流程
|
|
74
|
+
* @param {EvaluationApprovalProcessDto} evaluationApprovalProcessDto
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
evaluationConfigAddApprovalProcess: (evaluationApprovalProcessDto_1, ...args_1) => __awaiter(this, [evaluationApprovalProcessDto_1, ...args_1], void 0, function* (evaluationApprovalProcessDto, options = {}) {
|
|
79
|
+
// verify required parameter 'evaluationApprovalProcessDto' is not null or undefined
|
|
80
|
+
(0, common_1.assertParamExists)('evaluationConfigAddApprovalProcess', 'evaluationApprovalProcessDto', evaluationApprovalProcessDto);
|
|
81
|
+
const localVarPath = `/gizone/evaluation-config/approval-process`;
|
|
82
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
84
|
+
let baseOptions;
|
|
85
|
+
if (configuration) {
|
|
86
|
+
baseOptions = configuration.baseOptions;
|
|
87
|
+
}
|
|
88
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
89
|
+
const localVarHeaderParameter = {};
|
|
90
|
+
const localVarQueryParameter = {};
|
|
91
|
+
// authentication tokenScheme required
|
|
92
|
+
// http bearer authentication required
|
|
93
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
94
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
95
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
96
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(evaluationApprovalProcessDto, localVarRequestOptions, configuration);
|
|
99
|
+
return {
|
|
100
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
}),
|
|
104
|
+
/**
|
|
105
|
+
* 批量删除评价配置信息
|
|
106
|
+
* @summary 批量删除评价配置
|
|
107
|
+
* @param {Array<number>} requestBody
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
evaluationConfigBatchDelete: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
112
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
113
|
+
(0, common_1.assertParamExists)('evaluationConfigBatchDelete', 'requestBody', requestBody);
|
|
114
|
+
const localVarPath = `/gizone/evaluation-config/batch`;
|
|
115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
|
+
let baseOptions;
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
}
|
|
121
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
122
|
+
const localVarHeaderParameter = {};
|
|
123
|
+
const localVarQueryParameter = {};
|
|
124
|
+
// authentication tokenScheme required
|
|
125
|
+
// http bearer authentication required
|
|
126
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
127
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
128
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
130
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
131
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
132
|
+
return {
|
|
133
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
134
|
+
options: localVarRequestOptions,
|
|
135
|
+
};
|
|
136
|
+
}),
|
|
137
|
+
/**
|
|
138
|
+
* 评价配置导出
|
|
139
|
+
* @summary 评价配置导出
|
|
140
|
+
* @param {string} [searchValue] 关键词(评价单号、职责内容)
|
|
141
|
+
* @param {number} [moduleId] 模块ID
|
|
142
|
+
* @param {number} [subCategoryId] 子分类ID
|
|
143
|
+
* @param {boolean} [status] 状态
|
|
144
|
+
* @param {EvaluationTypeEnum} [type] 类型
|
|
145
|
+
* @param {number} [page] 当前页
|
|
146
|
+
* @param {number} [pageSize] 每页条数
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
evaluationConfigBatchExport: (searchValue_1, moduleId_1, subCategoryId_1, status_1, type_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [searchValue_1, moduleId_1, subCategoryId_1, status_1, type_1, page_1, pageSize_1, ...args_1], void 0, function* (searchValue, moduleId, subCategoryId, status, type, page, pageSize, options = {}) {
|
|
151
|
+
const localVarPath = `/gizone/evaluation-config/export`;
|
|
152
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
153
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
154
|
+
let baseOptions;
|
|
155
|
+
if (configuration) {
|
|
156
|
+
baseOptions = configuration.baseOptions;
|
|
157
|
+
}
|
|
158
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
159
|
+
const localVarHeaderParameter = {};
|
|
160
|
+
const localVarQueryParameter = {};
|
|
161
|
+
// authentication tokenScheme required
|
|
162
|
+
// http bearer authentication required
|
|
163
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
164
|
+
if (searchValue !== undefined) {
|
|
165
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
166
|
+
}
|
|
167
|
+
if (moduleId !== undefined) {
|
|
168
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
169
|
+
}
|
|
170
|
+
if (subCategoryId !== undefined) {
|
|
171
|
+
localVarQueryParameter['subCategoryId'] = subCategoryId;
|
|
172
|
+
}
|
|
173
|
+
if (status !== undefined) {
|
|
174
|
+
localVarQueryParameter['status'] = status;
|
|
175
|
+
}
|
|
176
|
+
if (type !== undefined) {
|
|
177
|
+
localVarQueryParameter['type'] = type;
|
|
178
|
+
}
|
|
179
|
+
if (page !== undefined) {
|
|
180
|
+
localVarQueryParameter['page'] = page;
|
|
181
|
+
}
|
|
182
|
+
if (pageSize !== undefined) {
|
|
183
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
184
|
+
}
|
|
185
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
+
return {
|
|
189
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
190
|
+
options: localVarRequestOptions,
|
|
191
|
+
};
|
|
192
|
+
}),
|
|
193
|
+
/**
|
|
194
|
+
* 评价配置导入-确认导入
|
|
195
|
+
* @summary 评价配置导入-确认导入
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
*/
|
|
199
|
+
evaluationConfigBatchImportConfirm: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
200
|
+
const localVarPath = `/gizone/evaluation-config/batchImport/confirm`;
|
|
201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
202
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
203
|
+
let baseOptions;
|
|
204
|
+
if (configuration) {
|
|
205
|
+
baseOptions = configuration.baseOptions;
|
|
206
|
+
}
|
|
207
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
208
|
+
const localVarHeaderParameter = {};
|
|
209
|
+
const localVarQueryParameter = {};
|
|
210
|
+
// authentication tokenScheme required
|
|
211
|
+
// http bearer authentication required
|
|
212
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
213
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
214
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
215
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
216
|
+
return {
|
|
217
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
218
|
+
options: localVarRequestOptions,
|
|
219
|
+
};
|
|
220
|
+
}),
|
|
221
|
+
/**
|
|
222
|
+
* 评价配置导入-预览结果
|
|
223
|
+
* @summary 评价配置导入-预览结果
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
evaluationConfigBatchImportPreview: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
228
|
+
const localVarPath = `/gizone/evaluation-config/batchImport/preview`;
|
|
229
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
230
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
231
|
+
let baseOptions;
|
|
232
|
+
if (configuration) {
|
|
233
|
+
baseOptions = configuration.baseOptions;
|
|
234
|
+
}
|
|
235
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
236
|
+
const localVarHeaderParameter = {};
|
|
237
|
+
const localVarQueryParameter = {};
|
|
238
|
+
// authentication tokenScheme required
|
|
239
|
+
// http bearer authentication required
|
|
240
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
241
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
242
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
243
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
244
|
+
return {
|
|
245
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
246
|
+
options: localVarRequestOptions,
|
|
247
|
+
};
|
|
248
|
+
}),
|
|
249
|
+
/**
|
|
250
|
+
* 下载评价配置导入模板
|
|
251
|
+
* @summary 下载评价配置导入模板
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
evaluationConfigBatchImportTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
256
|
+
const localVarPath = `/gizone/evaluation-config/batchImport/template`;
|
|
257
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
258
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
259
|
+
let baseOptions;
|
|
260
|
+
if (configuration) {
|
|
261
|
+
baseOptions = configuration.baseOptions;
|
|
262
|
+
}
|
|
263
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
264
|
+
const localVarHeaderParameter = {};
|
|
265
|
+
const localVarQueryParameter = {};
|
|
266
|
+
// authentication tokenScheme required
|
|
267
|
+
// http bearer authentication required
|
|
268
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
269
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
270
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
271
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
272
|
+
return {
|
|
273
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
274
|
+
options: localVarRequestOptions,
|
|
275
|
+
};
|
|
276
|
+
}),
|
|
277
|
+
/**
|
|
278
|
+
* 评价配置导入-上传文件
|
|
279
|
+
* @summary 评价配置导入-上传文件
|
|
280
|
+
* @param {File} file
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @throws {RequiredError}
|
|
283
|
+
*/
|
|
284
|
+
evaluationConfigBatchImportUpload: (file_1, ...args_1) => __awaiter(this, [file_1, ...args_1], void 0, function* (file, options = {}) {
|
|
285
|
+
// verify required parameter 'file' is not null or undefined
|
|
286
|
+
(0, common_1.assertParamExists)('evaluationConfigBatchImportUpload', 'file', file);
|
|
287
|
+
const localVarPath = `/gizone/evaluation-config/batchImport/upload`;
|
|
288
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
289
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
290
|
+
let baseOptions;
|
|
291
|
+
if (configuration) {
|
|
292
|
+
baseOptions = configuration.baseOptions;
|
|
293
|
+
}
|
|
294
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
295
|
+
const localVarHeaderParameter = {};
|
|
296
|
+
const localVarQueryParameter = {};
|
|
297
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
298
|
+
// authentication tokenScheme required
|
|
299
|
+
// http bearer authentication required
|
|
300
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
301
|
+
if (file !== undefined) {
|
|
302
|
+
localVarFormParams.append('file', file);
|
|
303
|
+
}
|
|
304
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
305
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
306
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
307
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
308
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
309
|
+
return {
|
|
310
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
311
|
+
options: localVarRequestOptions,
|
|
312
|
+
};
|
|
313
|
+
}),
|
|
314
|
+
/**
|
|
315
|
+
* 删除评价配置信息
|
|
316
|
+
* @summary 删除评价配置
|
|
317
|
+
* @param {number} id
|
|
318
|
+
* @param {*} [options] Override http request option.
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
*/
|
|
321
|
+
evaluationConfigDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
322
|
+
// verify required parameter 'id' is not null or undefined
|
|
323
|
+
(0, common_1.assertParamExists)('evaluationConfigDelete', 'id', id);
|
|
324
|
+
const localVarPath = `/gizone/evaluation-config/{id}`
|
|
325
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
326
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
327
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
328
|
+
let baseOptions;
|
|
329
|
+
if (configuration) {
|
|
330
|
+
baseOptions = configuration.baseOptions;
|
|
331
|
+
}
|
|
332
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
333
|
+
const localVarHeaderParameter = {};
|
|
334
|
+
const localVarQueryParameter = {};
|
|
335
|
+
// authentication tokenScheme required
|
|
336
|
+
// http bearer authentication required
|
|
337
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
338
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
339
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
340
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
341
|
+
return {
|
|
342
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
343
|
+
options: localVarRequestOptions,
|
|
344
|
+
};
|
|
345
|
+
}),
|
|
346
|
+
/**
|
|
347
|
+
* 获取指定ID的评价配置详情,包含模块名称、子分类名称和违规配置列表
|
|
348
|
+
* @summary 获取评价配置详情
|
|
349
|
+
* @param {number} id
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
evaluationConfigDetails: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
354
|
+
// verify required parameter 'id' is not null or undefined
|
|
355
|
+
(0, common_1.assertParamExists)('evaluationConfigDetails', 'id', id);
|
|
356
|
+
const localVarPath = `/gizone/evaluation-config/{id}`
|
|
357
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
358
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
359
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
360
|
+
let baseOptions;
|
|
361
|
+
if (configuration) {
|
|
362
|
+
baseOptions = configuration.baseOptions;
|
|
363
|
+
}
|
|
364
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
365
|
+
const localVarHeaderParameter = {};
|
|
366
|
+
const localVarQueryParameter = {};
|
|
367
|
+
// authentication tokenScheme required
|
|
368
|
+
// http bearer authentication required
|
|
369
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
370
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
371
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
372
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
373
|
+
return {
|
|
374
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
375
|
+
options: localVarRequestOptions,
|
|
376
|
+
};
|
|
377
|
+
}),
|
|
378
|
+
/**
|
|
379
|
+
* 根据园区ID和审批类型获取审批流程详情
|
|
380
|
+
* @summary 获取审批流程详情
|
|
381
|
+
* @param {number} parkId 园区ID
|
|
382
|
+
* @param {EvaluationTypeEnum} approvalType 审批类型
|
|
383
|
+
* @param {*} [options] Override http request option.
|
|
384
|
+
* @throws {RequiredError}
|
|
385
|
+
*/
|
|
386
|
+
evaluationConfigGetApprovalProcess: (parkId_1, approvalType_1, ...args_1) => __awaiter(this, [parkId_1, approvalType_1, ...args_1], void 0, function* (parkId, approvalType, options = {}) {
|
|
387
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
388
|
+
(0, common_1.assertParamExists)('evaluationConfigGetApprovalProcess', 'parkId', parkId);
|
|
389
|
+
// verify required parameter 'approvalType' is not null or undefined
|
|
390
|
+
(0, common_1.assertParamExists)('evaluationConfigGetApprovalProcess', 'approvalType', approvalType);
|
|
391
|
+
const localVarPath = `/gizone/evaluation-config/approval-process`;
|
|
392
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
393
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
394
|
+
let baseOptions;
|
|
395
|
+
if (configuration) {
|
|
396
|
+
baseOptions = configuration.baseOptions;
|
|
397
|
+
}
|
|
398
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
399
|
+
const localVarHeaderParameter = {};
|
|
400
|
+
const localVarQueryParameter = {};
|
|
401
|
+
// authentication tokenScheme required
|
|
402
|
+
// http bearer authentication required
|
|
403
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
404
|
+
if (parkId !== undefined) {
|
|
405
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
406
|
+
}
|
|
407
|
+
if (approvalType !== undefined) {
|
|
408
|
+
localVarQueryParameter['approvalType'] = approvalType;
|
|
409
|
+
}
|
|
410
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
411
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
413
|
+
return {
|
|
414
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
415
|
+
options: localVarRequestOptions,
|
|
416
|
+
};
|
|
417
|
+
}),
|
|
418
|
+
/**
|
|
419
|
+
* 根据关键词、模块、子分类、状态、类型等条件分页查询评价配置列表
|
|
420
|
+
* @summary 分页查询评价配置列表
|
|
421
|
+
* @param {string} [searchValue] 关键词(评价单号、职责内容)
|
|
422
|
+
* @param {number} [moduleId] 模块ID
|
|
423
|
+
* @param {number} [subCategoryId] 子分类ID
|
|
424
|
+
* @param {boolean} [status] 状态
|
|
425
|
+
* @param {EvaluationTypeEnum} [type] 类型
|
|
426
|
+
* @param {number} [page] 当前页
|
|
427
|
+
* @param {number} [pageSize] 每页条数
|
|
428
|
+
* @param {*} [options] Override http request option.
|
|
429
|
+
* @throws {RequiredError}
|
|
430
|
+
*/
|
|
431
|
+
evaluationConfigPageList: (searchValue_1, moduleId_1, subCategoryId_1, status_1, type_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [searchValue_1, moduleId_1, subCategoryId_1, status_1, type_1, page_1, pageSize_1, ...args_1], void 0, function* (searchValue, moduleId, subCategoryId, status, type, page, pageSize, options = {}) {
|
|
432
|
+
const localVarPath = `/gizone/evaluation-config`;
|
|
433
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
434
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
435
|
+
let baseOptions;
|
|
436
|
+
if (configuration) {
|
|
437
|
+
baseOptions = configuration.baseOptions;
|
|
438
|
+
}
|
|
439
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
440
|
+
const localVarHeaderParameter = {};
|
|
441
|
+
const localVarQueryParameter = {};
|
|
442
|
+
// authentication tokenScheme required
|
|
443
|
+
// http bearer authentication required
|
|
444
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
445
|
+
if (searchValue !== undefined) {
|
|
446
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
447
|
+
}
|
|
448
|
+
if (moduleId !== undefined) {
|
|
449
|
+
localVarQueryParameter['moduleId'] = moduleId;
|
|
450
|
+
}
|
|
451
|
+
if (subCategoryId !== undefined) {
|
|
452
|
+
localVarQueryParameter['subCategoryId'] = subCategoryId;
|
|
453
|
+
}
|
|
454
|
+
if (status !== undefined) {
|
|
455
|
+
localVarQueryParameter['status'] = status;
|
|
456
|
+
}
|
|
457
|
+
if (type !== undefined) {
|
|
458
|
+
localVarQueryParameter['type'] = type;
|
|
459
|
+
}
|
|
460
|
+
if (page !== undefined) {
|
|
461
|
+
localVarQueryParameter['page'] = page;
|
|
462
|
+
}
|
|
463
|
+
if (pageSize !== undefined) {
|
|
464
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
465
|
+
}
|
|
466
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
467
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
468
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
469
|
+
return {
|
|
470
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
471
|
+
options: localVarRequestOptions,
|
|
472
|
+
};
|
|
473
|
+
}),
|
|
474
|
+
/**
|
|
475
|
+
* 修改评价配置信息及违规配置
|
|
476
|
+
* @summary 修改评价配置
|
|
477
|
+
* @param {number} id
|
|
478
|
+
* @param {EvaluationConfigUpdateDto} evaluationConfigUpdateDto
|
|
479
|
+
* @param {*} [options] Override http request option.
|
|
480
|
+
* @throws {RequiredError}
|
|
481
|
+
*/
|
|
482
|
+
evaluationConfigUpdate: (id_1, evaluationConfigUpdateDto_1, ...args_1) => __awaiter(this, [id_1, evaluationConfigUpdateDto_1, ...args_1], void 0, function* (id, evaluationConfigUpdateDto, options = {}) {
|
|
483
|
+
// verify required parameter 'id' is not null or undefined
|
|
484
|
+
(0, common_1.assertParamExists)('evaluationConfigUpdate', 'id', id);
|
|
485
|
+
// verify required parameter 'evaluationConfigUpdateDto' is not null or undefined
|
|
486
|
+
(0, common_1.assertParamExists)('evaluationConfigUpdate', 'evaluationConfigUpdateDto', evaluationConfigUpdateDto);
|
|
487
|
+
const localVarPath = `/gizone/evaluation-config/{id}`
|
|
488
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
489
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
490
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
491
|
+
let baseOptions;
|
|
492
|
+
if (configuration) {
|
|
493
|
+
baseOptions = configuration.baseOptions;
|
|
494
|
+
}
|
|
495
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
496
|
+
const localVarHeaderParameter = {};
|
|
497
|
+
const localVarQueryParameter = {};
|
|
498
|
+
// authentication tokenScheme required
|
|
499
|
+
// http bearer authentication required
|
|
500
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
501
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
502
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
503
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
504
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
505
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(evaluationConfigUpdateDto, localVarRequestOptions, configuration);
|
|
506
|
+
return {
|
|
507
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
508
|
+
options: localVarRequestOptions,
|
|
509
|
+
};
|
|
510
|
+
}),
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
exports.EvaluationConfigApiAxiosParamCreator = EvaluationConfigApiAxiosParamCreator;
|
|
514
|
+
/**
|
|
515
|
+
* EvaluationConfigApi - functional programming interface
|
|
516
|
+
* @export
|
|
517
|
+
*/
|
|
518
|
+
const EvaluationConfigApiFp = function (configuration) {
|
|
519
|
+
const localVarAxiosParamCreator = (0, exports.EvaluationConfigApiAxiosParamCreator)(configuration);
|
|
520
|
+
return {
|
|
521
|
+
/**
|
|
522
|
+
* 新增评价配置信息及违规配置
|
|
523
|
+
* @summary 新增评价配置
|
|
524
|
+
* @param {EvaluationConfigAddDto} evaluationConfigAddDto
|
|
525
|
+
* @param {*} [options] Override http request option.
|
|
526
|
+
* @throws {RequiredError}
|
|
527
|
+
*/
|
|
528
|
+
evaluationConfigAdd(evaluationConfigAddDto, options) {
|
|
529
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
530
|
+
var _a, _b, _c;
|
|
531
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigAdd(evaluationConfigAddDto, options);
|
|
532
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
533
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
534
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
535
|
+
});
|
|
536
|
+
},
|
|
537
|
+
/**
|
|
538
|
+
* 为评价配置添加审批流程,支持自定义审批顺序
|
|
539
|
+
* @summary 添加审批流程
|
|
540
|
+
* @param {EvaluationApprovalProcessDto} evaluationApprovalProcessDto
|
|
541
|
+
* @param {*} [options] Override http request option.
|
|
542
|
+
* @throws {RequiredError}
|
|
543
|
+
*/
|
|
544
|
+
evaluationConfigAddApprovalProcess(evaluationApprovalProcessDto, options) {
|
|
545
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
546
|
+
var _a, _b, _c;
|
|
547
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigAddApprovalProcess(evaluationApprovalProcessDto, options);
|
|
548
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
549
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigAddApprovalProcess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
550
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
551
|
+
});
|
|
552
|
+
},
|
|
553
|
+
/**
|
|
554
|
+
* 批量删除评价配置信息
|
|
555
|
+
* @summary 批量删除评价配置
|
|
556
|
+
* @param {Array<number>} requestBody
|
|
557
|
+
* @param {*} [options] Override http request option.
|
|
558
|
+
* @throws {RequiredError}
|
|
559
|
+
*/
|
|
560
|
+
evaluationConfigBatchDelete(requestBody, options) {
|
|
561
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
562
|
+
var _a, _b, _c;
|
|
563
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigBatchDelete(requestBody, options);
|
|
564
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
565
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigBatchDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
566
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
567
|
+
});
|
|
568
|
+
},
|
|
569
|
+
/**
|
|
570
|
+
* 评价配置导出
|
|
571
|
+
* @summary 评价配置导出
|
|
572
|
+
* @param {string} [searchValue] 关键词(评价单号、职责内容)
|
|
573
|
+
* @param {number} [moduleId] 模块ID
|
|
574
|
+
* @param {number} [subCategoryId] 子分类ID
|
|
575
|
+
* @param {boolean} [status] 状态
|
|
576
|
+
* @param {EvaluationTypeEnum} [type] 类型
|
|
577
|
+
* @param {number} [page] 当前页
|
|
578
|
+
* @param {number} [pageSize] 每页条数
|
|
579
|
+
* @param {*} [options] Override http request option.
|
|
580
|
+
* @throws {RequiredError}
|
|
581
|
+
*/
|
|
582
|
+
evaluationConfigBatchExport(searchValue, moduleId, subCategoryId, status, type, page, pageSize, options) {
|
|
583
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
584
|
+
var _a, _b, _c;
|
|
585
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigBatchExport(searchValue, moduleId, subCategoryId, status, type, page, pageSize, options);
|
|
586
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
587
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigBatchExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
588
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
589
|
+
});
|
|
590
|
+
},
|
|
591
|
+
/**
|
|
592
|
+
* 评价配置导入-确认导入
|
|
593
|
+
* @summary 评价配置导入-确认导入
|
|
594
|
+
* @param {*} [options] Override http request option.
|
|
595
|
+
* @throws {RequiredError}
|
|
596
|
+
*/
|
|
597
|
+
evaluationConfigBatchImportConfirm(options) {
|
|
598
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
599
|
+
var _a, _b, _c;
|
|
600
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigBatchImportConfirm(options);
|
|
601
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
602
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigBatchImportConfirm']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
603
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
604
|
+
});
|
|
605
|
+
},
|
|
606
|
+
/**
|
|
607
|
+
* 评价配置导入-预览结果
|
|
608
|
+
* @summary 评价配置导入-预览结果
|
|
609
|
+
* @param {*} [options] Override http request option.
|
|
610
|
+
* @throws {RequiredError}
|
|
611
|
+
*/
|
|
612
|
+
evaluationConfigBatchImportPreview(options) {
|
|
613
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
614
|
+
var _a, _b, _c;
|
|
615
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigBatchImportPreview(options);
|
|
616
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
617
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigBatchImportPreview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
618
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
619
|
+
});
|
|
620
|
+
},
|
|
621
|
+
/**
|
|
622
|
+
* 下载评价配置导入模板
|
|
623
|
+
* @summary 下载评价配置导入模板
|
|
624
|
+
* @param {*} [options] Override http request option.
|
|
625
|
+
* @throws {RequiredError}
|
|
626
|
+
*/
|
|
627
|
+
evaluationConfigBatchImportTemplate(options) {
|
|
628
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
629
|
+
var _a, _b, _c;
|
|
630
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigBatchImportTemplate(options);
|
|
631
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
632
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigBatchImportTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
633
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
634
|
+
});
|
|
635
|
+
},
|
|
636
|
+
/**
|
|
637
|
+
* 评价配置导入-上传文件
|
|
638
|
+
* @summary 评价配置导入-上传文件
|
|
639
|
+
* @param {File} file
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
*/
|
|
643
|
+
evaluationConfigBatchImportUpload(file, options) {
|
|
644
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
645
|
+
var _a, _b, _c;
|
|
646
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigBatchImportUpload(file, options);
|
|
647
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
648
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigBatchImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
649
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
650
|
+
});
|
|
651
|
+
},
|
|
652
|
+
/**
|
|
653
|
+
* 删除评价配置信息
|
|
654
|
+
* @summary 删除评价配置
|
|
655
|
+
* @param {number} id
|
|
656
|
+
* @param {*} [options] Override http request option.
|
|
657
|
+
* @throws {RequiredError}
|
|
658
|
+
*/
|
|
659
|
+
evaluationConfigDelete(id, options) {
|
|
660
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
661
|
+
var _a, _b, _c;
|
|
662
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigDelete(id, options);
|
|
663
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
664
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
665
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
666
|
+
});
|
|
667
|
+
},
|
|
668
|
+
/**
|
|
669
|
+
* 获取指定ID的评价配置详情,包含模块名称、子分类名称和违规配置列表
|
|
670
|
+
* @summary 获取评价配置详情
|
|
671
|
+
* @param {number} id
|
|
672
|
+
* @param {*} [options] Override http request option.
|
|
673
|
+
* @throws {RequiredError}
|
|
674
|
+
*/
|
|
675
|
+
evaluationConfigDetails(id, options) {
|
|
676
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
677
|
+
var _a, _b, _c;
|
|
678
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigDetails(id, options);
|
|
679
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
680
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
681
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
682
|
+
});
|
|
683
|
+
},
|
|
684
|
+
/**
|
|
685
|
+
* 根据园区ID和审批类型获取审批流程详情
|
|
686
|
+
* @summary 获取审批流程详情
|
|
687
|
+
* @param {number} parkId 园区ID
|
|
688
|
+
* @param {EvaluationTypeEnum} approvalType 审批类型
|
|
689
|
+
* @param {*} [options] Override http request option.
|
|
690
|
+
* @throws {RequiredError}
|
|
691
|
+
*/
|
|
692
|
+
evaluationConfigGetApprovalProcess(parkId, approvalType, options) {
|
|
693
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
694
|
+
var _a, _b, _c;
|
|
695
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigGetApprovalProcess(parkId, approvalType, options);
|
|
696
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
697
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigGetApprovalProcess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
698
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
699
|
+
});
|
|
700
|
+
},
|
|
701
|
+
/**
|
|
702
|
+
* 根据关键词、模块、子分类、状态、类型等条件分页查询评价配置列表
|
|
703
|
+
* @summary 分页查询评价配置列表
|
|
704
|
+
* @param {string} [searchValue] 关键词(评价单号、职责内容)
|
|
705
|
+
* @param {number} [moduleId] 模块ID
|
|
706
|
+
* @param {number} [subCategoryId] 子分类ID
|
|
707
|
+
* @param {boolean} [status] 状态
|
|
708
|
+
* @param {EvaluationTypeEnum} [type] 类型
|
|
709
|
+
* @param {number} [page] 当前页
|
|
710
|
+
* @param {number} [pageSize] 每页条数
|
|
711
|
+
* @param {*} [options] Override http request option.
|
|
712
|
+
* @throws {RequiredError}
|
|
713
|
+
*/
|
|
714
|
+
evaluationConfigPageList(searchValue, moduleId, subCategoryId, status, type, page, pageSize, options) {
|
|
715
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
716
|
+
var _a, _b, _c;
|
|
717
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigPageList(searchValue, moduleId, subCategoryId, status, type, page, pageSize, options);
|
|
718
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
719
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigPageList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
720
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
721
|
+
});
|
|
722
|
+
},
|
|
723
|
+
/**
|
|
724
|
+
* 修改评价配置信息及违规配置
|
|
725
|
+
* @summary 修改评价配置
|
|
726
|
+
* @param {number} id
|
|
727
|
+
* @param {EvaluationConfigUpdateDto} evaluationConfigUpdateDto
|
|
728
|
+
* @param {*} [options] Override http request option.
|
|
729
|
+
* @throws {RequiredError}
|
|
730
|
+
*/
|
|
731
|
+
evaluationConfigUpdate(id, evaluationConfigUpdateDto, options) {
|
|
732
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
733
|
+
var _a, _b, _c;
|
|
734
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.evaluationConfigUpdate(id, evaluationConfigUpdateDto, options);
|
|
735
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
736
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EvaluationConfigApi.evaluationConfigUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
737
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
738
|
+
});
|
|
739
|
+
},
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
exports.EvaluationConfigApiFp = EvaluationConfigApiFp;
|
|
743
|
+
/**
|
|
744
|
+
* EvaluationConfigApi - factory interface
|
|
745
|
+
* @export
|
|
746
|
+
*/
|
|
747
|
+
const EvaluationConfigApiFactory = function (configuration, basePath, axios) {
|
|
748
|
+
const localVarFp = (0, exports.EvaluationConfigApiFp)(configuration);
|
|
749
|
+
return {
|
|
750
|
+
/**
|
|
751
|
+
* 新增评价配置信息及违规配置
|
|
752
|
+
* @summary 新增评价配置
|
|
753
|
+
* @param {EvaluationConfigApiEvaluationConfigAddRequest} requestParameters Request parameters.
|
|
754
|
+
* @param {*} [options] Override http request option.
|
|
755
|
+
* @throws {RequiredError}
|
|
756
|
+
*/
|
|
757
|
+
evaluationConfigAdd(requestParameters, options) {
|
|
758
|
+
return localVarFp.evaluationConfigAdd(requestParameters.evaluationConfigAddDto, options).then((request) => request(axios, basePath));
|
|
759
|
+
},
|
|
760
|
+
/**
|
|
761
|
+
* 为评价配置添加审批流程,支持自定义审批顺序
|
|
762
|
+
* @summary 添加审批流程
|
|
763
|
+
* @param {EvaluationConfigApiEvaluationConfigAddApprovalProcessRequest} requestParameters Request parameters.
|
|
764
|
+
* @param {*} [options] Override http request option.
|
|
765
|
+
* @throws {RequiredError}
|
|
766
|
+
*/
|
|
767
|
+
evaluationConfigAddApprovalProcess(requestParameters, options) {
|
|
768
|
+
return localVarFp.evaluationConfigAddApprovalProcess(requestParameters.evaluationApprovalProcessDto, options).then((request) => request(axios, basePath));
|
|
769
|
+
},
|
|
770
|
+
/**
|
|
771
|
+
* 批量删除评价配置信息
|
|
772
|
+
* @summary 批量删除评价配置
|
|
773
|
+
* @param {EvaluationConfigApiEvaluationConfigBatchDeleteRequest} requestParameters Request parameters.
|
|
774
|
+
* @param {*} [options] Override http request option.
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
*/
|
|
777
|
+
evaluationConfigBatchDelete(requestParameters, options) {
|
|
778
|
+
return localVarFp.evaluationConfigBatchDelete(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
779
|
+
},
|
|
780
|
+
/**
|
|
781
|
+
* 评价配置导出
|
|
782
|
+
* @summary 评价配置导出
|
|
783
|
+
* @param {EvaluationConfigApiEvaluationConfigBatchExportRequest} requestParameters Request parameters.
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
*/
|
|
787
|
+
evaluationConfigBatchExport(requestParameters = {}, options) {
|
|
788
|
+
return localVarFp.evaluationConfigBatchExport(requestParameters.searchValue, requestParameters.moduleId, requestParameters.subCategoryId, requestParameters.status, requestParameters.type, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
789
|
+
},
|
|
790
|
+
/**
|
|
791
|
+
* 评价配置导入-确认导入
|
|
792
|
+
* @summary 评价配置导入-确认导入
|
|
793
|
+
* @param {*} [options] Override http request option.
|
|
794
|
+
* @throws {RequiredError}
|
|
795
|
+
*/
|
|
796
|
+
evaluationConfigBatchImportConfirm(options) {
|
|
797
|
+
return localVarFp.evaluationConfigBatchImportConfirm(options).then((request) => request(axios, basePath));
|
|
798
|
+
},
|
|
799
|
+
/**
|
|
800
|
+
* 评价配置导入-预览结果
|
|
801
|
+
* @summary 评价配置导入-预览结果
|
|
802
|
+
* @param {*} [options] Override http request option.
|
|
803
|
+
* @throws {RequiredError}
|
|
804
|
+
*/
|
|
805
|
+
evaluationConfigBatchImportPreview(options) {
|
|
806
|
+
return localVarFp.evaluationConfigBatchImportPreview(options).then((request) => request(axios, basePath));
|
|
807
|
+
},
|
|
808
|
+
/**
|
|
809
|
+
* 下载评价配置导入模板
|
|
810
|
+
* @summary 下载评价配置导入模板
|
|
811
|
+
* @param {*} [options] Override http request option.
|
|
812
|
+
* @throws {RequiredError}
|
|
813
|
+
*/
|
|
814
|
+
evaluationConfigBatchImportTemplate(options) {
|
|
815
|
+
return localVarFp.evaluationConfigBatchImportTemplate(options).then((request) => request(axios, basePath));
|
|
816
|
+
},
|
|
817
|
+
/**
|
|
818
|
+
* 评价配置导入-上传文件
|
|
819
|
+
* @summary 评价配置导入-上传文件
|
|
820
|
+
* @param {EvaluationConfigApiEvaluationConfigBatchImportUploadRequest} requestParameters Request parameters.
|
|
821
|
+
* @param {*} [options] Override http request option.
|
|
822
|
+
* @throws {RequiredError}
|
|
823
|
+
*/
|
|
824
|
+
evaluationConfigBatchImportUpload(requestParameters, options) {
|
|
825
|
+
return localVarFp.evaluationConfigBatchImportUpload(requestParameters.file, options).then((request) => request(axios, basePath));
|
|
826
|
+
},
|
|
827
|
+
/**
|
|
828
|
+
* 删除评价配置信息
|
|
829
|
+
* @summary 删除评价配置
|
|
830
|
+
* @param {EvaluationConfigApiEvaluationConfigDeleteRequest} requestParameters Request parameters.
|
|
831
|
+
* @param {*} [options] Override http request option.
|
|
832
|
+
* @throws {RequiredError}
|
|
833
|
+
*/
|
|
834
|
+
evaluationConfigDelete(requestParameters, options) {
|
|
835
|
+
return localVarFp.evaluationConfigDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
836
|
+
},
|
|
837
|
+
/**
|
|
838
|
+
* 获取指定ID的评价配置详情,包含模块名称、子分类名称和违规配置列表
|
|
839
|
+
* @summary 获取评价配置详情
|
|
840
|
+
* @param {EvaluationConfigApiEvaluationConfigDetailsRequest} requestParameters Request parameters.
|
|
841
|
+
* @param {*} [options] Override http request option.
|
|
842
|
+
* @throws {RequiredError}
|
|
843
|
+
*/
|
|
844
|
+
evaluationConfigDetails(requestParameters, options) {
|
|
845
|
+
return localVarFp.evaluationConfigDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
846
|
+
},
|
|
847
|
+
/**
|
|
848
|
+
* 根据园区ID和审批类型获取审批流程详情
|
|
849
|
+
* @summary 获取审批流程详情
|
|
850
|
+
* @param {EvaluationConfigApiEvaluationConfigGetApprovalProcessRequest} requestParameters Request parameters.
|
|
851
|
+
* @param {*} [options] Override http request option.
|
|
852
|
+
* @throws {RequiredError}
|
|
853
|
+
*/
|
|
854
|
+
evaluationConfigGetApprovalProcess(requestParameters, options) {
|
|
855
|
+
return localVarFp.evaluationConfigGetApprovalProcess(requestParameters.parkId, requestParameters.approvalType, options).then((request) => request(axios, basePath));
|
|
856
|
+
},
|
|
857
|
+
/**
|
|
858
|
+
* 根据关键词、模块、子分类、状态、类型等条件分页查询评价配置列表
|
|
859
|
+
* @summary 分页查询评价配置列表
|
|
860
|
+
* @param {EvaluationConfigApiEvaluationConfigPageListRequest} requestParameters Request parameters.
|
|
861
|
+
* @param {*} [options] Override http request option.
|
|
862
|
+
* @throws {RequiredError}
|
|
863
|
+
*/
|
|
864
|
+
evaluationConfigPageList(requestParameters = {}, options) {
|
|
865
|
+
return localVarFp.evaluationConfigPageList(requestParameters.searchValue, requestParameters.moduleId, requestParameters.subCategoryId, requestParameters.status, requestParameters.type, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
866
|
+
},
|
|
867
|
+
/**
|
|
868
|
+
* 修改评价配置信息及违规配置
|
|
869
|
+
* @summary 修改评价配置
|
|
870
|
+
* @param {EvaluationConfigApiEvaluationConfigUpdateRequest} requestParameters Request parameters.
|
|
871
|
+
* @param {*} [options] Override http request option.
|
|
872
|
+
* @throws {RequiredError}
|
|
873
|
+
*/
|
|
874
|
+
evaluationConfigUpdate(requestParameters, options) {
|
|
875
|
+
return localVarFp.evaluationConfigUpdate(requestParameters.id, requestParameters.evaluationConfigUpdateDto, options).then((request) => request(axios, basePath));
|
|
876
|
+
},
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
exports.EvaluationConfigApiFactory = EvaluationConfigApiFactory;
|
|
880
|
+
/**
|
|
881
|
+
* EvaluationConfigApi - object-oriented interface
|
|
882
|
+
* @export
|
|
883
|
+
* @class EvaluationConfigApi
|
|
884
|
+
* @extends {BaseAPI}
|
|
885
|
+
*/
|
|
886
|
+
class EvaluationConfigApi extends base_1.BaseAPI {
|
|
887
|
+
/**
|
|
888
|
+
* 新增评价配置信息及违规配置
|
|
889
|
+
* @summary 新增评价配置
|
|
890
|
+
* @param {EvaluationConfigApiEvaluationConfigAddRequest} requestParameters Request parameters.
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
* @memberof EvaluationConfigApi
|
|
894
|
+
*/
|
|
895
|
+
evaluationConfigAdd(requestParameters, options) {
|
|
896
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigAdd(requestParameters.evaluationConfigAddDto, options).then((request) => request(this.axios, this.basePath));
|
|
897
|
+
}
|
|
898
|
+
/**
|
|
899
|
+
* 为评价配置添加审批流程,支持自定义审批顺序
|
|
900
|
+
* @summary 添加审批流程
|
|
901
|
+
* @param {EvaluationConfigApiEvaluationConfigAddApprovalProcessRequest} requestParameters Request parameters.
|
|
902
|
+
* @param {*} [options] Override http request option.
|
|
903
|
+
* @throws {RequiredError}
|
|
904
|
+
* @memberof EvaluationConfigApi
|
|
905
|
+
*/
|
|
906
|
+
evaluationConfigAddApprovalProcess(requestParameters, options) {
|
|
907
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigAddApprovalProcess(requestParameters.evaluationApprovalProcessDto, options).then((request) => request(this.axios, this.basePath));
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* 批量删除评价配置信息
|
|
911
|
+
* @summary 批量删除评价配置
|
|
912
|
+
* @param {EvaluationConfigApiEvaluationConfigBatchDeleteRequest} requestParameters Request parameters.
|
|
913
|
+
* @param {*} [options] Override http request option.
|
|
914
|
+
* @throws {RequiredError}
|
|
915
|
+
* @memberof EvaluationConfigApi
|
|
916
|
+
*/
|
|
917
|
+
evaluationConfigBatchDelete(requestParameters, options) {
|
|
918
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigBatchDelete(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* 评价配置导出
|
|
922
|
+
* @summary 评价配置导出
|
|
923
|
+
* @param {EvaluationConfigApiEvaluationConfigBatchExportRequest} requestParameters Request parameters.
|
|
924
|
+
* @param {*} [options] Override http request option.
|
|
925
|
+
* @throws {RequiredError}
|
|
926
|
+
* @memberof EvaluationConfigApi
|
|
927
|
+
*/
|
|
928
|
+
evaluationConfigBatchExport(requestParameters = {}, options) {
|
|
929
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigBatchExport(requestParameters.searchValue, requestParameters.moduleId, requestParameters.subCategoryId, requestParameters.status, requestParameters.type, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
* 评价配置导入-确认导入
|
|
933
|
+
* @summary 评价配置导入-确认导入
|
|
934
|
+
* @param {*} [options] Override http request option.
|
|
935
|
+
* @throws {RequiredError}
|
|
936
|
+
* @memberof EvaluationConfigApi
|
|
937
|
+
*/
|
|
938
|
+
evaluationConfigBatchImportConfirm(options) {
|
|
939
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigBatchImportConfirm(options).then((request) => request(this.axios, this.basePath));
|
|
940
|
+
}
|
|
941
|
+
/**
|
|
942
|
+
* 评价配置导入-预览结果
|
|
943
|
+
* @summary 评价配置导入-预览结果
|
|
944
|
+
* @param {*} [options] Override http request option.
|
|
945
|
+
* @throws {RequiredError}
|
|
946
|
+
* @memberof EvaluationConfigApi
|
|
947
|
+
*/
|
|
948
|
+
evaluationConfigBatchImportPreview(options) {
|
|
949
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigBatchImportPreview(options).then((request) => request(this.axios, this.basePath));
|
|
950
|
+
}
|
|
951
|
+
/**
|
|
952
|
+
* 下载评价配置导入模板
|
|
953
|
+
* @summary 下载评价配置导入模板
|
|
954
|
+
* @param {*} [options] Override http request option.
|
|
955
|
+
* @throws {RequiredError}
|
|
956
|
+
* @memberof EvaluationConfigApi
|
|
957
|
+
*/
|
|
958
|
+
evaluationConfigBatchImportTemplate(options) {
|
|
959
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigBatchImportTemplate(options).then((request) => request(this.axios, this.basePath));
|
|
960
|
+
}
|
|
961
|
+
/**
|
|
962
|
+
* 评价配置导入-上传文件
|
|
963
|
+
* @summary 评价配置导入-上传文件
|
|
964
|
+
* @param {EvaluationConfigApiEvaluationConfigBatchImportUploadRequest} requestParameters Request parameters.
|
|
965
|
+
* @param {*} [options] Override http request option.
|
|
966
|
+
* @throws {RequiredError}
|
|
967
|
+
* @memberof EvaluationConfigApi
|
|
968
|
+
*/
|
|
969
|
+
evaluationConfigBatchImportUpload(requestParameters, options) {
|
|
970
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigBatchImportUpload(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
971
|
+
}
|
|
972
|
+
/**
|
|
973
|
+
* 删除评价配置信息
|
|
974
|
+
* @summary 删除评价配置
|
|
975
|
+
* @param {EvaluationConfigApiEvaluationConfigDeleteRequest} requestParameters Request parameters.
|
|
976
|
+
* @param {*} [options] Override http request option.
|
|
977
|
+
* @throws {RequiredError}
|
|
978
|
+
* @memberof EvaluationConfigApi
|
|
979
|
+
*/
|
|
980
|
+
evaluationConfigDelete(requestParameters, options) {
|
|
981
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
982
|
+
}
|
|
983
|
+
/**
|
|
984
|
+
* 获取指定ID的评价配置详情,包含模块名称、子分类名称和违规配置列表
|
|
985
|
+
* @summary 获取评价配置详情
|
|
986
|
+
* @param {EvaluationConfigApiEvaluationConfigDetailsRequest} requestParameters Request parameters.
|
|
987
|
+
* @param {*} [options] Override http request option.
|
|
988
|
+
* @throws {RequiredError}
|
|
989
|
+
* @memberof EvaluationConfigApi
|
|
990
|
+
*/
|
|
991
|
+
evaluationConfigDetails(requestParameters, options) {
|
|
992
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
993
|
+
}
|
|
994
|
+
/**
|
|
995
|
+
* 根据园区ID和审批类型获取审批流程详情
|
|
996
|
+
* @summary 获取审批流程详情
|
|
997
|
+
* @param {EvaluationConfigApiEvaluationConfigGetApprovalProcessRequest} requestParameters Request parameters.
|
|
998
|
+
* @param {*} [options] Override http request option.
|
|
999
|
+
* @throws {RequiredError}
|
|
1000
|
+
* @memberof EvaluationConfigApi
|
|
1001
|
+
*/
|
|
1002
|
+
evaluationConfigGetApprovalProcess(requestParameters, options) {
|
|
1003
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigGetApprovalProcess(requestParameters.parkId, requestParameters.approvalType, options).then((request) => request(this.axios, this.basePath));
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
* 根据关键词、模块、子分类、状态、类型等条件分页查询评价配置列表
|
|
1007
|
+
* @summary 分页查询评价配置列表
|
|
1008
|
+
* @param {EvaluationConfigApiEvaluationConfigPageListRequest} requestParameters Request parameters.
|
|
1009
|
+
* @param {*} [options] Override http request option.
|
|
1010
|
+
* @throws {RequiredError}
|
|
1011
|
+
* @memberof EvaluationConfigApi
|
|
1012
|
+
*/
|
|
1013
|
+
evaluationConfigPageList(requestParameters = {}, options) {
|
|
1014
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigPageList(requestParameters.searchValue, requestParameters.moduleId, requestParameters.subCategoryId, requestParameters.status, requestParameters.type, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1015
|
+
}
|
|
1016
|
+
/**
|
|
1017
|
+
* 修改评价配置信息及违规配置
|
|
1018
|
+
* @summary 修改评价配置
|
|
1019
|
+
* @param {EvaluationConfigApiEvaluationConfigUpdateRequest} requestParameters Request parameters.
|
|
1020
|
+
* @param {*} [options] Override http request option.
|
|
1021
|
+
* @throws {RequiredError}
|
|
1022
|
+
* @memberof EvaluationConfigApi
|
|
1023
|
+
*/
|
|
1024
|
+
evaluationConfigUpdate(requestParameters, options) {
|
|
1025
|
+
return (0, exports.EvaluationConfigApiFp)(this.configuration).evaluationConfigUpdate(requestParameters.id, requestParameters.evaluationConfigUpdateDto, options).then((request) => request(this.axios, this.basePath));
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
exports.EvaluationConfigApi = EvaluationConfigApi;
|