Commit 9db196e0 by zhangxw

围栏列表查看预警 跳转参数修改

1 parent 913958c7
......@@ -120,7 +120,7 @@ export default {
created() {
console.log(history.state);
let query = this.$route.query;
this.fenceId = query.fenceId || "";
// this.fenceId = query.fenceId || "";
if (query.name) {
this.$set(this.searchForm, "keywords", query.name);
}
......
......@@ -172,7 +172,8 @@ export default {
// 查看详情
lookDetail(row) {
let path = `/trialRun#/alarmCenter/fence`;
let endPath = `${path}?fenceId=${row.id}&name=${row.fenceName}`
// let endPath = `${path}?fenceId=${row.id}&name=${row.fenceName}`
let endPath = `${path}?name=${row.fenceName}`
this.$root.parentCommon.setBreadCrumbs(path);
history.pushState({}, endPath, endPath);
//this.$router.push({ path: path, query: { fenceId: row.id,name:row.name } });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!