Commit c0596a85 authored by 赵茹林's avatar 赵茹林

update

parent ec5a3fa3
...@@ -5,9 +5,14 @@ ...@@ -5,9 +5,14 @@
<div></div> <div></div>
<el-table :data="list"> <el-table :data="list">
<el-table-column prop="month_order_rate"> <el-table-column label="销售顾问" prop="month_order_rate"></el-table-column>
<el-table-column label="老师名" prop="month_order_rate"></el-table-column>
</el-table-column> <el-table-column label="UID" prop="month_order_rate" v-if="dialogObj.type == 'callback'"></el-table-column>
<el-table-column label="客户微信昵称" prop="month_order_rate"></el-table-column>
<el-table-column label="电话号码" prop="month_order_rate"></el-table-column>
<el-table-column label="意向度" prop="month_order_rate"></el-table-column>
<el-table-column label="最近备注时间" prop="month_order_rate"></el-table-column>
<el-table-column label="下次回访时间" prop="month_order_rate"></el-table-column>
</el-table> </el-table>
<page :total="total" :limit="limit" @pageChange="onPageChange" @sizeChange="onSizeChange"/> <page :total="total" :limit="limit" @pageChange="onPageChange" @sizeChange="onSizeChange"/>
...@@ -62,19 +67,42 @@ ...@@ -62,19 +67,42 @@
} }
} }
}, },
getAchievement() {
getData() {
let json = {
teacher_id: this.dialogObj.teacher_id,
start_at: this.dialogObj.start_at,
page: this.nowPage,
limit: this.limit
};
},
getVisited() {
let json = { let json = {
teacher_id: this.dialogObj.teacher_id, teacher_id: this.dialogObj.teacher_id,
start_at: this.dialogObj.start_at, start_at: this.dialogObj.start_at,
page: this.nowPage, page: this.nowPage,
limit: this.limit limit: this.limit
} }
getAchievementApi(json).then(res => { getVisitedApi(json).then(res => {
this.loading = false; this.loading = false;
console.log(res) console.log(res)
}) })
}, },
getVisited() { getValidchat() {
let json = {
teacher_id: this.dialogObj.teacher_id,
start_at: this.dialogObj.start_at,
page: this.nowPage,
limit: this.limit
}
getVisitedApi(json).then(res => {
this.loading = false;
console.log(res)
})
},
getPhonerecord() {
let json = { let json = {
teacher_id: this.dialogObj.teacher_id, teacher_id: this.dialogObj.teacher_id,
start_at: this.dialogObj.start_at, start_at: this.dialogObj.start_at,
...@@ -98,6 +126,18 @@ ...@@ -98,6 +126,18 @@
console.log(res) console.log(res)
}) })
}, },
getAchievement() {
let json = {
teacher_id: this.dialogObj.teacher_id,
start_at: this.dialogObj.start_at,
page: this.nowPage,
limit: this.limit
}
getAchievementApi(json).then(res => {
this.loading = false;
console.log(res)
})
},
onPageChange(val) { onPageChange(val) {
this.nowPage = val this.nowPage = val
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
</el-tooltip> </el-tooltip>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-link @click="dialogToggle(scope.row, 'callback')">{{scope.row.valid_chat_contact_count}}</el-link> <el-link @click="dialogToggle(scope.row, 'validchat')">{{scope.row.valid_chat_contact_count}}</el-link>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="valid_phone_counts"> <el-table-column prop="valid_phone_counts">
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
</el-tooltip> </el-tooltip>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-link @click="dialogToggle(scope.row, 'callback')">{{scope.row.valid_phone_counts}}</el-link> <el-link @click="dialogToggle(scope.row, 'phonerecord')">{{scope.row.valid_phone_counts}}</el-link>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="phone_total_time"> <el-table-column prop="phone_total_time">
......
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