Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
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
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
罗超
bigwood
Commits
9bd87573
Commit
9bd87573
authored
Aug 25, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
61dd8446
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
30 deletions
+27
-30
DidaHeader.vue
src/components/scattered/dida/DidaHeader.vue
+26
-30
DidaListTable.vue
src/components/scattered/dida/DidaListTable.vue
+1
-0
No files found.
src/components/scattered/dida/DidaHeader.vue
View file @
9bd87573
...
@@ -4,12 +4,12 @@
...
@@ -4,12 +4,12 @@
v-if=
"$q.platform.is.desktop"
v-if=
"$q.platform.is.desktop"
style=
"min-width: 190px"
style=
"min-width: 190px"
unelevated
unelevated
v-model=
"
placeKeyWords
"
v-model=
"
search.CityCode
"
dense
dense
:options=
"Areas"
:options=
"Areas"
emit-value
emit-value
option-label=
"
name
"
option-label=
"
CityName_CN
"
option-value=
"
nam
e"
option-value=
"
CityCod
e"
map-options
map-options
:label=
"$t('hotel.area')"
:label=
"$t('hotel.area')"
standout
standout
...
@@ -137,12 +137,12 @@
...
@@ -137,12 +137,12 @@
<div
class=
"q-my-md"
v-if=
"$q.platform.is.mobile"
>
<div
class=
"q-my-md"
v-if=
"$q.platform.is.mobile"
>
<q-select
<q-select
unelevated
unelevated
v-model=
"
placeKeyWords
"
v-model=
"
search.CityCode
"
dense
dense
:options=
"Areas"
:options=
"Areas"
emit-value
emit-value
option-label=
"
name
"
option-label=
"
CityName_CN
"
option-value=
"
nam
e"
option-value=
"
CityCod
e"
map-options
map-options
:label=
"$t('hotel.area')"
:label=
"$t('hotel.area')"
standout
standout
...
@@ -380,7 +380,7 @@ export default defineComponent({
...
@@ -380,7 +380,7 @@ export default defineComponent({
const
{
t
}
=
useI18n
();
const
{
t
}
=
useI18n
();
const
data
=
reactive
({
const
data
=
reactive
({
scrollStyle
:
{}
as
any
,
scrollStyle
:
{}
as
any
,
Areas
:
[]
as
Array
<
HotelArea
>
,
//区域
Areas
:
[]
as
any
,
//区域
cascader
:
{
cascader
:
{
addressValue
:
null
,
addressValue
:
null
,
}
as
any
,
}
as
any
,
...
@@ -435,18 +435,9 @@ export default defineComponent({
...
@@ -435,18 +435,9 @@ export default defineComponent({
search
.
arrivalDate
=
data
.
dateRange
.
from
;
search
.
arrivalDate
=
data
.
dateRange
.
from
;
search
.
departureDate
=
data
.
dateRange
.
to
;
search
.
departureDate
=
data
.
dateRange
.
to
;
data
.
hotelsRates
=
useHotel
.
getHotelRate
();
data
.
hotelsRates
=
useHotel
.
getHotelRate
();
data
.
Areas
=
useHotel
.
getHotelArea
();
data
.
HotelMealTypes
=
useHotel
.
getHotelMeal
();
data
.
HotelMealTypes
=
useHotel
.
getHotelMeal
();
data
.
HotelConceptTypes
=
useHotel
.
getHotelConcept
();
data
.
HotelConceptTypes
=
useHotel
.
getHotelConcept
();
if
(
data
.
keyWords
==
""
)
{
search
.
freewordType
=
1
;
search
.
DestinationID
=
data
.
placeKeyWords
;
}
else
{
search
.
freewordType
=
2
;
search
.
DestinationID
=
data
.
keyWords
;
}
const
methods
=
{
const
methods
=
{
//设置房间里面成人数改变总成人数和儿童数
//设置房间里面成人数改变总成人数和儿童数
setPeopleNum
()
{
setPeopleNum
()
{
...
@@ -502,16 +493,17 @@ export default defineComponent({
...
@@ -502,16 +493,17 @@ export default defineComponent({
);
);
},
},
setData
()
{
setData
()
{
localStorage
.
removeItem
(
DirtionmaryHelper
.
SCATTERED_HOTEL_DATE
);
// localStorage.removeItem(DirtionmaryHelper.SCATTERED_HOTEL_DATE);
let
d
=
{
// let d = {
searchroomGroup
:
search
.
searchroomGroup
,
// searchroomGroup: search.searchroomGroup,
room
:
data
.
room
,
// room: data.room,
auditNum
:
data
.
auditNum
,
// auditNum: data.auditNum,
childNum
:
data
.
childNum
,
// childNum: data.childNum,
arrivalDate
:
search
.
arrivalDate
,
// arrivalDate: search.arrivalDate,
departureDate
:
search
.
departureDate
,
// departureDate: search.departureDate,
};
// };
localStorage
.
setItem
(
DirtionmaryHelper
.
SCATTERED_HOTEL_DATE
,
JSON
.
stringify
(
d
));
//先不缓存
//localStorage.setItem(DirtionmaryHelper.SCATTERED_HOTEL_DATE, JSON.stringify(d));
},
},
//获取道旅房型
//获取道旅房型
getdidaPropertyCategory
()
{
getdidaPropertyCategory
()
{
...
@@ -545,18 +537,22 @@ export default defineComponent({
...
@@ -545,18 +537,22 @@ export default defineComponent({
var
cityParm
=
{
var
cityParm
=
{
CountryCode
:
"JP"
,
CountryCode
:
"JP"
,
};
};
var
newCity
=
[];
var
newCity
=
[]
as
any
;
DidaService
.
GetDidaCity
(
cityParm
).
then
((
res
)
=>
{
DidaService
.
GetDidaCity
(
cityParm
).
then
((
res
)
=>
{
console
.
log
(
"getdidaCity"
,
res
);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempArray
=
res
.
data
.
data
;
var
tempArray
=
res
.
data
.
data
;
if
(
tempArray
&&
tempArray
.
length
>
0
)
{
if
(
tempArray
&&
tempArray
.
length
>
0
)
{
tempArray
.
forEach
((
item
)
=>
{
tempArray
.
forEach
((
item
)
=>
{
if
(
item
.
Type
==
"City"
)
{
if
(
item
.
Type
==
"City"
)
{
newCity
.
push
({});
var
obj
=
{
CityCode
:
item
.
CityCode
,
CityName_CN
:
item
.
CityName_CN
,
}
newCity
.
push
(
obj
);
}
}
});
});
}
}
data
.
Areas
=
newCity
;
}
}
});
});
},
},
...
...
src/components/scattered/dida/DidaListTable.vue
View file @
9bd87573
...
@@ -266,6 +266,7 @@ export default defineComponent({
...
@@ -266,6 +266,7 @@ export default defineComponent({
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
10
,
pageSize
:
10
,
pageCount
:
0
,
pageCount
:
0
,
rowsPerPage
:
10
,
sort
:
1
,
sort
:
1
,
},
},
pageTitle
:
""
as
string
|
undefined
,
pageTitle
:
""
as
string
|
undefined
,
...
...
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