Commit 02945380 by 李乾广

修改bug

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