对接评价结果接口
This commit is contained in:
@ -206,3 +206,130 @@ export async function getEvaluateResultList(params: API.EvaluateTaskRequest) {
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取评价结果详情列表(供应商列表)
|
||||
* @param params 查询参数
|
||||
* @returns Promise
|
||||
*/
|
||||
export async function getEvaluateSupplierList(params: API.EvaluateSupplierRequest) {
|
||||
return request<API.APIResponse<API.EvaluateSupplierData>>('/coscoEvaluate/supplier/getPage', {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取供应商评价打分情况
|
||||
* @param params 查询参数
|
||||
* @returns Promise
|
||||
*/
|
||||
export async function getEvaluateScoreList(params: API.EvaluateScoreRequest) {
|
||||
return request<API.APIResponse<API.PageResponse<any>>>('/coscoEvaluate/supplier/getSupplierDimension', {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取评价打分详情
|
||||
* @param id 评价记录ID
|
||||
* @returns Promise
|
||||
*/
|
||||
export async function getEvaluateScoreDetail(id: string) {
|
||||
return request<API.APIResponse<API.EvaluateScoreDetailData>>(`/coscoEvaluate/user/getIndicator?id=${id}`, {
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取所有评价规则列表
|
||||
* @returns Promise
|
||||
*/
|
||||
export async function getAllEvaluateRules() {
|
||||
return request<API.EvaluateRuleResponse>('/coscoEvaluate/level/getAllList', {
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取评价规则详情
|
||||
* @param id 规则ID
|
||||
* @returns Promise
|
||||
*/
|
||||
export async function getEvaluateRuleDetail(id: string) {
|
||||
return request<API.EvaluateRuleDetailResponse>(`/coscoEvaluate/level/${id}`, {
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增评价规则
|
||||
* @param params 规则数据
|
||||
* @returns Promise
|
||||
*/
|
||||
export async function addEvaluateRule(params: API.EvaluateRuleAddRequest) {
|
||||
return request<API.APIResponse<any>>('/coscoEvaluate/level', {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新评价规则
|
||||
* @param params 规则数据
|
||||
* @returns Promise
|
||||
*/
|
||||
export async function updateEvaluateRule(params: API.EvaluateRuleUpdateRequest) {
|
||||
return request<API.APIResponse<any>>('/coscoEvaluate/level', {
|
||||
method: 'PUT',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除评价规则
|
||||
* @param id 规则ID
|
||||
* @returns Promise
|
||||
*/
|
||||
export async function deleteEvaluateRule(id: string) {
|
||||
return request<API.APIResponse<any>>(`/coscoEvaluate/level/${id}`, {
|
||||
method: 'DELETE',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取供应商评价得分明细
|
||||
* @param id 评价记录ID
|
||||
* @returns Promise
|
||||
*/
|
||||
export async function getSupplierScoreDetail(id: string) {
|
||||
return request<API.APIResponse<API.EvaluateScoreDetailData>>(`/coscoEvaluate/supplier/getScoreResult`, {
|
||||
method: 'GET',
|
||||
params: { id }
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 提交供应商评价得分
|
||||
* @param params 评价得分数据
|
||||
* @returns
|
||||
*/
|
||||
export async function submitEvaluateScore(params: any) {
|
||||
return request('/api/supplier/evaluate/score/submit', {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取评价打分详情
|
||||
* @param id 评价记录ID
|
||||
* @returns
|
||||
*/
|
||||
export async function getIndicator(id: string) {
|
||||
return request('/coscoEvaluate/user/getIndicator', {
|
||||
method: 'GET',
|
||||
params: { id },
|
||||
});
|
||||
}
|
||||
|
634
src/servers/api/typings.d.ts
vendored
634
src/servers/api/typings.d.ts
vendored
@ -6,33 +6,6 @@ declare namespace API {
|
||||
data: T;
|
||||
}
|
||||
|
||||
export type PolicyRequest = {
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
content: string;
|
||||
/**
|
||||
* 内容_英文版
|
||||
*/
|
||||
contentEn: string;
|
||||
/**
|
||||
* 是否置顶(0.否、1.是)
|
||||
*/
|
||||
isTop: string;
|
||||
/**
|
||||
* 是否设置英文内容(0.否、1.是)
|
||||
*/
|
||||
settingEn: number;
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
title: string;
|
||||
/**
|
||||
* 标题英文
|
||||
*/
|
||||
titleEn: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
export type RegisterRequest = {
|
||||
coscoSupplierBank: CoscoSupplierBank[];
|
||||
@ -171,73 +144,6 @@ declare namespace API {
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 政策法规数据项
|
||||
export interface PolicyRecord {
|
||||
basePageRequest: null;
|
||||
content: string;
|
||||
contentEn: string;
|
||||
createBy: string;
|
||||
createDate: null;
|
||||
createTime: string;
|
||||
deleteFlag: null;
|
||||
delFlag: string;
|
||||
id: string;
|
||||
isTop: string;
|
||||
lastUpdateTime: null;
|
||||
publishBy: string | null;
|
||||
publishTime: string | null;
|
||||
settingEn: string;
|
||||
status: string;
|
||||
tenantId: string | null;
|
||||
tenantName: string | null;
|
||||
title: string;
|
||||
titleEn: string | null;
|
||||
updateBy: string | null;
|
||||
updateDate: string | null;
|
||||
updateTime: string;
|
||||
}
|
||||
|
||||
// 政策法规请求参数
|
||||
export interface PolicyRequest {
|
||||
id?: string;
|
||||
title: string;
|
||||
titleEn: string;
|
||||
content: string;
|
||||
contentEn: string;
|
||||
isTop: string;
|
||||
settingEn: number;
|
||||
}
|
||||
|
||||
// 下载中心数据项
|
||||
export interface DownloadRecord {
|
||||
id: string;
|
||||
name: string;
|
||||
category: string;
|
||||
keyword: string;
|
||||
createTime: string;
|
||||
createBy: string;
|
||||
status: string; // 状态:0-草稿,1-已发布
|
||||
thumbnail?: string; // 缩略图URL
|
||||
fileUrl?: string; // 文件URL
|
||||
}
|
||||
|
||||
// 下载中心请求参数
|
||||
export interface DownloadRequest {
|
||||
id?: string;
|
||||
name: string;
|
||||
category: string;
|
||||
keyword: string;
|
||||
fileId?: string;
|
||||
thumbnailId?: string;
|
||||
}
|
||||
|
||||
// 下载中心查询参数
|
||||
export interface DownloadSearchParams {
|
||||
name?: string;
|
||||
category?: string;
|
||||
status?: string;
|
||||
}
|
||||
|
||||
// 文件上传响应
|
||||
export interface UploadResponse {
|
||||
id: string;
|
||||
@ -247,266 +153,7 @@ declare namespace API {
|
||||
fileUrl: string;
|
||||
}
|
||||
|
||||
// 通知中心数据项
|
||||
export interface NoticeRecord {
|
||||
id: string;
|
||||
title: string;
|
||||
titleEn?: string;
|
||||
content: string;
|
||||
contentEn?: string;
|
||||
createTime: string;
|
||||
createBy: string;
|
||||
status: string; // 状态:0-草稿,1-已发布,2-已下架
|
||||
isTop: string; // 是否置顶:0-否,1-是
|
||||
settingEn?: number; // 是否设置英文:0-否,1-是
|
||||
}
|
||||
|
||||
// 通知中心请求参数
|
||||
export interface NoticeRequest {
|
||||
id?: string;
|
||||
title: string;
|
||||
titleEn?: string;
|
||||
content: string;
|
||||
contentEn?: string;
|
||||
isTop: string;
|
||||
settingEn?: number;
|
||||
}
|
||||
|
||||
// 通知中心查询参数
|
||||
export interface NoticeSearchParams {
|
||||
title?: string;
|
||||
status?: string;
|
||||
pageNo?: number;
|
||||
pageSize?: number;
|
||||
}
|
||||
|
||||
// 帮助中心数据项
|
||||
export interface HelpRecord {
|
||||
id: string;
|
||||
title: string;
|
||||
titleEn?: string;
|
||||
type: string; // 类型,对应页面中的category
|
||||
content: string;
|
||||
contentEn?: string;
|
||||
createTime: string;
|
||||
createBy: string;
|
||||
updateTime?: string;
|
||||
updateBy?: string;
|
||||
status: string; // 状态:0-草稿,1-已发布,2-已下架
|
||||
isTop: string; // 是否置顶:0-否,1-是
|
||||
settingEn: number; // 是否设置英文:0-否,1-是
|
||||
answerContent?: string;
|
||||
answerContentNe?: string;
|
||||
publishBy?: string | null;
|
||||
publishTime?: string | null;
|
||||
deleteFlag?: null;
|
||||
delFlag?: string;
|
||||
tenantId?: string | null;
|
||||
tenantName?: string | null;
|
||||
lastUpdateTime?: null;
|
||||
createDate?: null;
|
||||
updateDate?: null;
|
||||
basePageRequest?: null;
|
||||
}
|
||||
|
||||
// 帮助中心请求参数
|
||||
export interface HelpRequest {
|
||||
id?: string;
|
||||
title: string;
|
||||
titleEn?: string;
|
||||
type: string; // 类型,对应页面中的category
|
||||
content: string;
|
||||
contentEn?: string;
|
||||
isTop: string;
|
||||
settingEn: number;
|
||||
answerContent?: string;
|
||||
answerContentNe?: number;
|
||||
}
|
||||
|
||||
// 帮助中心查询参数
|
||||
export interface HelpSearchParams {
|
||||
title?: string;
|
||||
type?: string; // 类型,对应页面中的category
|
||||
status?: string;
|
||||
pageNo?: number;
|
||||
pageSize?: number;
|
||||
}
|
||||
|
||||
// 用户提问数据项
|
||||
export interface UserQuestionRecord {
|
||||
id: string;
|
||||
userId: string;
|
||||
username: string;
|
||||
email?: string;
|
||||
question: string;
|
||||
answer?: string;
|
||||
createTime: string;
|
||||
answerTime?: string;
|
||||
status: string; // 状态:0-未回答,1-已回答
|
||||
}
|
||||
|
||||
// 用户提问查询参数
|
||||
export interface UserQuestionSearchParams {
|
||||
question?: string;
|
||||
status?: string;
|
||||
pageNo?: number;
|
||||
pageSize?: number;
|
||||
}
|
||||
|
||||
// 用户问题记录类型
|
||||
interface QuestionRecord {
|
||||
id: string;
|
||||
title: string;
|
||||
type: string;
|
||||
content: string;
|
||||
answerContent?: string;
|
||||
userName: string;
|
||||
companyName: string;
|
||||
fullName: string;
|
||||
contactDetails: string;
|
||||
email: string;
|
||||
askTime: string;
|
||||
answerTime?: string;
|
||||
answerBy?: string;
|
||||
isAnswer: string; // 0-未回答,1-已回答
|
||||
isPublished?: number; // 0-未发布,1-已发布
|
||||
isTop?: number; // 0-未置顶,1-已置顶
|
||||
createTime?: string;
|
||||
updateTime?: string;
|
||||
}
|
||||
|
||||
// 问题列表请求参数
|
||||
interface QuestionListRequest {
|
||||
isAnswer?: number; // 0-未回答,1-已回答
|
||||
title?: string;
|
||||
type?: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 问题添加请求参数
|
||||
interface QuestionAddRequest {
|
||||
title: string;
|
||||
content: string;
|
||||
type: string;
|
||||
fullName: string;
|
||||
companyName: string;
|
||||
userName: string;
|
||||
contactDetails: string;
|
||||
email: string;
|
||||
}
|
||||
|
||||
// 问题回答请求参数
|
||||
interface QuestionAnswerRequest {
|
||||
id: string;
|
||||
answerContent: string;
|
||||
isPublished?: number; // 0-未发布,1-已发布
|
||||
isTop?: number; // 0-未置顶,1-已置顶
|
||||
}
|
||||
|
||||
// 问题状态更新请求参数
|
||||
interface QuestionStatusRequest {
|
||||
id: string;
|
||||
isPublished?: number; // 0-未发布,1-已发布
|
||||
isTop?: number; // 0-未置顶,1-已置顶
|
||||
}
|
||||
// 友情链接分类类型定义
|
||||
interface CategoryType {
|
||||
id: string;
|
||||
name: string;
|
||||
type: string;
|
||||
parentId: string;
|
||||
orderBy: string;
|
||||
remark: string;
|
||||
delFlag?: string;
|
||||
createTime?: string;
|
||||
updateTime?: string;
|
||||
createBy?: string;
|
||||
updateBy?: string;
|
||||
key?: string;
|
||||
children?: CategoryType[];
|
||||
}
|
||||
|
||||
// 友情链接类型定义
|
||||
interface LinkType {
|
||||
id: string;
|
||||
classificationId: string;
|
||||
name: string;
|
||||
nameEn: string;
|
||||
thumbnail: string;
|
||||
url: string;
|
||||
status: string;
|
||||
orderBy: string;
|
||||
createTime?: string;
|
||||
updateTime?: string;
|
||||
categoryName?: string; // 用于显示
|
||||
// 以下是详情接口返回的额外字段
|
||||
createBy?: string;
|
||||
createDate?: string | null;
|
||||
updateBy?: string | null;
|
||||
updateDate?: string | null;
|
||||
tenantId?: string | null;
|
||||
tenantName?: string | null;
|
||||
deleteFlag?: string | null;
|
||||
lastUpdateTime?: string | null;
|
||||
delFlag?: string;
|
||||
remark?: string | null;
|
||||
basePageRequest?: null;
|
||||
}
|
||||
// 友情链接分类请求参数
|
||||
export interface CategoryRequest {
|
||||
id?: string;
|
||||
name: string;
|
||||
type: string;
|
||||
parentId: string;
|
||||
orderBy: string;
|
||||
remark: string;
|
||||
}
|
||||
|
||||
// 友情链接分类响应数据
|
||||
export interface CategoryItem {
|
||||
id: string;
|
||||
name: string;
|
||||
type: string;
|
||||
parentId: string;
|
||||
orderBy: string;
|
||||
remark: string;
|
||||
delFlag: string;
|
||||
createTime: string;
|
||||
updateTime: string;
|
||||
createBy: string;
|
||||
updateBy?: string;
|
||||
}
|
||||
|
||||
// 友情链接请求参数
|
||||
export interface LinkRequest {
|
||||
id?: string | number;
|
||||
classificationId: string;
|
||||
name: string;
|
||||
nameEn: string;
|
||||
thumbnail: string;
|
||||
url: string;
|
||||
orderBy: number | string;
|
||||
}
|
||||
|
||||
// 友情链接响应数据
|
||||
export interface LinkItem {
|
||||
id: string;
|
||||
classificationId: string;
|
||||
name: string;
|
||||
nameEn: string;
|
||||
thumbnail: string;
|
||||
url: string;
|
||||
status: string;
|
||||
orderBy: string;
|
||||
delFlag: string;
|
||||
createTime: string;
|
||||
updateTime: string;
|
||||
createBy: string;
|
||||
updateBy?: string;
|
||||
remark?: string;
|
||||
basePageRequest?: null;
|
||||
}
|
||||
|
||||
//
|
||||
// 供应商评价任务状态枚举
|
||||
export enum TaskStatus {
|
||||
DRAFT = '0', // 草稿
|
||||
@ -612,6 +259,285 @@ declare namespace API {
|
||||
timeRange?: [string, string];
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 供应商评价结果详情查询请求
|
||||
export interface EvaluateSupplierRequest {
|
||||
basePageRequest: BasePageRequest;
|
||||
evaluateTaskId: string;
|
||||
isAnswer?: number;
|
||||
supplierName?: string;
|
||||
level?: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 供应商评价结果详情响应数据
|
||||
export interface EvaluateSupplierData {
|
||||
countId: null;
|
||||
current: number;
|
||||
hitCount: boolean;
|
||||
maxLimit: null;
|
||||
optimizeCountSql: boolean;
|
||||
orders: any[];
|
||||
pages: number;
|
||||
records: EvaluateSupplierRecord[];
|
||||
searchCount: boolean;
|
||||
size: number;
|
||||
total: number;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 供应商评价结果详情记录
|
||||
export interface EvaluateSupplierRecord {
|
||||
basePageRequest: null;
|
||||
createBy: string;
|
||||
createDate: null;
|
||||
createTime: string;
|
||||
deleteFlag: null;
|
||||
delFlag: string;
|
||||
evaluateTaskId: string;
|
||||
id: string;
|
||||
lastUpdateTime: null;
|
||||
reviewResult: null | string;
|
||||
reviewScore: null | number;
|
||||
supplierId: string;
|
||||
tenantId: null;
|
||||
tenantName: null;
|
||||
updateBy: string;
|
||||
updateDate: null;
|
||||
updateTime: string;
|
||||
supplierName?: string; // 供应商名称
|
||||
category?: string; // 品类
|
||||
level?: string; // 评价等级
|
||||
score?: number; // 评价得分
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 供应商评价结果详情查询参数
|
||||
export interface EvaluateSupplierSearchParams {
|
||||
evaluateTaskId?: string;
|
||||
supplierName?: string;
|
||||
level?: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 供应商评价打分情况请求
|
||||
export interface EvaluateScoreRequest {
|
||||
basePageRequest: BasePageRequest;
|
||||
taskId: string;
|
||||
supplierId: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 供应商评价打分情况响应数据
|
||||
export interface EvaluateScoreData {
|
||||
categoryId: null;
|
||||
categoryLimitation: string;
|
||||
createBy: null;
|
||||
createDate: null;
|
||||
createTime: null;
|
||||
deleteFlag: null;
|
||||
delFlag: string;
|
||||
deptId: null;
|
||||
endTime: string;
|
||||
evaluateTheme: string;
|
||||
evaluateYear: string;
|
||||
id: string;
|
||||
indicatorList: EvaluateScoreIndicator[];
|
||||
lastUpdateTime: null;
|
||||
startTime: string;
|
||||
status: string;
|
||||
supplierIds: EvaluateSupplierId[];
|
||||
templateId: string;
|
||||
tenantId: null;
|
||||
tenantName: null;
|
||||
updateBy: null;
|
||||
updateDate: null;
|
||||
updateTime: null;
|
||||
weightDept: null;
|
||||
weightStatus: string;
|
||||
weightValue: null;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 评价指标列表
|
||||
export interface EvaluateScoreIndicator {
|
||||
indicatorIds: null[];
|
||||
type: string;
|
||||
userId: string;
|
||||
userName?: string;
|
||||
evaluateUnit?: string;
|
||||
evaluateTime?: string;
|
||||
score?: string | number;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 供应商ID列表
|
||||
export interface EvaluateSupplierId {
|
||||
id: string;
|
||||
userIds: any[];
|
||||
supplierName?: string;
|
||||
category?: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 供应商评价打分情况查询参数
|
||||
export interface EvaluateScoreSearchParams {
|
||||
supplierName?: string;
|
||||
evaluateUnit?: string;
|
||||
level?: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 供应商评价打分详情查询请求
|
||||
export interface EvaluateScoreDetailRequest {
|
||||
id: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 供应商评价打分详情响应数据
|
||||
export interface EvaluateScoreDetailData {
|
||||
taskIndicatorVo?: {
|
||||
baseIndicator: string; // 一级指标名称
|
||||
indicatorDesc?: string; // 指标说明
|
||||
score: string; // 一级指标分值
|
||||
subIndicator?: {
|
||||
id: string; // 二级指标ID
|
||||
subIndicator: string; // 二级指标名称
|
||||
subScore: string; // 二级指标分值
|
||||
starIndicator?: string; // 是否星号项
|
||||
scoreNum?: string; // 实际得分
|
||||
remark?: string; // 评分说明
|
||||
}[];
|
||||
}[];
|
||||
// 其他字段...
|
||||
}
|
||||
|
||||
// 评价指标数据
|
||||
export interface TaskIndicatorVo {
|
||||
baseIndicator: string;
|
||||
indicatorDesc: string;
|
||||
score: string;
|
||||
subIndicator: SubIndicator[];
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 二级指标数据
|
||||
export interface SubIndicator {
|
||||
id: string;
|
||||
remark: null;
|
||||
scoreNum: null;
|
||||
starIndicator: string;
|
||||
stId: string;
|
||||
subIndicator: string;
|
||||
subScore: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 评价规则相关类型定义
|
||||
export interface EvaluateRuleResponse {
|
||||
code: number;
|
||||
data: EvaluateRuleItem[];
|
||||
message: string;
|
||||
success: boolean;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
export interface EvaluateRuleDetailResponse {
|
||||
code: number;
|
||||
data: EvaluateRuleItem;
|
||||
message: string;
|
||||
success: boolean;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
export interface EvaluateRuleItem {
|
||||
beginValue: string;
|
||||
createBy: string;
|
||||
createDate: null;
|
||||
createTime: string;
|
||||
deleteFlag: null;
|
||||
delFlag: string;
|
||||
endValue: string;
|
||||
id: string;
|
||||
lastUpdateTime: null;
|
||||
levelName: string;
|
||||
remark: string;
|
||||
ratingName?: string;
|
||||
tenantId: null;
|
||||
tenantName: null;
|
||||
updateBy: string;
|
||||
updateDate: null;
|
||||
updateTime: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
export interface EvaluateRuleAddRequest {
|
||||
/**
|
||||
* 阈值起始区间值
|
||||
*/
|
||||
beginValue: string;
|
||||
/**
|
||||
* 阈值截至区间值
|
||||
*/
|
||||
endValue: string;
|
||||
/**
|
||||
* 等级名称(A、B、C...)
|
||||
*/
|
||||
levelName: string;
|
||||
/**
|
||||
* 评级名称(优秀供应商、良好供应商、应辅导供应商、应淘汰供应商)
|
||||
*/
|
||||
ratingName: string;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
export interface EvaluateRuleUpdateRequest {
|
||||
/**
|
||||
* 规则ID
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* 阈值起始区间值
|
||||
*/
|
||||
beginValue: string | number;
|
||||
/**
|
||||
* 阈值截至区间值
|
||||
*/
|
||||
endValue: string | number;
|
||||
/**
|
||||
* 等级名称(A、B、C...)
|
||||
*/
|
||||
levelName: string;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
// 评价打分详情数据
|
||||
interface IndicatorDetailData {
|
||||
category: string;
|
||||
name: string;
|
||||
taskIndicatorVo: {
|
||||
baseIndicator: string;
|
||||
indicatorDesc: string;
|
||||
score: string;
|
||||
subIndicator: {
|
||||
id: string;
|
||||
remark: string | null;
|
||||
scoreNum: string | null;
|
||||
starIndicator: string;
|
||||
stId: string;
|
||||
subIndicator: string;
|
||||
subScore: string;
|
||||
}[];
|
||||
}[];
|
||||
}
|
||||
}
|
||||
|
||||
// 供应商评价模块类型定义
|
||||
|
Reference in New Issue
Block a user