mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 18:11:00 +08:00
优化菜单
This commit is contained in:
parent
146ecd172f
commit
764c588b50
@ -70,9 +70,8 @@
|
||||
<h5>单元信息</h5>
|
||||
<div class="ibox-tools" style="top:10px;">
|
||||
<button type="button" class="btn btn-primary btn-sm"
|
||||
v-if="unitInfo.conditions.floorId != null && unitInfo.conditions.floorId != ''"
|
||||
style="margin-left:10px" v-on:click="openAddUnitModel()">
|
||||
<i class="fa fa-plus"></i> 添加单元
|
||||
<i class="fa fa-plus"></i> 添加
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -71,6 +71,10 @@
|
||||
vc.emit('searchFloor','openSearchFloorModel',{});
|
||||
},
|
||||
openAddUnitModel:function(){
|
||||
if(!vc.isNotEmpty($that.unitInfo.conditions.floorId)){
|
||||
vc.toast('请先选择楼栋');
|
||||
return ;
|
||||
}
|
||||
vc.emit('addUnit','addUnitModel',{
|
||||
floorId:vc.component.unitInfo.conditions.floorId
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user