mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
优化首页反馈
This commit is contained in:
parent
f2020fe527
commit
7c6854c624
@ -1,9 +1,9 @@
|
||||
<div class="index-1-right-1">
|
||||
<div class="index-title"><span>小区公告</span></div>
|
||||
<div class="index-title"><span>业主反馈</span></div>
|
||||
<ul id="pool" style="overflow-y: scroll;height: 100%;">
|
||||
<li class="flex justify-between padding-top-sm" v-if="!indexNoticeInfo.notices || indexNoticeInfo.notices.length < 1">
|
||||
<div class="vc-index-notice-title">
|
||||
当前没有公告信息
|
||||
当前没有业主反馈内容
|
||||
</div>
|
||||
<div class="vc-index-notice-time">
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
</li>
|
||||
<li class="flex justify-between padding-top-sm" v-for="(item,index) in indexNoticeInfo.notices" v-else>
|
||||
<div class="vc-index-notice-title">
|
||||
{{item.title}}
|
||||
{{item.objName}}({{item.roomName}})反馈{{item.title}}({{item.state=='F'?'完成':'跟进中'}}<span v-if="item.thridId">-已转报修单</span>)
|
||||
</div>
|
||||
<div class="vc-index-notice-time">
|
||||
{{item.createTime}}
|
||||
|
||||
@ -17,18 +17,18 @@
|
||||
let param = {
|
||||
params: {
|
||||
page: 1,
|
||||
row: 100,
|
||||
row: 10,
|
||||
communityId: vc.getCurrentCommunity().communityId
|
||||
}
|
||||
};
|
||||
|
||||
//发送get请求
|
||||
vc.http.apiGet('/notice.listNotices',
|
||||
vc.http.apiGet('/notepad.listNotepad',
|
||||
param,
|
||||
function(json, res) {
|
||||
let _res = JSON.parse(json);
|
||||
|
||||
$that.indexNoticeInfo.notices = _res.notices;
|
||||
$that.indexNoticeInfo.notices = _res.data;
|
||||
$that.$nextTick(function() {
|
||||
setInterval($that.checkPoolScroll, 2000);
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user