feat():位移监测更改

master
李神峰 2025-09-23 17:01:20 +08:00
parent 60b3e4449a
commit b99740ca90
3 changed files with 9 additions and 9 deletions

View File

@ -136,7 +136,8 @@ export default {
}else{ }else{
resData = data.data.filter(item => item.stationCode == 'WY-32') resData = data.data.filter(item => item.stationCode == 'WY-32')
} }
this.zwyData = resData; // this.zwyData = resData;
this.zwyData = data.data;
} }
} catch (error) { } catch (error) {
uni.$showMsg(); uni.$showMsg();

View File

@ -9,18 +9,18 @@
<th style="width: 20%;"> <th style="width: 20%;">
监测时间 监测时间
</th> </th>
<th style="width: 20%;">X方向(mm)</th> <th style="width: 20%;">e方向(mm)</th>
<th style="width: 20%;">Y方向(mm)</th> <th style="width: 20%;">n方向(mm)</th>
<th style="width: 20%;">H方向(mm)</th> <th style="width: 20%;">u方向(mm)</th>
</tr> </tr>
<!-- style="max-height: 480px; overflow-y: auto" --> <!-- style="max-height: 480px; overflow-y: auto" -->
<div class="scroll-table"> <div class="scroll-table">
<tr v-for="(item, index) in tableData" :key="index"> <tr v-for="(item, index) in tableData" :key="index">
<td style="width: 20%;">{{item.stationCode}}</td> <td style="width: 20%; height: 30%;">{{item.cdnm}}</td>
<td style="width: 20%;">{{simpleData(item.tm)}}</td> <td style="width: 20%;">{{simpleData(item.tm)}}</td>
<td style="width:20%;">{{ item.x }}</td> <td style="width:20%;">{{ item.de }}</td>
<td style="width:20%;">{{ item.y }}</td> <td style="width:20%;">{{ item.dn }}</td>
<td style="width:20%;">{{ item.h }}</td> <td style="width:20%;">{{ item.du }}</td>
</tr> </tr>
<div style="height:180px"></div> <div style="height:180px"></div>
</div> </div>

View File

@ -496,7 +496,6 @@
mounted() { mounted() {
this.getVideoList(); this.getVideoList();
this.getRainList(); this.getRainList();
this.getWaterList();
} }
} }
</script> </script>