Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 2ed49e8b
authored
Nov 01, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户详情生日完善
1 parent
cdc4c259
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
linkwe-ui/src/views/customerManage/customerDetail.vue
linkwe-ui/src/views/customerManage/customerDetail.vue
View file @
2ed49e8
...
@@ -7,7 +7,7 @@ export default {
...
@@ -7,7 +7,7 @@ export default {
return
{
return
{
datePickerVisible
:
false
,
datePickerVisible
:
false
,
customer
:
{
customer
:
{
weFlowerCustomerRels
:
[{}]
//
weFlowerCustomerRels: [{}]
},
},
birthday
:
''
,
birthday
:
''
,
pickerOptions
:
{
pickerOptions
:
{
...
@@ -32,8 +32,9 @@ export default {
...
@@ -32,8 +32,9 @@ export default {
}
}
updateBirthday
(
data
).
then
((
response
)
=>
{
updateBirthday
(
data
).
then
((
response
)
=>
{
this
.
msgSuccess
(
'操作成功'
)
this
.
msgSuccess
(
'操作成功'
)
this
.
getDetail
()
// this.getDetail()
this
.
datePickerVisible
=
false
this
.
$set
(
this
.
customer
,
'birthday'
,
this
.
birthday
)
// this.datePickerVisible = false
})
})
},
},
getDetail
()
{
getDetail
()
{
...
@@ -56,14 +57,14 @@ export default {
...
@@ -56,14 +57,14 @@ export default {
<el-card
shadow=
"never"
:body-style=
"
{ width: '410px', lineHeight: '30px' }">
<el-card
shadow=
"never"
:body-style=
"
{ width: '410px', lineHeight: '30px' }">
<div
class=
"flex aic mt20"
>
<div
class=
"flex aic mt20"
>
<el-avatar
:size=
"50"
:src=
"customer.avatar"
></el-avatar>
<el-avatar
style=
"flex: none;"
:size=
"50"
:src=
"customer.avatar"
></el-avatar>
<div
class=
"info-wrap"
>
<div
class=
"info-wrap"
>
<div
class=
"mb10"
>
<div
class=
"mb10"
>
{{
customer
.
name
}}
{{
customer
.
name
}}
<span
:style=
"
{ color: customer.type == 1 ? '#4bde03' : '#f9a90b' }">
{{
<
!--
<
span
:style=
"
{ color: customer.type == 1 ? '#4bde03' : '#f9a90b' }">
{{
{
1
:
'@微信'
,
2
:
'@企业微信'
}
[
customer
.
type
]
{
1
:
'@微信'
,
2
:
'@企业微信'
}
[
customer
.
type
]
}}
<
/span
>
}}
<
/span
>
<
i
:
class
=
"
[
'el-icon-s-custom'
,
{
1
:
'man'
,
2
:
'woman'
}
[
customer
.
gender
]]
"></i>
<
i
:
class
=
"
[
'el-icon-s-custom'
,
{
1
:
'man'
,
2
:
'woman'
}
[
customer
.
gender
]]
"></i>
-->
</div>
</div>
<div class="
info
"
>
<div class="
info
"
>
出生日期:
{{
customer
.
birthday
}}
出生日期:
{{
customer
.
birthday
}}
...
...
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