|
@@ -5,34 +5,54 @@
|
|
<el-col :offset="1" :span="4"><img src="@/assets/img/securityPlan/iconEb.svg" alt="" class="img" width="20"></el-col>
|
|
<el-col :offset="1" :span="4"><img src="@/assets/img/securityPlan/iconEb.svg" alt="" class="img" width="20"></el-col>
|
|
<el-col :span="8">华漕镇</el-col>
|
|
<el-col :span="8">华漕镇</el-col>
|
|
<el-col :span="9" ><a href="http://32.0.15.107:8080/mhvi/hcddc.pdf" target="_blank">摸排报告</a></el-col>
|
|
<el-col :span="9" ><a href="http://32.0.15.107:8080/mhvi/hcddc.pdf" target="_blank">摸排报告</a></el-col>
|
|
- <el-col :span="2" style="color:#73FBFD;text-align:center"> <i class="el-icon-arrow-right"></i></el-col>
|
|
|
|
|
|
+ <el-col :span="2" style="color:#73FBFD;text-align:center"></el-col>
|
|
<div class="panel-footer"></div>
|
|
<div class="panel-footer"></div>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row class="ebItem">
|
|
<el-row class="ebItem">
|
|
<el-col :offset="1" :span="4"><img src="@/assets/img/securityPlan/iconEb.svg" alt="" class="img" width="20"></el-col>
|
|
<el-col :offset="1" :span="4"><img src="@/assets/img/securityPlan/iconEb.svg" alt="" class="img" width="20"></el-col>
|
|
<el-col :span="8">新虹街道</el-col>
|
|
<el-col :span="8">新虹街道</el-col>
|
|
<el-col :span="9" ><a href="http://32.0.15.107:8080/mhvi/xhddc.pdf" target="_blank">摸排报告</a></el-col>
|
|
<el-col :span="9" ><a href="http://32.0.15.107:8080/mhvi/xhddc.pdf" target="_blank">摸排报告</a></el-col>
|
|
- <el-col :span="2" style="color:#73FBFD;text-align:center"> <i class="el-icon-arrow-right"></i></el-col>
|
|
|
|
|
|
+ <el-col :span="2" style="color:#73FBFD;text-align:center"></el-col>
|
|
<div class="panel-footer"></div>
|
|
<div class="panel-footer"></div>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row class="ebItem">
|
|
<el-row class="ebItem">
|
|
<el-col :offset="1" :span="4"><img src="@/assets/img/securityPlan/iconEb.svg" alt="" class="img" width="20"></el-col>
|
|
<el-col :offset="1" :span="4"><img src="@/assets/img/securityPlan/iconEb.svg" alt="" class="img" width="20"></el-col>
|
|
<el-col :span="8">七宝镇</el-col>
|
|
<el-col :span="8">七宝镇</el-col>
|
|
<el-col :span="9" ><a href="http://32.0.15.107:8080/mhvi/qbddc.pdf" target="_blank">摸排报告</a></el-col>
|
|
<el-col :span="9" ><a href="http://32.0.15.107:8080/mhvi/qbddc.pdf" target="_blank">摸排报告</a></el-col>
|
|
- <el-col :span="2" style="color:#73FBFD;text-align:center"> <i class="el-icon-arrow-right"></i></el-col>
|
|
|
|
|
|
+ <el-col :span="2" style="color:#73FBFD;text-align:center"></el-col>
|
|
<div class="panel-footer"></div>
|
|
<div class="panel-footer"></div>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row class="ebItem">
|
|
<el-row class="ebItem">
|
|
<el-col :offset="1" :span="4"><img src="@/assets/img/securityPlan/iconEb.svg" alt="" class="img" width="20"></el-col>
|
|
<el-col :offset="1" :span="4"><img src="@/assets/img/securityPlan/iconEb.svg" alt="" class="img" width="20"></el-col>
|
|
<el-col :span="8">虹桥镇</el-col>
|
|
<el-col :span="8">虹桥镇</el-col>
|
|
<el-col :span="9" ><a href="http://32.0.15.107:8080/mhvi/hqddc.pdf" target="_blank">摸排报告</a></el-col>
|
|
<el-col :span="9" ><a href="http://32.0.15.107:8080/mhvi/hqddc.pdf" target="_blank">摸排报告</a></el-col>
|
|
- <el-col :span="2" style="color:#73FBFD;text-align:center"> <i class="el-icon-arrow-right"></i></el-col>
|
|
|
|
|
|
+ <el-col :span="2" style="color:#73FBFD;text-align:center"></el-col>
|
|
<div class="panel-footer"></div>
|
|
<div class="panel-footer"></div>
|
|
</el-row>
|
|
</el-row>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <!-- 宾馆酒店信息统计 大型商业 各街镇 规模租赁 三合一 图表+统计 -->
|
|
|
|
- <div v-else-if="typeValue==23||typeValue==26||typeValue==28">
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <!-- 养老 医疗机构清单 表格 -->
|
|
|
|
+ <!-- <div>{{ arrayData }}</div> -->
|
|
|
|
+ <div class="rightBotContent" v-else-if="typeValue==29||typeValue==30" style="margin-top:15px;height: calc(100% - .7rem)">
|
|
|
|
+ <el-table ref="reportTable" height="100%" :data="arrayData" class="transparentTableRow" style="width: 100%"
|
|
|
|
+ @mouseenter="autoScroll(true)" @mouseleave="autoScroll()">
|
|
|
|
+ <el-table-column align="left" label="单位名称" prop="facilityName" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <!-- <el-table-column align="left" label="设施类型" prop="facilityType"></el-table-column> -->
|
|
|
|
+ <el-table-column align="left" label="地址" prop="address" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="left" label="所属街镇" prop="streetTown" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="left" label="隐患问题" prop="extendData" show-overflow-tooltip>
|
|
|
|
+ <template #default="scope">
|
|
|
|
+ {{scope.row.test1}}
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+
|
|
|
|
+ </el-table>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <!-- 图表+统计 -->
|
|
|
|
+ <div v-else>
|
|
<el-row >
|
|
<el-row >
|
|
<el-col :span="10">
|
|
<el-col :span="10">
|
|
<bar :total="staticData.total" v-if="staticData.total"></bar>
|
|
<bar :total="staticData.total" v-if="staticData.total"></bar>
|
|
@@ -59,22 +79,9 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
- <!-- 养老 医疗机构清单 表格 -->
|
|
|
|
- <!-- <div>{{ arrayData }}</div> -->
|
|
|
|
- <div class="rightBotContent" v-else-if="typeValue==29||typeValue==30" style="margin-top:15px;height: calc(100% - .7rem)">
|
|
|
|
- <el-table ref="reportTable" height="100%" :data="arrayData" class="transparentTableRow" style="width: 100%"
|
|
|
|
- @mouseenter="autoScroll(true)" @mouseleave="autoScroll()">
|
|
|
|
- <el-table-column align="left" label="设施名称" prop="facilityName"></el-table-column>
|
|
|
|
- <!-- <el-table-column align="left" label="设施类型" prop="facilityType"></el-table-column> -->
|
|
|
|
- <el-table-column align="left" label="地址" prop="address"></el-table-column>
|
|
|
|
- <el-table-column align="left" label="所属街镇" prop="streetTown"></el-table-column>
|
|
|
|
-
|
|
|
|
- </el-table>
|
|
|
|
- </div>
|
|
|
|
<!-- <div>{{ staticData.array }}</div> -->
|
|
<!-- <div>{{ staticData.array }}</div> -->
|
|
|
|
|
|
- <div v-else style="text-align:center;margin-top:1rem;color:antiquewhite">暂无数据 ...</div>
|
|
|
|
|
|
+ <!-- <div v-else style="text-align:center;margin-top:1rem;color:antiquewhite">暂无数据 ...</div> -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -86,23 +93,14 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-// import axios from "axios";
|
|
|
|
-// import linstener from "@c/mixins/linstener";
|
|
|
|
|
|
|
|
-import axios from "axios";
|
|
|
|
import linstener from "@c/mixins/linstener";
|
|
import linstener from "@c/mixins/linstener";
|
|
-import map from "@c/mixins/map-data1";
|
|
|
|
-import gauge from "@c/gauge/index6";
|
|
|
|
-// import map from "@c/mixins/map-gaode-public";
|
|
|
|
-import category from "@c/category/index22";
|
|
|
|
-import unitBox from "@c/unitBox/index";
|
|
|
|
-import CountTo from "@/components/count-to/index.js";
|
|
|
|
-import Hls from "hls.js";
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
import bar from "@c/bar/index2";
|
|
import bar from "@c/bar/index2";
|
|
export default {
|
|
export default {
|
|
- mixins: [linstener, map],
|
|
|
|
|
|
+ mixins: [linstener],
|
|
components: { bar },
|
|
components: { bar },
|
|
props: {
|
|
props: {
|
|
typeValue: { type: Number, default: () => 1 },
|
|
typeValue: { type: Number, default: () => 1 },
|
|
@@ -239,22 +237,16 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
staticsPoint(val){
|
|
staticsPoint(val){
|
|
- // alert(val)
|
|
|
|
- // alert(this.typeValue)
|
|
|
|
|
|
+ let that = this
|
|
this.$axios.post(this.$api.water.baseGgpFacilityList,{
|
|
this.$axios.post(this.$api.water.baseGgpFacilityList,{
|
|
- "facilityType": [23] ,
|
|
|
|
- // "streetTown": [val ]
|
|
|
|
|
|
+ "facilityType": [this.typeValue] ,
|
|
|
|
+ "streetTown": val
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
console.log(res)
|
|
console.log(res)
|
|
let arr = []
|
|
let arr = []
|
|
if(res.data.length>0){
|
|
if(res.data.length>0){
|
|
- arr = res.data;
|
|
|
|
- // this.arrayData= res.data;
|
|
|
|
- // if(val=='29'){
|
|
|
|
- // this.addMarker(arr, "security-plan", "养老机构安全隐患清单")
|
|
|
|
- // }else{
|
|
|
|
- // this.addMarker(arr, "security-plan", "医疗机构安全隐患清单")
|
|
|
|
- // }
|
|
|
|
|
|
+ arr = res.data;
|
|
|
|
+ that.$emit("staticsPoint",arr,this.typeValue,val)
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|