Commit 4d7b32f5 by 张杰

修复bug

1 parent e7ccbdef
...@@ -444,6 +444,7 @@ export default { ...@@ -444,6 +444,7 @@ export default {
{ {
label: "激活时间", label: "激活时间",
prop: "activateTime", prop: "activateTime",
width: 160,
}, },
{ {
label: "设备状态", label: "设备状态",
...@@ -864,6 +865,16 @@ export default { ...@@ -864,6 +865,16 @@ export default {
// this.vehicleDefalutData.find((item) => item.prop == "configId").options = // this.vehicleDefalutData.find((item) => item.prop == "configId").options =
// res.data; // res.data;
}); */ }); */
let o = history.state;
if (o.vin) {
this.searchForm.keywords = o.vin;
this.$nextTick(function () {
let tag = this.$refs.serchButton;
if (tag) {
tag.$el.click();
}
});
}
}, },
methods: { methods: {
...@@ -1001,7 +1012,7 @@ export default { ...@@ -1001,7 +1012,7 @@ export default {
}); });
break; break;
case "delete": case "delete":
this.$confirm("是否要删除?", "提示", { this.$confirm("请再次确认是否执行当前操作!", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
...@@ -1501,7 +1512,7 @@ export default { ...@@ -1501,7 +1512,7 @@ export default {
// 查看监控 // 查看监控
gotoMonitor() { gotoMonitor() {
console.log(this.vehicleForm); console.log(this.snForm);
/* let snO = { /* let snO = {
name: this.vehicleForm.name, name: this.vehicleForm.name,
standNo: this.vehicleForm.vin, standNo: this.vehicleForm.vin,
...@@ -1518,7 +1529,7 @@ export default { ...@@ -1518,7 +1529,7 @@ export default {
history.pushState( history.pushState(
null, null,
"name", "name",
"/oEshield#/monitor/monitor?vin=" + this.vehicleForm.vin "/oEshield#/monitor/monitor?vin=" + this.snForm.vin
); );
}, },
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!