38 lines
1.0 KiB
TypeScript
38 lines
1.0 KiB
TypeScript
|
|
import type { ReqPage, ResPage } from '@/api/interface'
|
|||
|
|
|
|||
|
|
// 报告模版接口
|
|||
|
|
export namespace PqReport {
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 报告模版表格分页查询参数
|
|||
|
|
*/
|
|||
|
|
export interface ReqReportParams extends ReqPage {
|
|||
|
|
id: string; // 装置序号id 必填
|
|||
|
|
name?: string; // 设备名称
|
|||
|
|
createTime?: string; //创建时间
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 报告模版新增、修改、根据id查询返回的对象
|
|||
|
|
*/
|
|||
|
|
export interface ResReport {
|
|||
|
|
id: string; //报告模板id
|
|||
|
|
name: string;//报告模板名称
|
|||
|
|
version:string;//版本号
|
|||
|
|
basePath:string;//基础模板文件路径
|
|||
|
|
detailPath:string;//检测项模版文件路径
|
|||
|
|
desc:string;//描述信息
|
|||
|
|
enable:number;//状态:8-删除 1-激活 2-未激活
|
|||
|
|
createBy?: string| null; //创建用户
|
|||
|
|
createTime?: string| null; //创建时间
|
|||
|
|
updateBy?: string| null; //更新用户
|
|||
|
|
updateTime?: string| null; //更新时间
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 报告模版表格查询分页返回的对象;
|
|||
|
|
*/
|
|||
|
|
export interface ResReportPage extends ResPage<ResReport> {
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|