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
39dc8bda
Commit
39dc8bda
authored
Jun 23, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
9299800b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
22 deletions
+15
-22
HotelList.vue
src/components/Hotel/DiDa/HotelList.vue
+15
-22
No files found.
src/components/Hotel/DiDa/HotelList.vue
View file @
39dc8bda
...
...
@@ -169,7 +169,7 @@
<span>
<em>
{{
$t
(
'system.table_country'
)
}}
</em>
<el-select
v-model=
"msg.Country"
filterable
@
change=
"getCityList(msg.Country,'Destination')"
:placeholder=
"$t('hotel.hotel_province')"
clearable
@
clear=
"msg.
Province='',msg.
City=''"
>
:placeholder=
"$t('hotel.hotel_province')"
clearable
@
clear=
"msg.City=''"
>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
v-for=
"item in countryList"
:key=
"item.ISOCountryCode"
:label=
"item.CountryName_CN"
:value=
"item.ISOCountryCode"
></el-option>
...
...
@@ -179,8 +179,8 @@
<li>
<span>
<em>
{{
$t
(
'objFill.v101.hote.shengfen'
)
}}
</em>
<el-select
v-model=
"msg.DestinationID"
filterable
remote
reserve-keyword
:placeholder=
"$t('pub.PleaseKeyWords')"
:remote-method=
"remoteMethod"
:loading=
"loading"
>
<el-select
v-model=
"msg.DestinationID"
filterable
remote
reserve-keyword
:
placeholder=
"$t('pub.PleaseKeyWords')"
:
remote-method=
"remoteMethod"
:loading=
"loading"
>
<el-option
:key=
"0"
:value=
"0"
:label=
"$t('pub.pleaseSel')"
></el-option>
<el-option
v-for=
"item in cityList"
:key=
"item.CityCode"
:label=
"item.CityName_CN"
:value=
"item.CityCode"
>
</el-option>
...
...
@@ -266,7 +266,8 @@
<span
class=
"nd-price-tag__price nd-price-tag"
style=
"font-weight: bolder !important;font-size: 20px;"
>
{{item.lowrateBySetCurrency}}
</span>
<span
class=
"nd-price-tag"
>
{{$t('op.Qi')}}
</span>
<el-button
round
class=
"nd-reserve-btn"
@
click=
"goUrlT('HotelDetails', item.hotelId)"
>
{{$t('objFill.v101.hote.lijiyud')}}
</el-button>
<el-button
round
class=
"nd-reserve-btn"
@
click=
"goUrlT('HotelDetails', item.hotelId)"
>
{{$t('objFill.v101.hote.lijiyud')}}
</el-button>
</div>
</div>
</div>
...
...
@@ -295,7 +296,7 @@
//只查询日本
Country
:
"JP"
,
DestinationID
:
''
,
City
:
0
,
City
:
""
,
//星级
Star
:
''
,
//价格等级
...
...
@@ -318,7 +319,6 @@
//国家
countryList
:
[],
cityList
:
[],
district
:
[],
beforeCheck
:
{
disabledDate
:
time
=>
{
if
(
this
.
msg
.
StartDate
)
{
...
...
@@ -362,6 +362,7 @@
}
},
getCityList
(
ID
,
Type
)
{
//根据省份获取城市
let
msg
=
{};
if
(
Type
===
"Destination"
)
{
...
...
@@ -370,24 +371,16 @@
Type
:
Type
};
this
.
cityList
=
[];
}
else
{
msg
=
{
ParentCityCode
:
ID
,
Type
:
Type
};
this
.
district
=
[];
}
this
.
apipost
(
"dmc_post_GetDiDaCityBaseInfo"
,
msg
,
res
=>
{
if
(
Type
===
"Destination"
)
{
if
(
msg
.
CountryCode
)
{
this
.
apipost
(
"dmc_post_GetDiDaCityBaseInfo"
,
msg
,
res
=>
{
this
.
cityList
=
res
.
data
.
data
;
}
else
{
this
.
district
=
res
.
data
.
data
;
}
},
);
},
);
}
},
//获取国家
getCountryList
()
{
...
...
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