Commit 27cec057 by chenwq1

feat: xinjiacansu

1 parent 8c74592b
/** 检测记录详情里的单项值(与详情接口结构对齐;与模板侧的 `InspectionValueItem` 区分) */
import { get } from "@utils/request"; import { get } from "@utils/request";
export interface FileInfo { export interface FileInfo {
...@@ -16,7 +18,7 @@ export interface FileInfo { ...@@ -16,7 +18,7 @@ export interface FileInfo {
linkProps?: Record<string, unknown>; linkProps?: Record<string, unknown>;
} }
/** 检测记录详情里的单项值(与详情接口结构对齐;与模板侧的 `InspectionValueItem` 区分) */ /** 检测记录详情中单条值(与详情接口字段对齐) */
export interface InspectionDetailValueItem { export interface InspectionDetailValueItem {
id: number; id: number;
resultId: number; resultId: number;
...@@ -125,6 +127,21 @@ export interface InspectionDetailScoreVO { ...@@ -125,6 +127,21 @@ export interface InspectionDetailScoreVO {
overallComment?: string; overallComment?: string;
} }
export interface FileInfo {
uid?: string;
name?: string;
status?: string;
response?: string;
filePath?: string;
url?: string;
thumbPath?: string;
thumbUrl?: string;
percent?: number;
size?: number;
lastModified?: string;
lastModifiedDate?: string;
linkProps?: Record<string, unknown>;
}
export interface DetailRes { export interface DetailRes {
id?: number; id?: number;
taskId?: number; taskId?: number;
......
...@@ -8,6 +8,7 @@ export {} ...@@ -8,6 +8,7 @@ export {}
declare module 'vue' { declare module 'vue' {
export interface GlobalComponents { export interface GlobalComponents {
ButtonSelect: typeof import('./components/CustomizeForm/buttonSelect.vue')['default'] ButtonSelect: typeof import('./components/CustomizeForm/buttonSelect.vue')['default']
ButtonSelectAndImageUpload: typeof import('./components/CustomizeForm/buttonSelectAndImageUpload.vue')['default']
CustomizeUploadFile: typeof import('./components/CustomizeForm/customizeUploadFile.vue')['default'] CustomizeUploadFile: typeof import('./components/CustomizeForm/customizeUploadFile.vue')['default']
Index: typeof import('./components/CustomizeForm/Index.vue')['default'] Index: typeof import('./components/CustomizeForm/Index.vue')['default']
Layouts: typeof import('./layouts/index.vue')['default'] Layouts: typeof import('./layouts/index.vue')['default']
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!