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
cdda812f
Commit
cdda812f
authored
Jan 26, 2026
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
bdd6d0c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
3 deletions
+31
-3
App.vue
src/App.vue
+2
-0
index.js
src/plug/index.js
+29
-3
No files found.
src/App.vue
View file @
cdda812f
...
@@ -165,6 +165,7 @@
...
@@ -165,6 +165,7 @@
!
this
.
getLocalStorage
()
&&
!
this
.
getLocalStorage
()
&&
document
.
URL
.
indexOf
(
"SupplierLogin"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"SupplierLogin"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"clientConfirm"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"clientConfirm"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"clientConfirmWT"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"clientProtocol"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"clientProtocol"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"clientDisclaimerProtocol"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"clientDisclaimerProtocol"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"TravelContractConfirm"
)
==
-
1
&&
document
.
URL
.
indexOf
(
"TravelContractConfirm"
)
==
-
1
&&
...
@@ -179,6 +180,7 @@
...
@@ -179,6 +180,7 @@
}
else
{
}
else
{
if
(
if
(
document
.
URL
.
indexOf
(
"clientConfirm"
)
!=
-
1
||
document
.
URL
.
indexOf
(
"clientConfirm"
)
!=
-
1
||
document
.
URL
.
indexOf
(
"clientConfirmWT"
)
!=
-
1
||
document
.
URL
.
indexOf
(
"clientProtocol"
)
!=
-
1
||
document
.
URL
.
indexOf
(
"clientProtocol"
)
!=
-
1
||
document
.
URL
.
indexOf
(
"clientDisclaimerProtocol"
)
!=
-
1
||
document
.
URL
.
indexOf
(
"clientDisclaimerProtocol"
)
!=
-
1
||
document
.
URL
.
indexOf
(
"TravelContractConfirm"
)
!=
-
1
||
document
.
URL
.
indexOf
(
"TravelContractConfirm"
)
!=
-
1
||
...
...
src/plug/index.js
View file @
cdda812f
...
@@ -290,7 +290,7 @@ export default {
...
@@ -290,7 +290,7 @@ export default {
//HTTP提交数据
//HTTP提交数据
Vue
.
prototype
.
apipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
,
isTerminate
)
{
Vue
.
prototype
.
apipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
,
isTerminate
)
{
if
(
this
.
$route
.
name
.
indexOf
(
'login'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientConfirm'
)
===
-
1
&&
if
(
this
.
$route
.
name
.
indexOf
(
'login'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientConfirmWT'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'confirmationOrderDownLoadNew'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'PrintPage'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'confirmationOrderDownLoadNew'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'PrintPage'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'TravelContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'ViittoContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'TravelContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'ViittoContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'OrderProfitLossList'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientProtocol'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'OrderProfitLossList'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientProtocol'
)
===
-
1
&&
...
@@ -335,7 +335,21 @@ export default {
...
@@ -335,7 +335,21 @@ export default {
Id
:
Id
Id
:
Id
}
}
})
})
}
else
if
(
this
.
$route
.
path
==
"/clientProtocol"
)
{
}
else
if
(
this
.
$route
.
path
==
"/clientConfirmWT"
)
{
let
TCID
=
this
.
$route
.
query
.
TCID
;
let
orderID
=
this
.
$route
.
query
.
orderID
;
let
guestId
=
this
.
$route
.
query
.
guestId
;
let
Id
=
this
.
$route
.
query
.
Id
;
this
.
$router
.
push
({
name
:
"clientConfirmWT"
,
query
:
{
TCID
:
TCID
,
orderID
:
orderID
,
guestId
:
guestId
,
Id
:
Id
}
})
}
else
if
(
this
.
$route
.
path
==
"/clientProtocol"
)
{
let
TCID
=
this
.
$route
.
query
.
TCID
;
let
TCID
=
this
.
$route
.
query
.
TCID
;
let
OrderId
=
this
.
$route
.
query
.
OrderId
;
let
OrderId
=
this
.
$route
.
query
.
OrderId
;
let
GuestId
=
this
.
$route
.
query
.
GuestId
;
let
GuestId
=
this
.
$route
.
query
.
GuestId
;
...
@@ -489,7 +503,7 @@ export default {
...
@@ -489,7 +503,7 @@ export default {
},
},
// 自动登录HTTP提交数据
// 自动登录HTTP提交数据
Vue
.
prototype
.
apipostLogin
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
)
{
Vue
.
prototype
.
apipostLogin
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
)
{
if
(
this
.
$route
.
name
.
indexOf
(
'login'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientConfirm'
)
===
-
1
&&
if
(
this
.
$route
.
name
.
indexOf
(
'login'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientConfirmWT'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'confirmationsOrderDownLoad'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'PrintPage'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'confirmationsOrderDownLoad'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'PrintPage'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'TravelContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'ViittoContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'TravelContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'ViittoContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'OrderProfitLossList'
)
===
-
1
this
.
$route
.
name
.
indexOf
(
'OrderProfitLossList'
)
===
-
1
...
@@ -528,6 +542,18 @@ export default {
...
@@ -528,6 +542,18 @@ export default {
guestId
:
guestId
guestId
:
guestId
}
}
})
})
}
else
if
(
this
.
$route
.
path
==
"/clientConfirmWT"
)
{
let
TCID
=
this
.
$route
.
query
.
TCID
;
let
orderID
=
this
.
$route
.
query
.
orderID
;
let
guestId
=
this
.
$route
.
query
.
guestId
;
this
.
$router
.
push
({
name
:
"clientConfirmWT"
,
query
:
{
TCID
:
TCID
,
orderID
:
orderID
,
guestId
:
guestId
}
})
}
else
if
(
this
.
$route
.
path
==
"/TravelContractConfirm"
)
{
}
else
if
(
this
.
$route
.
path
==
"/TravelContractConfirm"
)
{
let
ContractId
=
this
.
$route
.
query
.
ContractId
;
let
ContractId
=
this
.
$route
.
query
.
ContractId
;
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
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