|
@@ -67,7 +67,7 @@
|
|
|
<a-row v-show="this.type=='szdw'">
|
|
|
<a-col :sm="24" :md="12" :xl="12">
|
|
|
<a-card style="margin-bottom: 1rem;width:100%;height: 42rem">
|
|
|
- <mapData :resultMapData="this.resMapSzData" :titles="this.title2"></mapData>
|
|
|
+ <mapData :resultMapData="this.resMapSzData" :titles="this.title2" ></mapData>
|
|
|
</a-card>
|
|
|
</a-col>
|
|
|
<a-col :sm="24" :md="12" :xl="6">
|
|
@@ -84,7 +84,8 @@
|
|
|
<a-col :sm="24" :md="12" :xl="12">
|
|
|
<a-card style="margin-bottom: 1rem;width:100%;height: 20rem">
|
|
|
<a-col :sm="24" :md="12" :xl="24">
|
|
|
- <BarData :titleText=this.BarTitleBysz :result-x-data=this.resXData :dw="this.dw2" style="width:800px ;height:300px;"></BarData>
|
|
|
+ <BarData :titleText=this.BarTitleBysz :result-x-data=this.resXData :dw="this.dw2"
|
|
|
+ style="width:800px ;height:300px;"></BarData>
|
|
|
</a-col>
|
|
|
</a-card>
|
|
|
</a-col>
|
|
@@ -112,12 +113,12 @@
|
|
|
<a-row v-show="this.type=='ssqy'">
|
|
|
<a-col :sm="24" :md="12" :xl="12">
|
|
|
<a-card style="margin-bottom: 1rem;width:100%;height: 43rem">
|
|
|
- <mapData :resultMapData="this.resMapSsData" :titles="this.title1"></mapData>
|
|
|
+ <mapData :resultMapData="this.resMapSsData" :titles="this.title1" @visible="visibleInfo"></mapData>
|
|
|
</a-card>
|
|
|
</a-col>
|
|
|
<a-col :sm="24" :md="12" :xl="6">
|
|
|
<a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
|
|
|
- <PieData :resultData="this.resData" :titleText="this.textByss"></PieData>
|
|
|
+ <PieData :resultData="this.resData" :titleText="this.textByss" @visible="visibleInfo" ></PieData>
|
|
|
</a-card>
|
|
|
</a-col>
|
|
|
<a-col :sm="24" :md="12" :xl="6">
|
|
@@ -128,7 +129,7 @@
|
|
|
</a-col>
|
|
|
<a-col :sm="24" :md="12" :xl="6">
|
|
|
<a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
|
|
|
- <PieData :resultData="this.resData2" :titleText="this.textBysss"></PieData>
|
|
|
+ <PieData :resultData="this.resData2" :titleText="this.textBysss" @visible="visibleInfo"></PieData>
|
|
|
</a-card>
|
|
|
</a-col>
|
|
|
<a-col :sm="24" :md="12" :xl="6">
|
|
@@ -156,7 +157,8 @@
|
|
|
</a-col>-->
|
|
|
<a-col :sm="24" :md="12" :xl="24">
|
|
|
<!-- <a-card style="margin-bottom: 1rem;width:100%;height: 20rem">-->
|
|
|
- <BarData :titleText=this.BarTitleBysz :result-x-data="this.resYData" :dw="this.dw2" :seriesName="'地块数量'"></BarData>
|
|
|
+ <BarData :titleText=this.BarTitleBysz :result-x-data="this.resYData" :dw="this.dw2"
|
|
|
+ :seriesName="'地块数量'"></BarData>
|
|
|
<!-- </a-card>-->
|
|
|
</a-col>
|
|
|
</a-card>
|
|
@@ -169,22 +171,31 @@
|
|
|
|
|
|
<a-col :sm="24" :md="12" :xl="24">
|
|
|
<a-card style="margin-bottom: 1rem;width:100%;height: 21rem">
|
|
|
- <BarData :titleText=this.BarTitleBysjzymjs :result-x-data="this.resYDatas" :seriesName="'地块面积(亩)'" :dw="this.dw"
|
|
|
+ <BarData :titleText=this.BarTitleBysjzymjs :result-x-data="this.resYDatas" :seriesName="'地块面积(亩)'"
|
|
|
+ :dw="this.dw"
|
|
|
style="width:1600px ;height:300px;"></BarData>
|
|
|
</a-card>
|
|
|
</a-col>
|
|
|
|
|
|
</a-row>
|
|
|
- <!-- <a-row>
|
|
|
- <a-col :sm="24" :md="12" :xl="24">
|
|
|
+ <j-modal
|
|
|
+ :visible="visible"
|
|
|
|
|
|
- </a-col>
|
|
|
- </a-row>-->
|
|
|
+ okText="保存"
|
|
|
+ @cancel="handleCancel"
|
|
|
+ cancelText="关闭"
|
|
|
+
|
|
|
+ >
|
|
|
+ <QcSsgqzysytdqkList :param="this.param"> </QcSsgqzysytdqkList>
|
|
|
+
|
|
|
+ </j-modal>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+
|
|
|
</template>
|
|
|
|
|
|
+
|
|
|
<script>
|
|
|
import mapData from "@views/tj/compoent/map3Data";
|
|
|
import PieData from "@views/tj/compoent/PieData"
|
|
@@ -194,6 +205,7 @@ import BarDobuleData from "@views/tj/compoent/BarDobuleData";
|
|
|
import WaterWorld from "@views/tj/compoent/WaterWorld";
|
|
|
import NightingaleCharData from "@views/tj/compoent/NightingaleCharData";
|
|
|
import {getAction} from "@api/manage";
|
|
|
+import QcSsgqzysytdqkList from "@views/qcsb/QcSsgqzysytdqkList_tj"
|
|
|
|
|
|
export default {
|
|
|
name: "sjtj",
|
|
@@ -201,6 +213,8 @@ export default {
|
|
|
return {
|
|
|
SUMSS: "",
|
|
|
SUMSSXZDX: "",
|
|
|
+ visible: false,
|
|
|
+
|
|
|
SUMSZ: "",
|
|
|
SUMSZXZDX: "",
|
|
|
type: 'ssqy',
|
|
@@ -220,10 +234,11 @@ export default {
|
|
|
resMapSsData: [],
|
|
|
resBarSsData: [],
|
|
|
resBarSzData: [],
|
|
|
- cz:"",
|
|
|
- qyzy:"",
|
|
|
- xzdx:"",
|
|
|
- sum:"",
|
|
|
+ cz: "",
|
|
|
+ qyzy: "",
|
|
|
+ xzdx: "",
|
|
|
+ sum: "",
|
|
|
+ param:"",
|
|
|
resData2: [],
|
|
|
color: ['#4676ff', '#1ad4cb'],
|
|
|
color1: ['#8c42a1', '#4fa5e7'],
|
|
@@ -275,11 +290,21 @@ export default {
|
|
|
|
|
|
|
|
|
},
|
|
|
- components: {mapData, DoughnutData, BarData, WaterWorld, NightingaleCharData, BarDobuleData,PieData},
|
|
|
+ components: {mapData, DoughnutData, BarData, WaterWorld, NightingaleCharData, BarDobuleData, PieData,QcSsgqzysytdqkList},
|
|
|
methods: {
|
|
|
handleChange(value) {
|
|
|
this.type = value;
|
|
|
},
|
|
|
+ handleCancel() {
|
|
|
+ this.visible = false
|
|
|
+ },
|
|
|
+ visibleInfo(params) {
|
|
|
+ this.param=params
|
|
|
+ this.visible = true
|
|
|
+
|
|
|
+ // this.$router.push({ name:'qcsb-qcSsgqzysytdqk-list', query:{sfsb:3} });
|
|
|
+ },
|
|
|
+
|
|
|
getAreaData() {
|
|
|
getAction("/qcsb.qyxx/qcQyxx/sbdkmj").then(res => {
|
|
|
if (res.code == 200) {
|
|
@@ -352,7 +377,6 @@ export default {
|
|
|
getAction("/qcsb.qyxx/qcQyxx/sjyttjss").then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.resYData = res.result
|
|
|
- console.log(4444444444,res.result)
|
|
|
}
|
|
|
}),
|
|
|
getAction("/qcsb.qyxx/qcQyxx/yjdwmjhz").then(res => {
|
|
@@ -377,6 +401,7 @@ export default {
|
|
|
getAction("/qcsb.qyxx/qcQyxx/ssdtdktj").then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.resMapSsData = res.result
|
|
|
+ console.log(555555555, this.resMapSsData)
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -399,11 +424,11 @@ export default {
|
|
|
geszqyzytData() {
|
|
|
getAction("/qcsb.qyxx/qcQyxx/szqyzy").then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- this.resWordDataCz=parseFloat(res.result[0].value/res.result[3].value);
|
|
|
- this.resWordDataZy=parseFloat(res.result[1].value/res.result[3].value);
|
|
|
- this.resWordDataXz=parseFloat(res.result[2].value/res.result[3].value);
|
|
|
+ this.resWordDataCz = parseFloat(res.result[0].value / res.result[3].value);
|
|
|
+ this.resWordDataZy = parseFloat(res.result[1].value / res.result[3].value);
|
|
|
+ this.resWordDataXz = parseFloat(res.result[2].value / res.result[3].value);
|
|
|
|
|
|
- console.log(2222222222,this.resWordDataCz)
|
|
|
+ console.log(2222222222, this.resWordDataCz)
|
|
|
}
|
|
|
})
|
|
|
},
|