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
deb6fc59
Commit
deb6fc59
authored
Apr 25, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
7f0f027c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
1012 deletions
+13
-1012
orders.vue
pages/AggregateOrders/components/orders.vue
+2
-1
search copy.vue
pages/hotel/components/search copy.vue
+0
-983
detail.vue
pages/hotel/detail.vue
+1
-0
list.vue
pages/hotel/list.vue
+1
-14
mapList.vue
pages/hotel/mapList.vue
+4
-9
orderdetails.vue
pages/hotel/orderdetails.vue
+5
-5
No files found.
pages/AggregateOrders/components/orders.vue
View file @
deb6fc59
...
@@ -190,7 +190,7 @@
...
@@ -190,7 +190,7 @@
// }
// }
},
},
// 酒店详情
getOrderDetail
(
id
)
{
getOrderDetail
(
id
)
{
let
msg
=
{
let
msg
=
{
orderId
:
id
,
orderId
:
id
,
...
@@ -247,6 +247,7 @@
...
@@ -247,6 +247,7 @@
}
}
);
);
},
},
// 酒店支付
submitB2COrderHandler
(){
submitB2COrderHandler
(){
let
userInfo
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
let
userInfo
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
let
model
=
this
.
orderData
.
parmResultRoomInfo
let
model
=
this
.
orderData
.
parmResultRoomInfo
...
...
pages/hotel/components/search copy.vue
deleted
100644 → 0
View file @
7f0f027c
This diff is collapsed.
Click to expand it.
pages/hotel/detail.vue
View file @
deb6fc59
...
@@ -688,6 +688,7 @@
...
@@ -688,6 +688,7 @@
},
1000
);
},
1000
);
}
}
},
err
=>
{
},
err
=>
{
this
.
DidaHotelRoomDetails
=
{};
this
.
loading
=
false
this
.
loading
=
false
uni
.
hideLoading
()
uni
.
hideLoading
()
uni
.
showToast
({
uni
.
showToast
({
...
...
pages/hotel/list.vue
View file @
deb6fc59
...
@@ -78,9 +78,6 @@
...
@@ -78,9 +78,6 @@
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
apimc
=
this
.
$uiConfig
.
mainColor
;
this
.
apimc
=
this
.
$uiConfig
.
mainColor
;
if
(
options
&&
options
.
Name
)
{
this
.
searchObj
.
KeyWords
=
options
.
KeyWords
;
}
},
},
created
()
{
created
()
{
uni
.
setNavigationBarTitle
({
uni
.
setNavigationBarTitle
({
...
@@ -146,14 +143,6 @@
...
@@ -146,14 +143,6 @@
this
.
status
=
"nomore"
;
this
.
status
=
"nomore"
;
}
}
},
},
chosenMorewhere
(
obj
)
{
if
(
obj
.
IsCheck
==
0
)
{
obj
.
IsCheck
=
1
;
}
else
{
obj
.
IsCheck
=
0
;
}
this
.
research
();
},
change
(
item
)
{
change
(
item
)
{
this
.
searchObj
=
{
this
.
searchObj
=
{
...
this
.
searchObj
,
...
this
.
searchObj
,
...
@@ -181,9 +170,7 @@
...
@@ -181,9 +170,7 @@
//获取列表数据
//获取列表数据
getList
(
type
)
{
getList
(
type
)
{
if
(
this
.
showLoading
)
return
if
(
this
.
showLoading
)
return
uni
.
showLoading
({
uni
.
showLoading
();
title
:
"加载中"
,
});
this
.
showLoading
=
true
;
this
.
showLoading
=
true
;
if
(
type
==
1
)
{
if
(
type
==
1
)
{
this
.
HotelList
=
[];
this
.
HotelList
=
[];
...
...
pages/hotel/mapList.vue
View file @
deb6fc59
...
@@ -171,9 +171,6 @@
...
@@ -171,9 +171,6 @@
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
mc
=
this
.
$uiConfig
.
mainColor
;
this
.
mc
=
this
.
$uiConfig
.
mainColor
;
if
(
options
&&
options
.
Name
)
{
this
.
searchObj
.
Name
=
options
.
Name
;
}
if
(
options
&&
options
.
msg
)
{
if
(
options
&&
options
.
msg
)
{
this
.
searchObj
=
JSON
.
parse
(
decodeURIComponent
(
options
.
msg
))
this
.
searchObj
=
JSON
.
parse
(
decodeURIComponent
(
options
.
msg
))
this
.
pageTitle
=
this
.
searchObj
.
CityName
this
.
pageTitle
=
this
.
searchObj
.
CityName
...
@@ -329,7 +326,7 @@
...
@@ -329,7 +326,7 @@
async
getList
(
type
)
{
async
getList
(
type
)
{
if
(
this
.
showLoading
)
return
if
(
this
.
showLoading
)
return
this
.
showLoading
=
true
this
.
showLoading
=
true
uni
.
showLoading
(
{
title
:
"加载中"
,
mask
:
true
}
);
uni
.
showLoading
();
this
.
searchObj
.
QStars
=
this
.
tempRateAndPrice
.
rate
.
toString
();
this
.
searchObj
.
QStars
=
this
.
tempRateAndPrice
.
rate
.
toString
();
if
(
type
==
1
||
this
.
searchObj
.
pageIndex
==
1
)
{
if
(
type
==
1
||
this
.
searchObj
.
pageIndex
==
1
)
{
this
.
HotelList
=
[];
this
.
HotelList
=
[];
...
@@ -357,9 +354,7 @@
...
@@ -357,9 +354,7 @@
length
=
this
.
HotelList
.
length
length
=
this
.
HotelList
.
length
}
}
this
.
setMarkers
(
res
.
data
.
pageData
)
this
.
setMarkers
(
res
.
data
.
pageData
)
this
.
page_count
=
res
.
data
.
pageCount
;
this
.
page_count
=
res
.
data
.
pageCount
;
this
.
prevCurrent
=
length
-
1
this
.
prevCurrent
=
length
-
1
if
((
length
-
1
)
==
this
.
current
){
if
((
length
-
1
)
==
this
.
current
){
this
.
nextCurrent
=
0
this
.
nextCurrent
=
0
...
@@ -373,11 +368,11 @@
...
@@ -373,11 +368,11 @@
);
);
},
},
async
setMarkers
(
pageData
){
async
setMarkers
(
pageData
){
if
(
pageData
.
length
==
0
)
return
if
(
pageData
.
length
==
0
)
return
for
(
let
i
=
0
;
i
<
pageData
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
pageData
.
length
;
i
++
)
{
this
.
includePoints
.
push
({
this
.
includePoints
.
push
({
latitude
:
pageData
[
i
].
latitude
+
i
*
0.00001
,
latitude
:
pageData
[
i
].
latitude
,
longitude
:
pageData
[
i
].
longitude
+
i
*
0.00001
,
longitude
:
pageData
[
i
].
longitude
,
})
})
let
obj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
markersObj
))
let
obj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
markersObj
))
obj
=
{
obj
=
{
...
...
pages/hotel/orderdetails.vue
View file @
deb6fc59
...
@@ -278,17 +278,17 @@
...
@@ -278,17 +278,17 @@
RatePlanList
:
null
,
RatePlanList
:
null
,
HotelMealTypes
:
[],
HotelMealTypes
:
[],
orderMsg
:
{
orderMsg
:
{
ArrivalTime
:
'
14:00
'
,
//预计到达时间
ArrivalTime
:
''
,
//预计到达时间
EmployeeIdStr
:
""
,
//销售id
EmployeeIdStr
:
""
,
//销售id
CheckInDate
:
""
,
//到店时间
CheckInDate
:
""
,
//到店时间
RatePlanID
:
""
,
RatePlanID
:
""
,
CheckOutDate
:
""
,
//离店时间
CheckOutDate
:
""
,
//离店时间
RoomCount
:
""
,
//房间数量
RoomCount
:
""
,
//房间数量
guestLastName
:
"
张
"
,
//英文姓
guestLastName
:
""
,
//英文姓
guestFirstName
:
"
无误
"
,
//英文名
guestFirstName
:
""
,
//英文名
guestAddress
:
""
,
guestAddress
:
""
,
guestPhoneNumber
:
"
13344445555
"
,
guestPhoneNumber
:
""
,
guestEmail
:
"
123@qq.com
"
,
//Email
guestEmail
:
""
,
//Email
BookingID
:
""
,
BookingID
:
""
,
HotelName
:
""
,
//酒店名称
HotelName
:
""
,
//酒店名称
HotelPic
:
""
,
//酒店封面
HotelPic
:
""
,
//酒店封面
...
...
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