diff --git a/frontend/src/views/home/components/test.vue b/frontend/src/views/home/components/test.vue
index 028ffe7..15887d5 100644
--- a/frontend/src/views/home/components/test.vue
+++ b/frontend/src/views/home/components/test.vue
@@ -51,178 +51,77 @@
-->
-
-
- 被检通道1
-
-
-
-
-
-
-
-
- {{ scope.row.resultValue1 }}
-
-
-
-
-
-
-
- 被检通道2
-
-
-
-
-
-
+
+
+
-
+
- {{ scope.row.resultValue3 }}
+ {{ scope.row.resultValue1 }}
-
-
+
-
-
- 被检通道4
-
-
-
-
-
-
-
+
+
+
- {{ scope.row.resultValue4 }}
+ {{ scope.row.resultValue1 }}
-
-
+
-
-
- 被检通道5
-
-
-
-
-
-
-
+
+
+
- {{ scope.row.resultValue5 }}
+ {{ scope.row.resultValue1 }}
-
-
+
-
-
- 被检通道6
-
-
-
-
-
-
-
+
+
+
- {{ scope.row.resultValue6 }}
+ {{ scope.row.resultValue1 }}
-
-
+
-
-
- 被检通道7
-
-
-
-
-
-
-
- {{ scope.row.resultValue7 }}
-
-
-
-
-
-
-
- 被检通道8
-
-
-
-
-
-
-
- {{ scope.row.resultValue8 }}
-
-
-
-
+
@@ -266,53 +165,33 @@ const monitorList = ref([
deviceID: '1',
deviceName: '被检设备1',
monitorIdx: 1,
- label:'被检设备1通道1',
+ label:'240001',
prop: 'Result1',
},
{
deviceID: '1',
deviceName: '被检设备1',
monitorIdx: 2,
- label:'被检设备1通道2',
+ label:'240002',
prop: 'Result2',
},
{
deviceID: '2',
deviceName: '被检设备2',
monitorIdx: 1,
- label:'被检设备2通道1',
+ label:'240003',
prop: 'Result3',
},
{
deviceID: '2',
deviceName: '被检设备2',
monitorIdx: 2,
- label:'被检设备2通道2',
+ label:'240004',
prop: 'Result4',
}
])
-const tableData1= [
- {
- date: '2016-05-03',
- name: 'Tom',
- address: 'No. 189, Grove St, Los Angeles',
- },
- {
- date: '2016-05-02',
- name: 'Tom',
- address: 'No. 189, Grove St, Los Angeles',
- },
- {
- date: '2016-05-04',
- name: 'Tom',
- address: 'No. 189, Grove St, Los Angeles',
- },
- {
- date: '2016-05-01',
- name: 'Tom',
- address: 'No. 189, Grove St, Los Angeles',
- },
-]
+
+
const scrollContainer = ref(null); // 声明 scrollContainer
const scrollToBottom = () => {
@@ -2143,6 +2022,7 @@ const startTimer = () => {
clearInterval(timer.value)
timer.value = null;
ts.value = 'success'
+ scrollToBottom();
}
}, 2000);
diff --git a/frontend/src/views/home/components/timeTest.vue b/frontend/src/views/home/components/timeTest.vue
index c888d9e..6ac7ffe 100644
--- a/frontend/src/views/home/components/timeTest.vue
+++ b/frontend/src/views/home/components/timeTest.vue
@@ -35,7 +35,7 @@
-
+
守时误差≤1000ms
@@ -76,7 +76,8 @@
-->
- {{ scope.row.Result }}
+ {{ scope.row.Result }}
+ {{scope.row.Result}}
@@ -355,7 +356,7 @@ watch(ts, function (newValue, oldValue) {
width: 20px;
height: 14px;
border-radius: 4px;
- background-color: #67C23A;
+ background-color: #606266;
margin-left: 5px;
margin-right: 5px;
}
diff --git a/frontend/src/views/home/tabs/dashboard.vue b/frontend/src/views/home/tabs/dashboard.vue
index ac6a9ec..fc519cd 100644
--- a/frontend/src/views/home/tabs/dashboard.vue
+++ b/frontend/src/views/home/tabs/dashboard.vue
@@ -37,7 +37,7 @@
{
.container_charts {
width: 100%;
//min-height: 180px !important;
- height:90%;
+ height:100%;
background-color: #eee;
display: flex;
justify-content: space-between;
margin-bottom: 10px;
.charts_info {
+ margin-top: 5px;
+ border-radius: 4px;
flex: none;
- width: 33.4%;
+ width: 33.1%;
height: 100% !important;
background-color: #fff;
// border-radius: 4px;