@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user