diff --git a/frontend/src/api/check/interface/index.ts b/frontend/src/api/check/interface/index.ts index 4c267fc..c564419 100644 --- a/frontend/src/api/check/interface/index.ts +++ b/frontend/src/api/check/interface/index.ts @@ -1,3 +1,11 @@ +export interface DataCheck{ + testScriptName: string, + errorSysName: string, + dataRule: string, + deviceName: string, + monitorIdx: string, +} + /** * 用于定义 查看(设备)通道检测结果 类型 */ @@ -30,4 +38,4 @@ export interface RawDataItem { export interface RawData { chnNum: string, rawDataItems: RawDataItem[] -} \ 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 c4d2ef9..f7016d4 100644 --- a/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue +++ b/frontend/src/views/home/components/dataCheckSingleChannelSingleTestPopup.vue @@ -1,107 +1,112 @@ - \ No newline at end of file diff --git a/frontend/src/views/home/components/test.vue b/frontend/src/views/home/components/test.vue index 4d81d0b..bed1d05 100644 --- a/frontend/src/views/home/components/test.vue +++ b/frontend/src/views/home/components/test.vue @@ -1,139 +1,150 @@ + + + - @@ -2058,15 +2017,16 @@ watch(ts, function (newValue, oldValue) { :deep(.el-table .header-row) { // background-color:var(--el-color-warning-light-9); - background-color:#f5f7fa; + background-color: #f5f7fa; // color:red; // font-size:30px; // --el-table-tr-bg-color: var(--el-color-warning-light-9); } + :deep(.el-table .warning-row) { // background-color:var(--el-color-warning-light-9); //background-color:#bed96557; - color:red; + color: red; // font-size:30px; // --el-table-tr-bg-color: var(--el-color-warning-light-9); // background-color:#f5f7fa; @@ -2084,29 +2044,29 @@ watch(ts, function (newValue, oldValue) { --el-table-tr-bg-color: var(--el-color-success-light-9); } -.dialog{ - display: flex; - flex-direction: column; +.dialog { + display: flex; + flex-direction: column; } -.dialog-title{ - display: flex; - justify-content: space-between; - align-items: center; - margin-right:10px; - margin-bottom:10px; +.dialog-title { + display: flex; + justify-content: space-between; + align-items: center; + margin-right: 10px; + margin-bottom: 10px; } -.dialog-content{ +.dialog-content { max-height: 450px; overflow-y: auto; } -:deep(.el-collapse-item__header){ - height: 30px; - } +:deep(.el-collapse-item__header) { + height: 30px; +} -.dialog-log{ +.dialog-log { height: 50px; overflow-y: auto; // flex-grow: 1; @@ -2122,10 +2082,11 @@ watch(ts, function (newValue, oldValue) {