This commit is contained in:
liuye
2021-12-24 22:01:16 +08:00
2 changed files with 5 additions and 3 deletions

View File

@@ -181,6 +181,8 @@ export default {
contactPerson: this.forms.contactPerson,
contactPhone: this.forms.contactPhone,
createUserName: this.user.name,
createUserId: this.user.id,
id: this.id,
})
.then((res) => {

View File

@@ -13,10 +13,10 @@
<div class="left-btn" :class="'status' + detail.status">{{ $dict.getLabel('villageActivityStatus', detail.status) }}</div>
</div>
<div class="right">
<img :src="user.avatar" alt="" v-if="user.avatar" />
<img src="./user-img.png" alt="" v-else/>
<img :src="detail.avatar" alt="" v-if="detail.avatar" />
<img src="./user-img.png" alt="" v-else />
<span>{{ detail.contactPerson }}</span>
<span v-if="detail.createUserName">{{ detail.createUserName }}</span>
</div>
</div>