|
|
@ -25,22 +25,22 @@ |
|
|
|
<div class="div_table"> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="12"> |
|
|
|
<div class="div_table_title">居民年龄统计</div> |
|
|
|
<div class="div_table_title">居民学历统计</div> |
|
|
|
<div class="flex"> |
|
|
|
<div class="width1"> |
|
|
|
<div class="box"> |
|
|
|
<screen-echarts-frame |
|
|
|
@handelClickMyPei="handelClickMyPei" |
|
|
|
<screen-echarts-frame2 |
|
|
|
@handelClickMyPei="handelClickMyPei2" |
|
|
|
:style="{ width: '100%', height: '100%' }" |
|
|
|
@myChartMethod="pieInitOk" |
|
|
|
ref="pieChart" |
|
|
|
></screen-echarts-frame> |
|
|
|
@myChartMethod="pieInitOk2" |
|
|
|
ref="pieChart2" |
|
|
|
></screen-echarts-frame2> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex1"> |
|
|
|
<div class="box"> |
|
|
|
<div class="legend"> |
|
|
|
<div class="legend-row" :key="item.name" v-for="(item, index) in chartDataData" @click="handleClickItem(item)"> |
|
|
|
<div class="legend-row" :key="item.name" v-for="(item, index) in chartData2Data" @click="handleClickItem2(item)"> |
|
|
|
<div class="kuai" :style="{ backgroundColor: color[index] }"></div> |
|
|
|
<div class="content"> |
|
|
|
<div class="name">{{ item.name }}</div> |
|
|
@ -54,22 +54,22 @@ |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<div class="div_table_title">居民学历统计</div> |
|
|
|
<div class="div_table_title">居民年龄统计</div> |
|
|
|
<div class="flex"> |
|
|
|
<div class="width1"> |
|
|
|
<div class="box"> |
|
|
|
<screen-echarts-frame2 |
|
|
|
@handelClickMyPei="handelClickMyPei2" |
|
|
|
<screen-echarts-frame |
|
|
|
@handelClickMyPei="handelClickMyPei" |
|
|
|
:style="{ width: '100%', height: '100%' }" |
|
|
|
@myChartMethod="pieInitOk2" |
|
|
|
ref="pieChart2" |
|
|
|
></screen-echarts-frame2> |
|
|
|
@myChartMethod="pieInitOk" |
|
|
|
ref="pieChart" |
|
|
|
></screen-echarts-frame> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex1"> |
|
|
|
<div class="box"> |
|
|
|
<div class="legend"> |
|
|
|
<div class="legend-row" :key="item.name" v-for="(item, index) in chartData2Data" @click="handleClickItem2(item)"> |
|
|
|
<div class="legend-row" :key="item.name" v-for="(item, index) in chartDataData" @click="handleClickItem(item)"> |
|
|
|
<div class="kuai" :style="{ backgroundColor: color[index] }"></div> |
|
|
|
<div class="content"> |
|
|
|
<div class="name">{{ item.name }}</div> |
|
|
@ -248,6 +248,8 @@ export default { |
|
|
|
else this.formData[n] = ''; |
|
|
|
} |
|
|
|
this.orgType = ''; |
|
|
|
this.code=''; |
|
|
|
this.codeType=''; |
|
|
|
this.handleSearch(); |
|
|
|
}, |
|
|
|
show(row) { |
|
|
@ -653,11 +655,11 @@ export default { |
|
|
|
const url = '/epmetuser/icresiuser/portrayal-listexport'; |
|
|
|
const { pageSize, pageNo, formData } = this; |
|
|
|
let tmp = this.formData.orgId; |
|
|
|
if (!(tmp && typeof tmp != 'undefined' && tmp != 0 && tmp != null)) { |
|
|
|
if (!(tmp && typeof tmp != 'undefined' && tmp != 0 && tmp != null)){ |
|
|
|
this.formData.orgId = ''; |
|
|
|
this.orgType = ''; |
|
|
|
this.code = ''; |
|
|
|
this.codeType = ''; |
|
|
|
// this.code = ''; |
|
|
|
// this.codeType = ''; |
|
|
|
} |
|
|
|
|
|
|
|
axios({ |
|
|
|