对接评价模板新增和修改
This commit is contained in:
138
src/typings.d.ts
vendored
138
src/typings.d.ts
vendored
@ -227,6 +227,144 @@ declare namespace SupplierEvaluate {
|
||||
evaluator: string;
|
||||
evaluateTime: string;
|
||||
};
|
||||
|
||||
// 从EvaluateTemplateTable组件移动过来的类型定义
|
||||
export interface IndicatorNdItem {
|
||||
/**
|
||||
* 细分指标是否可编辑(0.是、1.否)
|
||||
*/
|
||||
baseIndicatorEdit?: string;
|
||||
/**
|
||||
* 该一级指标是否可编辑(0.是、1.否)
|
||||
*/
|
||||
indicatorNdEdit?: string;
|
||||
/**
|
||||
* 是否设置星号项(0.否、1.是)
|
||||
*/
|
||||
isStar: string;
|
||||
/**
|
||||
* 星号项是否可编辑(0.是、1.否)
|
||||
*/
|
||||
isStarEdit?: string;
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
orderBy: number;
|
||||
/**
|
||||
* 分值
|
||||
*/
|
||||
score: string;
|
||||
/**
|
||||
* 分值是否可编辑(0.是、1.否)
|
||||
*/
|
||||
scoreEdit?: string;
|
||||
/**
|
||||
* 细分指标
|
||||
*/
|
||||
subIndicator: string;
|
||||
/**
|
||||
* 二级指标ID(修改时需要)
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
desc?: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
export interface IndicatorStItem {
|
||||
/**
|
||||
* 基本指标
|
||||
*/
|
||||
baseIndicator: string;
|
||||
/**
|
||||
* 基本指标是否可编辑(0.是、1.否)
|
||||
*/
|
||||
baseIndicatorEdit?: string;
|
||||
/**
|
||||
* 指标说明
|
||||
*/
|
||||
descIndicator: string;
|
||||
/**
|
||||
* 指标说明是否可编辑(0.是、1.否)
|
||||
*/
|
||||
descIndicatorEdit?: string;
|
||||
indicatorNdList: IndicatorNdItem[];
|
||||
/**
|
||||
* 该一级指标是否可编辑(0.是、1.否)
|
||||
*/
|
||||
indicatorStEdit?: string;
|
||||
/**
|
||||
* 指标类型(数据字典 通用指标、技术指标)
|
||||
*/
|
||||
indicatorType: string;
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
orderBy: number;
|
||||
/**
|
||||
* 分值
|
||||
*/
|
||||
score: string;
|
||||
/**
|
||||
* 分值是否可编辑(0.是、1.否)
|
||||
*/
|
||||
scoreEdit?: string;
|
||||
/**
|
||||
* 一级指标ID(修改时需要)
|
||||
*/
|
||||
id?: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
export interface TemplateCreateRequest {
|
||||
/**
|
||||
* 品类id(cosco_category表主键)
|
||||
*/
|
||||
categoryId: string;
|
||||
/**
|
||||
* 品类限制类型(0.通用不限品类、1.限制品类)
|
||||
*/
|
||||
categoryLimitation: string;
|
||||
/**
|
||||
* 二级指标是否可增加
|
||||
*/
|
||||
indicatorNdMore: string;
|
||||
indicatorStList: IndicatorStItem[];
|
||||
/**
|
||||
* 一级指标是否可增加
|
||||
*/
|
||||
indicatorStMore: string;
|
||||
/**
|
||||
* 是否可增加对应指标类型(数据字典 通用指标、技术指标)
|
||||
*/
|
||||
indicatorTypeMore: string;
|
||||
/**
|
||||
* 是否启用(0.草稿、1.启用、2.禁用)
|
||||
*/
|
||||
status: number;
|
||||
/**
|
||||
* 模板名称
|
||||
*/
|
||||
templateName: string;
|
||||
/**
|
||||
* 评价模板类型(数据字典code)
|
||||
*/
|
||||
templateType: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
|
||||
export interface TemplateUpdateRequest {
|
||||
categoryId: string;
|
||||
categoryLimitation: string;
|
||||
id: string;
|
||||
indicatorStList: IndicatorStItem[];
|
||||
status: number;
|
||||
templateName: string;
|
||||
templateType: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
}
|
||||
|
||||
declare module '*.css';
|
||||
|
Reference in New Issue
Block a user