|
|
@@ -25,6 +25,15 @@
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
+ <el-form-item label="客户类别">
|
|
|
+ <el-radio-group v-model="filterForm.type" size="mini">
|
|
|
+ <el-radio-button :label="0">全部</el-radio-button>
|
|
|
+ <el-radio-button :label="1">企业客户({{counter.company}})</el-radio-button>
|
|
|
+ <el-radio-button :label="2">个人客户({{counter.personal}})</el-radio-button>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
<el-form-item label="注册时间">
|
|
|
<el-date-picker
|
|
|
size="small"
|
|
|
@@ -66,6 +75,15 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="user_from" label="来源"></el-table-column>
|
|
|
<el-table-column prop="company_name" label="企业信息"></el-table-column>
|
|
|
+ <el-table-column prop="customer_type" label="客户类别"></el-table-column>
|
|
|
+ <el-table-column label="企业背景">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span class="lblue point" v-if="scope.row.customer_id">
|
|
|
+ <a target="_blank" :href="'https://www.tianyancha.com/search?key='+scope.row.customer_name">{{scope.row.customer_name}}</a>
|
|
|
+ </span>
|
|
|
+ <span v-else>--</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="地区">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{scope.row.province}}</span>
|
|
|
@@ -346,7 +364,8 @@ export default {
|
|
|
filterForm: {
|
|
|
source: 0,
|
|
|
is_publish: 0,
|
|
|
- manager:0
|
|
|
+ manager:0,
|
|
|
+ type:0
|
|
|
},
|
|
|
addManagerDialog: false,
|
|
|
add_form: {
|
|
|
@@ -486,7 +505,8 @@ export default {
|
|
|
page,
|
|
|
source: this.filterForm.source,
|
|
|
manager: this.filterForm.manager,
|
|
|
- is_publish: this.filterForm.is_publish
|
|
|
+ is_publish: this.filterForm.is_publish,
|
|
|
+ type: this.filterForm.type
|
|
|
};
|
|
|
if (this.timeRange != null) {
|
|
|
data.start_time = this.timeRange[0];
|