Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e7bb17dc
authored
Feb 19, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
📖
CRM:线索 clue 列表的完善
parent
c804ec5e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
21 deletions
+37
-21
src/api/crm/backlog/index.ts
+1
-0
src/views/crm/clue/index.vue
+35
-20
src/views/crm/customer/index.vue
+1
-1
No files found.
src/api/crm/backlog/index.ts
View file @
e7bb17dc
import
request
from
'@/config/axios'
// TODO 芋艿:融合下
// 1. 获得今日需联系客户数量
export
const
getTodayCustomerCount
=
async
()
=>
{
...
...
src/views/crm/clue/index.vue
View file @
e7bb17dc
...
...
@@ -17,19 +17,19 @@
class=
"!w-240px"
/>
</el-form-item>
<el-form-item
label=
"
电话"
prop=
"telephon
e"
>
<el-form-item
label=
"
手机号"
prop=
"mobil
e"
>
<el-input
v-model=
"queryParams.
telephon
e"
placeholder=
"请输入
电话
"
v-model=
"queryParams.
mobil
e"
placeholder=
"请输入
手机号
"
clearable
@
keyup
.
enter=
"handleQuery"
class=
"!w-240px"
/>
</el-form-item>
<el-form-item
label=
"
手机号"
prop=
"mobil
e"
>
<el-form-item
label=
"
电话"
prop=
"telephon
e"
>
<el-input
v-model=
"queryParams.
mobil
e"
placeholder=
"请输入
手机号
"
v-model=
"queryParams.
telephon
e"
placeholder=
"请输入
电话
"
clearable
@
keyup
.
enter=
"handleQuery"
class=
"!w-240px"
...
...
@@ -57,30 +57,35 @@
<!-- 列表 -->
<ContentWrap>
<el-table
v-loading=
"loading"
:data=
"list"
:stripe=
"true"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"编号"
align=
"center"
prop=
"id"
/>
<el-table-column
label=
"转化状态"
align=
"center"
prop=
"transformStatus"
>
<!-- TODO 芋艿:打开详情 -->
<el-table-column
label=
"线索名称"
align=
"center"
prop=
"name"
fixed=
"left"
width=
"120"
/>
<el-table-column
label=
"线索来源"
align=
"center"
prop=
"source"
width=
"100"
>
<template
#
default=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.
INFRA_BOOLEAN_STRING"
:value=
"scope.row.transformStatus
"
/>
<dict-tag
:type=
"DICT_TYPE.
CRM_CUSTOMER_SOURCE"
:value=
"scope.row.source
"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"跟进状态"
align=
"center"
prop=
"followUpStatus"
>
<el-table-column
label=
"手机号"
align=
"center"
prop=
"mobile"
width=
"120"
/>
<el-table-column
label=
"电话"
align=
"center"
prop=
"telephone"
width=
"130"
/>
<el-table-column
label=
"邮箱"
align=
"center"
prop=
"email"
width=
"180"
/>
<el-table-column
label=
"地址"
align=
"center"
prop=
"address"
width=
"180"
/>
<el-table-column
align=
"center"
label=
"客户行业"
prop=
"industryId"
width=
"100"
>
<
template
#
default=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
:value=
"scope.row.followUpStatus"
/>
<dict-tag
:type=
"DICT_TYPE.CRM_CUSTOMER_INDUSTRY"
:value=
"scope.row.industryId"
/>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"客户等级"
prop=
"level"
width=
"130"
>
<
template
#
default=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.CRM_CUSTOMER_LEVEL"
:value=
"scope.row.level"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"线索名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"客户id"
align=
"center"
prop=
"customerId"
/>
<el-table-column
label=
"下次联系时间
"
:formatter=
"dateFormatter
"
align=
"center"
label=
"下次联系时间"
prop=
"contactNextTime"
:formatter=
"dateFormatter"
width=
"180px"
/>
<el-table-column
label=
"电话"
align=
"center"
prop=
"telephone"
/>
<el-table-column
label=
"手机号"
align=
"center"
prop=
"mobile"
/>
<el-table-column
label=
"地址"
align=
"center"
prop=
"address"
/>
<el-table-column
label=
"负责人"
align=
"center"
prop=
"ownerUserId"
/>
<el-table-column
align=
"center"
label=
"备注"
prop=
"remark"
width=
"200"
/>
<el-table-column
label=
"最后跟进时间"
align=
"center"
...
...
@@ -88,7 +93,16 @@
:formatter=
"dateFormatter"
width=
"180px"
/>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/>
<el-table-column
align=
"center"
label=
"最后跟进记录"
prop=
"contactLastContent"
width=
"200"
/>
<el-table-column
align=
"center"
label=
"负责人"
prop=
"ownerUserName"
width=
"100px"
/>
<el-table-column
align=
"center"
label=
"所属部门"
prop=
"ownerUserDeptName"
width=
"100"
/>
<el-table-column
label=
"更新时间"
align=
"center"
prop=
"updateTime"
:formatter=
"dateFormatter"
width=
"180px"
/>
<el-table-column
label=
"创建时间"
align=
"center"
...
...
@@ -96,6 +110,7 @@
:formatter=
"dateFormatter"
width=
"180px"
/>
<el-table-column
align=
"center"
label=
"创建人"
prop=
"creatorName"
width=
"100px"
/>
<el-table-column
label=
"操作"
align=
"center"
min-width=
"110"
fixed=
"right"
>
<
template
#
default=
"scope"
>
<el-button
...
...
src/views/crm/customer/index.vue
View file @
e7bb17dc
...
...
@@ -130,7 +130,7 @@
<dict-tag
:type=
"DICT_TYPE.CRM_CUSTOMER_INDUSTRY"
:value=
"scope.row.industryId"
/>
</
template
>
</el-table-column>
<el-table-column
align=
"center"
label=
"客户等级"
prop=
"level"
width=
"1
2
0"
>
<el-table-column
align=
"center"
label=
"客户等级"
prop=
"level"
width=
"1
3
0"
>
<
template
#
default=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.CRM_CUSTOMER_LEVEL"
:value=
"scope.row.level"
/>
</
template
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment