Commit 02945380 by 李乾广

修改bug

1 parent d5e1a5f7
......@@ -88,7 +88,7 @@ const menuRoute = [
const route = [
{
path: '/',
redirect: '/Main/DataRerun',
redirect: '/Main/SnapshotCluster',
},
{
path: '/test',
......
......@@ -18,7 +18,7 @@
<el-main style="padding: 0">
<el-container>
<el-aside style="background: #001529" width="200px">
<a-menu mode="inline" theme="dark" v-model:selectedKeys="selectedKeys" @click="onClick">
<a-menu v-model:openKeys="openKeys" mode="inline" theme="dark" v-model:selectedKeys="selectedKeys" @click="onClick">
<a-sub-menu title="聚类结果" key="clusteringResults">
<template #icon>
<ClusterOutlined />
......@@ -36,7 +36,6 @@
</template>
<a-menu-item :key="'/Main/TestDriveHospitality'">
<div class="flex-vertical-center">
<!-- <img :src="require('./Icons/6.svg')" style="height: auto;width:20px"/> -->
<span style="padding: 0 5px">试乘接待</span>
</div>
</a-menu-item>
......@@ -172,7 +171,7 @@ export default defineComponent({
setup() {
const {proxy} = getCurrentInstance()
const selectedKeys = ref([proxy.$root.$route.path])
const openKeys = ref(['clusteringResults'])
const router = useRouter()
const currentTime = ref(moment().format("YYYY-MM-DD HH:mm:ss"))
const goto = function(path) {
......@@ -227,6 +226,7 @@ export default defineComponent({
// scalar
currentTime,
selectedKeys,
openKeys,
// sequence
// mapping
// function
......
......@@ -221,8 +221,8 @@ export default {
queryForm.direction = searchCondition.value.direction;
queryForm.picType = searchCondition.value.picType;
queryForm.date = searchCondition.value.date;
queryForm.startTime = searchCondition.value.startTime;
queryForm.endTime = searchCondition.value.endTime;
// queryForm.startTime = searchCondition.value.startTime;
// queryForm.endTime = searchCondition.value.endTime;
}
// function
const onPageNumChange = function(num) {
......
......@@ -255,8 +255,8 @@ export default {
queryForm.direction = searchCondition.value.direction;
queryForm.picType = searchCondition.value.picType;
queryForm.date = searchCondition.value.date;
queryForm.startTime = searchCondition.value.startTime;
queryForm.endTime = searchCondition.value.endTime;
// queryForm.startTime = searchCondition.value.startTime;
// queryForm.endTime = searchCondition.value.endTime;
queryForm.minPic = searchCondition.value.minPic||0;
queryForm.maxPic = searchCondition.value.maxPic||100;
}
......
......@@ -218,8 +218,8 @@ export default {
queryForm.direction = searchCondition.value.direction;
queryForm.picType = searchCondition.value.picType;
queryForm.date = searchCondition.value.date;
queryForm.startTime = searchCondition.value.startTime;
queryForm.endTime = searchCondition.value.endTime;
// queryForm.startTime = searchCondition.value.startTime;
// queryForm.endTime = searchCondition.value.endTime;
}
// function
const onPageNumChange = function(num) {
......
......@@ -130,8 +130,8 @@
queryForm.zone_id = searchCondition.value.zone_id;
queryForm.gate_id = searchCondition.value.gate_id;
queryForm.date = searchCondition.value.date;
queryForm.startTime = searchCondition.value.startTime;
queryForm.endTime = searchCondition.value.endTime;
// queryForm.startTime = searchCondition.value.startTime;
// queryForm.endTime = searchCondition.value.endTime;
}
const onPageNumChange = function(num) {
pageNum.value = num
......
......@@ -134,8 +134,8 @@
queryForm.zone_id = searchCondition.value.zone_id;
queryForm.gate_id = searchCondition.value.gate_id;
queryForm.date = searchCondition.value.date;
queryForm.startTime = searchCondition.value.startTime;
queryForm.endTime = searchCondition.value.endTime;
// queryForm.startTime = searchCondition.value.startTime;
// queryForm.endTime = searchCondition.value.endTime;
}
const onPageNumChange = function(num) {
pageNum.value = num
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!