From 98c817ed9c015b50bfa4cb04d4d718d767a071d5 Mon Sep 17 00:00:00 2001
From: GULIMMO <2820890765@qq.com>
Date: Sat, 11 Nov 2023 19:45:59 +0800
Subject: [PATCH] 门牌码信息接口更新
---
subPackage/workbench/views/csjl.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/subPackage/workbench/views/csjl.vue b/subPackage/workbench/views/csjl.vue
index 0a12603..8a415ee 100644
--- a/subPackage/workbench/views/csjl.vue
+++ b/subPackage/workbench/views/csjl.vue
@@ -61,11 +61,13 @@
size: 10
},
tabsType: 1,
- status: 'nomore'
+ status: 'nomore',
+ currentRole: {}
}
},
onShow() {
- this.recordsData = []
+ this.recordsData = []
+ this.currentRole = uni.getStorageSync('activeRole')
this.getrRecordList()
},
onReachBottom() {
@@ -74,7 +76,9 @@
},
methods: {
async getrRecordList(placeName = this.iptContext, isPerfect = this.tabsType) {
- this.status = 'loadmore'
+ this.status = 'loadmore'
+ const { roleName } = this.currentRole
+ console.log(this.currentRole);
const {
code,
data: {
@@ -82,7 +86,8 @@
}
} = await getLocationRecord({
placeName,
- isPerfect,
+ isPerfect,
+ roleName,
...this.pagingParams
})
if (code !== 200) {
--
Gitblit v1.9.3