diff --git a/frontend/src/api/check/interface/index.ts b/frontend/src/api/check/interface/index.ts new file mode 100644 index 0000000..4c267fc --- /dev/null +++ b/frontend/src/api/check/interface/index.ts @@ -0,0 +1,33 @@ +/** + * 用于定义 查看(设备)通道检测结果 类型 + */ +export interface CheckResult { + chnNum: string, + standardValue: number, + L1: number, + L1_errValue: number, + L2: number, + L2_errValue: number, + L3: number, + L3_errValue: number, + maxErrVaule: number, + result: string, +} + +/** + * 用于定义 具体通道的原始数据类型 + */ +export interface RawDataItem { + updateTime: string, + L1: number, + L2: number, + L3: number +} + +/** + * 用于定义 (设备)通道的原始数据 + */ +export interface RawData { + chnNum: string, + rawDataItems: RawDataItem[] +} \ No newline at end of file diff --git a/frontend/src/views/home/components/dataCheckRawDataTable.vue b/frontend/src/views/home/components/dataCheckRawDataTable.vue index d761a92..2044bbf 100644 --- a/frontend/src/views/home/components/dataCheckRawDataTable.vue +++ b/frontend/src/views/home/components/dataCheckRawDataTable.vue @@ -1,177 +1,44 @@ \ No newline at end of file diff --git a/frontend/src/views/home/components/dataCheckResultTable.vue b/frontend/src/views/home/components/dataCheckResultTable.vue index bf46f68..406a199 100644 --- a/frontend/src/views/home/components/dataCheckResultTable.vue +++ b/frontend/src/views/home/components/dataCheckResultTable.vue @@ -1,80 +1,60 @@ @@ -105,9 +85,4 @@ margin-bottom: 20px; /* 添加底部边距 */ text-align: center; /* 所有单元格文字居中 */ } -.table-container { -/* max-height: 400px; */ -overflow-y: auto; /* 允许垂直滚动 */ -overflow-x: hidden; /* 隐藏水平滚动条 */ -} \ No newline at end of file diff --git a/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue b/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue index 0a52935..c4d2ef9 100644 --- a/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue +++ b/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue @@ -1,5 +1,5 @@