Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
zhengke
jz_Travel
Commits
172d9cd1
Commit
172d9cd1
authored
Sep 20, 2023
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成列表页调整
parent
cb8925a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
7 deletions
+20
-7
jz_Line.vue
pages/jiuzhai/jz_Line.vue
+20
-7
No files found.
pages/jiuzhai/jz_Line.vue
View file @
172d9cd1
...
@@ -355,7 +355,7 @@
...
@@ -355,7 +355,7 @@
<text
style=
"font-size: 28rpx;color:#111;font-weight: 800;margin-right: 10rpx;"
>
{{
x
.
DestinationName
}}
</text>
<text
style=
"font-size: 28rpx;color:#111;font-weight: 800;margin-right: 10rpx;"
>
{{
x
.
DestinationName
}}
</text>
</view>
</view>
<view
class=
"team-box"
>
<view
class=
"team-box"
>
<view
v-for=
"(y,yi) in x.Teams"
:key=
"i"
class=
"team"
:class=
"
{'active':msg.team.indexOf(y.TeamId)!=-1}"
<view
v-for=
"(y,yi) in x.Teams"
:key=
"
y
i"
class=
"team"
:class=
"
{'active':msg.team.indexOf(y.TeamId)!=-1}"
@click="setTeams(y.TeamId)">
@click="setTeams(y.TeamId)">
<view
class=
"team-content"
>
{{
y
.
TeamName
}}
</view>
<view
class=
"team-content"
>
{{
y
.
TeamName
}}
</view>
</view>
</view>
...
@@ -596,6 +596,8 @@
...
@@ -596,6 +596,8 @@
this
.
msg
.
team
.
push
(
parseInt
(
x
));
this
.
msg
.
team
.
push
(
parseInt
(
x
));
})
})
}
}
}
else
if
(
option
&&
option
.
lineId
){
this
.
msg
.
lineId
=
option
.
lineId
}
}
if
(
option
&&
option
.
PlaceIds
){
if
(
option
&&
option
.
PlaceIds
){
this
.
msg
.
PlaceIds
=
option
.
PlaceIds
this
.
msg
.
PlaceIds
=
option
.
PlaceIds
...
@@ -614,7 +616,6 @@
...
@@ -614,7 +616,6 @@
this
.
allTeams
=
false
this
.
allTeams
=
false
this
.
currentLineId
=
item
this
.
currentLineId
=
item
//changeTeam
//changeTeam
},
},
//获取查询条件
//获取查询条件
getLineQuery
()
{
getLineQuery
()
{
...
@@ -630,6 +631,17 @@
...
@@ -630,6 +631,17 @@
this
.
currentBrachName
=
this
.
branchList
[
0
].
BName
;
this
.
currentBrachName
=
this
.
branchList
[
0
].
BName
;
this
.
CityId
=
this
.
branchList
[
0
].
CityId
;
this
.
CityId
=
this
.
branchList
[
0
].
CityId
;
this
.
currentLineId
=
this
.
lineList
[
0
]
this
.
currentLineId
=
this
.
lineList
[
0
]
if
(
this
.
msg
.
lineId
!=
0
){
let
temp
=
this
.
lineList
.
find
(
x
=>
x
.
LineID
==
this
.
msg
.
lineId
)
if
(
temp
){
this
.
currentLineId
=
temp
this
.
optionsTitle
[
1
]
=
temp
.
LineShortName
}
else
{
this
.
currentLineId
=
this
.
lineList
[
0
]
}
}
else
{
this
.
currentLineId
=
this
.
lineList
[
0
]
}
//let temp = ''
//let temp = ''
// if(this.msg.team.length>0){
// if(this.msg.team.length>0){
// if(this.lineList.length>0){
// if(this.lineList.length>0){
...
@@ -725,10 +737,12 @@
...
@@ -725,10 +737,12 @@
}
else
{
}
else
{
let
temp
=
''
let
temp
=
''
this
.
lineList
.
forEach
(
x
=>
{
this
.
lineList
.
forEach
(
x
=>
{
x
.
Teams
.
forEach
(
y
=>
{
x
.
PlaceList
.
forEach
(
y
=>
{
if
(
this
.
msg
.
team
.
indexOf
(
y
.
TeamId
)
!=
-
1
)
{
y
.
Teams
.
forEach
(
z
=>
{
temp
+=
y
.
TeamName
+
","
if
(
this
.
msg
.
team
.
indexOf
(
z
.
TeamId
)
!=
-
1
)
{
}
temp
+=
z
.
TeamName
+
","
}
})
})
})
})
})
this
.
optionsTitle
[
1
]
=
temp
this
.
optionsTitle
[
1
]
=
temp
...
@@ -741,7 +755,6 @@
...
@@ -741,7 +755,6 @@
this
.
research
();
this
.
research
();
},
},
setTeams
(
teamId
)
{
setTeams
(
teamId
)
{
console
.
log
(
teamId
,
this
.
msg
.
team
)
let
id
=
teamId
let
id
=
teamId
let
temp
=
this
.
msg
.
team
.
indexOf
(
id
)
let
temp
=
this
.
msg
.
team
.
indexOf
(
id
)
if
(
temp
==
-
1
)
{
if
(
temp
==
-
1
)
{
...
...
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