Commit 62910a8e authored by 赵茹林's avatar 赵茹林

update

parent ce78bdba
...@@ -283,6 +283,27 @@ ...@@ -283,6 +283,27 @@
border-radius: 50%; border-radius: 50%;
height: 50px; height: 50px;
} }
.table-refresh-header {
display: inline-block;
cursor: help;
i {
color: #409eff;
}
}
.cell-link {
display: inline-block;
margin: 0 -6px;
padding: 0px 8px;
border-radius: 3px;
text-decoration: underline;
transition: color 240ms, background-color 240ms;
&:hover {
background-color: #cce4ff;
color: #007fff;
}
}
} }
.update-time { .update-time {
...@@ -313,14 +334,6 @@ ...@@ -313,14 +334,6 @@
} }
} }
.table-refresh-header {
display: inline-block;
cursor: help;
i {
color: #409eff;
}
}
// 修复样式 // 修复样式
.el-tree-node__content { .el-tree-node__content {
.el-checkbox { .el-checkbox {
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
</el-table> </el-table>
<!--业绩 结束--> <!--业绩 结束-->
<!--todo 分页有问题-->
<page v-if="total" :total="total" :limit="limit" @pageChange="onPageChange" @sizeChange="onSizeChange"/> <page v-if="total" :total="total" :limit="limit" @pageChange="onPageChange" @sizeChange="onSizeChange"/>
</div> </div>
...@@ -233,8 +233,10 @@ ...@@ -233,8 +233,10 @@
limit: this.limit limit: this.limit
} }
getPhoneRecordApi(json.alias, json).then(res => { getPhoneRecordApi(json.alias, json).then(res => {
this.list = res.phone_record_list.page_data; if (Object.keys(res).length && res.phone_record_list) {
this.total = res.phone_record_list.total; this.list = res.phone_record_list.page_data || [];
this.total = res.phone_record_list.total || 0;
}
this.loading = false; this.loading = false;
}) })
}, },
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
</el-tooltip> </el-tooltip>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-link @click="dialogToggle(scope.row, 'callback')">{{scope.row.over_visit_num}}</el-link> <span class="cell-link" @click="dialogToggle(scope.row, 'callback')">{{scope.row.over_visit_num}}</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -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, 'validchat')">{{scope.row.valid_chat_contact_count}}</el-link> <span class="cell-link" @click="dialogToggle(scope.row, 'validchat')">{{scope.row.valid_chat_contact_count}}</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
</el-tooltip> </el-tooltip>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-link @click="dialogToggle(scope.row, 'phonerecord')">{{scope.row.valid_phone_counts}}</el-link> <span class="cell-link" @click="dialogToggle(scope.row, 'phonerecord')">{{scope.row.valid_phone_counts}}</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
</el-tooltip> </el-tooltip>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-link @click="dialogToggle(scope.row, 'class')">{{scope.row.lately_class_num}}</el-link> <span class="cell-link" @click="dialogToggle(scope.row, 'class')">{{scope.row.lately_class_num}}</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
</el-tooltip> </el-tooltip>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-link @click="dialogToggle(scope.row, 'achievement')">{{scope.row.month_order_num}}</el-link> <span class="cell-link" @click="dialogToggle(scope.row, 'achievement')">{{scope.row.month_order_num}}</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -163,9 +163,9 @@ ...@@ -163,9 +163,9 @@
</el-tooltip> </el-tooltip>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-link @click="dialogToggle(scope.row, 'achievement')"> <span class="cell-link" @click="dialogToggle(scope.row, 'achievement')">
{{transRate(scope.row.month_trans_order_num, scope.row.month_trans_user_num)}} {{transRate(scope.row.month_trans_order_num, scope.row.month_trans_user_num)}}
</el-link> </span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
</el-tooltip> </el-tooltip>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-link @click="dialogToggle(scope.row, 'achievement')">{{scope.row.order_money_count}}</el-link> <span class="cell-link" @click="dialogToggle(scope.row, 'achievement')">{{scope.row.order_money_count}}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -335,10 +335,6 @@ ...@@ -335,10 +335,6 @@
<style lang="less"> <style lang="less">
.team-table { .team-table {
.el-link {
font-weight: normal;
text-decoration: underline;
}
.primary-row { .primary-row {
background: #f5f7fa; background: #f5f7fa;
} }
......
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