|
@@ -31,8 +31,12 @@
|
|
<span>{{ left_value == 'csbj' ? sdata.sj_mj : sdata_szbj.sj_mj }}</span>平方千米
|
|
<span>{{ left_value == 'csbj' ? sdata.sj_mj : sdata_szbj.sj_mj }}</span>平方千米
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div id="" v-show="xzqh_flag">
|
|
|
|
+ 三亚
|
|
|
|
+ </div>
|
|
|
|
+ <div id="bjxm_echart" v-show="!xzqh_flag"></div>
|
|
|
|
+
|
|
|
|
|
|
- <div id="bjxm_echart"></div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -54,6 +58,7 @@ export default {
|
|
szbj_echart: null,
|
|
szbj_echart: null,
|
|
csbj_echart: null,
|
|
csbj_echart: null,
|
|
left_value: 'csbj',
|
|
left_value: 'csbj',
|
|
|
|
+ xzqh_flag: true,
|
|
options: [
|
|
options: [
|
|
{ value: "csbj", label: "城市报建" },
|
|
{ value: "csbj", label: "城市报建" },
|
|
{ value: "szbj", label: "私宅报建" },
|
|
{ value: "szbj", label: "私宅报建" },
|
|
@@ -104,6 +109,15 @@ export default {
|
|
let res_szbj = await QueryOne(obj_szbj);
|
|
let res_szbj = await QueryOne(obj_szbj);
|
|
this.sdata_szbj = res_szbj.data;
|
|
this.sdata_szbj = res_szbj.data;
|
|
},
|
|
},
|
|
|
|
+ switch_xzqh(value) {
|
|
|
|
+ if (value.id == '4602') {
|
|
|
|
+ this.xzqh_flag = true
|
|
|
|
+
|
|
|
|
+ } else {
|
|
|
|
+ this.xzqh_flag = false
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ },
|
|
async init_bjxm_echart_info(params) {
|
|
async init_bjxm_echart_info(params) {
|
|
const that = this;
|
|
const that = this;
|
|
let obj = {
|
|
let obj = {
|
|
@@ -210,8 +224,8 @@ export default {
|
|
},
|
|
},
|
|
grid: {
|
|
grid: {
|
|
top: '30%',
|
|
top: '30%',
|
|
- left: '3%',
|
|
|
|
- right: '3%',
|
|
|
|
|
|
+ left: '6%',
|
|
|
|
+ right: '6%',
|
|
bottom: '5%',
|
|
bottom: '5%',
|
|
containLabel: true,
|
|
containLabel: true,
|
|
},
|
|
},
|