From 16e83d202b3c7df620ad36c00c23bc9421e13b4c Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Tue, 31 May 2022 11:06:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=BB=E8=AE=A1=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stats/factagencyuserhousedaily.vue | 166 ++++++++++++++++-- 1 file changed, 147 insertions(+), 19 deletions(-) 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 { } + +