Commit e780df3e authored by Kimber's avatar Kimber

'update'

parent 18d5f37d
...@@ -1267,13 +1267,7 @@ ...@@ -1267,13 +1267,7 @@
axios.get(host + '/api/datav/mine', req).then(res => { axios.get(host + '/api/datav/mine', req).then(res => {
loading.close(); loading.close();
this.isReady = true; this.isReady = true;
this.mineList = res && res.data && res.data.results; this.mineList = res && res.data && res.data.results;
console.log('mineList ________________ ', this.mineList);
this.mineNumber1 = this.mineList.filter(x => x.mineType == 1).length; this.mineNumber1 = this.mineList.filter(x => x.mineType == 1).length;
this.mineNumber2 = this.mineList.filter(x => x.mineType == 2).length; this.mineNumber2 = this.mineList.filter(x => x.mineType == 2).length;
this.mineNumber3 = this.mineList.filter(x => x.mineType == 3).length; this.mineNumber3 = this.mineList.filter(x => x.mineType == 3).length;
...@@ -1313,7 +1307,7 @@ ...@@ -1313,7 +1307,7 @@
//_5minus(); //_5minus();
//this.getData(); //this.getData();
// 获取数据 // 获取数据
this.getData(); this.getData();
}); });
}, },
......
...@@ -1528,7 +1528,7 @@ ...@@ -1528,7 +1528,7 @@
const mine = this.mineList.filter(x => x.mineType == mineType && x.id == mineId)[0] const mine = this.mineList.filter(x => x.mineType == mineType && x.id == mineId)[0]
window.localStorage.setItem('kd.selected.mine', JSON.stringify(mine)) window.localStorage.setItem('kd.selected.mine', JSON.stringify(mine))
window.localStorage.setItem('bigScreenDetailMenuModel', 'emergency'); window.localStorage.setItem('bigScreenDetailMenuModel', 'natural');
window.open(selfHost + '/datav/detail/video-monitor.html', '_self') window.open(selfHost + '/datav/detail/video-monitor.html', '_self')
return ; return ;
......
...@@ -2316,7 +2316,7 @@ ...@@ -2316,7 +2316,7 @@
const mine = this.mineList.filter(x => x.mineType == mineType && x.id == mineId)[0] const mine = this.mineList.filter(x => x.mineType == mineType && x.id == mineId)[0]
window.localStorage.setItem('kd.selected.mine', JSON.stringify(mine)) window.localStorage.setItem('kd.selected.mine', JSON.stringify(mine))
window.localStorage.setItem('bigScreenDetailMenuModel', 'emergency'); window.localStorage.setItem('bigScreenDetailMenuModel', 'watersystem');
window.open(selfHost + '/datav/detail/video-monitor.html', '_self') window.open(selfHost + '/datav/detail/video-monitor.html', '_self')
return ; return ;
......
...@@ -122,9 +122,9 @@ export default { ...@@ -122,9 +122,9 @@ export default {
// location.href = 'http://192.168.3.226:8057/datav/index.html' // location.href = 'http://192.168.3.226:8057/datav/index.html'
location.href = host + "/datav/index.html"; location.href = host + "/datav/index.html";
} else if (type === "自然资源") { } else if (type === "自然资源") {
//location.href = host + "/datav/natural.html"; location.href = host + "/datav/natural.html";
} else if (type === "水利系统") { } else if (type === "水利系统") {
//location.href = host + "/datav/watersource.html"; location.href = host + "/datav/watersource.html";
} else if (type === "电子档案馆") { } else if (type === "电子档案馆") {
// this.$router.push({ path: "home4Center" }); // this.$router.push({ path: "home4Center" });
this.$router.push({ path: "/user/center" }); this.$router.push({ path: "/user/center" });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment