diff --git a/src/assets/scss/modules/visual/houseStatic.scss b/src/assets/scss/modules/visual/houseStatic.scss index 4d9c6da68..b46923af8 100644 --- a/src/assets/scss/modules/visual/houseStatic.scss +++ b/src/assets/scss/modules/visual/houseStatic.scss @@ -114,7 +114,7 @@ width: 100%; .echart-wr{ flex-shrink: 0; - height: 420px; + height: 380px; width: 70%; } .div-tip{ @@ -169,7 +169,7 @@ margin-top:2px; width: 20px; height: 10px; - background: #1B51FF; + background: #ff7800; border-radius: 4px; } diff --git a/src/views/modules/base/community/buildForm.vue b/src/views/modules/base/community/buildForm.vue index 5966fa846..5a9c703f2 100644 --- a/src/views/modules/base/community/buildForm.vue +++ b/src/views/modules/base/community/buildForm.vue @@ -73,6 +73,26 @@ :max="9999" label="总户数"> + + + + + + + + + - - - - 房主姓名 - - - - - - - - 房主手机 - - - - - - - 查询 - 重置 - - - - 新增楼栋 - - 下载楼栋模板 - - - 导入楼栋数据 - - 下载房屋模板 - - - 导入房屋数据 - - - 导出 - 批量删除 - - - - - - - - - - - - - - - - - - - - - - - 查看 - 修改 - - 删除 - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/modules/base/community/buildTable.vue b/src/views/modules/base/community/buildTable.vue index dc67bf6a9..43afa3dfb 100644 --- a/src/views/modules/base/community/buildTable.vue +++ b/src/views/modules/base/community/buildTable.vue @@ -86,6 +86,14 @@ label="楼栋类型" min-width="140"> + + + + diff --git a/src/views/modules/base/community/community copy.vue b/src/views/modules/base/community/community copy.vue deleted file mode 100644 index 2812b0d7c..000000000 --- a/src/views/modules/base/community/community copy.vue +++ /dev/null @@ -1,341 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/modules/base/community/communityTable copy.vue b/src/views/modules/base/community/communityTable copy.vue deleted file mode 100644 index 7edd74bff..000000000 --- a/src/views/modules/base/community/communityTable copy.vue +++ /dev/null @@ -1,793 +0,0 @@ - - - - - 房主姓名 - - - - - - - - 房主手机 - - - - - - - 查询 - 重置 - - - - 新增小区 - - - 下载小区模板 - - - 导入小区数据 - - - 下载楼栋模板 - - - 导入楼栋数据 - - 下载房屋模板 - - - 导入房屋数据 - - - 导出 - 社区二维码 - 批量删除 - - - - - - - - - - - - - - - - - - - - - - - - 查看 - 修改 - - 删除 - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/modules/base/community/roomTable copy.vue b/src/views/modules/base/community/roomTable copy.vue deleted file mode 100644 index ecc109bb6..000000000 --- a/src/views/modules/base/community/roomTable copy.vue +++ /dev/null @@ -1,716 +0,0 @@ - - - - - 房主姓名 - - - - - - - - 房主手机 - - - - - - - - 房屋状态 - - - - - - - - - - 查询 - 重置 - - - - 新增房屋 - - 下载房屋模板 - - 导入房屋数据 - - - 导出 - 批量删除 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 查看 - 修改 - - 删除 - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/modules/visual/basicinfo/houseStatic/houseStatic.vue b/src/views/modules/visual/basicinfo/houseStatic/houseStatic.vue index 85b3c7f9a..da717e6b4 100644 --- a/src/views/modules/visual/basicinfo/houseStatic/houseStatic.vue +++ b/src/views/modules/visual/basicinfo/houseStatic/houseStatic.vue @@ -262,7 +262,7 @@ export default { ldUserRatio: '5%',//流动居民总数占比 }, - userColorArray: ['#1B51FF', '#00E5ED'], + userColorArray: ['#ff7800', '#00E5ED'], userPieData: [], subList: [], @@ -285,10 +285,11 @@ export default { methods: { async getApiData () { - - await this.getHousechart() - await this.getUserchart() - await this.getSubuserhouselist() + this.housePieInitState = false + this.userPieInitState = false + this.getHousechart() + this.getUserchart() + this.getSubuserhouselist() this.getHousePie() this.getUserPie() @@ -296,13 +297,13 @@ export default { housePieInitOk (dom) { console.log('pie准备好了', dom) this.housePieChartS = dom - this.housePieInitState = true + // this.housePieInitState = true }, userPieInitOk (dom) { console.log('pie准备好了', dom) this.userPieChartS = dom - this.userPieInitState = true + // this.userPieInitState = true }, @@ -330,6 +331,7 @@ export default { this.houseData = {} this.$message.error(msg); } + this.housePieInitState = true }, getHousePie () { @@ -411,6 +413,7 @@ export default { this.userData = {} this.$message.error(msg); } + this.userPieInitState = true }, getUserPie () { diff --git a/src/views/modules/visual/basicinfo/houseStatic/options.js b/src/views/modules/visual/basicinfo/houseStatic/options.js index 180d3b55f..5b7e5f5e0 100644 --- a/src/views/modules/visual/basicinfo/houseStatic/options.js +++ b/src/views/modules/visual/basicinfo/houseStatic/options.js @@ -1,10 +1,10 @@ export function housePieOption (_charts) { - const center= ['50%', '200px'] + const center= ['50%', '150px'] return { title: { text: '0', - top: 170, + top: 120, left: 'center', textStyle: { width: '100%', @@ -57,7 +57,7 @@ export function housePieOption (_charts) { itemStyle: { color: 'rgba(40, 101, 250, 0)', width:0, - borderColor: 'rgba(40, 101, 250, 0.5)', + borderColor: 'rgba(40, 101, 250, 1)', borderWidth: 1, borderType: 'dotted' } diff --git a/src/views/modules/visual/basicinfo/houseStatic/userOptions.js b/src/views/modules/visual/basicinfo/houseStatic/userOptions.js index ba1eab7f6..54129ff2b 100644 --- a/src/views/modules/visual/basicinfo/houseStatic/userOptions.js +++ b/src/views/modules/visual/basicinfo/houseStatic/userOptions.js @@ -1,10 +1,10 @@ export function userPieOption (_charts) { - const center= ['50%', '200px'] + const center= ['50%', '150px'] return { title: { text: '0', - top: 170, + top: 120, left: 'center', textStyle: { width: '100%', @@ -59,7 +59,7 @@ export function userPieOption (_charts) { itemStyle: { color: 'rgba(40, 101, 250, 0)', width:0, - borderColor: 'rgba(40, 101, 250, 0.5)', + borderColor: 'rgba(40, 101, 250, 1)', borderWidth: 1, borderType: 'dotted' }