Commit 830be8f2 by 吴娟华

'1.2.10'

1 parent 51c474fe
......@@ -729,6 +729,7 @@ export default {
freqLoading: false,
isViewMode: false,
importing: false,
};
},
watch: {
......@@ -1112,8 +1113,10 @@ export default {
break;
case "import":
console.log(this.importForm.file);
if(this.importing) return
var data = new FormData();
data.append("file", this.importForm.file);
this.importing = true
axios({
headers: {
"Content-Type": "multipart/form-data",
......@@ -1124,6 +1127,7 @@ export default {
data,
}).then((res) => {
console.log(res);
this.importing = false
if (res.data.code == 200) {
this.exportData = res.data.data;
} else {
......@@ -1493,7 +1497,8 @@ export default {
//let routeData = this.$router.resolve({ path: '../oEshield#/monitor/monitor', query: { snArr: JSON.stringify([snO])}});
// window.open(routeData.href, '_blank');
location.href = '../oEshield#/monitor/monitor?vin='+this.vehicleForm.vin
//location.href = '/trialRun#/vehicleSubmit'//'/oEshield#/monitor/monitor?vin='+this.vehicleForm.vin
history.pushState(null, 'name', '/oEshield#/monitor/monitor?vin='+this.vehicleForm.vin)
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!