邀请通知更新

https://gitcode.com/hk_openRepo/OpenRepo_Portal/issues/69
This commit is contained in:
LovableCat
2025-03-19 13:54:25 +08:00
parent e2941cebeb
commit 64a6e4e362
3 changed files with 9 additions and 4 deletions

View File

@@ -56,6 +56,7 @@ import { acceptInvite, getInviteListData } from '@/api/jyh';
import { ref, shallowReactive } from 'vue';
import NoData from "@/components/NoData/NoData.vue";
import { Message } from 'vue-devui';
import dayjs from "dayjs";
const noticeTableData = ref([]);
const pager = shallowReactive({
@@ -74,7 +75,8 @@ const queryInviteListData = async () => {
noticeTableData.value = data.data.data.data.map(item => {
return {
...item,
content: `尊敬的用户,您好!为更好地整合资源、协同开发,现诚邀您加入${item.name}`
content: `现诚邀您加入组织【${item.name}`,
createTime: dayjs(item.createTime).format('YYYY-MM-DD HH:mm:ss'),
}
});
pager.total = data.data.data.data.length;
@@ -106,4 +108,4 @@ const handleAccept = async (row, type) => {
text-align: right;
}
}
</style>
</style>