Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
802048fa
Commit
802048fa
authored
Jul 22, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
3f59507d
559e1d58
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
636 additions
and
71 deletions
+636
-71
Details.vue
src/components/Details.vue
+46
-63
HotelOrderTotal.vue
src/components/TravelManager/TravelList/HotelOrderTotal.vue
+558
-0
index.vue
src/components/index.vue
+25
-7
config.js
src/router/config.js
+7
-1
No files found.
src/components/Details.vue
View file @
802048fa
...
...
@@ -337,54 +337,54 @@ export default {
return
obj
},
goUrl
(
path
)
{
if
(
this
.
openMode
==
1
){
let
pathArray
=
path
.
split
(
'/'
)
let
isExsit
=
false
let
newName
=
pathArray
[
1
].
split
(
'?'
)[
0
];
let
temp
=
this
.
mapObj
(
path
,
newName
)
if
(
path
===
"/TravelManager3"
){
this
.
$router
.
push
({
name
:
'TravelManager3'
,
query
:
{
flag
:
true
,
blank
:
'y'
}
});
return
}
if
(
path
===
"/TravelControlList3"
){
this
.
$router
.
push
({
name
:
'TravelControlList3'
,
query
:
{
flag
:
true
,
blank
:
'y'
}
});
return
}
this
.
tabs
.
forEach
((
x
,
i
)
=>
{
if
(
pathArray
[
1
]
==
x
.
name
||
path
==
x
.
path
||
x
.
history
.
indexOf
(
path
)
!=-
1
){
this
.
tabs
[
i
].
hisIndex
=
this
.
tabs
[
i
].
history
.
length
this
.
tabs
[
i
].
path
=
path
isExsit
=
true
this
.
currentTabName
=
x
.
name
+
"_"
+
i
this
.
comp
=
temp
.
comp
this
.
tabs
[
i
].
type
=
'd'
return
false
if
(
this
.
openMode
==
1
){
let
pathArray
=
path
.
split
(
'/'
)
let
isExsit
=
false
let
newName
=
pathArray
[
1
].
split
(
'?'
)[
0
];
let
temp
=
this
.
mapObj
(
path
,
newName
)
if
(
path
===
"/TravelManager3"
){
this
.
$router
.
push
({
name
:
'TravelManager3'
,
query
:
{
flag
:
true
,
blank
:
'y'
}
});
return
}
})
if
(
!
isExsit
){
let
obj
=
{}
obj
.
path
=
path
obj
.
title
=
temp
.
title
obj
.
name
=
newName
obj
.
comp
=
temp
.
comp
obj
.
refer
=
0
obj
.
history
=
[]
obj
.
type
=
'd'
obj
.
hisIndex
=
0
// console.log(newName)
this
.
currentTabName
=
obj
.
name
+
'_'
+
this
.
tabs
.
length
this
.
tabs
.
push
(
obj
)
if
(
path
===
"/TravelControlList3"
){
this
.
$router
.
push
({
name
:
'TravelControlList3'
,
query
:
{
flag
:
true
,
blank
:
'y'
}
});
return
}
this
.
tabs
.
forEach
((
x
,
i
)
=>
{
if
(
pathArray
[
1
]
==
x
.
name
||
path
==
x
.
path
||
x
.
history
.
indexOf
(
path
)
!=-
1
){
this
.
tabs
[
i
].
hisIndex
=
this
.
tabs
[
i
].
history
.
length
this
.
tabs
[
i
].
path
=
path
isExsit
=
true
this
.
currentTabName
=
x
.
name
+
"_"
+
i
this
.
comp
=
temp
.
comp
this
.
tabs
[
i
].
type
=
'd'
return
false
}
})
if
(
!
isExsit
){
let
obj
=
{}
obj
.
path
=
path
obj
.
title
=
temp
.
title
obj
.
name
=
newName
obj
.
comp
=
temp
.
comp
obj
.
refer
=
0
obj
.
history
=
[]
obj
.
type
=
'd'
obj
.
hisIndex
=
0
// console.log(newName)
this
.
currentTabName
=
obj
.
name
+
'_'
+
this
.
tabs
.
length
this
.
tabs
.
push
(
obj
)
}
this
.
type
=
'd'
}
else
if
(
this
.
openMode
==
0
&&
path
!=
""
)
{
this
.
$router
.
push
({
path
});
}
this
.
type
=
'd'
}
else
if
(
this
.
openMode
==
0
&&
path
!=
""
)
{
this
.
$router
.
push
({
path
});
}
},
showToggle
(
id
)
{
if
(
this
.
openId
!=
id
)
{
...
...
@@ -852,24 +852,7 @@ export default {
},
filterRouter
(){
let
that
=
this
let
userInfo
=
this
.
getLocalStorage
();
this
.
$router
.
beforeEach
((
to
,
from
,
next
)
=>
{
if
(
to
.
path
==
'/JapanHotel'
){
let
msg
=
{
id
:
userInfo
.
EmployeeId
}
this
.
apipost
(
"sellorder_post_GetDesEncrypt"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EnCodeWord
=
res
.
data
.
data
;
window
.
open
(
"http://www.oytour.com/#/hotelHome?uid="
+
encodeURIComponent
(
this
.
EnCodeWord
),
"_blank"
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
return
;
}
document
.
title
=
to
.
meta
.
title
?
to
.
meta
.
title
+
'-四川和平国际旅行社'
:
'四川和平国际旅行社'
// console.log("to.query.blank && to.query.blank=='y'",to.query,"666")
if
(
to
.
path
==
"/ModifyVisaProduct"
){
...
...
src/components/TravelManager/TravelList/HotelOrderTotal.vue
0 → 100644
View file @
802048fa
This diff is collapsed.
Click to expand it.
src/components/index.vue
View file @
802048fa
...
...
@@ -899,7 +899,7 @@
</div>
<div
style=
"text-align:center"
>
<p
style=
"font-size:26px;color:#111111;margin:40px 0"
>
第{{tsNumber}}期投诉案例分享已经发布
</p>
<a
@
click=
"CloseTs"
target=
"_blank"
href=
"http://we.oytour.com:8110/?/article/
8
"
style=
"font-size:18px;color:#E95252;cursor:pointer;text-decoration:underline"
>
点击查看
</a>
<a
@
click=
"CloseTs"
target=
"_blank"
href=
"http://we.oytour.com:8110/?/article/
10
"
style=
"font-size:18px;color:#E95252;cursor:pointer;text-decoration:underline"
>
点击查看
</a>
</div>
</div>
</div>
...
...
@@ -930,7 +930,7 @@ export default {
data
()
{
return
{
tsState
:
false
,
tsNumber
:
1
,
tsNumber
:
2
,
saleRnkShow
:
false
,
dialogTitleNot
:
''
,
outerVisibleNot
:
false
,
...
...
@@ -3253,11 +3253,29 @@ export default {
this
.
displayNone
=
true
;
},
goUrl
(
url
,
id
,
index
)
{
this
.
chosenIndex
=
id
;
if
(
localStorage
.
openMode
&&
localStorage
.
openMode
==
1
)
this
.
$router
.
push
({
path
:
url
,
query
:{
blank
:
'y'
}});
else
this
.
$router
.
push
({
path
:
url
,
query
:{}});
if
(
url
==
'/JapanHotel'
){
let
userInfo
=
this
.
getLocalStorage
();
let
msg
=
{
id
:
userInfo
.
EmployeeId
}
this
.
apipost
(
"sellorder_post_GetDesEncrypt"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EnCodeWord
=
res
.
data
.
data
;
window
.
open
(
"http://www.oytour.com/#/hotelHome?uid="
+
encodeURIComponent
(
this
.
EnCodeWord
),
"_blank"
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
}
else
{
this
.
chosenIndex
=
id
;
if
(
localStorage
.
openMode
&&
localStorage
.
openMode
==
1
)
this
.
$router
.
push
({
path
:
url
,
query
:{
blank
:
'y'
}});
else
this
.
$router
.
push
({
path
:
url
,
query
:{}});
}
},
goUrlT
(
url
,
index
,
name
)
{
let
query
=
{
...
...
src/router/config.js
View file @
802048fa
...
...
@@ -1740,7 +1740,13 @@ export default {
meta
:
{
title
:
'散卖酒店订单'
},
},{
path
:
'/HotelOrderTotal'
,
//操作 散卖酒店订单统计
name
:
'HotelOrderTotal'
,
component
:
resolve
=>
require
([
'@/components/TravelManager/TravelList/HotelOrderTotal'
],
resolve
),
meta
:
{
title
:
'散卖酒店订单统计'
},
},{
path
:
'/AmoebaDetail'
,
//阿米巴结算详情
name
:
'AmoebaDetail'
,
...
...
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