This commit is contained in:
liuye
2024-08-15 10:16:00 +08:00
parent aac3fe97c4
commit de76c5bcb9
5 changed files with 40 additions and 2 deletions

View File

@@ -7,6 +7,7 @@
<div class="names">{{ data.name }}的上报</div>
<div class="times">{{ data.createTime }}</div>
<span class="edit-btn" @click="toEdit()" v-if="data.eventStatus != 2 && data.eventStatus != 3">编辑</span>
</div>
</div>
@@ -222,6 +223,9 @@ export default {
current: img
})
},
toEdit() {
uni.navigateTo({url: `./Add?id=${this.id}&eventSource=${this.data.eventSource}`})
},
formatName(name) {
if (name == undefined) {
return
@@ -271,6 +275,17 @@ uni-page-body {
font-size: 28px;
color: #999999;
}
.edit-btn {
position: absolute;
color: #197df0;
top: 32px;
right: 32px;
width: 150px;
height: 44px;
line-height: 44px;
text-align: right;
}
}
}