update 平台配置页面

This commit is contained in:
2024-04-22 15:02:55 +08:00
parent 01319e7648
commit 32403e337c
7 changed files with 86 additions and 6 deletions

View File

@@ -231,10 +231,7 @@ export default {
this.queryGroundLockQrCode =
"https://api.jsowellcloud.com/app-xcx-h5/getGroundLockInfo/" +
this.stationId;
const stationName = this.stationName;
const title = "【" + stationName + "】站点详情";
const route = Object.assign({}, this.$route, { title: `${title}` });
this.$store.dispatch("tagsView/updateVisitedView", route);
this.updateTitle();
this.getRelationByStationId();
this.getParkingList();
this.queryStationInfo();
@@ -243,6 +240,13 @@ export default {
this.initializeData(this.activeName);
},
methods: {
// 更新页面title显示
updateTitle() {
const stationName = this.stationName;
const title = "【" + stationName + "】站点详情";
const route = Object.assign({}, this.$route, { title: `${title}` });
this.$store.dispatch("tagsView/updateVisitedView", route);
},
handleClick(tab, event) {
// console.log(tab, event);
this.initializeData(tab.name);