1 #113

Merged
xiaomeng merged 1 commits from pc-master into portal 2024-02-21 09:29:42 +00:00
2 changed files with 21 additions and 4 deletions

View File

@ -51,7 +51,7 @@
</el-table> </el-table>
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
:current-page="currentPage" :page-sizes="[10, 20, 30, 40]" :page-size="pageSize" :current-page="currentPage" :page-sizes="[10, 20, 50, 100, 200, 500, 1000,1500]" :page-size="pageSize"
layout="->,total, sizes, prev, pager, next, jumper" :total="total"> layout="->,total, sizes, prev, pager, next, jumper" :total="total">
</el-pagination> </el-pagination>
</div> </div>

View File

@ -30,7 +30,7 @@
<div class="page-content new-data" v-else :class="deviceName == 10 || deviceName == 30 ? 'control-page' : ''"> <div class="page-content new-data" v-else :class="deviceName == 10 || deviceName == 30 ? 'control-page' : ''">
<div class="control-view" v-if="deviceName == 10 || deviceName == 30"> <div class="control-view" v-if="deviceName == 10 || deviceName == 30">
<div class="title">气象站:</div> <div class="title" @click='weatherModel=true'>气象站:</div>
<vue-seamless class="control-list" :data="controlList" :class-option="defaultOption1"> <vue-seamless class="control-list" :data="controlList" :class-option="defaultOption1">
<div class="list-view" v-for="item, index in controlList " :key="index"> <div class="list-view" v-for="item, index in controlList " :key="index">
<img class="icon" :src="item.img" alt=""> <img class="icon" :src="item.img" alt="">
@ -286,8 +286,24 @@
</div> </div>
</div> </div>
</div> </div>
<el-dialog title="气象站" class="vrcode-model" :append-to-body="true" :visible.sync="weatherModel" width="1030px">
<el-button class="model-return-btn" type="primary" @click="weatherModel=false"> </el-button>
<div class="vrcode-model-title vrcode-model-title-282">气象站</div>
<div class="dataModel">
<div class="view-new">
<div class="list-view" v-for="item, index in controlList " :key="index">
<img class="icon" :src="item.img" alt="">
<div>
<div class="text">{{ item.environmentDataId}}</div>
<div class="number" > {{ getControlData(item) }}</div>
</div>
<el-dialog title="实时数据" class="vrcode-model" :append-to-body="true" :visible.sync="dataModel" width="70%"> </div>
</div>
</div>
</el-dialog>
<el-dialog title="实时数据" class="vrcode-model" :append-to-body="true" :visible.sync="dataModel" width="1030px">
<el-button class="model-return-btn" type="primary" @click="dataModel=false"> </el-button> <el-button class="model-return-btn" type="primary" @click="dataModel=false"> </el-button>
<div class="vrcode-model-title vrcode-model-title-282">实时数据</div> <div class="vrcode-model-title vrcode-model-title-282">实时数据</div>
<div class="dataModel"> <div class="dataModel">
@ -460,6 +476,7 @@ export default {
sunset: "00:00", sunset: "00:00",
statusList: [], statusList: [],
dataModel:false,// dataModel:false,//
weatherModel:false,
time: null,// time: null,//
list: [], list: [],