Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
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
华国豪
Athena
Commits
717f38f1
Commit
717f38f1
authored
Jul 31, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ca18248c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
486 additions
and
0 deletions
+486
-0
HotelOrder.vue
src/components/newPersonalCenter/block/model/HotelOrder.vue
+10
-0
OpHotelOrderDetail.vue
...ents/newPersonalCenter/block/model/OpHotelOrderDetail.vue
+467
-0
router.js
src/router.js
+9
-0
No files found.
src/components/newPersonalCenter/block/model/HotelOrder.vue
View file @
717f38f1
...
@@ -67,6 +67,7 @@
...
@@ -67,6 +67,7 @@
<td
style=
"text-align:center;"
>
<td
style=
"text-align:center;"
>
<el-button
size=
"mini"
type=
"danger"
v-if=
"item.OrderStatus!='已取消'"
@
click=
"goPay(item)"
>
立即付款
</el-button>
<el-button
size=
"mini"
type=
"danger"
v-if=
"item.OrderStatus!='已取消'"
@
click=
"goPay(item)"
>
立即付款
</el-button>
<el-button
style=
"margin: 10px 0 0 0;"
v-if=
"item.OrderStatus!='已取消'"
size=
"mini"
@
click=
"canCelHotel(item.ThirdOrderNo)"
>
取消订单
</el-button>
<el-button
style=
"margin: 10px 0 0 0;"
v-if=
"item.OrderStatus!='已取消'"
size=
"mini"
@
click=
"canCelHotel(item.ThirdOrderNo)"
>
取消订单
</el-button>
<el-button
style=
"margin: 10px 0 0 0;"
size=
"mini"
@
click=
"goDetail(item.OrderID)"
>
详情
</el-button>
</td>
</td>
</tr>
</tr>
</
template
>
</
template
>
...
@@ -134,9 +135,18 @@ export default {
...
@@ -134,9 +135,18 @@ export default {
?
JSON
.
parse
(
localStorage
.
userInfo
)
?
JSON
.
parse
(
localStorage
.
userInfo
)
:
""
;
:
""
;
this
.
getOrderMsg
.
CustomerId
=
userInfo
.
customerId
;
this
.
getOrderMsg
.
CustomerId
=
userInfo
.
customerId
;
// this.getOrderMsg.CustomerId = 0
this
.
gerOrderList
();
this
.
gerOrderList
();
},
},
methods
:
{
methods
:
{
goDetail
(
ID
){
this
.
$router
.
push
({
name
:
'OpHotelOrderDetail'
,
query
:
{
ID
:
ID
}
})
},
enter
:
function
(
t
)
{
enter
:
function
(
t
)
{
if
(
t
+
1
)
{
if
(
t
+
1
)
{
this
.
activeRow
=
t
this
.
activeRow
=
t
...
...
src/components/newPersonalCenter/block/model/OpHotelOrderDetail.vue
0 → 100644
View file @
717f38f1
This diff is collapsed.
Click to expand it.
src/router.js
View file @
717f38f1
...
@@ -516,6 +516,15 @@ export default new Router({
...
@@ -516,6 +516,15 @@ export default new Router({
title
:
"个人中心"
title
:
"个人中心"
}
}
},
},
{
path
:
"/OpHotelOrderDetail"
,
name
:
"OpHotelOrderDetail"
,
component
:
resolve
=>
require
([
"@/components/newPersonalCenter/block/model/OpHotelOrderDetail"
],
resolve
),
meta
:
{
title
:
"酒店订单详情"
}
},
{
{
path
:
"/IndependentTravel"
,
path
:
"/IndependentTravel"
,
name
:
"IndependentTravel"
,
name
:
"IndependentTravel"
,
...
...
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