Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3f4aa673
authored
Jan 17, 2022
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户详情修改
1 parent
078ccbc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
src/views/clientManage/clientDetail.vue
src/views/clientManage/clientDetail.vue
View file @
3f4aa67
...
...
@@ -28,10 +28,10 @@
<span>
联系电话
</span>
<span
class=
"ellipsis-1"
>
{{
leftPanelInfo
.
customerPhone
}}
</span>
</p>
<p>
<
!--
<
p>
<span>
微信号
</span>
<span
class=
"ellipsis-1"
>
{{
leftPanelInfo
.
weChatId
||
'待完善'
}}
</span>
</p>
</p>
-->
<p>
<span>
性别
</span>
<span
class=
"ellipsis-1"
>
{{
leftPanelInfo
.
customerSex
==
0
?
'未知'
:
leftPanelInfo
.
customerSex
==
1
?
'男'
:
leftPanelInfo
.
customerSex
==
2
?
'女'
:
''
}}
</span>
...
...
@@ -53,25 +53,27 @@
<!-- 1-是,2-否 -->
<span>
{{
leftPanelInfo
.
isJoin
==
1
?
'是'
:
leftPanelInfo
.
isJoin
==
0
?
'否'
:
''
}}
</span>
</p>
<p>
<span>
添加时间
</span>
<span>
{{
leftPanelInfo
.
addTime
}}
</span>
</p>
<p>
<span>
当前状态
</span>
<span>
{{
leftPanelInfo
.
status
==
-
1
?
'删除好友'
:
leftPanelInfo
.
status
==
0
?
'正常'
:
''
}}
</span>
</p>
<p>
<span>
所属渠道
</span>
<el-tooltip
effect=
"dark"
:content=
"leftPanelInfo.sourceChannel"
placement=
"top"
>
<span
class=
"ellipsis-1"
>
{{
leftPanelInfo
.
sourceChannel
}}
</span>
</el-tooltip>
</p>
<p>
<span>
来源
</span>
<span>
添加
来源
</span>
<el-tooltip
effect=
"dark"
:content=
"leftPanelInfo.addWay | toLabel"
placement=
"top"
>
<span
class=
"ellipsis-1"
>
{{
leftPanelInfo
.
addWay
|
toLabel
}}
</span>
</el-tooltip>
</p>
<p>
<span>
所属渠道
</span>
<el-tooltip
effect=
"dark"
:content=
"leftPanelInfo.sourceChannel"
placement=
"top"
>
<span
class=
"ellipsis-1"
>
{{
leftPanelInfo
.
sourceChannel
}}
</span>
</el-tooltip>
<span>
添加时间
</span>
<span>
{{
leftPanelInfo
.
addTime
}}
</span>
</p>
</div>
<div
class=
"rightWrap"
>
...
...
@@ -126,7 +128,7 @@
<div
v-show=
"currentIndex == 2"
class=
"clientTagsWrap"
>
<div
style=
"height: 40px"
></div>
<!-- //提示面板组件 -->
<tip-panel
panelWidth=
"666px"
panelMinHeight=
"45px"
:panelContent=
"panelContent"
></tip-panel>
<tip-panel
panelWidth=
"666px"
panelMinHeight=
"45px"
:panelContent=
"panelContent"
></tip-panel>
<!-- v-if="userType == 2" -->
<el-button
type=
"primary"
class=
"addTagBtn"
size=
"small"
@
click=
"btnClick('create')"
v-if=
"userType == 2"
>
添加标签
</el-button>
<GLTable
ref=
"clientTagsListRef"
:hasNum=
"false"
:noDataImg=
"url"
noDataText=
"客户暂无已添加的标签"
:tableData=
"clientTagsList"
:hasPage=
"false"
:tableParams=
"tagsParams"
:headerStyle=
"{ height: '54px' }"
>
...
...
@@ -166,7 +168,7 @@
</div>
</div>
<
template
v-if=
"merchantModel == 1 && (accountLevel == 2 || accountLevel == 3 ||
accountLevel == 4)"
>
<
template
v-if=
"merchantModel == 1 && (accountLevel == 2 || accountLevel == 3 || accountLevel == 4)"
>
<p
class=
"dialogSubTitle"
>
自店标签
</p>
<div
class=
"ownShopRowData"
v-for=
"(xItem, xIndex) in ownShopTagsList"
:key=
"xIndex"
>
<span
:title=
"xItem.labelGroup.name"
>
{{
xItem
.
labelGroup
.
name
}}
</span>
...
...
@@ -395,7 +397,7 @@ export default {
accountLevel
:
0
,
//1,2,3,4工厂,省代,市代,门店
userType
:
0
,
//1是商户,2是员工
userid
:
0
,
//小龙需要用户id
staffId
:
0
staffId
:
0
}
},
...
...
@@ -500,7 +502,7 @@ export default {
return
false
}
this
.
userid
=
res
.
userid
this
.
staffId
=
res
.
staffId
this
.
staffId
=
res
.
staffId
this
.
leftPanelInfo
=
res
.
info
this
.
vehicleTableData
=
res
.
vehicleInfoList
||
[]
this
.
employTableList
=
res
.
staffFollows
||
[]
...
...
@@ -778,7 +780,7 @@ export default {
}
}
.addTagBtn
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
//
处理客户标签的样式
.clientTagsWrap
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment