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
6e6dd507
Commit
6e6dd507
authored
Jul 28, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
44528d6e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
3 deletions
+20
-3
tripUtils.js
src/assets/utils/tripUtils.js
+13
-0
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+7
-3
No files found.
src/assets/utils/tripUtils.js
View file @
6e6dd507
...
...
@@ -804,6 +804,19 @@ var tripUtils = {
);
}
},
//跳转到B2B页面
GotoB2BPage2
(
B2BDomain
,
ConfigId
,
tcid
)
{
if
(
B2BDomain
)
{
var
url
=
"http://"
+
B2BDomain
;
window
.
open
(
url
+
"/#/details/"
+
encodeURIComponent
(
ConfigId
)
+
"/"
+
tcid
,
"_blank"
);
}
},
//获取B2B连接
GetB2BUrl
(
B2BDomain
,
ConfigId
,
tcid
)
{
var
url
=
""
;
...
...
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
6e6dd507
...
...
@@ -477,8 +477,8 @@
{{
subItem
.
aName
}}
{{
subItem
.
Departure_time
}}
-
{{
subItem
.
dName
}}
{{
subItem
.
Arrival_time
}}
<span
v-if=
"subItem.FlightState==1"
class=
"TCL-greenType"
>
【OK】
</span>
<span
v-else
class=
"TCL-redType"
>
【
{{
$t
(
'visa.v_zanding'
)
}}
】
</span>
<span
v-if=
"subItem.FlightState==1"
class=
"TCL-greenType"
>
【OK】
</span>
<span
v-else
class=
"TCL-redType"
>
【
{{
$t
(
'visa.v_zanding'
)
}}
】
</span>
</span>
</div>
</
template
>
...
...
@@ -1893,7 +1893,11 @@
goB2B
(
ConfigId
,
tcid
,
type
)
{
var
B2BDomain
=
this
.
CurrentUserInfo
.
B2BDomain
;
if
(
type
==
1
)
{
this
.
$tripUtils
.
GotoB2BPage
(
B2BDomain
,
ConfigId
,
tcid
);
if
(
this
.
CurrentUserInfo
.
RB_Group_id
==
81
)
{
this
.
$tripUtils
.
GotoB2BPage2
(
B2BDomain
,
ConfigId
,
tcid
);
}
else
{
this
.
$tripUtils
.
GotoB2BPage
(
B2BDomain
,
ConfigId
,
tcid
);
}
}
else
{
this
.
$tripUtils
.
GotoB2CPage
(
B2BDomain
,
ConfigId
,
tcid
);
}
...
...
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