Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
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
zhengke
jz_Travel
Commits
a7dfa6a8
Commit
a7dfa6a8
authored
Jun 02, 2021
by
ZJG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订阅消息
parent
21dfebb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
13 deletions
+31
-13
specialCarReserve.vue
pages/guidecar/specialCarReserve.vue
+31
-13
No files found.
pages/guidecar/specialCarReserve.vue
View file @
a7dfa6a8
...
...
@@ -375,20 +375,28 @@
uni
.
showLoading
({
title
:
'下单中...'
})
this
.
request2
({
url
:
'/api/AppletCar/SetAppletCarOrderInfo'
,
data
:
this
.
addMsg
},
res
=>
{
uni
.
hideLoading
()
if
(
res
.
resultCode
==
1
)
{
this
.
queren
(
res
.
data
)
}
},
err
=>
{
uni
.
hideLoading
()
let
that
=
this
uni
.
requestSubscribeMessage
({
tmplIds
:
that
.
details
.
template_message_list
,
complete
(
_res
)
{
console
.
log
(
_res
)
that
.
request2
({
url
:
'/api/AppletCar/SetAppletCarOrderInfo'
,
data
:
that
.
addMsg
},
res
=>
{
uni
.
hideLoading
()
if
(
res
.
resultCode
==
1
)
{
that
.
queren
(
res
.
data
)
}
},
err
=>
{
uni
.
hideLoading
()
}
);
}
);
});
},
queren
(
OrderId
){
let
url
=
'/api/WeChatPay/GetDmcPayInfo'
...
...
@@ -425,12 +433,22 @@
uni
.
showToast
({
title
:
"支付成功"
})
setTimeout
(()
=>
{
uni
.
redirectTo
({
url
:
'/pages/jiuzhai/allorderList'
});
},
100
)
},
fail
:
function
(
err
)
{
console
.
log
(
'fail:'
,
err
);
uni
.
showToast
({
title
:
"支付失败"
})
setTimeout
(()
=>
{
uni
.
redirectTo
({
url
:
'/pages/jiuzhai/allorderList'
});
},
100
)
}
});
},
...
...
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