| | |
| | | } |
| | | } |
| | | |
| | | const handleSearch = async () => { |
| | | } |
| | | |
| | | </script> |
| | | |
| | | <template> |
| | |
| | | /> |
| | | </el-select> |
| | | <el-input v-model="searchVal" style="width: 20rem" placeholder="请输入监测点名称" /> |
| | | <el-button><el-icon><Search /></el-icon>搜索</el-button> |
| | | <el-button @click="handleSearch"><el-icon><Search /></el-icon>搜索</el-button> |
| | | <el-button style="margin-left: 0" v-if="userType === '1'"><el-icon><Plus /></el-icon>新增</el-button> |
| | | </div> |
| | | <div class="tool-r" @click="handleFullScreen"> |
| | |
| | | <div class="home-bg"></div> |
| | | <div class="home-c"> |
| | | <div class="point" v-for="(item, index) in pointList" :key="index" :style="{left: item.left, top: item.top}"> |
| | | <div class="point-address"></div> |
| | | <div class="point-message"> |
| | | <div class="point-address" @click="handleShow(index)"></div> |
| | | <div class="point-message" v-show="item.showMsg"> |
| | | <div class="msg-box"> |
| | | <div class="video-box"> |
| | | <el-icon><VideoPlay /></el-icon> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | |
| | |
| | | |
| | | const selectll = ref(0) |
| | | |
| | | const pointList = [ |
| | | { name: '电站尾水出口水温监测点', liushu: 22, ssls: '38', shuiwei: 1000, device: 1, left: '46%', top: '70%', |
| | | const pointList = reactive([ |
| | | { name: '新扎沟口流量监测点', liushu: 22, ssls: '38', shuiwei: 1000, device: 1, left: '18%', top: '67%', showMsg: false, |
| | | liuliangOptions: [ |
| | | { label: '总计流量', value: 500 }, |
| | | { label: '日累计流量', value: 1000 }, |
| | |
| | | { label: '年累计流量', value: 3600000 }, |
| | | ] |
| | | }, |
| | | { name: '电站尾水出口水温监测点', liushu: 22, ssls: '38', shuiwei: 1000, device: 2, left: '55%', top: '10%', |
| | | { name: '电站尾水出口水温监测点', liushu: 22, ssls: '38', shuiwei: 1000, device: 2, left: '60%', top: '12.5%', showMsg: false, |
| | | liuliangOptions: [ |
| | | { label: '总计流量', value: 500 }, |
| | | { label: '日累计流量', value: 1000 }, |
| | |
| | | { label: '年累计流量', value: 3600000 }, |
| | | ] |
| | | }, |
| | | ] |
| | | ]) |
| | | |
| | | const handleShow = (index) => { |
| | | pointList[index].showMsg = !pointList[index].showMsg; |
| | | } |
| | | |
| | | </script> |
| | | |
| | |
| | | .point-message{ |
| | | width: 600px; |
| | | height: 200px; |
| | | background: url("@/assets/images/messageInfo-left.png") no-repeat; |
| | | background: url("@/assets/images/messageInfo-right.png") no-repeat; |
| | | background-size: 100% 100%; |
| | | position: absolute; |
| | | left: -600px; |
| | | top: -100px; |
| | | padding: 30px 50px 30px 30px; |
| | | left: 30px; |
| | | top: -70px; |
| | | padding: 30px 30px 30px 60px; |
| | | color: #fff; |
| | | .msg-box{ |
| | | width: 100%; |
| | | height: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | gap: 20px; |
| | | } |
| | | .video-box{ |
| | | flex-shrink: 0; |
| | | width: 200px; |
| | |
| | | <script setup> |
| | | |
| | | const pointList = reactive([ |
| | | { name: '电站尾水出口水温监测点', temputer: 22, shuiwei: 1000, device: 1, left: '17%', top: '50%', showMsg: false }, |
| | | { name: '电站尾水出口水温监测点', temputer: 22, shuiwei: 1000, device: 2, left: '25%', top: '40%', showMsg: false }, |
| | | { name: '电站尾水出口水温监测点', temputer: 22, shuiwei: 1000, device: 1, left: '15%', top: '53%', showMsg: false }, |
| | | { name: '电站尾水出口水温监测点', temputer: 22, shuiwei: 1000, device: 2, left: '12%', top: '68%', showMsg: false }, |
| | | ]) |
| | | |
| | | const handleShow = (index) => { |
| | |
| | | </div> |
| | | </div> |
| | | <div class="item-btn"><el-button size="large" type="success">批量应用</el-button></div> |
| | | <div class="item-error"> |
| | | <img src="@/assets/images/warning.png" /> |
| | | </div> |
| | | </div> |
| | | <div class="item"> |
| | | <div class="item-t">电站进水口水温监测点</div> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="item-btn"><el-button size="large" type="success">批量应用</el-button></div> |
| | | <div class="item-error"> |
| | | <img src="@/assets/images/warning.png" /> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | border: 1px solid #176CE5; |
| | | padding: 20px; |
| | | border-radius: 8px; |
| | | position: relative; |
| | | &-error{ |
| | | position: absolute; |
| | | left: 0; |
| | | top: 0; |
| | | width: 100%; |
| | | height: 100%; |
| | | background: rgba(0, 0, 0, 0.3); |
| | | img{ |
| | | width: 100%; |
| | | } |
| | | } |
| | | .item-t{ |
| | | font-size: 36px; |
| | | color: #fff; |