diff --git a/src/views/modules/plugins/stats/factagencyuserhousedaily.vue b/src/views/modules/plugins/stats/factagencyuserhousedaily.vue index 917751d6..ab707517 100644 --- a/src/views/modules/plugins/stats/factagencyuserhousedaily.vue +++ b/src/views/modules/plugins/stats/factagencyuserhousedaily.vue @@ -17,12 +17,12 @@ > --> - + @@ -114,9 +114,9 @@ export default { }, methods: { cascaderClick (nodeData) { - this.dataForm.agencyId = nodeData.agencyId; - this.dataForm.level = nodeData.level - this.$refs.cascaderUnit.checkedValue = nodeData.agencyId; + this.dataForm.objectId = nodeData.objectId; + this.dataForm.objectType = nodeData.objectType + this.$refs.cascaderUnit.checkedValue = nodeData.objectId; this.$refs.cascaderUnit.computePresentText(); this.$refs.cascaderUnit.toggleDropDownVisible(false); @@ -124,16 +124,17 @@ export default { getGridList() { const { user } = this.$store.state this.$http - .post('/gov/org/customeragency/agencygridtree') + .post('/gov/org/icServiceProject/service/serviceScopeTree') .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } else { console.log('获取查询详情成功', res.data) // this.optionsA = res.data + // console.log(this.optionsA); this.optionsA.push(res.data) - this.dataForm.agencyId = res.data.agencyId - this.dataForm.level = res.data.level + this.dataForm.objectId = res.data.objectId + this.dataForm.objectType = res.data.objectType } }) .catch(() => {