|
|
|
|
@ -3,15 +3,19 @@
|
|
|
|
|
<div id="map">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="switch-btn">
|
|
|
|
|
<div class="switch-btn__item">
|
|
|
|
|
<div>全集团</div>
|
|
|
|
|
<input type="radio" name="type" value="0" @input="authChange">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="switch-btn__item">
|
|
|
|
|
<div>本部</div>
|
|
|
|
|
<input type="radio" name="type" value="1" checked @input="authChange">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="switch-btn__bkg"></div>
|
|
|
|
|
<RadioGroup v-model="dataType" type="button" button-style="solid" @on-change="authChange">
|
|
|
|
|
<Radio label="0">全集团</Radio>
|
|
|
|
|
<Radio label="1">本部</Radio>
|
|
|
|
|
</RadioGroup>
|
|
|
|
|
<!-- <div class="switch-btn__item">-->
|
|
|
|
|
<!-- <div>全集团</div>-->
|
|
|
|
|
<!-- <input type="radio" name="type" value="0" @input="authChange">-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <div class="switch-btn__item">-->
|
|
|
|
|
<!-- <div>本部</div>-->
|
|
|
|
|
<!-- <input type="radio" name="type" value="1" checked @input="authChange">-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
<!-- <div class="switch-btn__bkg"></div>-->
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="department-statics">-->
|
|
|
|
|
<!-- <dv-border-box-12 style="min-width: 200px;" :key="departmentStaticsId">-->
|
|
|
|
|
@ -53,6 +57,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
dataType: "1",
|
|
|
|
|
infoHouse: [],
|
|
|
|
|
areaName: "",
|
|
|
|
|
wxAreas: ["宜兴市", "惠山区", "新吴区", "梁溪区", "江阴市", "滨湖区", "锡山区"],
|
|
|
|
|
@ -135,7 +140,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
authChange (e) {
|
|
|
|
|
this.$store.commit('bigdata/SET_AUTH', e.target.value)
|
|
|
|
|
this.$store.commit('bigdata/SET_AUTH', e)
|
|
|
|
|
this.$store.dispatch('bigdata/getAssets')
|
|
|
|
|
},
|
|
|
|
|
initMap () {
|
|
|
|
|
@ -328,7 +333,25 @@ export default {
|
|
|
|
|
align-items: center;
|
|
|
|
|
border-radius: 40px;
|
|
|
|
|
border: 2px solid #73f3df;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
::v-deep .ivu-radio-group-item {
|
|
|
|
|
width: 160px;
|
|
|
|
|
height: 60px;
|
|
|
|
|
line-height: 60px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 0;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
letter-spacing: 1px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #73f3df;
|
|
|
|
|
background: transparent;
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .ivu-radio-wrapper-checked {
|
|
|
|
|
background: #4fa497;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
&__item {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
|