xielei 2024-11-12 11:53:36 +08:00
commit e4421c7e5a
4 changed files with 23 additions and 33 deletions

View File

@ -417,7 +417,7 @@
width: 3000px; width: 3000px;
// position:fixed; // position:fixed;
overflow: hidden; overflow: hidden;
z-index: 1000; z-index: 1;
background-color: #efefef; background-color: #efefef;
movable-view { movable-view {

View File

@ -138,13 +138,11 @@
getYlzList() { getYlzList() {
uni.$http.post('/gunshiApp/xyt/stPptnRReal/list').then(res => { uni.$http.post('/gunshiApp/xyt/stPptnRReal/list').then(res => {
if (res.data.code == 200) { if (res.data.code == 200) {
console.log(this.Ylzlist,'this.Ylzlist');
this.Ylzlist = res.data.data this.Ylzlist = res.data.data
} }
}) })
}, },
getList() { getList() {
console.log(11);
uni.$http.post('/gunshiApp/xyt/messageCenter/list', { uni.$http.post('/gunshiApp/xyt/messageCenter/list', {
start: '', start: '',
end: '' end: ''
@ -249,8 +247,6 @@
}, },
onLoad() { onLoad() {
console.log("走了几遍");
this.getYlzList(); this.getYlzList();
}, },
@ -267,7 +263,6 @@
this.getYjData(); this.getYjData();
}, },
onHide() { onHide() {
console.log(222);
clearInterval(timer) clearInterval(timer)
timer = null; timer = null;
}, },
@ -365,6 +360,7 @@
// margin-bottom: 12rpx; // margin-bottom: 12rpx;
background: #fff; background: #fff;
} }
.info_24 { .info_24 {
width: 100%; width: 100%;
// position: fixed; // position: fixed;

View File

@ -12,7 +12,7 @@
<view class="sk-info"> <view class="sk-info">
<view class="sk-first-row"> <view class="sk-first-row">
<view class="first-item"> <view class="first-item">
<text>{{info.normWatLev}}</text> <text>{{info.rz}}</text>
<text>水位</text> <text>水位</text>
</view> </view>
<view class="first-item"> <view class="first-item">

View File

@ -68,7 +68,6 @@
} }
}, },
mounted() { mounted() {
console.log('小玉潭水库222');
this.getList() this.getList()
this.getDrp() this.getDrp()
}, },
@ -91,13 +90,10 @@
uni.$http.get('/gunshiApp/xyt/reservoir/water/detail?stcd=716164061&_=1731028927554').then(res=>{ uni.$http.get('/gunshiApp/xyt/reservoir/water/detail?stcd=716164061&_=1731028927554').then(res=>{
this.dataform={...this.dataform,...res.data.data} this.dataform={...this.dataform,...res.data.data}
console.log(this.dataform,'drp yesterdayDrp');
}) })
uni.$http.post('/gunshiApp/xyt/reservoir/water/list').then(res=>{ uni.$http.post('/gunshiApp/xyt/reservoir/water/list').then(res=>{
console.log(res,'drp list');
this.dataform={...this.dataform,...res.data.data[0]} this.dataform={...this.dataform,...res.data.data[0]}
console.log(this.dataform,'drp list');
this.tm = res.data.data[0].tm this.tm = res.data.data[0].tm
}) })
uni.$http.post('/gunshiApp/xyt/stWaterRReal/list').then(res=>{ uni.$http.post('/gunshiApp/xyt/stWaterRReal/list').then(res=>{
@ -120,7 +116,6 @@
if(index == 0){ if(index == 0){
this.showImg = item.url this.showImg = item.url
console.log(this.showImg,'this.showImg');
} }
return item}) return item})
} }
@ -140,7 +135,6 @@
}, },
getList(){ getList(){
uni.$http.post('/gunshiApp/xyt/attResBase/list').then(res=>{ uni.$http.post('/gunshiApp/xyt/attResBase/list').then(res=>{
console.log(res.data.data[0]);
this.dataform=res.data.data[0] this.dataform=res.data.data[0]
}) })
}, },