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
b779eacd
Commit
b779eacd
authored
Apr 03, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
d66c2b25
04338c5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
29 deletions
+28
-29
editTeamInfo.vue
src/components/TravelManager/TravelTeam/editTeamInfo.vue
+28
-29
No files found.
src/components/TravelManager/TravelTeam/editTeamInfo.vue
View file @
b779eacd
...
...
@@ -213,39 +213,37 @@
<el-col
:span=
"12"
>
<!--添加修改航班-->
<ul
class=
"_add_hangban clearfix"
>
<li
v-if=
"addMsg.TicketType"
:class=
"addMsg.TicketType == 1 ? '_allWidth' : ''"
>
<li
:class=
"addMsg.TicketType == 1 ? '_allWidth' : ''"
>
<span
class=
"_add_go_label"
>
{{
$t
(
"Airticket.Air_go"
)
}}
</span>
<div
class=
"_add_go"
v-for=
"(item, index) in addMsg.flightList"
:key=
"index"
>
<template
v-if=
"
addMsg.flightList &&
item.TicketType == 1"
>
<template
v-if=
"item.TicketType == 1"
>
<div>
<p>
<span
class=
"iconfont icon-hangban"
></span>
<span>
{{
item
.
Flight_number
}}
</span>
<span>
{{
item
.
Flight_number
}}
{{
item
.
Departure_time
}}
~
{{
item
.
Arrival_time
}}
</span>
<span
class=
"iconfont icon-xingzhuang"
@
click=
"deletFlightInfo(item.ID, index)"
></span>
</p>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.FlightDate"
placement=
"top-start"
popper-class=
"max-w250"
>
</el-tooltip>
<span
class=
"transform"
>
是否中转:
{{
item
.
IsTransfer
===
1
?
"是"
:
"否"
}}
</span>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.dName"
placement=
"top-start"
<p
class=
"_add_info"
>
是否中转:
{{
item
.
IsTransfer
===
1
?
"是"
:
"否"
}}
</p>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.DepartureAirPortName"
placement=
"top-start"
popper-class=
"max-w250"
>
<p
class=
"_add_info"
>
<span>
{{
$t
(
"system.query_flightAir"
)
}}
:
{{
item
.
d
Name
item
.
DepartureAirPort
Name
}}
</span>
</p>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.
a
Name"
placement=
"top-start"
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.
ArrivalAirPort
Name"
placement=
"top-start"
popper-class=
"max-w250"
>
<p
class=
"_add_info"
>
<span>
{{
$t
(
"system.query_arrivalAir"
)
}}
:
{{
item
.
a
Name
item
.
ArrivalAirPort
Name
}}
</span>
</p>
</el-tooltip>
</div>
</
template
>
</div>
<!--添加去程-->
<div
class=
"_add_go _new_go"
>
<div>
<p>
...
...
@@ -283,41 +281,41 @@
</ul>
</el-col>
<el-col
:span=
"12"
>
<!--
添加修改航班
-->
<!--
回程
-->
<ul
class=
"_add_hangban clearfix"
>
<li
v-if=
"addMsg.TicketType&& addMsg.TicketType == 2"
>
<li>
<span
class=
"_add_go_label"
>
{{
$t("Airticket.Air_returnTrip")
}}
</span>
<div
class=
"_add_go"
v-for=
"(item, index) in addMsg.flightList"
:key=
"index"
>
<
template
v-if=
"
addMsg.flightList &&
item.TicketType == 2"
>
<
template
v-if=
"item.TicketType == 2"
>
<div>
<p>
<span
class=
"iconfont icon-hangban"
></span>
<span>
{{
item
.
Flight_number
}}
{{
item
.
Departure_time
}}
</span>
<span>
{{
item
.
Flight_number
}}
{{
item
.
Departure_time
}}
~
{{
item
.
Arrival_time
}}
</span>
<span
class=
"iconfont icon-xingzhuang"
@
click=
"deletFlightInfo(item.ID, index)"
></span>
</p>
<
span
class=
"transform"
>
是否中转:
{{
item
.
IsTransfer
===
1
?
"是"
:
"否"
}}
</span
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.
d
Name"
placement=
"top-start"
<
p
class=
"_add_info"
>
是否中转:
{{
item
.
IsTransfer
===
1
?
"是"
:
"否"
}}
</p
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.
DepartureAirPort
Name"
placement=
"top-start"
popper-class=
"max-w250"
>
<p
class=
"_add_info"
>
<span>
{{
$t
(
"system.query_flightAir"
)
}}
:
{{
item
.
d
Name
item
.
DepartureAirPort
Name
}}
</span>
</p>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.
a
Name"
placement=
"top-start"
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"item.
ArrivalAirPort
Name"
placement=
"top-start"
popper-class=
"max-w250"
>
<p
class=
"_add_info"
>
<span>
{{
$t
(
"system.query_arrivalAir"
)
}}
:
{{
item
.
a
Name
item
.
ArrivalAirPort
Name
}}
</span>
</p>
</el-tooltip>
</div>
</
template
>
</div>
<!--添加回程-->
<div
class=
"_add_go _new_go"
>
<div>
<p>
...
...
@@ -575,8 +573,8 @@
FlightId
:
""
,
IsTransfer
:
0
,
FlightDate
:
""
,
a
Name
:
""
,
d
Name
:
""
,
ArrivalAirPort
Name
:
""
,
DepartureAirPort
Name
:
""
,
TicketType
:
1
,
ID
:
0
,
AirLineID
:
""
,
...
...
@@ -587,8 +585,8 @@
FlightId
:
""
,
IsTransfer
:
0
,
FlightDate
:
""
,
a
Name
:
""
,
d
Name
:
""
,
ArrivalAirPort
Name
:
""
,
DepartureAirPort
Name
:
""
,
TicketType
:
2
,
ID
:
0
,
AirLineID
:
""
,
...
...
@@ -646,6 +644,7 @@
item
.
TicketType
=
Math
.
random
()
>
0.5
?
1
:
2
;
});
this
.
addMsg
.
flightList
=
TravelTeamFlightList
;
console
.
log
(
"this.addMsg"
,
this
.
addMsg
);
this
.
friendList
=
TravelTeamPartnerList
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
...
...
@@ -695,8 +694,8 @@
this
.
AirportNameList
.
forEach
((
x
)
=>
{
if
(
x
.
ID
==
this
.
addGoFlight
.
FlightId
)
{
newList
.
TicketType
=
1
;
newList
.
a
Name
=
x
.
aName
;
newList
.
d
Name
=
x
.
dName
;
newList
.
ArrivalAirPort
Name
=
x
.
aName
;
newList
.
DepartureAirPort
Name
=
x
.
dName
;
newList
.
Flight_number
=
x
.
Flight_number
;
newList
.
FlightId
=
this
.
addGoFlight
.
FlightId
;
newList
.
AirLineTicketId
=
this
.
addGoFlight
.
AirLineTicketId
;
...
...
@@ -718,8 +717,8 @@
this
.
BackAirportNameList
.
forEach
((
x
)
=>
{
if
(
x
.
ID
==
this
.
returnTripData
.
FlightId
)
{
newList
.
TicketType
=
2
;
newList
.
a
Name
=
x
.
aName
;
newList
.
d
Name
=
x
.
dName
;
newList
.
ArrivalAirPort
Name
=
x
.
aName
;
newList
.
DepartureAirPort
Name
=
x
.
dName
;
newList
.
Flight_number
=
x
.
Flight_number
;
newList
.
FlightDate
=
newDate
;
newList
.
FlightId
=
this
.
returnTripData
.
FlightId
;
...
...
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