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
4cb81355
Commit
4cb81355
authored
Jun 07, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
329b6d7e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
list.vue
pages/hotel/list.vue
+3
-2
list.vue
pages/restaurant/list.vue
+7
-1
list.vue
pages/ticketCoupons/list.vue
+6
-0
No files found.
pages/hotel/list.vue
View file @
4cb81355
...
...
@@ -240,14 +240,14 @@
this
.
showCityList
=
true
},
confirmCity
(
val
){
console
.
log
(
val
)
this
.
searchObj
.
City
=
val
.
ID
this
.
showCityList
=
false
this
.
city
=
val
.
Name
this
.
getDistrict
(
val
.
ID
)
this
.
searchObj
.
District
=
0
this
.
getList
();
this
.
searchObj
.
pageIndex
=
1
this
.
optionsTitle
[
1
]
=
"区域"
this
.
getList
();
},
scroll
:
function
(
e
)
{
this
.
old
.
scrollTop
=
e
.
detail
.
scrollTop
;
...
...
@@ -504,6 +504,7 @@
);
},
changeDistrict
(
val
){
this
.
searchObj
.
pageIndex
=
1
this
.
getList
();
let
res
=
this
.
DistrictOptions
.
filter
(
i
=>
{
return
i
.
value
==
val
})
this
.
optionsTitle
[
1
]
=
res
[
0
].
label
...
...
pages/restaurant/list.vue
View file @
4cb81355
...
...
@@ -236,6 +236,7 @@
},
methods
:
{
orderChange
(
val
){
this
.
msg
.
pageIndex
=
1
this
.
getFoodList
();
let
res
=
this
.
options1
.
filter
(
i
=>
{
return
i
.
value
==
val
})
this
.
optionsTitle
[
0
]
=
res
[
0
].
label
...
...
@@ -302,6 +303,7 @@
// rate:[-1]
// }
this
.
msg
.
DiningPriceType
=
0
this
.
msg
.
pageIndex
=
1
this
.
getFoodList
();
this
.
closeDropdown
();
},
...
...
@@ -328,6 +330,7 @@
// this.$forceUpdate()
// this.searchObj.rateAndPrice=this.tempRateAndPrice
// this.msg.DiningPriceType=this.tempRateAndPrice.rate.toString();
this
.
msg
.
pageIndex
=
1
this
.
getFoodList
();
this
.
closeDropdown
();
},
...
...
@@ -338,6 +341,7 @@
this
.
optionsTitle
[
1
]
=
"分类"
this
.
msg
.
FoodTypeIds
=
0
}
this
.
msg
.
pageIndex
=
1
this
.
getFoodList
();
this
.
closeDropdown
();
},
...
...
@@ -367,7 +371,7 @@
this
.
currentTypeObj
.
newTimespan
=
this
.
rand
(
1000
,
9999
)
this
.
$forceUpdate
()
console
.
log
(
this
.
currentTypeObj
.
newTimespan
)
//
console.log(this.currentTypeObj.newTimespan)
}
},
rand
(
min
,
max
)
{
...
...
@@ -448,6 +452,7 @@
this
.
getDistrict
(
val
.
ID
)
this
.
msg
.
District
=
0
this
.
optionsTitle
[
2
]
=
"区域"
this
.
msg
.
pageIndex
=
1
this
.
getFoodList
();
},
getCity
(){
...
...
@@ -505,6 +510,7 @@
);
},
changeDistrict
(
val
){
this
.
msg
.
pageIndex
=
1
this
.
getFoodList
();
let
res
=
this
.
DistrictOptions
.
filter
(
i
=>
{
return
i
.
value
==
val
})
this
.
optionsTitle
[
2
]
=
res
[
0
].
label
...
...
pages/ticketCoupons/list.vue
View file @
4cb81355
...
...
@@ -229,11 +229,13 @@
this
.
msg
.
IsSameDayBuy
=-
1
;
this
.
msg
.
IsWorryFreeRefund
=-
1
;
this
.
$refs
.
uDropdown
.
close
();
this
.
msg
.
pageIndex
=
1
this
.
getList
()
},
//筛选
surePrice
(){
this
.
$refs
.
uDropdown
.
close
();
this
.
msg
.
pageIndex
=
1
this
.
getList
()
},
...
...
@@ -313,11 +315,13 @@
}
},
orderChange
(
val
){
this
.
msg
.
pageIndex
=
1
this
.
getList
();
let
res
=
this
.
orderOptions
.
filter
(
i
=>
{
return
i
.
value
==
val
})
this
.
optionsTitle
[
0
]
=
res
[
0
].
label
},
typeChange
(
val
){
this
.
msg
.
pageIndex
=
1
this
.
getList
();
let
res
=
this
.
classOptions
.
filter
(
i
=>
{
return
i
.
value
==
val
})
this
.
optionsTitle
[
1
]
=
res
[
0
].
label
...
...
@@ -332,6 +336,7 @@
this
.
getDistrict
(
val
.
ID
)
this
.
msg
.
District
=
0
this
.
optionsTitle
[
2
]
=
"区域"
this
.
msg
.
pageIndex
=
1
this
.
getList
();
},
getCity
(){
...
...
@@ -389,6 +394,7 @@
);
},
changeDistrict
(
val
){
this
.
msg
.
pageIndex
=
1
this
.
getList
();
let
res
=
this
.
DistrictOptions
.
filter
(
i
=>
{
return
i
.
value
==
val
})
this
.
optionsTitle
[
2
]
=
res
[
0
].
label
...
...
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