diff --git a/pingan/src/api/receiver/clues/index.js b/pingan/src/api/receiver/clues/index.js
index e42b404..4bd9f2b 100644
--- a/pingan/src/api/receiver/clues/index.js
+++ b/pingan/src/api/receiver/clues/index.js
@@ -51,3 +51,13 @@ export async function getSearch(params) {
}
return Promise.reject(new Error(res.data.message));
}
+
+export async function pageCluesEnroll(params) {
+ const res = await request.get('/receiver/clues/enroll', {
+ params
+ });
+ if (res.data.code === 0) {
+ return res.data.data;
+ }
+ return Promise.reject(new Error(res.data.message));
+}
diff --git a/pingan/src/api/receiver/customer/index.js b/pingan/src/api/receiver/customer/index.js
index 7405287..5917dcb 100644
--- a/pingan/src/api/receiver/customer/index.js
+++ b/pingan/src/api/receiver/customer/index.js
@@ -43,3 +43,17 @@ export async function getSearch(params) {
}
return Promise.reject(new Error(res.data.message));
}
+
+/**
+ * 分页查询
+ * @param params 查询条件
+ */
+export async function pageCustomerMobile(params) {
+ const res = await request.get('/receiver/customer/mobileList', {
+ params
+ });
+ if (res.data.code === 0) {
+ return res.data.data;
+ }
+ return Promise.reject(new Error(res.data.message));
+}
diff --git a/pingan/src/views/receiver/clues/detail.vue b/pingan/src/views/receiver/clues/detail.vue
index b48f32e..e2c6d7f 100644
--- a/pingan/src/views/receiver/clues/detail.vue
+++ b/pingan/src/views/receiver/clues/detail.vue
@@ -88,6 +88,18 @@
{{ row.log }}
+
+
+
+
+ 留资记录
+
+
@@ -116,7 +128,8 @@
import {
getClues,
pageCluesOptLog,
- addCluesOptLog
+ addCluesOptLog,
+ pageCluesEnroll
} from '@/api/receiver/clues';
import CarModelSelector from '@/components/CarSelector/index.vue';
import RegionsSelect from '@/components/RegionsSelect/index.vue';
@@ -175,6 +188,40 @@
showOverflowTooltip: true
}
],
+ // 留资列表配置
+ columns2: [
+ {
+ prop: 'sid',
+ label: '编号',
+ align: 'center',
+ showOverflowTooltip: true
+ },
+ {
+ prop: 'mobile',
+ label: '手机号',
+ align: 'center',
+ showOverflowTooltip: true
+ },
+ {
+ prop: 'brandName',
+ label: '关注品牌车型',
+ align: 'center',
+ showOverflowTooltip: true
+ },
+ {
+ prop: 'cfrom2',
+ label: '留资渠道',
+ align: 'center',
+ showOverflowTooltip: true
+ },
+ {
+ prop: 'c_time',
+ label: '时间',
+ align: 'center',
+ resizable: false,
+ showOverflowTooltip: true
+ }
+ ],
addLogVisible: false
};
},
@@ -209,6 +256,10 @@
console.warn('表格引用或 reload 方法不存在');
}
},
+ datasource2({ page, limit, where, order }) {
+ where['id'] = this.form.id;
+ return pageCluesEnroll({ ...where, ...order, page, limit });
+ },
handleCarChange(carInfo) {
this.form.selectedCar = carInfo;
},
diff --git a/pingan/src/views/receiver/clues/index.vue b/pingan/src/views/receiver/clues/index.vue
index 08f0b00..8cb9ac6 100644
--- a/pingan/src/views/receiver/clues/index.vue
+++ b/pingan/src/views/receiver/clues/index.vue
@@ -24,11 +24,14 @@
-
+
+
+
@@ -100,6 +103,11 @@
>
+
+ {{ row.name }}
+ {{ row.mobile }}
+ {{ row.sid }}
+
@@ -130,26 +138,13 @@
// 表格列配置
columns: [
{
- prop: 'sid',
+ prop: 'customer',
label: '编号',
minWidth: 100,
align: 'center',
showOverflowTooltip: true,
- fixed: 'left'
- },
- {
- prop: 'mobile',
- label: '客户',
- align: 'center',
- showOverflowTooltip: true,
- minWidth: 80
- },
- {
- prop: 'statusCn',
- label: '状态',
- align: 'center',
- showOverflowTooltip: true,
- minWidth: 80
+ fixed: 'left',
+ slot: 'customer'
},
{
prop: 'cfrom',
@@ -166,6 +161,13 @@
resizable: false,
showOverflowTooltip: true
},
+ {
+ prop: 'statusCn',
+ label: '状态',
+ align: 'center',
+ showOverflowTooltip: true,
+ minWidth: 80
+ },
{
prop: 'enTime',
label: '日期',
diff --git a/pingan/src/views/receiver/customer/index.vue b/pingan/src/views/receiver/customer/index.vue
index a9d7a91..4ebf611 100644
--- a/pingan/src/views/receiver/customer/index.vue
+++ b/pingan/src/views/receiver/customer/index.vue
@@ -24,11 +24,14 @@
-
+
+
+
@@ -96,12 +99,17 @@
+
+ {{
+ item.biz_name
+ }}
-
+
查看
@@ -152,21 +160,21 @@
minWidth: 80,
slot: 'biz'
},
- {
- prop: 'status_name',
- label: '状态',
- align: 'center',
- showOverflowTooltip: true,
- minWidth: 80
- },
- {
- prop: 'brand_detail',
- label: '关注车型',
- align: 'center',
- minWidth: 80,
- resizable: false,
- showOverflowTooltip: true
- },
+ // {
+ // prop: 'status_name',
+ // label: '状态',
+ // align: 'center',
+ // showOverflowTooltip: true,
+ // minWidth: 80
+ // },
+ // {
+ // prop: 'brand_detail',
+ // label: '关注车型',
+ // align: 'center',
+ // minWidth: 80,
+ // resizable: false,
+ // showOverflowTooltip: true
+ // },
{
columnKey: 'action',
label: '操作',
@@ -263,6 +271,14 @@
query: row ? { id: row.id, title: row.title } : undefined
});
},
+ //跳转手机号列表
+ goMobileList(row) {
+ const path = '/receiver/customer/mobileList';
+ this.$router.push({
+ path,
+ query: row ? { id: row.id, title: row.title } : undefined
+ });
+ },
/* 表格数据源 */
datasource({ page, limit, where, order }) {
return pageCustomer({ ...where, ...order, page, limit });
diff --git a/pingan/src/views/receiver/customer/mobileList.vue b/pingan/src/views/receiver/customer/mobileList.vue
new file mode 100644
index 0000000..ebc3360
--- /dev/null
+++ b/pingan/src/views/receiver/customer/mobileList.vue
@@ -0,0 +1,308 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+ 重置
+
+
+
+
+
+
+
+
+
+ {{ row.biz_poi }}
+ {{ row.biz_name }}
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+