Commit 65062b3a authored by zhengke's avatar zhengke

修改页面

parent 593232bb
......@@ -130,7 +130,7 @@
<template>
<div class="sex Opinionpolls" v-loading="loading">
<div class="statistics-title bold18">意见调查统计</div>
<div class="conten-box" v-if="!loading">
<div class="conten-box">
<el-row :gutter="25" class="top">
<el-col :span="6" style="height: 450px">
<el-card style="height: calc(100% - 2px);background:#FFA475">
......@@ -353,8 +353,9 @@ export default {
myChart.setOption(option);
},
getData(){
// this.loading = true
this.loading = true
this.apipost("/api/Statistic/GetGuestSurveyList", {}, res => {
this.loading=false;
if(res.data.resultCode==1){
this.dataList=res.data.data;
this.chartData=[];
......
......@@ -84,7 +84,7 @@
<template>
<div class="marriage" v-loading="loading">
<div class="statistics-title bold18">婚姻统计</div>
<div class="conten-box" v-if="!loading">
<div class="conten-box">
<el-row :gutter="25" class="top">
<el-col :span="12" class="left">
<el-card class="blue">
......@@ -187,7 +187,7 @@ export default {
BbsList: [],
isShow:false,
orders:[],
dataList:[]
dataList:[],
};
},watch:{
......@@ -197,7 +197,9 @@ export default {
},
methods: {
initData() {
this.loading=true;
this.apipost("/api/Statistic/GetMarriageShopList", {}, res => {
this.loading=false;
if(res.data.resultCode==1){
this.strArr=[];
let data=res.data.data;
......
<template>
<div class="old-box">
<div class="old-box" v-loading="loading">
<div class="statistics-title bold18">客户年龄分布统计</div>
<el-row :gutter="25" style="height:calc(100% - 62px)">
<el-col :span="12" style="height:100%;">
......@@ -132,6 +132,7 @@ export default {
showChats: [],
moneys: [],
isLoaded: false,
loading:false,
icons: [
"icon-yinger",
"icon-ertong",
......@@ -164,7 +165,9 @@ export default {
});
},
init() {
this.loading=true;
this.apipost("/api/Statistic/GetAgeShopList", {}, res => {
this.loading=false;
res.data.data.forEach(x => {
this.scaleData.push({
name: x.AgeTypeName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment