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
5833ebc1
Commit
5833ebc1
authored
Jul 14, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
0a303de5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
index.js
src/plug/index.js
+11
-7
No files found.
src/plug/index.js
View file @
5833ebc1
...
...
@@ -119,7 +119,9 @@ export default {
let
lxymallUrl
=
''
;
//国内游api
let
crmUrl
=
""
;
//crm API
let
locationName
=
window
.
location
.
hostname
;
domainUrl
=
"http://192.168.10.128"
;
// 刘东电脑
domainUrl
=
"http://192.168.10.25:8083"
;
// 刘东电脑
domainUrl
=
"http://192.168.10.226:8015"
;
// domainUrl = "http://reborn.oytour.com";
let
crmLocalFileStreamDownLoadUrl
=
""
;
crmLocalFileStreamDownLoadUrl
=
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://crm.oytour.com"
:
"http://testcrm.oytour.com"
;
...
...
@@ -172,7 +174,7 @@ export default {
mallUrl
:
mallUrl
,
lxymallUrl
:
lxymallUrl
,
crmUrl
:
crmUrl
,
crmRoutingUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
"http://fcrmyx.oytour.com/#/"
:
"http://localhost:808
0
/#/"
,
crmRoutingUrl
:
locationName
.
indexOf
(
'oytour'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
"http://fcrmyx.oytour.com/#/"
:
"http://localhost:808
1
/#/"
,
};
return
obj
;
},
...
...
@@ -286,7 +288,7 @@ export default {
guestId
:
guestId
,
}
})
}
}
else
if
(
this
.
$route
.
path
==
"/clientConfirmRB"
)
{
let
TCID
=
this
.
$route
.
query
.
TCID
;
let
orderID
=
this
.
$route
.
query
.
orderID
;
...
...
@@ -299,7 +301,7 @@ export default {
guestId
:
guestId
,
}
})
}
}
else
if
(
this
.
$route
.
path
==
"/TravelContractConfirm"
)
{
let
ContractId
=
this
.
$route
.
query
.
ContractId
;
this
.
$router
.
push
({
...
...
@@ -378,10 +380,12 @@ export default {
}
})
.
then
(
res
=>
{
//Token 10000 过期 10001 不合法
if
(
res
.
data
.
resultCode
==
10000
||
res
.
data
.
resultCode
==
10001
)
{
if
(
this
.
getLocalStorage
())
{
this
.
goToLogin
(
2
);
}
// if (this.getLocalStorage()) {
// this.goToLogin(2);
// }
this
.
goToLogin
(
2
);
}
else
if
(
res
.
resultCode
==
10005
)
{
this
.
$router
.
go
(
-
1
);
}
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