26719
This commit is contained in:
@@ -134,22 +134,22 @@
|
|||||||
<el-dialog :visible.sync="dialogTableVisible" title="会议数据统计" width="520px" class="mask label-110"
|
<el-dialog :visible.sync="dialogTableVisible" title="会议数据统计" width="520px" class="mask label-110"
|
||||||
:close-on-click-modal='false'>
|
:close-on-click-modal='false'>
|
||||||
<div class="content input-240">
|
<div class="content input-240">
|
||||||
<el-row :gutter="8">
|
<div class="flex">
|
||||||
<el-col style="width: 100px;">
|
<el-date-picker
|
||||||
<el-select v-model="searchYear" placeholder="年份" size="mini" clearable class="timeSelect"
|
v-model="searchYear"
|
||||||
@change="getMeetStatistics">
|
type="year"
|
||||||
<el-option v-for="(op,j) in dict.getDict('meetingChangeYear')" :key="j" :label="op.dictName"
|
size="small"
|
||||||
:value="op.dictValue"/>
|
style="width: 200px; margin-right: 10px;"
|
||||||
</el-select>
|
value-format="yyyy"
|
||||||
</el-col>
|
@change="getMeetStatistics"
|
||||||
<el-col style="width: 100px;">
|
placeholder="选择年份">
|
||||||
<el-select v-model="searchMonth" placeholder="全部" size="mini" clearable class="timeSelect"
|
</el-date-picker>
|
||||||
|
<el-select style="width: 200px" v-model="searchMonth" placeholder="全部" size="small" clearable class="timeSelect"
|
||||||
@change="getMeetStatistics">
|
@change="getMeetStatistics">
|
||||||
<el-option v-for="(op,j) in dict.getDict('monthList')" :key="j" :label="op.dictName"
|
<el-option v-for="(op,j) in dict.getDict('monthList')" :key="j" :label="op.dictName"
|
||||||
:value="op.dictValue"/>
|
:value="op.dictValue"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-col>
|
</div>
|
||||||
</el-row>
|
|
||||||
<ul class="totalTitle">
|
<ul class="totalTitle">
|
||||||
<li v-for="(item,index) in totalTitleList" :key="index">
|
<li v-for="(item,index) in totalTitleList" :key="index">
|
||||||
<span>{{ item.num }}</span>
|
<span>{{ item.num }}</span>
|
||||||
@@ -238,7 +238,7 @@ export default {
|
|||||||
topOrgId: '',
|
topOrgId: '',
|
||||||
stuTime: "",
|
stuTime: "",
|
||||||
searchMonth: "",
|
searchMonth: "",
|
||||||
searchYear: new Date().getFullYear(),
|
searchYear: String(new Date().getFullYear()),
|
||||||
colorList: ["#FF4466", "#37A62B", "#4B87FE", "#FFAA44"],
|
colorList: ["#FF4466", "#37A62B", "#4B87FE", "#FFAA44"],
|
||||||
totalTitleList: [],
|
totalTitleList: [],
|
||||||
pieData: {},
|
pieData: {},
|
||||||
@@ -267,7 +267,7 @@ export default {
|
|||||||
* 获取统计
|
* 获取统计
|
||||||
* */
|
* */
|
||||||
getMeetStatistics() {
|
getMeetStatistics() {
|
||||||
this.instance.post(`/app/appthreemeetinginfo/statistics-branch-Per-month?month=${this.searchMonth}&year=${this.searchYear}&partyOrgId=${this.partyId}`).then(res => {
|
this.instance.post(`/app/appthreemeetinginfo/statistics-branch-Per-month?month=${this.searchMonth}&year=${this.searchYear || ''}&partyOrgId=${this.partyId}`).then(res => {
|
||||||
if (res && res.data) {
|
if (res && res.data) {
|
||||||
const {type0, type1, type2, type3, total} = res.data;
|
const {type0, type1, type2, type3, total} = res.data;
|
||||||
let chartData = [];
|
let chartData = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user