小助理

This commit is contained in:
liuye
2024-08-15 17:54:50 +08:00
parent fd06b222a6
commit 22f6e8ca28
2 changed files with 27 additions and 1 deletions

View File

@@ -13,6 +13,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>
<div class="header-middle">
@@ -265,6 +266,9 @@ export default {
}
return name.substr(0, 2)
},
toEdit() {
uni.navigateTo({url: `./Add?id=${this.id}&eventSource=${this.data.eventSource}`})
},
},
}
</script>
@@ -327,6 +331,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;
}
}
}