diff --git a/src/views/modules/plugins/stats/factagencyuserhousedaily.vue b/src/views/modules/plugins/stats/factagencyuserhousedaily.vue index b12ab5ff..7f0392fd 100644 --- a/src/views/modules/plugins/stats/factagencyuserhousedaily.vue +++ b/src/views/modules/plugins/stats/factagencyuserhousedaily.vue @@ -17,13 +17,13 @@ > --> - + + 0){ - this.dataForm.agencyId = value[1] - }else{ - this.dataForm.agencyId = null - } + 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 @@ -133,6 +131,8 @@ export default { console.log('获取查询详情成功', res.data) // this.optionsA = res.data this.optionsA.push(res.data) + this.dataForm.agencyId = res.data.agencyId + this.dataForm.level = res.data.level } }) .catch(() => {