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
77857d75
Commit
77857d75
authored
Jan 17, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
09cd3b66
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
17 deletions
+19
-17
ListHeader.vue
src/components/ticket/list/ListHeader.vue
+3
-3
vehiclePopover.vue
src/components/vehicle/vehiclePopover.vue
+2
-3
HotelList.vue
src/pages/hotel/HotelList.vue
+13
-11
index.vue
src/pages/vehicle/index.vue
+1
-0
No files found.
src/components/ticket/list/ListHeader.vue
View file @
77857d75
...
...
@@ -11,8 +11,9 @@
@
update:model-value=
"dateRangeHandler"
></q-date>
</q-popup-proxy>
</q-field>
<q-input
v-model=
"searchClone.Name"
standout
:class=
"
{ 'q-ml-lg': $q.platform.is.desktop, 'col': $q.platform.is.mobile }"
style="min-width:150px;" dense :label="$t('v102.ticket.name')" />
<q-input
v-model=
"searchClone.Name"
standout
:class=
"
{ 'q-ml-lg': $q.platform.is.desktop, 'col': $q.platform.is.mobile }" style="min-width:150px;" dense
:label="$t('v102.ticket.name')" />
<div
class=
"col"
v-if=
"$q.platform.is.desktop"
></div>
<q-btn
v-if=
"searchClone.ViewType == 1"
:round=
"$q.platform.is.mobile"
:dense=
"$q.platform.is.mobile"
flat
:icon=
"$q.platform.is.desktop ? 'view_list' : 'view_stream'"
class=
"bg-grey-3 hover q-mr-md q-ml-md"
color=
"dark"
...
...
@@ -52,7 +53,6 @@
<q-input
v-model=
"searchClone.EndPrice"
class=
"col"
dense
mask=
"#.##"
reverse-fill-mask
ftype=
"text"
standout
:label=
"$t('hotel.maxPrice')"
/>
</div>
</q-card>
</q-popup-proxy>
</q-btn>
...
...
src/components/vehicle/vehiclePopover.vue
View file @
77857d75
...
...
@@ -26,7 +26,7 @@
:label=
"$t('v102.vehicle.title5')"
/>
</div>
<div
class=
"flex2"
>
<q-input
v-model=
"search.PeopleNum"
style=
"width: 172px"
class=
"q-mr-md"
dense
mask=
"#.##"
<q-input
v-model=
"search.PeopleNum"
style=
"width: 172px"
class=
"q-mr-md"
dense
mask=
"#.##"
reverse-fill-mask
ftype=
"text"
standout
:label=
"$t('v102.vehicle.title6')"
/>
</div>
<div
class=
"q-my-md"
style=
"margin-right: 10px;"
>
...
...
@@ -40,9 +40,8 @@
</q-popup-proxy>
</q-field>
</div>
<q-input
@
blur=
"checkInteger()"
v-model=
"search.UseDayNum"
class=
"q-mr-md"
dense
mask=
"#.##"
<q-input
@
blur=
"checkInteger()"
v-model=
"search.UseDayNum"
class=
"q-mr-md"
dense
mask=
"#.##"
reverse-fill-mask
ftype=
"text"
standout
:label=
"$t('v102.vehicle.title8')"
/>
<q-input
class=
"q-mr-md"
style=
''
v-model=
"search.GuideInfo"
dense
standout
:label=
"$t('v102.vehicle.title10')"
/>
<q-input
class=
"q-mr-md"
style=
''
v-model=
"search.TeamName"
dense
standout
...
...
src/pages/hotel/HotelList.vue
View file @
77857d75
<
template
>
<div
class=
"fix-height-subpage column no-wrap q-pa-md"
>
<list-header></list-header>
<div
class=
"col q-mt-md"
:class=
"
{
'light-shadow q-pa-md bg-white rounded-border':$q.platform.is.desktop
}">
<div
class=
"col q-mt-md"
:class=
"
{
'light-shadow q-pa-md bg-white rounded-border': $q.platform.is.desktop
}">
<list-table></list-table>
</div>
<hotel-tips></hotel-tips>
...
...
@@ -38,28 +38,28 @@ export default defineComponent({
Star
:
0
,
PriceLevel
:
0
,
Supplier
:
0
,
MaxPrice
:
''
,
MinPrice
:
''
MaxPrice
:
''
,
MinPrice
:
''
})
provide
(
DirtionmaryHelper
.
HOTEL_QUERY_PARAM
,
search
)
const
HotelCarList
=
ref
<
Array
<
any
>>
([])
const
cacheCars
=
localStorage
.
getItem
(
DirtionmaryHelper
.
HOTEL_HOTELCARS_CACHE
)
if
(
cacheCars
)
{
let
cacheCarArray
=
JSON
.
parse
(
cacheCars
).
filter
((
x
:
any
)
=>
date
.
getDateDiff
(
new
Date
(
x
.
Date
),
new
Date
(),
'days'
)
>=
20
)
if
(
cacheCars
)
{
let
cacheCarArray
=
JSON
.
parse
(
cacheCars
).
filter
((
x
:
any
)
=>
date
.
getDateDiff
(
new
Date
(
x
.
Date
),
new
Date
(),
'days'
)
>=
20
)
HotelCarList
.
value
=
cacheCarArray
}
provide
(
DirtionmaryHelper
.
HOTEL_CAR_LIST
,
HotelCarList
)
const
updateObj
=
ref
<
any
>
({})
provide
(
DirtionmaryHelper
.
HOTEL_UPDATEHOTEL_CAR
,
updateObj
)
provide
(
DirtionmaryHelper
.
HOTEL_UPDATEHOTEL_CAR
,
updateObj
)
const
orderstatus
=
ref
(
false
)
provide
(
DirtionmaryHelper
.
HOTEL_CAR_ORDER_STATUS
,
orderstatus
)
provide
(
DirtionmaryHelper
.
HOTEL_CAR_ORDER_STATUS
,
orderstatus
)
const
HotelLengths
=
ref
(
0
)
provide
(
DirtionmaryHelper
.
HOTEL_CAR_ORDER_LENGTH
,
HotelLengths
)
provide
(
DirtionmaryHelper
.
HOTEL_CAR_ORDER_LENGTH
,
HotelLengths
)
const
menu
=
inject
(
DirtionmaryHelper
.
MENU_KEYS
)
as
any
menu
.
value
=
2
const
menu
=
inject
(
DirtionmaryHelper
.
MENU_KEYS
)
as
any
menu
.
value
=
2
const
methods
=
{}
return
{
...
toRefs
(
data
),
...
...
@@ -69,4 +69,6 @@ export default defineComponent({
})
</
script
>
<
style
></
style
>
<
style
>
</
style
>
src/pages/vehicle/index.vue
View file @
77857d75
...
...
@@ -271,6 +271,7 @@ export default defineComponent({
// console.log('444')
data
.
pages
.
pageIndex
=
1
methods
.
initHotel
()
data
.
showdetails
=
false
data
.
showPriceList
=
false
},
// 翻页
...
...
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