Commit 79b930ee authored by 罗超's avatar 罗超

调整

parent 9bc2e187
......@@ -213,6 +213,12 @@
<p @click="openDetails(scope)" class="font-color-link cp">{{scope.row.CustomerName}}</p>
</template>
</el-table-column>
<el-table-column
prop="CustomerType"
label="客户类型"
v-if="queryType[20].show"
show-overflow-tooltip>
</el-table-column>
<el-table-column
prop="CustomerSourceTypeStr"
label="客户来源"
......@@ -540,6 +546,10 @@ export default {
label: '交客数',
show: true,
},
{
label: '客户类型',
show: true,
}
],
queryType: [
{
......@@ -602,7 +612,10 @@ export default {
},{
label: '交客数',
show: true,
},
}, {
label: '客户类型',
show: true,
}
],
CustomerId: 0,
CustomerIdStr: '',
......
......@@ -303,6 +303,7 @@ export default {
SceneName: '',
IsDefault: 0,
}
console.log(val)
},
deep:true
}
......@@ -502,7 +503,7 @@ export default {
x.region = this.optionsNames.filter(item=>{
return !item.t
})
} else if (x.Name === '负责人' || x.Name === '创建人' || x.Name === '线索来源' || x.Name === '客户来源' || x.Name === '客人级别' || x.Name === '经营场所' || x.Name === '性别' || x.Name === '是否关键决策人' || x.Name === '职务' || x.Name === '商机状态组' || x.Name === '交客数' || x.Name === '优惠券数' || x.Name === '交易金额' || x.Name === '幸福存折') {
} else if (x.Name === '负责人' || x.Name === '客户类别' || x.Name === '创建人' || x.Name === '线索来源' || x.Name === '客户来源' || x.Name === '客人级别' || x.Name === '经营场所' || x.Name === '性别' || x.Name === '是否关键决策人' || x.Name === '职务' || x.Name === '商机状态组' || x.Name === '交客数' || x.Name === '优惠券数' || x.Name === '交易金额' || x.Name === '幸福存折') {
x.region = this.optionsNames.filter(item=>{
return (item.c === '等于' || item.c === '不等于') && item.t
})
......
......@@ -68,6 +68,7 @@ export default {
this.sceneDataList = this.sceneData.filter(x=>
x.WhereType === 0
)
console.log(this.sceneDataList)
let $this = this
this.MsgBus.$on('editScene', function (){
console.log(1)
......
......@@ -205,7 +205,8 @@
<span class="font-size-12">{{item.SeasonTypeName}}</span>
</div>
<div class="right">
<p>累计报名<span class="hight-font">{{item.SeasonCount}}</span>人,关联购物金额<span class="hight-font">{{item.TotalMoney}}</span>万,报名均价为<span class="hight-font">{{item.Unit_Price}}</span></p>
<p>累计报名<span class="hight-font">{{item.SeasonCount}}</span>人,报名均价为<span class="hight-font">{{item.Unit_Price}}</span></p>
<!-- ,关联购物金额<span class="hight-font">{{item.TotalMoney}}</span>万 -->
<p>最喜爱产品<span class="hight-font">{{item.LtName}}</span></p>
</div>
</div>
......
This diff is collapsed.
......@@ -204,7 +204,8 @@
<p>{{item.FestivalName}}</p>
</div>
<div class="right">
<p>累计报名<span class="hight-font">{{item.OrderCount}}</span>人,关联购物金额<span class="hight-font">{{item.ShopMoney}}</span>万,报名均价为<span class="hight-font">{{item.Unit_Price}}</span></p>
<p>累计报名<span class="hight-font">{{item.OrderCount}}</span>人,报名均价为<span class="hight-font">{{item.Unit_Price}}</span></p>
<!-- 关联购物金额<span class="hight-font">{{item.ShopMoney}}</span>万, -->
<p>最喜爱产品<span class="hight-font">{{item.LtName}}</span></p>
</div>
</div>
......@@ -219,14 +220,14 @@
推荐解答
</el-col>
<el-col :span="12" class="right-title">
<i class="iconfont icondianzan1"></i> 点赞
<!-- <i class="iconfont icondianzan1"></i> 点赞 -->
</el-col>
</el-row>
</div>
<div class="situ">
<div class="fesRemind">根据对客户年龄段的统计,可以更好的了解不同年龄段客 人的喜根据对客户年龄段的统计。根据对客户年龄段的统 计,可以更好的了解不同年龄段客人的喜根据对客户年龄 段的统计</div>
<div class="fesRemind">{{topOne && topOne.Content ? topOne.Content : '暂无'}}</div>
<div class="botTaolun" @click="drawer = true">
查看更多,参与讨论(1)
{{BbsList.length ? '查看更多,参与讨论('+ BbsList.length +')' : '暂时还没有讨论,快来发起讨论吧~'}}
<i class="el-icon-d-arrow-right"></i>
</div>
</div>
......@@ -239,7 +240,7 @@
:visible.sync="drawer"
direction="rtl"
:with-header="false">
<discussBox :id="discussID"/>
<discussBox :type="discussID"/>
</el-drawer>
</div>
</template>
......@@ -259,14 +260,33 @@ export default {
discussID: 0,
drawer: false,
isShowFeature:false,
discussID: 11,
BbsList: [],
topOne:{}
};
},watch:{
},
mounted() {
this.GetSexOrderList()
this.GetBbsListByType()
},
methods: {
GetBbsListByType(){
this.apipost("/api/Customer/GetBbsListByType", {t: this.discussID}, res => {
this.BbsList = res.data.data
if (this.BbsList && this.BbsList.length>0) {
this.topOne=this.BbsList[0]
this.BbsList.forEach(x=>{
if(x.Likes>this.topOne.Likes){
this.topOne=x
}
})
}
});
},
GetSexOrderList(){
this.loading = true
this.apipost("/api/Statistic/GetFestivalOrderList", {}, res => {
......
This diff is collapsed.
This diff is collapsed.
......@@ -25,13 +25,15 @@
<div class="r">
<div>
累计报名
<b>{{item.AgeCount}}</b> 人,关联购物金额
<b>{{item.AgeCount}}</b> 人,
<!-- 关联购物金额
<b>
<template v-if="item.TotalMoney">
{{(item.TotalMoney/10000).toFixed(2)}}
</template>
</b>,报名均价为:
</b>, -->
报名均价为:
<b>
<template v-if="item.Unit_Price">
{{item.Unit_Price.toFixed(0)}}
......@@ -71,9 +73,9 @@
</el-row>
</div>
<div class="situ">
<div class="c">根据对客户年龄段的统计可以,更好的了解不同年龄段客人的喜好,消费能力的判读,从而快速的推荐团队给客人等等等</div>
<div class="bot" @click="drawer = true">
查看更多,参与讨论(19)
<div class="c">{{topOne && topOne.Content ? topOne.Content : '暂无'}}</div>
<div class="bot" @click="drawer = true">
{{BbsList.length ? '查看更多,参与讨论('+ BbsList.length +')' : '暂时还没有讨论,快来发起讨论吧~'}}
<i class="el-icon-d-arrow-right"></i>
</div>
</div>
......@@ -123,13 +125,32 @@ export default {
"未婚",
"丧偶",
"其他未知"
]
],
discussID: 14,
BbsList: [],
topOne:{}
};
},
mounted() {
this.init();
this.GetBbsListByType()
},
methods: {
GetBbsListByType(){
this.apipost("/api/Customer/GetBbsListByType", {t: this.discussID}, res => {
this.BbsList = res.data.data
if (this.BbsList && this.BbsList.length>0) {
this.topOne=this.BbsList[0]
this.BbsList.forEach(x=>{
if(x.Likes>this.topOne.Likes){
this.topOne=x
}
})
}
});
},
init() {
this.apipost("/api/Statistic/GetMarriageShopList", {}, res => {
res.data.data.forEach(x => {
......@@ -154,8 +175,10 @@ export default {
initOrders() {
this.apipost("/api/Statistic/GetMarriageOrderList", {}, res => {
res.data.data.forEach(x => {
this.showChats[x.Marriage - 1].LtName = x.LtName;
this.showChats[x.Marriage - 1].Unit_Price = x.Unit_Price;
if(x.Marriage - 1<this.showChats.length){
this.showChats[x.Marriage - 1].LtName = x.LtName;
this.showChats[x.Marriage - 1].Unit_Price = x.Unit_Price;
}
});
this.isLoaded = true;
});
......
......@@ -124,7 +124,8 @@
<span class="font-size-12">{{item.MarriageName}}</span>
</div>
<div class="right">
<p>累计报名<span class="hight-font">{{item.MarriageCount}}</span>人,关联购物金额<span class="hight-font">{{item.TotalMoney}}</span>万,报名均价为<span class="hight-font">{{item.Unit_Price}}</span></p>
<p>累计报名<span class="hight-font">{{item.MarriageCount}}</span>人,报名均价为<span class="hight-font">{{item.Unit_Price}}</span></p>
<!-- 关联购物金额<span class="hight-font">{{item.TotalMoney}}</span>万, -->
<p>最喜爱产品<span class="hight-font">{{item.LtName}}</span></p>
</div>
</div>
......
......@@ -147,7 +147,7 @@
<img width="24" height="24" :src="item.ImgPhoto" alt="">
<span style="font-size:14px;font-family:perfectFont;font-weight:700;">{{item.RejectUserName}}</span>
</div>
<span class="font-color-info">{{item.TimeStr}}</span>
<span class="font-color-info" style="font-size:12px;">{{item.TimeStr}}</span>
</div>
<div class="content">
<p>{{item.Content}}</p>
......@@ -176,13 +176,13 @@
<span>{{c.RejectUserName}}</span>
</div>
</div>
<span class="font-color-info">{{c.TimeStr}}</span>
<span class="font-color-info" style="font-size:12px;">{{c.TimeStr}}</span>
</div>
<div class="content">
<p>{{c.Content}}</p>
</div>
<div class="footer">
<span class="cp like" @click="AddLike(c)"><i class="iconfont iconzan"></i>{{c.Likes > 0 ? c.Likes : ''}}</span>
<!-- <span class="cp like" @click="AddLike(c)"><i class="iconfont iconzan"></i>{{c.Likes > 0 ? c.Likes : ''}}</span> -->
<span class="cp" @click="setHF(c.Id)"><i class="iconfont iconhuifu"></i>{{hfID === c.Id ? '取消' : ''}}回复</span>
</div>
<div class="msg-box" v-if="hfID === c.Id">
......
......@@ -52,7 +52,7 @@ export default {
},
tooltip: {
trigger: 'item',
formatter: '{a} <br/>{b} : {c} ({d}%)'
formatter: '{a} <br/>{b} : ({d}%)'
},
legend: {
orient: 'vertical',
......@@ -61,7 +61,7 @@ export default {
},
series: [
{
name: '访问来源',
name: '购物占比',
type: 'pie',
radius: '55%',
center: ['50%', '60%'],
......
......@@ -25,12 +25,14 @@
<div class="r">
<div>
累计报名
<b>{{item.AgeCount}}</b> 人,关联购物金额
<b>{{item.AgeCount}}</b> 人,
<!-- 关联购物金额
<b>
<template v-if="item.TotalMoney">
{{(item.TotalMoney/10000).toFixed(2)}}
</template>
</b>,报名均价为:
</b>, -->
报名均价为:
<b>
<template v-if="item.Unit_Price">
{{item.Unit_Price.toFixed(0)}}
......@@ -72,7 +74,7 @@
</el-row>
</div>
<div class="situ">
<div class="c">{{BbsList.length ? BbsList[0].Content : '暂无'}}</div>
<div class="c">{{topOne && topOne.Content ? topOne.Content : '暂无'}}</div>
<div class="bot" @click="drawer = true">
{{BbsList.length ? '查看更多,参与讨论('+ BbsList.length +')' : '暂时还没有讨论,快来发起讨论吧~'}}
<i class="el-icon-d-arrow-right"></i>
......@@ -81,27 +83,6 @@
</el-card>
</div>
</div>
<!-- <div class="title">购物统计(按平均计算)</div>
<shopping></shopping>
<div class="title" style="margin-top:30px;">我来解图</div>
<div class="situ">
<div class="head">
<el-row style="width:100%">
<el-col ::span="12" size="30" style="font-size:14px;">
<el-avatar style="margin-top:3px;margin-right:5px;vertical-align: bottom;">系统</el-avatar>系统默认
</el-col>
<el-col :span="12" class="right">
<i class="iconfont icondianzan1"></i> 点赞
</el-col>
</el-row>
</div>
<div class="c">根据对客户年龄段的统计可以,更好的了解不同年龄段客人的喜好,消费能力的判读,从而快速的推荐团队给客人等等等</div>
<div class="bot">
查看更多,参与讨论(19)
<i class="el-icon-d-arrow-right"></i>
</div>
</div>-->
</el-col>
</el-row>
<el-drawer
......@@ -126,7 +107,7 @@ export default {
},
data() {
return {
discussID: 2,
drawer: false,
scaleData: [],
showChats: [],
......@@ -151,7 +132,9 @@ export default {
"中年(46-69岁)",
"老年(70岁以上)"
],
discussID: 2,
BbsList: [],
topOne:{}
};
},
mounted() {
......@@ -160,8 +143,18 @@ export default {
},
methods: {
GetBbsListByType(){
this.apipost("/api/Customer/GetBbsListByType", {t: 2}, res => {
this.apipost("/api/Customer/GetBbsListByType", {t: this.discussID}, res => {
this.BbsList = res.data.data
if (this.BbsList && this.BbsList.length>0) {
this.topOne=this.BbsList[0]
this.BbsList.forEach(x=>{
if(x.Likes>this.topOne.Likes){
this.topOne=x
}
})
}
});
},
init() {
......@@ -190,8 +183,10 @@ export default {
initOrders() {
this.apipost("/api/Statistic/GetAgeOrderList", {}, res => {
res.data.data.forEach(x => {
this.showChats[x.NewAgeType - 1].LtName = x.LtName;
this.showChats[x.NewAgeType - 1].Unit_Price = x.Unit_Price;
if(x.NewAgeType - 1<this.showChats.length){
this.showChats[x.NewAgeType - 1].LtName = x.LtName;
this.showChats[x.NewAgeType - 1].Unit_Price = x.Unit_Price;
}
});
this.isLoaded = true;
});
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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