diff --git a/src/views/modules/plugins/stats/factagencyuserhousedaily.vue b/src/views/modules/plugins/stats/factagencyuserhousedaily.vue index 917751d6..8071612e 100644 --- a/src/views/modules/plugins/stats/factagencyuserhousedaily.vue +++ b/src/views/modules/plugins/stats/factagencyuserhousedaily.vue @@ -1,6 +1,7 @@ @@ -88,10 +124,12 @@ export default { deleteIsBatch: true }, optionsA: [], + totalVisible: false, timeRange: '', dataForm: { id: '' }, + tableData: [] } }, components: { @@ -113,13 +151,30 @@ export default { } }, methods: { + handleTotal () { + this.tableData = [] + this.$http + .get('/data/stats/factAgencyUserHouseDaily/total',{params: this.dataForm}) + .then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } else { + console.log('获取查询详情成功', res.data) + this.tableData.push(res.data) + } + }) + .catch(() => { + return this.$message.error('网络错误') + }) + this.totalVisible = true + }, cascaderClick (nodeData) { this.dataForm.agencyId = nodeData.agencyId; this.dataForm.level = nodeData.level this.$refs.cascaderUnit.checkedValue = nodeData.agencyId; this.$refs.cascaderUnit.computePresentText(); this.$refs.cascaderUnit.toggleDropDownVisible(false); - + }, getGridList() { const { user } = this.$store.state @@ -144,7 +199,7 @@ export default { } + +