Commit 34e63e6f authored by 耿迪迪's avatar 耿迪迪

Merge branch 'master' of ssh://111.61.77.35:15/gengdidi/gassafety

parents f87b2b09 20230b3f
<template> <template>
<div> <div>
<div style="width: 100vw; height: 100vh" id="container"></div> <div style="width: 100vw; height: 100vh" id="container"></div>
<div class="btn-wrapper"> <div v-show="false" class="btn-wrapper">
<div class="myBtn"> <div class="myBtn">
<div <div
class="el-btn" class="el-btn"
...@@ -63,6 +63,8 @@ ...@@ -63,6 +63,8 @@
</div> </div>
</div> </div>
<el-input <el-input
v-model="keyWord" v-model="keyWord"
placeholder="点击输入" placeholder="点击输入"
...@@ -93,15 +95,22 @@ ...@@ -93,15 +95,22 @@
<i class="el-icon-check"></i> <i class="el-icon-check"></i>
</div> </div>
</div> </div>
<RightBototmData :list="rightBototmData"/>
</div> </div>
</template> </template>
<script> <script>
import gaodeMap from "utils/gaodeMap.js"; // import from "utils/gaodeMapView.js";
import { pipeAllInfoList } from "@/api/device/pipe.js"; import { pipeAllInfoList, countPipeLength } from "@/api/device/pipe.js";
import { map, DEVICE_TYPE, mapOperateType } from "utils/gaodeMap.js"; import gaodeMap, { map, DEVICE_TYPE, mapOperateType } from "utils/gaodeMapView.js";
import { getAllDeviceInfo } from "@/api/device/deviceInfo"; import { getAllDeviceInfo, countDeviceByType } from "@/api/device/deviceInfo";
import RightBototmData from "./components/RightBototmData.vue";
import { getInspectionDataByInspector } from "@/api/deviceInspection/inspectionData" import { getInspectionDataByInspector } from "@/api/deviceInspection/inspectionData"
export default { export default {
components: {
RightBototmData,
},
data() { data() {
return { return {
gaoMap: null, gaoMap: null,
...@@ -146,6 +155,8 @@ export default { ...@@ -146,6 +155,8 @@ export default {
}, },
], ],
keyWord: "", keyWord: "",
// 右下角的数据data
rightBototmData: [],
}; };
}, },
async created() { async created() {
...@@ -444,6 +455,12 @@ export default { ...@@ -444,6 +455,12 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
#container{
position: fixed;
top: 80px;
bottom:0;
width: 100%;
}
// 左边的bar // 左边的bar
.leftBar-wrapper { .leftBar-wrapper {
position: fixed; position: fixed;
...@@ -627,37 +644,37 @@ input[type="radio"] { ...@@ -627,37 +644,37 @@ input[type="radio"] {
padding: 0; padding: 0;
margin: 0 0.5rem 0 0; margin: 0 0.5rem 0 0;
} }
.btn { // .btn {
display: inline-block; // display: inline-block;
font-weight: 400; // font-weight: 400;
text-align: center; // text-align: center;
white-space: nowrap; // white-space: nowrap;
vertical-align: middle; // vertical-align: middle;
-webkit-user-select: none; // -webkit-user-select: none;
-moz-user-select: none; // -moz-user-select: none;
-ms-user-select: none; // -ms-user-select: none;
user-select: none; // user-select: none;
border: 1px solid transparent; // border: 1px solid transparent;
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, // transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; // border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
background-color: transparent; // background-color: transparent;
background-image: none; // background-image: none;
color: #25a5f7; // color: #25a5f7;
border-color: #25a5f7; // border-color: #25a5f7;
padding: 0.25rem 0.5rem; // padding: 0.25rem 0.5rem;
line-height: 1.5; // line-height: 1.5;
border-radius: 1rem; // border-radius: 1rem;
-webkit-appearance: button; // -webkit-appearance: button;
cursor: pointer; // cursor: pointer;
width: 6rem; // width: 6rem;
margin: 0 1rem 0 2rem; // margin: 0 1rem 0 2rem;
} // }
.btn:hover { // .btn:hover {
color: #fff; // color: #fff;
background-color: #25a5f7; // background-color: #25a5f7;
border-color: #25a5f7; // border-color: #25a5f7;
} // }
.input-text { .input-text {
width: 4rem; width: 4rem;
margin-right: 1rem; margin-right: 1rem;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment