优化代码

This commit is contained in:
wuxw 2024-09-20 17:55:43 +08:00
parent 72d8672cab
commit a8afcb196f

View File

@ -39,10 +39,7 @@
</button>
<button type="button" class="btn btn-sm btn-primary" v-on:click="resetOwners()"
style="margin-right: 5px">
<i class="fa fa-repeat"></i>
<span>
<vc:i18n name="重置" namespace="searchOwner"></vc:i18n>
</span>
</button>
</div>
</div>
@ -50,6 +47,9 @@
<table class="table table-striped">
<thead>
<tr>
<th class="text-center">
<vc:i18n name="业主编号" namespace="searchOwner"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="名称" namespace="searchOwner"></vc:i18n>
</th>
@ -66,9 +66,6 @@
<th class="text-center">
<vc:i18n name="联系方式" namespace="searchOwner"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="创建员工" namespace="searchOwner"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="操作" namespace="searchOwner"></vc:i18n>
</th>
@ -76,6 +73,9 @@
</thead>
<tbody>
<tr v-for="owner in searchOwnerInfo.owners">
<td class="text-center">
{{owner.memberId}}
</td>
<td class="text-center">
{{owner.name}}
</td>
@ -91,9 +91,6 @@
<td class="text-center">
{{owner.link}}
</td>
<td class="text-center">
{{owner.userName}}
</td>
<td class="text-center">
<button class="btn btn-primary btn-xs" v-on:click="chooseOwner(owner)">
<vc:i18n name="选择" namespace="searchOwner"></vc:i18n>