事件上报

This commit is contained in:
liuye
2023-05-11 08:29:53 +08:00
parent 69f618f49b
commit 12df590eb7
2 changed files with 5 additions and 2 deletions

View File

@@ -83,6 +83,8 @@ export default {
} }
}, },
onLoad() { onLoad() {
this.searchGrid.girdId = this.user.girdId
this.searchGrid.girdName = this.user.girdName
uni.$on('nextList', () => { uni.$on('nextList', () => {
this.current++ this.current++
this.getList() this.getList()
@@ -94,7 +96,8 @@ export default {
}, },
onShow() { onShow() {
document.title = this.user.corpId == 'wpytYEDgAACQq2uZ5x54MvlJ9fgvSPXQ' ? '微心愿' : '随手拍' document.title = '事件上报'
}, },
created() { created() {
this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory').then(() => { this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory').then(() => {

View File

@@ -85,7 +85,7 @@ export default {
}, },
methods: { methods: {
getStatistics() { getStatistics() {
this.$http.post('/app/appclapeventinfo/countByGirdMember').then((res) => { this.$http.post('/app/appresidentreportinfo/countByGirdMember').then((res) => {
if (res.code == 0) { if (res.code == 0) {
if(res.data.businessCountMap['受理率']) { if(res.data.businessCountMap['受理率']) {
res.data.businessCountMap['受理率'] = Number(res.data.businessCountMap['受理率'] * 100).toFixed(1) res.data.businessCountMap['受理率'] = Number(res.data.businessCountMap['受理率'] * 100).toFixed(1)