Commit 4fdc5ec3 by 张晓玮

Merge branch 'zxw-1.7.0' into 'v1.7.0'

Zxw 1.7.0

See merge request !23
2 parents f82fd8d3 9db196e0
......@@ -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!