@@ -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>
|
||||
|
||||
@@ -142,6 +142,7 @@ import {
|
||||
type UserInfoType,
|
||||
} from '@/api/organizationManage/organizationManageType';
|
||||
import {getUserInfo} from "@/api/user";
|
||||
import dayjs from "dayjs";
|
||||
|
||||
const userInfo = shallowRef<UserInfoType>({
|
||||
username: '',
|
||||
@@ -323,7 +324,9 @@ async function getMemberList() {
|
||||
try {
|
||||
const res = await getOrganizationMemberListApi({ groupId: organizationInfo.value.groupId });
|
||||
if (res.data?.code === 200) {
|
||||
originMemberList = res.data?.data;
|
||||
originMemberList = res.data?.data.map(item => {
|
||||
return { ...item, createTime: dayjs(item.createTime).format('YYYY-MM-DD HH:mm:ss') };
|
||||
});
|
||||
pager.total = originMemberList.length;
|
||||
updateFilterTableList();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user