|
|
|
@ -17,7 +17,7 @@
|
|
|
|
|
<li>
|
|
|
|
|
从文化层次上看,领导干部具有
|
|
|
|
|
<template v-for="(edu, index) in educationList">
|
|
|
|
|
{{edu.name}}学历的<span class="number">{{edu.num}}</span>人,占<span class="number">{{edu.ratio}}%</span>
|
|
|
|
|
{{edu.name}}学历的<span class="number" :key="index">{{edu.num}}</span>人,占<span class="number">{{edu.ratio}}%</span>
|
|
|
|
|
<template v-if="index+1 == educationList.length">。</template>
|
|
|
|
|
<template v-else>;</template>
|
|
|
|
|
</template>
|
|
|
|
@ -25,7 +25,7 @@
|
|
|
|
|
<li>
|
|
|
|
|
从年龄结构上看,领导干部平均年龄为<span class="number">{{data.avg_age}}</span>岁。
|
|
|
|
|
<template v-for="(age, index) in ageList">
|
|
|
|
|
其中<span class="number">{{age.year}}</span>年出生(<span class="number">{{age.age}}</span>岁)<span class="number">{{age.num}}</span>人,占<span class="number">{{age.ratio}}%</span>
|
|
|
|
|
其中<span class="number" :key="index">{{age.year}}</span>年出生(<span class="number">{{age.age}}</span>岁)<span class="number">{{age.num}}</span>人,占<span class="number">{{age.ratio}}%</span>
|
|
|
|
|
<template v-if="index+1 == ageList.length">。</template>
|
|
|
|
|
<template v-else>;</template>
|
|
|
|
|
</template>
|
|
|
|
@ -33,7 +33,7 @@
|
|
|
|
|
<li>
|
|
|
|
|
从专业技术等级上看,
|
|
|
|
|
<template v-for="(tech, index) in technicalList">
|
|
|
|
|
{{tech.name}}职称<span class="number">{{tech.num}}</span>人,占<span class="number">{{tech.ratio}}%</span>
|
|
|
|
|
{{tech.name}}职称<span class="number" :key="index">{{tech.num}}</span>人,占<span class="number">{{tech.ratio}}%</span>
|
|
|
|
|
<template v-if="index+1 == technicalList.length">。</template>
|
|
|
|
|
<template v-else>;</template>
|
|
|
|
|
</template>
|
|
|
|
@ -44,7 +44,7 @@
|
|
|
|
|
<div style="height: 40px; line-height: 40px; margin: auto; text-align: center; vertical-align: middle; font-size: 18px; background-color: #1890ff;">设置参数</div>
|
|
|
|
|
<div>
|
|
|
|
|
<table>
|
|
|
|
|
<tr v-for="(yearCon, index) in yearJson">
|
|
|
|
|
<tr v-for="(yearCon, index) in yearJson" :key="index">
|
|
|
|
|
<td width="20%">{{index+1}}.起止出生年月</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a-range-picker
|
|
|
|
@ -84,17 +84,14 @@
|
|
|
|
|
<!-- 干部信息查询-》概述 -->
|
|
|
|
|
<script>
|
|
|
|
|
import {mapState} from 'vuex'
|
|
|
|
|
import {Table, Spin, Button, DatePicker, Icon, Modal} from 'ant-design-vue'
|
|
|
|
|
import {Button, DatePicker, Icon, Modal} from 'ant-design-vue'
|
|
|
|
|
import cadreManageApi from "../../api/cadreManage"
|
|
|
|
|
import moment from "moment";
|
|
|
|
|
export default {
|
|
|
|
|
name: "CadreSearchBySummary",
|
|
|
|
|
components: {
|
|
|
|
|
ATable: Table,
|
|
|
|
|
ASpin: Spin,
|
|
|
|
|
AButton: Button,
|
|
|
|
|
AIcon: Icon,
|
|
|
|
|
ADatePicker: DatePicker,
|
|
|
|
|
ARangePicker: DatePicker.RangePicker
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|