Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eMall_miniapp
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
高宇
eMall_miniapp
Commits
bae180c0
Commit
bae180c0
authored
Jul 27, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
缴费记录
parent
65491e6c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
23 deletions
+14
-23
index.vue
homePage/parkingService/ParkingRecord/index.vue
+4
-12
index.vue
homePage/parkingService/index.vue
+6
-1
index.vue
homePage/parkingService/paymentRecord/index.vue
+4
-10
No files found.
homePage/parkingService/ParkingRecord/index.vue
View file @
bae180c0
...
...
@@ -66,22 +66,14 @@
onLoad
(
option
)
{
this
.
tenantId
=
option
.
tenantId
this
.
parkingId
=
option
.
parkingId
},
onShow
()
{
this
.
getParking
()
},
methods
:
{
getParking
(){
const
that
=
this
uni
.
getStorage
({
key
:
'business'
,
success
:
function
(
res
){
that
.
$u
.
get
(
'/user/car/parkingPaymentList?tenantId='
+
that
.
tenantId
+
'&parkingId='
+
that
.
parkingId
).
then
(
res
=>
{
this
.
$u
.
get
(
'/user/car/parkingPaymentList?tenantId='
+
this
.
tenantId
+
'&parkingId='
+
this
.
parkingId
).
then
(
res
=>
{
console
.
log
(
'res'
,
res
);
that
.
parkingList
=
res
.
records
that
.
cardId
=
1
})
}
this
.
parkingList
=
res
.
records
this
.
cardId
=
1
})
},
}
...
...
homePage/parkingService/index.vue
View file @
bae180c0
...
...
@@ -29,7 +29,7 @@
</view>
<view
class=
"item-list-right"
>
<view
class=
"button"
>
<u-button
type=
"error"
size=
"mini"
shape=
"square"
>
查询缴费
</u-button>
<u-button
type=
"error"
size=
"mini"
shape=
"square"
@
click=
"getPayment"
>
查询缴费
</u-button>
</view>
</view>
</view>
...
...
@@ -189,6 +189,11 @@
uni
.
navigateTo
({
url
:
'/homePage/parkingService/ParkingRecord/index?tenantId='
+
this
.
tenantId
+
'&parkingId='
+
this
.
parkingId
})
},
getPayment
()
{
uni
.
navigateTo
({
url
:
'/homePage/parkingService/paymentRecord/index?tenantId='
+
this
.
tenantId
+
'&parkingId='
+
this
.
parkingId
})
}
}
};
...
...
homePage/parkingService/paymentRecord/index.vue
View file @
bae180c0
...
...
@@ -71,16 +71,10 @@
},
methods
:
{
getParking
(){
const
that
=
this
uni
.
getStorage
({
key
:
'business'
,
success
:
function
(
res
){
that
.
$u
.
get
(
'/user/car/parkingPaymentList?tenantId='
+
that
.
tenantId
+
'&parkingId='
+
that
.
parkingId
).
then
(
res
=>
{
this
.
$u
.
get
(
'/user/car/parkingPaymentList?tenantId='
+
this
.
tenantId
+
'&parkingId='
+
this
.
parkingId
).
then
(
res
=>
{
console
.
log
(
'res'
,
res
);
that
.
parkingList
=
res
.
records
that
.
cardId
=
1
})
}
this
.
parkingList
=
res
.
records
this
.
cardId
=
1
})
},
}
...
...
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