feat: 更新通知中心1
This commit is contained in:
parent
2fe5e38e85
commit
7fb9f30c45
|
|
@ -38,7 +38,7 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
">
|
">
|
||||||
<div>
|
<div v-if="scope.row.isRead == 1">
|
||||||
<el-button link type="primary" @click="refAddHaocaiTakinShow(scope.row, '')">
|
<el-button link type="primary" @click="refAddHaocaiTakinShow(scope.row, '')">
|
||||||
设为已读
|
设为已读
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
@ -117,9 +117,9 @@ const matchedProducts = (data: string) => {
|
||||||
//删除
|
//删除
|
||||||
async function refAddHaocaiTakinShow(item: any, type: string) {
|
async function refAddHaocaiTakinShow(item: any, type: string) {
|
||||||
if (type === "delete") {
|
if (type === "delete") {
|
||||||
Api.delete(item.id);
|
await Api.delete(item.id);
|
||||||
} else {
|
} else {
|
||||||
Api.edit({
|
await Api.edit({
|
||||||
noticeIdList: [item.id],
|
noticeIdList: [item.id],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue