Commit 884dd282 authored by Kimber's avatar Kimber

'update'

parent 1e1a72e5
...@@ -901,7 +901,7 @@ ...@@ -901,7 +901,7 @@
<!-- cookie --> <!-- cookie -->
<script src="js/js.cookie.js"></script> <script src="js/js.cookie.js"></script>
<script> <script>
const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.3.37' : '192.168.13.200') + ':8013'; const host = location.protocol + '//' + (location.hostname === '192.168.3.226' ? '192.168.3.37' : '192.168.13.200') + ':8013';
// 小黄 // 小黄
//const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.2.200' : '192.168.13.200') + ':8013'; //const host = location.protocol + '//' + (location.hostname === '192.168.3.38' ? '192.168.2.200' : '192.168.13.200') + ':8013';
...@@ -1184,16 +1184,6 @@ ...@@ -1184,16 +1184,6 @@
if(i < 3){ if(i < 3){
reqiust(list[0].id, i); reqiust(list[0].id, i);
}else{ }else{
console.log('list ________________ ', list);
//var item = {
// name: "全部",
// label: "全部",
// id: 7,
//};
//
//list.unshift(item);
that.reqEnterprise(list[0] && list[0].id || 0, selects[i]); that.reqEnterprise(list[0] && list[0].id || 0, selects[i]);
}; };
}); });
...@@ -1236,6 +1226,7 @@ ...@@ -1236,6 +1226,7 @@
params: { params: {
enterpriseId: this.enterpriseId, enterpriseId: this.enterpriseId,
deptId: this.deptId, deptId: this.deptId,
mineType:this.mineType,
} }
}; };
axios.get(host + '/api/yingji/keynoteadmin/deviceStatus', req).then(res => { axios.get(host + '/api/yingji/keynoteadmin/deviceStatus', req).then(res => {
...@@ -1262,8 +1253,6 @@ ...@@ -1262,8 +1253,6 @@
} }
}; };
console.log('reqMines ________________ ', req.params);
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;
...@@ -1319,6 +1308,7 @@ ...@@ -1319,6 +1308,7 @@
params: { params: {
enterpriseId: this.enterpriseId, enterpriseId: this.enterpriseId,
deptId: this.deptId, deptId: this.deptId,
mineType:this.mineType,
} }
}; };
axios.get(host + '/api/yingji/keynoteadmin/alertList', req).then(res => { axios.get(host + '/api/yingji/keynoteadmin/alertList', req).then(res => {
...@@ -1332,6 +1322,7 @@ ...@@ -1332,6 +1322,7 @@
params: { params: {
enterpriseId:this.enterpriseId, enterpriseId:this.enterpriseId,
deptId: this.deptId, deptId: this.deptId,
mineType:this.mineType,
dateRange: this.daterange3.timeSpace.toString() dateRange: this.daterange3.timeSpace.toString()
} }
}; };
...@@ -1349,7 +1340,6 @@ ...@@ -1349,7 +1340,6 @@
this.mineType = value; this.mineType = value;
}; };
// 矿山数据 // 矿山数据
this.reqMines(); this.reqMines();
}, },
...@@ -1560,9 +1550,7 @@ ...@@ -1560,9 +1550,7 @@
return ; return ;
window.localStorage.setItem('kd.selected.mine', JSON.stringify(mine)) window.localStorage.setItem('kd.selected.mine', JSON.stringify(mine))
if(mineType == 1){
window.open(selfHost + '/datav/detail/video-monitor.html', '_self')
/* if(mineType == 1){
window.open(selfHost + '/datav/underground.html', '_self') window.open(selfHost + '/datav/underground.html', '_self')
} }
if(mineType == 2){ if(mineType == 2){
...@@ -1570,7 +1558,7 @@ ...@@ -1570,7 +1558,7 @@
} }
if(mineType == 3){ if(mineType == 3){
window.open(selfHost + '/datav/tailings.html', '_self') window.open(selfHost + '/datav/tailings.html', '_self')
}*/ }
} }
// 弧线 // 弧线
...@@ -1824,6 +1812,8 @@ ...@@ -1824,6 +1812,8 @@
var req = { var req = {
params: { params: {
enterpriseId:this.enterpriseId, enterpriseId:this.enterpriseId,
deptId: this.deptId,
mineType:this.mineType,
} }
}; };
axios.get(host + '/api/yingji/dangerousworkaudit/dangerwork-list', req).then(res => { axios.get(host + '/api/yingji/dangerousworkaudit/dangerwork-list', req).then(res => {
...@@ -1839,6 +1829,7 @@ ...@@ -1839,6 +1829,7 @@
params: { params: {
enterpriseId:this.enterpriseId, enterpriseId:this.enterpriseId,
deptId: this.deptId, deptId: this.deptId,
mineType:this.mineType,
} }
}; };
axios.get(host + '/api/yingji/keynoteadmin/deformationMonitoring', req).then(res => { axios.get(host + '/api/yingji/keynoteadmin/deformationMonitoring', req).then(res => {
......
...@@ -1052,9 +1052,6 @@ ...@@ -1052,9 +1052,6 @@
function onloadDataFinish(){ function onloadDataFinish(){
console.log('onloadDataFinish ________________ ', self.enterpriseId, self.deptId);
// md3_1 降水选择列表事件 // md3_1 降水选择列表事件
(function(){ (function(){
self.m1tt3 = leftbar.querySelector(".m-tt3"); self.m1tt3 = leftbar.querySelector(".m-tt3");
......
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