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
226f4f3b
Commit
226f4f3b
authored
May 06, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
61404219
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
19 deletions
+27
-19
alightingPoint.vue
pages/bus/components/address/alightingPoint.vue
+27
-19
No files found.
pages/bus/components/address/alightingPoint.vue
View file @
226f4f3b
...
@@ -100,15 +100,17 @@
...
@@ -100,15 +100,17 @@
watch
:
{
watch
:
{
msg
:
{
msg
:
{
handler
(
val
,
oldval
)
{
handler
(
val
,
oldval
)
{
this
.
busInfor
=
val
if
(
val
.
CarType
!=
this
.
busInfor
.
CarType
){
this
.
getPlaceList
()
this
.
getPlaceList
()
}
this
.
busInfor
=
val
},
},
deep
:
true
,
deep
:
true
,
immediate
:
tru
e
immediate
:
fals
e
},
},
type
:
{
type
:
{
handler
(
val
,
oldval
)
{
handler
(
val
,
oldval
)
{
this
.
get
Place
List
()
this
.
getList
()
},
},
deep
:
false
,
deep
:
false
,
immediate
:
true
immediate
:
true
...
@@ -126,34 +128,40 @@
...
@@ -126,34 +128,40 @@
});
});
},
},
mounted
()
{
mounted
()
{
this
.
getPlaceList
()
},
},
methods
:
{
methods
:
{
getPlaceList
(){
getPlaceList
(){
this
.
apipost
(
'CarSingle_post_GetCarSingleAllPlaceList'
,{
this
.
apipost
(
'CarSingle_post_GetCarSingleAllPlaceList'
,{
Type
:
this
.
busInfor
.
CarType
,
Type
:
this
.
msg
.
CarType
,
AirportId
:
0
AirportId
:
0
},
res
=>
{
},
res
=>
{
if
(
res
.
resultCode
==
1
){
if
(
res
.
resultCode
==
1
){
if
(
res
.
data
.
length
>
0
){
if
(
res
.
data
.
length
>
0
){
this
.
PlaceList
=
res
.
data
this
.
PlaceList
=
res
.
data
if
(
this
.
type
<
3
&&!
this
.
busInfor
.
desCountryId
){
this
.
getList
()
this
.
busInfor
.
desCountryId
=
res
.
data
[
0
].
Country
this
.
busInfor
.
desCountryName
=
res
.
data
[
0
].
CountryName
this
.
busInfor
.
ThreeCode
=
res
.
data
[
0
].
ThreeCode
this
.
busInfor
.
desCityId
=
res
.
data
[
0
].
CityList
[
0
].
City
this
.
busInfor
.
desCityName
=
res
.
data
[
0
].
CityList
[
0
].
CityName
}
}
if
(
this
.
type
==
3
&&!
this
.
busInfor
.
CountryId
){
this
.
busInfor
.
CountryId
=
res
.
data
[
0
].
Country
this
.
busInfor
.
CountryName
=
res
.
data
[
0
].
CountryName
this
.
busInfor
.
ThreeCode
=
res
.
data
[
0
].
ThreeCode
this
.
busInfor
.
CityId
=
res
.
data
[
0
].
CityList
[
0
].
City
this
.
busInfor
.
CityName
=
res
.
data
[
0
].
CityList
[
0
].
CityName
}
}
})
},
getList
()
{
if
(
this
.
PlaceList
.
length
==
0
){
return
}
}
if
(
this
.
type
<
3
&&!
this
.
busInfor
.
desCountryId
){
this
.
busInfor
.
desCountryId
=
this
.
PlaceList
[
0
].
Country
this
.
busInfor
.
desCountryName
=
this
.
PlaceList
[
0
].
CountryName
this
.
busInfor
.
ThreeCode
=
this
.
PlaceList
[
0
].
ThreeCode
this
.
busInfor
.
desCityId
=
this
.
PlaceList
[
0
].
CityList
[
0
].
City
this
.
busInfor
.
desCityName
=
this
.
PlaceList
[
0
].
CityList
[
0
].
CityName
}
if
(
this
.
type
==
3
&&!
this
.
busInfor
.
CountryId
){
this
.
busInfor
.
CountryId
=
this
.
PlaceList
[
0
].
Country
this
.
busInfor
.
CountryName
=
this
.
PlaceList
[
0
].
CountryName
this
.
busInfor
.
ThreeCode
=
this
.
PlaceList
[
0
].
ThreeCode
this
.
busInfor
.
CityId
=
this
.
PlaceList
[
0
].
CityList
[
0
].
City
this
.
busInfor
.
CityName
=
this
.
PlaceList
[
0
].
CityList
[
0
].
CityName
}
}
})
},
},
getKeyWords
()
{
getKeyWords
()
{
if
(
!
this
.
parameters
.
KeyWords
.
trim
())
return
;
if
(
!
this
.
parameters
.
KeyWords
.
trim
())
return
;
...
...
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