Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
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 0a2c7d97
authored
Oct 27, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
车牌号bug修复
1 parent
9f49d5f2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/assets/css/sprite.scss
src/views/customer/detail.vue
src/assets/css/sprite.scss
View file @
0a2c7d9
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
.icon-customer-add
{
width
:
28px
;
height
:
20px
;
background-position
:
-34px
-96px
;}
.icon-customer-add
{
width
:
28px
;
height
:
20px
;
background-position
:
-34px
-96px
;}
.icon-customer-copy
{
width
:
18px
;
height
:
20px
;
background-position
:
-138px
-90px
;}
.icon-customer-copy
{
width
:
18px
;
height
:
20px
;
background-position
:
-138px
-90px
;}
.icon-customer-phone
{
width
:
20px
;
height
:
20px
;
background-position
:
-102px
-96px
;}
.icon-customer-phone
{
width
:
20px
;
height
:
20px
;
background-position
:
-102px
-96px
;}
.icon-delete
{
width
:
18px
;
height
:
14px
;
background-position
:
-168px
0px
;}
.icon-factory
{
width
:
32px
;
height
:
32px
;
background-position
:
-42px
-54px
;}
.icon-factory
{
width
:
32px
;
height
:
32px
;
background-position
:
-42px
-54px
;}
.icon-fail
{
width
:
24px
;
height
:
24px
;
background-position
:
-96px
-42px
;}
.icon-fail
{
width
:
24px
;
height
:
24px
;
background-position
:
-96px
-42px
;}
.icon-fllow
{
width
:
18px
;
height
:
18px
;
background-position
:
-30px
-130px
;}
.icon-fllow
{
width
:
18px
;
height
:
18px
;
background-position
:
-30px
-130px
;}
...
@@ -20,5 +21,4 @@
...
@@ -20,5 +21,4 @@
.icon-sendwechat
{
width
:
20px
;
height
:
18px
;
background-position
:
0px
-130px
;}
.icon-sendwechat
{
width
:
20px
;
height
:
18px
;
background-position
:
0px
-130px
;}
.icon-succeed
{
width
:
24px
;
height
:
24px
;
background-position
:
0px
-96px
;}
.icon-succeed
{
width
:
24px
;
height
:
24px
;
background-position
:
0px
-96px
;}
.icon-tel
{
width
:
18px
;
height
:
18px
;
background-position
:
-86px
-130px
;}
.icon-tel
{
width
:
18px
;
height
:
18px
;
background-position
:
-86px
-130px
;}
.icon-delete
{
width
:
18px
;
height
:
14px
;
background-position
:
-168px
0px
;}
.icon-tip
{
width
:
16px
;
height
:
16px
;
background-position
:
-140px
-130px
;}
.icon-tip
{
width
:
16px
;
height
:
16px
;
background-position
:
-140px
-130px
;}
\ No newline at end of file
\ No newline at end of file
src/views/customer/detail.vue
View file @
0a2c7d9
...
@@ -322,7 +322,6 @@ export default {
...
@@ -322,7 +322,6 @@ export default {
vehicleInfo
:
{
vehicleNo
}
vehicleInfo
:
{
vehicleNo
}
}
=
this
.
userInfo
}
=
this
.
userInfo
this
.
customerId
=
0
this
.
customerId
=
0
// console.log(customerPhone, !vehicleNo, '99999')
if
(
!
customerPhone
&&
!
vehicleNo
&&
this
.
customerId
==
0
)
{
if
(
!
customerPhone
&&
!
vehicleNo
&&
this
.
customerId
==
0
)
{
this
.
showToast
(
'请完善客户的联系电话或车牌号,系统将自动关联更多的客户信息'
)
this
.
showToast
(
'请完善客户的联系电话或车牌号,系统将自动关联更多的客户信息'
)
return
return
...
@@ -333,6 +332,7 @@ export default {
...
@@ -333,6 +332,7 @@ export default {
this
.
labelArray
[
index
].
isShow
=
!
this
.
labelArray
[
index
].
isShow
this
.
labelArray
[
index
].
isShow
=
!
this
.
labelArray
[
index
].
isShow
},
},
getCustomerDetail
(
userId
)
{
getCustomerDetail
(
userId
)
{
setTimeout
(()
=>
{
this
.
hideLoading
()
this
.
hideLoading
()
detailApi
.
getCustomerDetail
({
userId
}).
then
(
res
=>
{
detailApi
.
getCustomerDetail
({
userId
}).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
...
@@ -351,6 +351,7 @@ export default {
...
@@ -351,6 +351,7 @@ export default {
this
.
initLabel
()
this
.
initLabel
()
}
}
})
})
},
3000
)
},
},
//标签分组
//标签分组
initLabel
()
{
initLabel
()
{
...
@@ -393,7 +394,7 @@ export default {
...
@@ -393,7 +394,7 @@ export default {
if
(
type
==
'tel'
||
type
==
'platNumber'
)
{
if
(
type
==
'tel'
||
type
==
'platNumber'
)
{
if
(
info
.
customerPhone
&&
save_key
==
'customerPhone'
)
return
if
(
info
.
customerPhone
&&
save_key
==
'customerPhone'
)
return
if
(
vehicleInfo
.
vehicleNo
&&
save_key
==
'audi'
)
return
if
(
vehicleInfo
.
vehicleNo
&&
save_key
==
'audi'
)
return
let
name
=
type
==
'platNumber'
?
'customer.editPlat'
:
'customer.editDetail'
let
name
=
type
==
'platNumber'
?
'customer.editPlat'
:
'customer.editDetail'
this
.
$router
.
push
({
this
.
$router
.
push
({
name
,
name
,
params
:
{
params
:
{
...
@@ -473,7 +474,6 @@ export default {
...
@@ -473,7 +474,6 @@ export default {
...
obj
...
obj
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
console
.
log
(
res
)
this
.
showToast
(
'更新成功'
,
()
=>
{
this
.
showToast
(
'更新成功'
,
()
=>
{
this
.
showLoading
()
this
.
showLoading
()
this
.
getCustomerDetail
(
id
)
this
.
getCustomerDetail
(
id
)
...
...
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