Commit 4d7b32f5 by 张杰

修复bug

1 parent e7ccbdef
......@@ -444,6 +444,7 @@ export default {
{
label: "激活时间",
prop: "activateTime",
width: 160,
},
{
label: "设备状态",
......@@ -864,6 +865,16 @@ export default {
// this.vehicleDefalutData.find((item) => item.prop == "configId").options =
// 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: {
......@@ -1001,7 +1012,7 @@ export default {
});
break;
case "delete":
this.$confirm("是否要删除?", "提示", {
this.$confirm("请再次确认是否执行当前操作!", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
......@@ -1501,7 +1512,7 @@ export default {
// 查看监控
gotoMonitor() {
console.log(this.vehicleForm);
console.log(this.snForm);
/* let snO = {
name: this.vehicleForm.name,
standNo: this.vehicleForm.vin,
......@@ -1518,7 +1529,7 @@ export default {
history.pushState(
null,
"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!