Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
81af0cbd
Commit
81af0cbd
authored
May 08, 2021
by
郭晓清
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情路由关闭上个页面
parent
a44c4882
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
detail.vue
src/pages/order/detail.vue
+10
-3
No files found.
src/pages/order/detail.vue
View file @
81af0cbd
...
@@ -543,14 +543,21 @@
...
@@ -543,14 +543,21 @@
return
return
}
}
this
.
$u
.
api
[
this
.
submitType
](
data
,
this
.
order
.
orderId
).
then
(
res
=>
{
this
.
$u
.
api
[
this
.
submitType
](
data
,
this
.
order
.
orderId
).
then
(
res
=>
{
let
self
=
this
if
((
res
.
data
.
code
!==
undefined
&&
res
.
data
.
code
===
200
)
if
((
res
.
data
.
code
!==
undefined
&&
res
.
data
.
code
===
200
)
||
(
res
.
code
!==
undefined
&&
res
.
code
===
200
)
)
{
||
(
res
.
code
!==
undefined
&&
res
.
code
===
200
)
)
{
this
.
$refs
.
uToast
.
show
({
this
.
$refs
.
uToast
.
show
({
title
:
this
.
centerButtonText
+
'操作成功'
,
title
:
this
.
centerButtonText
+
'操作成功'
,
type
:
'success'
,
type
:
'success'
,
url
:
'pages/order/detail'
,
// isTab:true,
params
:
{
// url: 'pages/order/detail',
id
:
this
.
order
.
orderId
// params: {
// id: this.order.orderId
// }
callback
:
function
(){
uni
.
redirectTo
({
url
:
'pages/order/detail?id='
+
self
.
order
.
orderId
});
}
}
})
})
}
else
{
}
else
{
...
...
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