Commit 114d3f5c authored by 华国豪's avatar 华国豪 🙄

讨论

parent 3502868d
...@@ -252,6 +252,13 @@ ...@@ -252,6 +252,13 @@
v-if="queryType[6].show" v-if="queryType[6].show"
show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column
prop="GuestCount"
label="交客数"
sortable
v-if="queryType[19].show"
show-overflow-tooltip>
</el-table-column>
<el-table-column <el-table-column
prop="OrderMoney" prop="OrderMoney"
label="交易金额" label="交易金额"
...@@ -529,6 +536,9 @@ export default { ...@@ -529,6 +536,9 @@ export default {
},{ },{
label: '创建时间', label: '创建时间',
show: true, show: true,
},{
label: '交客数',
show: true,
}, },
], ],
queryType: [ queryType: [
...@@ -589,6 +599,9 @@ export default { ...@@ -589,6 +599,9 @@ export default {
},{ },{
label: '创建时间', label: '创建时间',
show: true, show: true,
},{
label: '交客数',
show: true,
}, },
], ],
CustomerId: 0, CustomerId: 0,
......
...@@ -502,7 +502,7 @@ export default { ...@@ -502,7 +502,7 @@ export default {
x.region = this.optionsNames.filter(item=>{ x.region = this.optionsNames.filter(item=>{
return !item.t 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 === '商机状态组') { } 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.region = this.optionsNames.filter(item=>{ x.region = this.optionsNames.filter(item=>{
return (item.c === '等于' || item.c === '不等于') && item.t return (item.c === '等于' || item.c === '不等于') && item.t
}) })
......
...@@ -141,17 +141,59 @@ ...@@ -141,17 +141,59 @@
show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="CustomerLevelStr" prop="TraveNum"
label="客户级别" label="参团数"
width="120" sortable
v-if="queryType[4].show"
show-overflow-tooltip>
</el-table-column>
<el-table-column
prop="OrderCount"
label="订单交易数"
sortable
v-if="queryType[24].show" v-if="queryType[24].show"
show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="TraveNum" prop="OrderMoney"
label="参团数" label="交易金额"
sortable sortable
v-if="queryType[4].show" v-if="queryType[25].show"
show-overflow-tooltip>
</el-table-column>
<el-table-column
prop="BirthdayAddress"
label="出生地点"
sortable
v-if="queryType[28].show"
show-overflow-tooltip>
</el-table-column>
<el-table-column
prop="AddressDetail"
label="家庭详细地址"
sortable
v-if="queryType[27].show"
show-overflow-tooltip>
</el-table-column>
<el-table-column
prop="HistoryRecord"
label="出境记录"
sortable
v-if="queryType[26].show"
show-overflow-tooltip>
</el-table-column>
<el-table-column
prop="EconomicCapability"
label="经济能力确认"
sortable
v-if="queryType[29].show"
show-overflow-tooltip>
</el-table-column>
<el-table-column
prop="IsRecommendStr"
label="是否推存"
sortable
v-if="queryType[30].show"
show-overflow-tooltip> show-overflow-tooltip>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -485,7 +527,25 @@ export default { ...@@ -485,7 +527,25 @@ export default {
label: '备注', label: '备注',
show: true, show: true,
},{ },{
label: '客户等级', label: '订单交易数',
show: true,
},{
label: '订单金额',
show: true,
},{
label: '出境记录',
show: true,
},{
label: '家庭详细地址 ',
show: true,
},{
label: '出生地点',
show: true,
},{
label: '经济能力确认',
show: true,
},{
label: '是否推存',
show: true, show: true,
} }
], ],
...@@ -572,7 +632,25 @@ export default { ...@@ -572,7 +632,25 @@ export default {
label: '备注', label: '备注',
show: true, show: true,
},{ },{
label: '客户等级', label: '订单交易数',
show: true,
},{
label: '交易金额',
show: true,
},{
label: '出境记录',
show: true,
},{
label: '家庭详细地址 ',
show: true,
},{
label: '出生地点',
show: true,
},{
label: '经济能力确认',
show: true,
},{
label: '是否推存',
show: true, show: true,
} }
], ],
...@@ -637,6 +715,7 @@ export default { ...@@ -637,6 +715,7 @@ export default {
}, },
mounted() { mounted() {
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
console.log(this.queryType)
this.getList() this.getList()
this.Employee() this.Employee()
let $this = this let $this = this
......
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
:visible.sync="drawer" :visible.sync="drawer"
direction="rtl" direction="rtl"
:with-header="false"> :with-header="false">
<discussBox :id="discussID"/> <discussBox :type="discussID"/>
</el-drawer> </el-drawer>
</div> </div>
</template> </template>
......
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
:visible.sync="drawer" :visible.sync="drawer"
direction="rtl" direction="rtl"
:with-header="false"> :with-header="false">
<discussBox :id="discussID"/> <discussBox :type="discussID"/>
</el-drawer> </el-drawer>
</div> </div>
</template> </template>
......
...@@ -63,10 +63,10 @@ ...@@ -63,10 +63,10 @@
</div> </div>
<div class="situ"> <div class="situ">
<div class="c">根据对客户年龄段的统计可以,更好的了解不同年龄段客人的喜好,消费能力的判读,从而快速的推荐团队给客人等等等</div> <div class="c">根据对客户年龄段的统计可以,更好的了解不同年龄段客人的喜好,消费能力的判读,从而快速的推荐团队给客人等等等</div>
<!-- <div class="bot" @click="drawer = true"> <div class="bot" @click="drawer = true">
查看更多,参与讨论(19) 查看更多,参与讨论(19)
<i class="el-icon-d-arrow-right"></i> <i class="el-icon-d-arrow-right"></i>
</div> --> </div>
</div> </div>
</el-card> </el-card>
</div> </div>
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
:visible.sync="drawer" :visible.sync="drawer"
direction="rtl" direction="rtl"
:with-header="false"> :with-header="false">
<discussBox :id="discussID"/> <discussBox :type="discussID"/>
</el-drawer> </el-drawer>
</div> </div>
</template> </template>
......
...@@ -135,16 +135,16 @@ ...@@ -135,16 +135,16 @@
<el-col :span="12" size="30"> <el-col :span="12" size="30">
推荐解答 推荐解答
</el-col> </el-col>
<el-col :span="12" class="right-title"> <!-- <el-col :span="12" class="right-title">
<i class="iconfont icondianzan1"></i> 点赞 <i class="iconfont icondianzan1"></i> 点赞
</el-col> </el-col> -->
</el-row> </el-row>
</div> </div>
<div class="situ"> <div class="situ">
<div class="c">根据对客户年龄段的统计可以,更好的了解不同年龄段客人的喜好,消费能力的判读,从而快速的推荐团队给客人等等等</div> <div class="c">{{BbsList.length ? BbsList[0].Content : '暂无'}}</div>
<div class="bot" @click="drawer = true"> <div class="bot" @click="drawer = true">
查看更多,参与讨论(19) {{BbsList.length ? '查看更多,参与讨论('+ BbsList.length +')' : '暂时还没有讨论,快来发起讨论吧~'}}
<i class="el-icon-d-arrow-right"></i> <i class="el-icon-d-arrow-right"></i>
</div> </div>
</div> </div>
</el-card> </el-card>
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
:visible.sync="drawer" :visible.sync="drawer"
direction="rtl" direction="rtl"
:with-header="false"> :with-header="false">
<discussBox :id="discussID"/> <discussBox :type="discussID"/>
</el-drawer> </el-drawer>
</div> </div>
</template> </template>
...@@ -174,21 +174,28 @@ export default { ...@@ -174,21 +174,28 @@ export default {
}, },
data() { data() {
return { return {
discussID: 0, discussID: 1,
drawer: false, drawer: false,
chartData: [50, 30, 20, 10, 60], chartData: [50, 30, 20, 10, 60],
shopChartData: [50, 30, 20, 10, 60], shopChartData: [50, 30, 20, 10, 60],
SexOrder: [], SexOrder: [],
loading: false, loading: false,
strArr: ['亲子', '蜜月', '夕阳红', '暑期', '寒假'] strArr: ['亲子', '蜜月', '夕阳红', '暑期', '寒假'],
BbsList: [],
}; };
},watch:{ },watch:{
}, },
mounted() { mounted() {
// this.GetSexOrderList() // this.GetSexOrderList()
this.GetBbsListByType()
}, },
methods: { methods: {
GetBbsListByType(){
this.apipost("/api/Customer/GetBbsListByType", {t: 1}, res => {
this.BbsList = res.data.data
});
},
GetSexOrderList(){ GetSexOrderList(){
this.loading = true this.loading = true
this.apipost("/api/Statistic/GetSexOrderList", {}, res => { this.apipost("/api/Statistic/GetSexOrderList", {}, res => {
......
...@@ -64,9 +64,9 @@ ...@@ -64,9 +64,9 @@
</el-row> </el-row>
</div> </div>
<div class="situ"> <div class="situ">
<div class="c">根据对客户年龄段的统计可以,更好的了解不同年龄段客人的喜好,消费能力的判读,从而快速的推荐团队给客人等等等</div> <div class="c">{{BbsList.length ? BbsList[0].Content : '暂无'}}</div>
<div class="bot" @click="drawer = true"> <div class="bot" @click="drawer = true">
查看更多,参与讨论(1) {{BbsList.length ? '查看更多,参与讨论('+ BbsList.length +')' : '暂时还没有讨论,快来发起讨论吧~'}}
<i class="el-icon-d-arrow-right"></i> <i class="el-icon-d-arrow-right"></i>
</div> </div>
</div> </div>
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
:visible.sync="drawer" :visible.sync="drawer"
direction="rtl" direction="rtl"
:with-header="false"> :with-header="false">
<discussBox :id="discussID"/> <discussBox :type="discussID"/>
</el-drawer> </el-drawer>
</div> </div>
</template> </template>
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
}, },
data() { data() {
return { return {
discussID: 0, discussID: 2,
drawer: false, drawer: false,
scaleData: [], scaleData: [],
showChats: [], showChats: [],
...@@ -141,13 +141,20 @@ export default { ...@@ -141,13 +141,20 @@ export default {
"壮年(36-45岁)", "壮年(36-45岁)",
"中年(46-69岁)", "中年(46-69岁)",
"老年(70岁以上)" "老年(70岁以上)"
] ],
BbsList: [],
}; };
}, },
mounted() { mounted() {
this.init(); this.init();
this.GetBbsListByType()
}, },
methods: { methods: {
GetBbsListByType(){
this.apipost("/api/Customer/GetBbsListByType", {t: 2}, res => {
this.BbsList = res.data.data
});
},
init() { init() {
this.apipost("/api/Statistic/GetAgeShopList", {}, res => { this.apipost("/api/Statistic/GetAgeShopList", {}, res => {
res.data.data.forEach(x => { res.data.data.forEach(x => {
......
...@@ -152,11 +152,11 @@ ...@@ -152,11 +152,11 @@
</el-row> </el-row>
</div> </div>
<div class="situ"> <div class="situ">
<div class="c">根据对客户年龄段的统计可以,更好的了解不同年龄段客人的喜好,消费能力的判读,从而快速的推荐团队给客人等等等</div> <div class="c">{{BbsList.length ? BbsList[0].Content : '暂无'}}</div>
<!-- <div class="bot" @click="drawer = true"> <div class="bot" @click="drawer = true">
查看更多,参与讨论(19) {{BbsList.length ? '查看更多,参与讨论('+ BbsList.length +')' : '暂时还没有讨论,快来发起讨论吧~'}}
<i class="el-icon-d-arrow-right"></i> <i class="el-icon-d-arrow-right"></i>
</div> --> </div>
</div> </div>
</el-card> </el-card>
</el-col> </el-col>
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
:visible.sync="drawer" :visible.sync="drawer"
direction="rtl" direction="rtl"
:with-header="false"> :with-header="false">
<discussBox :id="discussID"/> <discussBox :type="discussID"/>
</el-drawer> </el-drawer>
</div> </div>
</template> </template>
...@@ -183,21 +183,28 @@ export default { ...@@ -183,21 +183,28 @@ export default {
}, },
data() { data() {
return { return {
discussID: 0, discussID: 3,
drawer: false, drawer: false,
chartData: [0, 0], chartData: [0, 0],
shopChartData: [], shopChartData: [],
SexOrder: [], SexOrder: [],
loading: false, loading: false,
strArr: ['男', '女'], strArr: ['男', '女'],
BbsList: [],
}; };
},watch:{ },watch:{
}, },
mounted() { mounted() {
this.GetSexOrderList() this.GetSexOrderList()
this.GetBbsListByType()
}, },
methods: { methods: {
GetBbsListByType(){
this.apipost("/api/Customer/GetBbsListByType", {t: 2}, res => {
this.BbsList = res.data.data
});
},
GetSexOrderList(){ GetSexOrderList(){
this.loading = true this.loading = true
this.apipost("/api/Statistic/GetSexOrderList", {}, res => { this.apipost("/api/Statistic/GetSexOrderList", {}, res => {
......
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
:visible.sync="drawer" :visible.sync="drawer"
direction="rtl" direction="rtl"
:with-header="false"> :with-header="false">
<discussBox :id="discussID"/> <discussBox :type="discussID"/>
</el-drawer> </el-drawer>
</div> </div>
</template> </template>
......
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