|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<div class="statistic-container" ref="reference">
|
|
<div class="statistic-container" ref="reference">
|
|
- <div class="frequency-cont">
|
|
|
|
|
|
+ <div class="frequency-cont" style="position: relative;">
|
|
<ul class="frequency-ul">
|
|
<ul class="frequency-ul">
|
|
<li v-for="tab in staticTabs" :key="tab" :class="{act: tab=== default_tab}" @click="changeTabHandle(tab)">{{ tab }}</li>
|
|
<li v-for="tab in staticTabs" :key="tab" :class="{act: tab=== default_tab}" @click="changeTabHandle(tab)">{{ tab }}</li>
|
|
</ul>
|
|
</ul>
|
|
@@ -14,6 +14,11 @@
|
|
placeholder="请选择统计时间"
|
|
placeholder="请选择统计时间"
|
|
/>
|
|
/>
|
|
<span style="color:#A3A3A3;display:inline-block;margin-left:20px">续约异常:合同到期后两个月内未签约</span>
|
|
<span style="color:#A3A3A3;display:inline-block;margin-left:20px">续约异常:合同到期后两个月内未签约</span>
|
|
|
|
+
|
|
|
|
+ <div style="color:#409EFF;position: absolute;top:10px;right:10px;cursor: pointer;" @click="showChart=true">
|
|
|
|
+ <img src="~@/assets/img/icons/changeLang.png" alt="">
|
|
|
|
+ <span style="display:inline-block;position: relative;top:-3px;left:3px">统计图</span>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<div class="table-cont" v-show="dataLoading">
|
|
<div class="table-cont" v-show="dataLoading">
|
|
<div class="table-body-wrapper">
|
|
<div class="table-body-wrapper">
|
|
@@ -76,16 +81,18 @@
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+ <abnormalRenewalChart v-if="showChart" @close="showChart=false"/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import { dataMainInterface } from '@/api/api.js';
|
|
import { dataMainInterface } from '@/api/api.js';
|
|
import mixin from './mixin';
|
|
import mixin from './mixin';
|
|
|
|
+import abnormalRenewalChart from '../components/abnormalRenewalChart.vue';
|
|
export default {
|
|
export default {
|
|
name:'abnormalRenewal',
|
|
name:'abnormalRenewal',
|
|
mixins: [ mixin ],
|
|
mixins: [ mixin ],
|
|
|
|
+ components:{abnormalRenewalChart},
|
|
computed:{
|
|
computed:{
|
|
tableThead:function(){
|
|
tableThead:function(){
|
|
if(['周度统计表','月度统计表'].includes(this.default_tab)){
|
|
if(['周度统计表','月度统计表'].includes(this.default_tab)){
|
|
@@ -98,7 +105,8 @@ export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
sellerList:[],
|
|
sellerList:[],
|
|
- summaryList:[]
|
|
|
|
|
|
+ summaryList:[],
|
|
|
|
+ showChart:false,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -108,6 +116,8 @@ export default {
|
|
|
|
|
|
getTableData(){
|
|
getTableData(){
|
|
this.dataLoading=true
|
|
this.dataLoading=true
|
|
|
|
+ this.sellerList=[]
|
|
|
|
+ this.summaryList=[]
|
|
dataMainInterface.unusualRenewalCustomStatistic({
|
|
dataMainInterface.unusualRenewalCustomStatistic({
|
|
DataType: this.default_tab === '周度统计表' ? 'week' : this.default_tab === '月度统计表' ? 'month' : 'time_interval',
|
|
DataType: this.default_tab === '周度统计表' ? 'week' : this.default_tab === '月度统计表' ? 'month' : 'time_interval',
|
|
StartDate: this.select_date ? this.select_date[0] : '',
|
|
StartDate: this.select_date ? this.select_date[0] : '',
|
|
@@ -155,4 +165,8 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
@import './index.scss';
|
|
@import './index.scss';
|
|
|
|
+.statistic-container{
|
|
|
|
+ height: calc(100vh - 180px);
|
|
|
|
+ position: relative;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|