优化 前段代码

This commit is contained in:
java110 2022-03-03 18:06:04 +08:00
parent 1ff60838ed
commit e1d10d1030

View File

@ -11,19 +11,16 @@
<div class="row"> <div class="row">
<div class="col-sm-2"> <div class="col-sm-2">
<div class="form-group"> <div class="form-group">
<input type="text" placeholder="请输入小区ID" <input type="text" placeholder="请输入小区ID" v-model="communityManageInfo.conditions.communityId" class=" form-control">
v-model="communityManageInfo.conditions.communityId" class=" form-control">
</div> </div>
</div> </div>
<div class="col-sm-3"> <div class="col-sm-3">
<div class="form-group"> <div class="form-group">
<input type="text" placeholder="请输入小区名称" <input type="text" placeholder="请输入小区名称" v-model="communityManageInfo.conditions.name" class=" form-control">
v-model="communityManageInfo.conditions.name" class=" form-control">
</div> </div>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<vc:create path="common/areaSelect" callBackListener="communityManage" <vc:create path="common/areaSelect" callBackListener="communityManage" callBackFunction="notifyArea" namespace="communityManage">
callBackFunction="notifyArea" namespace="communityManage">
</vc:create> </vc:create>
</div> </div>
<div class="col-sm-1"> <div class="col-sm-1">
@ -73,24 +70,20 @@
</td> </td>
<td class="text-center">{{community.stateName}}</td> <td class="text-center">{{community.stateName}}</td>
<td class="text-center"> <td class="text-center">
<div class="btn-group" <div class="btn-group" v-if="community.state == '1200' && communityManageInfo.storeTypeCd == '800900000001'">
v-if="community.state == '1200' && communityManageInfo.storeTypeCd == '800900000001'"> <button class="btn-white btn btn-xs" v-on:click="_openDeleteCommunityModel(community)">删除
<button class="btn-white btn btn-xs"
v-on:click="_openDeleteCommunityModel(community)">删除
</button> </button>
</div> </div>
<div class="btn-group"> <div class="btn-group">
<button class="btn-white btn btn-xs" <button class="btn-white btn btn-xs" v-bind:disabled="community.state == '1100' && communityManageInfo.storeTypeCd != '800900000001'" v-on:click="_openEditCommunityModel(community)">修改
v-bind:disabled="community.state == '1100' && communityManageInfo.storeTypeCd != '800900000001'"
v-on:click="_openEditCommunityModel(community)">修改
</button> </button>
</div> </div>
<div class="btn-group" <!-- <div class="btn-group"
v-if="community.state != '1000' && communityManageInfo.storeTypeCd == '800900000001'"> v-if="community.state != '1000' && communityManageInfo.storeTypeCd == '800900000001'">
<button class="btn-white btn btn-xs" <button class="btn-white btn btn-xs"
v-on:click="_openRecallCommunityModel(community)">审核撤回 v-on:click="_openRecallCommunityModel(community)">审核撤回
</button> </button>
</div> </div> -->
</td> </td>
</tr> </tr>
</tbody> </tbody>