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
577fc6e0
Commit
577fc6e0
authored
Sep 11, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
71a96284
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
index.vue
src/components/index.vue
+6
-2
leftNav.vue
src/components/public/leftNav.vue
+7
-3
No files found.
src/components/index.vue
View file @
577fc6e0
...
...
@@ -3258,15 +3258,19 @@ export default {
},
goUrl
(
url
,
id
,
index
)
{
if
(
url
.
indexOf
(
"http://"
)
==-
1
){
if
(
url
==
'/JapanHotel'
){
if
(
url
==
'/JapanHotel'
||
url
==
'/KKDayFree'
){
let
userInfo
=
this
.
getLocalStorage
();
let
msg
=
{
id
:
userInfo
.
EmployeeId
}
this
.
apipost
(
"sellorder_post_GetDesEncrypt"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
pageName
=
url
==
'/JapanHotel'
?
'hotelHome'
:
'FreeHome'
;
this
.
EnCodeWord
=
res
.
data
.
data
;
window
.
open
(
"http://www.oytour.com/#/hotelHome?uid="
+
encodeURIComponent
(
this
.
EnCodeWord
),
"_blank"
);
// http://testb2b.oytour.com
// http://www.oytour.com
window
.
open
(
"http://localhost:8081/#/"
+
pageName
+
"?uid="
+
encodeURIComponent
(
this
.
EnCodeWord
),
"_blank"
);
// window.open("http://www.oytour.com/#/"+ pageName +"?uid="+encodeURIComponent(this.EnCodeWord), "_blank");
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
src/components/public/leftNav.vue
View file @
577fc6e0
...
...
@@ -202,15 +202,19 @@
})
},
goUrl
(
path
)
{
if
(
path
==
'/JapanHotel'
){
if
(
path
==
'/JapanHotel'
||
url
==
'/KKDayFree'
){
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"
);
let
pageName
=
url
==
'/JapanHotel'
?
'hotelHome'
:
'FreeHome'
;
this
.
EnCodeWord
=
res
.
data
.
data
;
// http://testb2b.oytour.com
// http://www.oytour.com
window
.
open
(
"http://localhost:8081/#/"
+
pageName
+
"?uid="
+
encodeURIComponent
(
this
.
EnCodeWord
),
"_blank"
);
// window.open("http://www.oytour.com/#/"+ pageName +"?uid="+encodeURIComponent(this.EnCodeWord), "_blank");
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
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