提交 c3ebec63 authored 作者: 宋雄's avatar 宋雄

优化

上级 303fb47f
...@@ -53,9 +53,8 @@ ...@@ -53,9 +53,8 @@
</span> </span>
<span slot="label" slot-scope="text, record"> <span slot="label" slot-scope="text, record">
<div> <div>
<a-tag color="blue">业主</a-tag> <a-tag color="blue" v-if="record.relationShip === 'self'">业主</a-tag>
<a-tag color="red" v-if="record.labelCommitteeDesc">{{record.labelCommitteeDesc}}</a-tag> <a-tag color="red" v-if="record.labelCommitteeDesc">{{record.labelCommitteeDesc}}</a-tag>
<!-- <a-tag color="orange" v-if="record.labelDestituteDesc">{{record.labelDestituteDesc}}</a-tag> -->
</div> </div>
</span> </span>
<span slot="action" slot-scope="text, record"> <span slot="action" slot-scope="text, record">
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<img :src="getAvatar(record.labelImg)" style="width:100px;height:100px;" alt=""> <img :src="getAvatar(record.labelImg)" style="width:100px;height:100px;" alt="">
</span> </span>
<span slot="action" slot-scope="text, record"> <span slot="action" slot-scope="text, record">
<a @click="onCommunityAdd(record.id)">详情</a> <a @click="onCommunityAdd(record.ownerId)">详情</a>
</span> </span>
</a-table> </a-table>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论