mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化代码
This commit is contained in:
parent
456008992a
commit
1fb8c14223
@ -54,7 +54,8 @@
|
||||
vc.setCurrentCommunity(_currentCommunity);
|
||||
//vm.navCommunityInfo._currentCommunity = _currentCommunity;
|
||||
//中心加载当前页
|
||||
location.reload();
|
||||
//location.reload();
|
||||
vc.jumpToPage("/");
|
||||
},
|
||||
_queryEnterCommunity: function () {
|
||||
$that.listEnterCommunity(DEFAULT_PAGE, DEFAULT_ROW)
|
||||
|
||||
@ -160,7 +160,8 @@
|
||||
vc.setCurrentCommunity(_community);
|
||||
vm.nav._currentCommunity = _community;
|
||||
//中心加载当前页
|
||||
location.reload();
|
||||
//location.reload();
|
||||
vc.jumpToPage("/");
|
||||
},
|
||||
_noticeDetail: function(_msg) {
|
||||
//console.log(_notice.noticeId);
|
||||
|
||||
@ -95,6 +95,10 @@
|
||||
<span><vc:i18n name="民生诉求" namespace="complaintManage"></vc:i18n></span>
|
||||
</h5>
|
||||
<div class="ibox-tools" style="top:10px;">
|
||||
<button type="button" class="btn btn-white btn-sm" v-on:click="_toAuditPage()"
|
||||
v-if="vc.hasPrivilege('502020061767630003')">
|
||||
<span><vc:i18n name="设置处理人员" namespace="visitManage"></vc:i18n></span>
|
||||
</button>
|
||||
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddComplaintModal()">
|
||||
<i class="fa fa-plus"></i>{{vc.i18n('投诉','complaintManage')}}
|
||||
</button>
|
||||
|
||||
@ -177,7 +177,10 @@
|
||||
console.log('请求失败处理');
|
||||
}
|
||||
);
|
||||
}
|
||||
},
|
||||
_toAuditPage:function(){
|
||||
vc.jumpToPage('/#/pages/property/workflowManage?tab=流程管理');
|
||||
},
|
||||
}
|
||||
});
|
||||
})(window.vc);
|
||||
@ -7,10 +7,7 @@
|
||||
<span><vc:i18n name="访客信息" namespace="visitManage"></vc:i18n></span>
|
||||
</h5>
|
||||
<div class="ibox-tools" style="top:10px;">
|
||||
<button type="button" class="btn btn-white btn-sm" v-on:click="_toAuditPage()"
|
||||
v-if="vc.hasPrivilege('502020061767630003')">
|
||||
<span><vc:i18n name="设置处理人员" namespace="visitManage"></vc:i18n></span>
|
||||
</button>
|
||||
|
||||
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddVisitModal()">
|
||||
<i class="fa fa-plus"></i>
|
||||
<span><vc:i18n name="登记" namespace="visitManage"></vc:i18n></span>
|
||||
@ -67,7 +64,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ibox-content">
|
||||
<div class="ibox-content margin-top-sm">
|
||||
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@ -149,9 +149,7 @@
|
||||
_openDeleteVisitModel: function (_visit) {
|
||||
vc.emit('deleteVisit', 'openVisitModel', _visit);
|
||||
},
|
||||
_toAuditPage:function(){
|
||||
vc.jumpToPage('/#/pages/property/workflowManage?tab=流程管理');
|
||||
},
|
||||
|
||||
showImg: function(e) {
|
||||
if (!e) {
|
||||
e = '/img/noPhoto.jpg';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user