|
@@ -1,9 +1,14 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<div class="unit" @click="showHunit(3)">
|
|
|
- <span class="unit-c" >管理主体</span>
|
|
|
- <div class="unit-num" v-for="(item,index) in glztList" :key="index" @click="showHunit" >
|
|
|
- <div >
|
|
|
+ <span class="unit-c">管理主体</span>
|
|
|
+ <div
|
|
|
+ class="unit-num"
|
|
|
+ v-for="(item, index) in glztList"
|
|
|
+ :key="index"
|
|
|
+ @click="showHunit"
|
|
|
+ >
|
|
|
+ <div>
|
|
|
<LinearText
|
|
|
style="display: inline-block"
|
|
|
:text="item.sl"
|
|
@@ -11,8 +16,9 @@
|
|
|
></LinearText>
|
|
|
<span>家</span>
|
|
|
</div>
|
|
|
- <div>{{ item.sfzddw}}</div>
|
|
|
+ <div>重点单位</div>
|
|
|
</div>
|
|
|
+
|
|
|
<!-- <div class="unit-num">
|
|
|
<div>
|
|
|
<LinearText
|
|
@@ -33,7 +39,7 @@
|
|
|
</div>
|
|
|
<div class="unit maintenance" @click="showHunit(2)">
|
|
|
<span class="unit-w">维保形式</span>
|
|
|
- <div class="unit-num" v-for="(item,index) in wbxsList" :key="index">
|
|
|
+ <div class="unit-num" v-for="(item, index) in wbxsList" :key="index">
|
|
|
<div>
|
|
|
<LinearText
|
|
|
style="display: inline-block"
|
|
@@ -67,7 +73,7 @@
|
|
|
<div>无维保</div>
|
|
|
</div> -->
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<!-- 弹窗 -->
|
|
|
<basic-modal top="120px" ref="higthModal" name="高层建筑管理">
|
|
|
<higthList :flag="flag" :qx="qx" />
|
|
@@ -80,31 +86,33 @@ import unit3D from "@/components/unit3D.vue";
|
|
|
import { gettotalGlxx } from "@/api/management.js";
|
|
|
import higthList from "./higthList.vue";
|
|
|
export default {
|
|
|
- components: { unit3D,higthList },
|
|
|
+ components: { unit3D, higthList },
|
|
|
props: {
|
|
|
qx: String,
|
|
|
- glztList:Array,
|
|
|
- wbxsList:Array,
|
|
|
-
|
|
|
+ glztList: Array,
|
|
|
+ wbxsList: Array,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
fierList: [],
|
|
|
params: {
|
|
|
pageSize: 100,
|
|
|
- pageNum: 1
|
|
|
+ pageNum: 1,
|
|
|
},
|
|
|
- flag:1
|
|
|
+ flag: 1,
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
|
qx() {
|
|
|
- this.manageList()
|
|
|
- }
|
|
|
+ this.manageList();
|
|
|
+ },
|
|
|
},
|
|
|
- methods:{
|
|
|
+ methods: {
|
|
|
manageList() {
|
|
|
- gettotalGlxx({...this.params, qx: this.qx === '重庆市' ? "" : this.qx}).then((res) => {
|
|
|
+ gettotalGlxx({
|
|
|
+ ...this.params,
|
|
|
+ qx: this.qx === "重庆市" ? "" : this.qx,
|
|
|
+ }).then((res) => {
|
|
|
this.fierList = res.data.rows.map((item) => {
|
|
|
return {
|
|
|
name: item.xfaqglxs,
|
|
@@ -113,13 +121,12 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 弹窗
|
|
|
- showHunit(val){
|
|
|
- this.flag=val
|
|
|
+ showHunit(val) {
|
|
|
+ this.flag = val;
|
|
|
this.showModal("higthModal");
|
|
|
-
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
created() {
|
|
|
this.manageList();
|
|
@@ -161,7 +168,6 @@ export default {
|
|
|
}
|
|
|
.unit-w {
|
|
|
width: 136px;
|
|
|
-
|
|
|
}
|
|
|
.unit-g {
|
|
|
font-size: 18px;
|
|
@@ -170,7 +176,7 @@ export default {
|
|
|
}
|
|
|
.maintenance {
|
|
|
margin-top: 30px;
|
|
|
- .unit-num{
|
|
|
+ .unit-num {
|
|
|
width: 180px !important;
|
|
|
}
|
|
|
}
|