Files
PropertyDeployment/resources/Web/MicroCommunityWeb/html/components/property/chooseOwner/chooseOwner.html
2025-12-09 20:22:03 +08:00

77 lines
4.7 KiB
HTML

<div id="searchOwnerModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="searchOwnerModelLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="searchOwnerModelLabel"><span><vc:i18n name="选择业主" namespace="chooseOwner"></vc:i18n></span></h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-lg-12">
<div class="ibox ">
<div class="row">
<div class="col-sm-7 m-b-xs">
<div class="input-group">
<input :placeholder="vc.i18n('输入业主ID','chooseOwner')" type="text" v-model="searchOwnerInfo._currentOwnerId" class="form-control form-control-sm">
</div>
</div>
<div class="col-sm-5">
<div class="input-group">
<input :placeholder="vc.i18n('输入业主名称','chooseOwner')" type="text" v-model="searchOwnerInfo._currentOwnerName" class="form-control form-control-sm">
<span class="input-group-append">
<button type="button" class="btn btn-sm btn-primary"
v-on:click="searchOwners()"><span><vc:i18n name="查询" namespace="chooseOwner"></vc:i18n></span></button>
</span>
</div>
</div>
</div>
<div class="table-responsive" style="margin-top:15px">
<table class="table table-striped">
<thead>
<tr>
<th><span><vc:i18n name="业主" namespace="chooseOwner"></vc:i18n></span>ID</th>
<th><span><vc:i18n name="名称" namespace="chooseOwner"></vc:i18n></span></th>
<th><span><vc:i18n name="性别" namespace="chooseOwner"></vc:i18n></span></th>
<th><span><vc:i18n name="年龄" namespace="chooseOwner"></vc:i18n></span></th>
<th><span><vc:i18n name="联系方式" namespace="chooseOwner"></vc:i18n></span></th>
<th><span><vc:i18n name="操作" namespace="chooseOwner"></vc:i18n></span></th>
</tr>
</thead>
<tbody>
<tr v-for="owner in searchOwnerInfo.owners">
<td>
{{owner.memberId}}
</td>
<td>
{{owner.name}}
</td>
<td>
{{owner.sex == 0 ? '男' : '女'}}
</td>
<td>
{{owner.age}}
</td>
<td>
{{owner.link}}
</td>
<td>
<button class="btn btn-primary btn-xs" v-on:click="chooseOwner(owner)"><span><vc:i18n name="选择" namespace="chooseOwner"></vc:i18n></span>
</button>
</td>
</tr>
</tbody>
</table>
<vc:create namespace="searchOwner" path="frame/paginationPlus"></vc:create>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>