Commit 884dd282 authored by Kimber's avatar Kimber

'update'

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