中建四局大屏-安全管理深基坑数据对接

This commit is contained in:
yjl 2023-03-27 09:06:51 +08:00
parent b55c1fddfe
commit 5fb5d7dde2

View File

@ -263,19 +263,21 @@
<div class="list" v-if="tabIndex == 3">
<div class="thead">
<div class="row">
<div class="td">地下水位</div>
<div class="td">周边建筑倾斜</div>
<div class="td">钢支撑内力</div>
<div class="td">支护桩内力</div>
<div class="td">监测项目</div>
<div class="td">警情</div>
<div class="td">测点总数</div>
<div class="td">近七天超报警数</div>
<div class="td">近七天超速率数</div>
</div>
</div>
<div class="tbody">
<vue-scroll>
<div class="row" v-for="i in 10" :key="i">
<div class="td">中建四项目深基坑</div>
<div class="td">沉降监测3号</div>
<div class="td">深层水平位移</div>
<div class="td">-0.77</div>
<div class="row" v-for="(item, index) in MonitorList" :key="index">
<div class="td">{{ item.monitorTypeName }}</div>
<div class="td">{{ item.alarmType == 0 ? '正常' : '报警' }}</div>
<div class="td">{{ item.measurePointNum }}</div>
<div class="td">{{ item.superAlarmNumber }}</div>
<div class="td">{{ item.superControlNumber }}</div>
</div>
</vue-scroll>
</div>
@ -312,6 +314,7 @@
</template>
<script>
import { selectMonitorTypeListApi } from '@/assets/js/api/deepFoundationPitManage.js'
import {
getFpdcdSelectPageApi,
getHighFormworkApi
@ -324,17 +327,19 @@ export default {
return {
tabIndex: 0,
tabs: ['临边防护', '塔机监测', '高支模监测', '深基坑', '云端建设工厂'],
current: 0, //
size: 0, //
current: 1, //
size: 100, //
edgeList: [], //
TowerList: [], //
highFormList: [] //
highFormList: [], //
MonitorList: [] //
}
},
created() {
this.getEdgeDate()
this.getTowerCurrentData()
this.getHighFormworkData()
this.selectMonitorTypeList()
},
methods: {
//
@ -353,7 +358,9 @@ export default {
//-
getTowerCurrentData() {
getTowerCurrentDataListApi({
projectSn: this.$store.state.projectSn
projectSn: this.$store.state.projectSn,
current: this.current,
size: this.size
}).then((res) => {
if (res.code == 200) {
this.TowerList = res.result.records
@ -367,6 +374,15 @@ export default {
}).then((res) => {
this.highFormList = res.result.records
})
},
//-
selectMonitorTypeList() {
selectMonitorTypeListApi({
projectSn: this.$store.state.projectSn
}).then((res) => {
console.log('深基坑-数据获取', res)
this.MonitorList = res.result
})
}
}
}