cropAreaId
This commit is contained in:
@@ -99,8 +99,8 @@ export default {
|
||||
},
|
||||
],
|
||||
currentTabs: 0,
|
||||
userList: [],
|
||||
data: [{name: '123'}],
|
||||
totalInfo: {},
|
||||
data: [],
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -110,13 +110,13 @@ export default {
|
||||
onLoad() {
|
||||
this.areaId = this.user.areaId
|
||||
this.areaName = this.user.areaName
|
||||
// this.getList()
|
||||
// this.getUserList()
|
||||
this.getList()
|
||||
this.getTotal()
|
||||
|
||||
uni.$on('updateLists', () => {
|
||||
this.current = 1
|
||||
this.getList()
|
||||
this.getUserList()
|
||||
this.getTotal()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
@@ -125,7 +125,7 @@ export default {
|
||||
methods: {
|
||||
getList() {
|
||||
this.$http
|
||||
.post('/app/appepidemicreportmember/list', null, {
|
||||
.post('/app/appepidemicpreventionhealthreportinfo/list', null, {
|
||||
params: { size: this.size, current: this.current, status: this.currentTabs == 1 ? '0' : '', areaId: this.areaId, name: this.keyword },
|
||||
})
|
||||
.then((res) => {
|
||||
@@ -142,10 +142,10 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
getUserList() {
|
||||
this.$http.post(`/app/appepidemicreportmember/statistic?areaId=${this.areaId}`).then((res) => {
|
||||
getTotal() {
|
||||
this.$http.post(`/app/appepidemicpreventionhealthreportinfo/listStatistics?areaId=${this.areaId}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.userList = res.data
|
||||
// this.userList = res.data
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -159,7 +159,7 @@ export default {
|
||||
areaSelect(e) {
|
||||
this.areaId = e
|
||||
this.getList()
|
||||
this.getUserList()
|
||||
this.getTotal()
|
||||
},
|
||||
|
||||
change(index) {
|
||||
|
||||
Reference in New Issue
Block a user