黔西南

This commit is contained in:
liuye
2022-12-30 16:26:52 +08:00
parent f81ac447f6
commit 77f06c0526
4 changed files with 36 additions and 2 deletions

View File

@@ -109,6 +109,8 @@
// this.current = 1
// this.getList()
// })
this.getTotal()
this.getListInit()
},
onShow() {
@@ -118,6 +120,7 @@
methods: {
getListInit() {
this.current = 1
this.getList()
},
areaSelect(e) {
this.areaId =e
@@ -129,7 +132,29 @@
clearDept() {
this.deptList = []
this.getListInit()
}
},
getTotal() {
this.$http.post(`/appwxuserfamiliarityrate/wxTopStatistics`).then(res=> {
if(res?.data) {
}
})
},
getList() {
this.$http.post(`/appwxuserfamiliarityrate/list`, null, {
params: {
current: this.current,
// taskTitle: this.taskTitle,
// startTime: this.start,
// endTime: this.end,
// createUserId: this.createUserId,
}
}).then(res=> {
if(res?.data) {
this.list = this.current == 1? res.data.records : [...this.list,...res.data.records]
}
})
},
},
}
</script>