|
@@ -30,7 +30,7 @@
|
|
placeholder=""
|
|
placeholder=""
|
|
>
|
|
>
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
-           速度控制: <el-input
|
|
|
|
|
|
+       速度控制: <el-input
|
|
style="width: 80px"
|
|
style="width: 80px"
|
|
max="60"
|
|
max="60"
|
|
min="1"
|
|
min="1"
|
|
@@ -575,14 +575,14 @@ const queryParamsMock = ref({
|
|
sDate: null,
|
|
sDate: null,
|
|
count: 1,
|
|
count: 1,
|
|
});
|
|
});
|
|
-watch(
|
|
|
|
- () => queryParamsMock.value.sDate,
|
|
|
|
- (newSDate) => {
|
|
|
|
- if (newSDate) {
|
|
|
|
- queryParamsMock.value.eDate = moment(newSDate).add(1, "hour").toDate();
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-);
|
|
|
|
|
|
+// watch(
|
|
|
|
+// () => queryParamsMock.value.sDate,
|
|
|
|
+// (newSDate) => {
|
|
|
|
+// if (newSDate) {
|
|
|
|
+// queryParamsMock.value.eDate = moment(newSDate).add(1, "hour").toDate();
|
|
|
|
+// }
|
|
|
|
+// }
|
|
|
|
+// );
|
|
const { proxy } = getCurrentInstance()!;
|
|
const { proxy } = getCurrentInstance()!;
|
|
let gridData = ref(null);
|
|
let gridData = ref(null);
|
|
const getHStatus = async () => {
|
|
const getHStatus = async () => {
|
|
@@ -599,6 +599,7 @@ const getQueryDataRangeSpeed = async () => {
|
|
count:Number(valueObj.batch_size),
|
|
count:Number(valueObj.batch_size),
|
|
time:Number(valueObj.interval)
|
|
time:Number(valueObj.interval)
|
|
}
|
|
}
|
|
|
|
+ mockStart()
|
|
};
|
|
};
|
|
onMounted(async () => {
|
|
onMounted(async () => {
|
|
getcateData();
|
|
getcateData();
|
|
@@ -1352,7 +1353,7 @@ const healthColor = (status: string) => {
|
|
align-items: center;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
color: #fff;
|
|
color: #fff;
|
|
- padding-left: 50px;
|
|
|
|
|
|
+ /* padding-left: 50px; */
|
|
margin-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
}
|
|
.mockDiv .btn {
|
|
.mockDiv .btn {
|
|
@@ -1368,7 +1369,7 @@ const healthColor = (status: string) => {
|
|
}
|
|
}
|
|
.all-page {
|
|
.all-page {
|
|
display: grid;
|
|
display: grid;
|
|
- grid-template-columns: 58% 1% 41%;
|
|
|
|
|
|
+ grid-template-columns: 56% 1% 41%;
|
|
/* 左边宽度,间隔,右边宽度 */
|
|
/* 左边宽度,间隔,右边宽度 */
|
|
height: calc(100vh - 98px);
|
|
height: calc(100vh - 98px);
|
|
/* 状态分析高度 */
|
|
/* 状态分析高度 */
|
|
@@ -1430,7 +1431,7 @@ const healthColor = (status: string) => {
|
|
|
|
|
|
.right {
|
|
.right {
|
|
display: grid;
|
|
display: grid;
|
|
- grid-template-rows: 50%;
|
|
|
|
|
|
+ grid-template-rows: 49%;
|
|
/* 默认情况下,子元素会自动分配空间 */
|
|
/* 默认情况下,子元素会自动分配空间 */
|
|
}
|
|
}
|
|
|
|
|