提交 cc50e3f6 authored 作者: 宋雄's avatar 宋雄

优化

上级 7bc36e74
NODE_ENV=development
# VUE_APP_API_BASE_URL='http://192.168.0.101:9999'
VUE_APP_API_BASE_URL='http://220.203.25.212:9999'
VUE_APP_API_BASE_URL='http://192.168.0.100:9999'
# VUE_APP_API_BASE_URL='http://220.203.25.212:9998'
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
......
NODE_ENV=production
VUE_APP_API_BASE_URL=http://220.203.25.212:9999
VUE_APP_API_BASE_URL=http://220.203.25.212:9998
VUE_APP_CAS_BASE_URL=http://localhost:8888/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
\ No newline at end of file
......@@ -33,9 +33,9 @@
},
},
methods: {
...mapGetters(["avatar"]),
...mapGetters(["userInfo"]),
getAvatar(){
return getFileAccessHttpUrl(this.avatar())
return getFileAccessHttpUrl(this.userInfo().logoUrl)
}
}
}
......
......@@ -25,7 +25,7 @@
<div class="icon" style="background-color:#ffaa00;"><a-icon type="home" /></div>
<div>
<p style="color:#666;margin-bottom:5px;">楼栋总数量</p>
<p style="margin-bottom:0;color:#333;font-size:28px;line-height:1;">{{pageForm.communityCount}}</p>
<p style="margin-bottom:0;color:#333;font-size:28px;line-height:1;">{{pageForm.buildingCount}}</p>
</div>
</div>
</a-col>
......@@ -92,7 +92,7 @@ export default {
this.loading = !this.loading
},
async companyNotice() {
let { result } = await companyNoticeList({ pageNo: 1, pageSize: 9, order: 'desc', column: 'createTime'})
let { result } = await companyNoticeList({ pageNo: 1, pageSize: 9, order: 'desc', column: 'createTime', noticeType: '1'})
this.noticeList = result.records
},
toMore() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论