Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
jd-vx-app
Commits
048eb84d
Commit
048eb84d
authored
May 24, 2022
by
fwz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取申请人手机号
parent
4fa99603
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
15 deletions
+21
-15
myCall.vue
pagesB/pages/move-car/myCall.vue
+1
-1
myRecord.vue
pagesB/pages/move-car/myRecord.vue
+1
-1
oneMoveCar.vue
pagesB/pages/move-car/oneMoveCar.vue
+19
-13
No files found.
pagesB/pages/move-car/myCall.vue
View file @
048eb84d
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
通知类型:
{{
type
}}
通知类型:
{{
type
}}
</div>
</div>
<div>
<div>
车主手机号:
{{
vo
.
userMobile
}}
车主手机号:
{{
vo
.
applyUserMobile
?
vo
.
applyUserMobile
:
""
}}
</div>
</div>
</div>
</div>
<div
class=
"item__btn"
@
click=
"goDetail(vo.id)"
>
<div
class=
"item__btn"
@
click=
"goDetail(vo.id)"
>
...
...
pagesB/pages/move-car/myRecord.vue
View file @
048eb84d
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
通知类型:
{{
type
}}
通知类型:
{{
type
}}
</div>
</div>
<div>
<div>
挪车申请人:
{{
vo
.
applyUserMobile
}}
挪车申请人:
{{
vo
.
applyUserMobile
?
vo
.
applyUserMobile
:
""
}}
</div>
</div>
</div>
</div>
<div
class=
"item__btn"
@
click=
"goDetail(vo.id)"
>
<div
class=
"item__btn"
@
click=
"goDetail(vo.id)"
>
...
...
pagesB/pages/move-car/oneMoveCar.vue
View file @
048eb84d
...
@@ -32,9 +32,11 @@
...
@@ -32,9 +32,11 @@
<div
class=
"move-car__tips"
>
<div
class=
"move-car__tips"
>
点击下方按钮联系车主
点击下方按钮联系车主
</div>
</div>
<div
class=
"move-car__btn"
@
click=
"call"
>
<button
class=
"move-car__btn"
type=
'primary'
open-type=
"getPhoneNumber"
@
getphonenumber=
"getPhoneNumber"
>
拨打车主电话通知
拨打车主电话通知
</div
>
</button
>
<div
class=
"move-car__btn"
@
click=
"wechat"
>
<div
class=
"move-car__btn"
@
click=
"wechat"
>
微信通知(上限
{{
wxMaxNum
}}
次)
微信通知(上限
{{
wxMaxNum
}}
次)
</div>
</div>
...
@@ -129,15 +131,17 @@
...
@@ -129,15 +131,17 @@
changeWechat
()
{
changeWechat
()
{
this
.
appBo
.
wechat
=
!
this
.
appBo
.
wechat
this
.
appBo
.
wechat
=
!
this
.
appBo
.
wechat
},
},
//解析手机号
getPhoneNumber
(
e
)
{
let
that
=
this
if
(
e
.
detail
.
errMsg
==
"getPhoneNumber:ok"
)
{
that
.
appBo
.
code
=
e
.
detail
.
code
that
.
call
()
}
else
{
uni
.
hideLoading
()
}
},
call
()
{
call
()
{
// if(this.checked){
// this.appBo.wechat = true
// }else{
// this.appBo.wechat = false
// }
// console.log(this.checked)
// this.appBo.wechat = true
this
.
appBo
.
moveCode
=
this
.
moveCode
this
.
appBo
.
moveCode
=
this
.
moveCode
let
opts
=
{
let
opts
=
{
url
:
'/app/contact/phone/notice'
,
url
:
'/app/contact/phone/notice'
,
...
@@ -224,8 +228,10 @@
...
@@ -224,8 +228,10 @@
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
if
(
JSON
.
stringify
(
res
.
data
.
data
)
!=
"{}"
)
{
if
(
JSON
.
stringify
(
res
.
data
.
data
)
!=
"{}"
)
{
this
.
appBo
.
carNo
=
res
.
data
.
data
.
carNo
let
carData
=
res
.
data
.
data
this
.
appBo
.
carNo
=
carData
.
carNo
this
.
appBo
.
brand
=
carData
.
brand
this
.
appBo
.
carModel
=
carData
.
carModel
}
else
{
}
else
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pagesB/pages/move-car/scan?moveCode='
+
this
.
moveCode
url
:
'/pagesB/pages/move-car/scan?moveCode='
+
this
.
moveCode
...
...
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