Commit 751b50ed authored by 黄奎's avatar 黄奎

1

parent 186d792e
......@@ -961,7 +961,6 @@ export default {
// }
// this.OpenNewPage('/salesVolumeRank',query)
// }
query = {
CStartDate: this.parameters.dateRange[0],
CEndDate: this.parameters.dateRange[1],
......
......@@ -3,7 +3,7 @@
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane :label="$t('sm.Personalrank')" name="first"></el-tab-pane>
<el-tab-pane :label="$t('sm.derprank')" name="second"></el-tab-pane>
<el-tab-pane :label="$t('sm.companyrank')" name="third" ></el-tab-pane>
<el-tab-pane :label="$t('sm.companyrank')" name="third"></el-tab-pane>
<el-tab-pane :label="$t('sm.salerank')" name="four"></el-tab-pane>
</el-tabs>
<div class="query-box">
......@@ -92,12 +92,24 @@
<el-table-column property="zanBi" :label="$t('objFill.v101.SalesModule.xiaosouezb')" width="">
</el-table-column>
<el-table-column property="CustomerCount" label="客户总数" width="">
<template slot-scope="scope">
<div class="clickText" @click="gotoCustomer(scope.row,1)">{{scope.row.CustomerCount}}</div>
</template>
</el-table-column>
<el-table-column property="TodayAddCustomer" label="今日新增" width="">
<template slot-scope="scope">
<div class="clickText" @click="gotoCustomer(scope.row,2)">{{scope.row.TodayAddCustomer}}</div>
</template>
</el-table-column>
<el-table-column property="MiniAppCount" label="小程序激活数" width="">
<template slot-scope="scope">
<div class="clickText" @click="gotoCustomer(scope.row,3)">{{scope.row.MiniAppCount}}</div>
</template>
</el-table-column>
<el-table-column property="MiniAppAdd" label="今日激活数" width="">
<template slot-scope="scope">
<div class="clickText" @click="gotoCustomer(scope.row,4)">{{scope.row.TodayAddCustomer}}</div>
</template>
</el-table-column>
<el-table-column property="OrderCount" label="团队订单数" width="">
</el-table-column>
......@@ -217,6 +229,40 @@
goUrl(name, rowData) {
if (name == 'salesVolumeRankEntryForm') this.customCompFunc(rowData)
},
gotoCustomer(item, type) {
let Time = [this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")), this.getBeforeDate(0, new Date().Format(
"yyyy-MM-dd"))]
let query = {};
//客户总数
if (type == 1) {
query = {
blank: "y",
}
}
//今日新增
else if (type == 2) {
query = {
EnterTime: Time,
blank: "y",
}
}
//小程序激活数
else if (type == 3) {
query = {
activation: 1,
blank: "y",
}
}
//今日激活数
else if (type == 4) {
query = {
activationTime: Time,
activation: 1,
blank: "y",
}
}
this.OpenNewPage('/customerTransfer', query)
},
customCompFunc(rowData) {
this.$router.push({
path: "/salesVolumeRankEntryForm",
......
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