点赞
This commit is contained in:
parent
941f345399
commit
7910a23be1
@ -108,7 +108,7 @@
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import { Star2Api, Star2VO } from '@/api/bpm/star2'
|
||||
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
|
||||
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'//导入获取当前用户信息的方法
|
||||
|
||||
/** 收藏管理 列表 */
|
||||
defineOptions({ name: 'MyStar2' })
|
||||
@ -136,8 +136,8 @@ const exportLoading = ref(false) // 导出的加载中
|
||||
const getList = async () => {
|
||||
loading.value = true
|
||||
try {
|
||||
userInfo.value = await getUserProfile()
|
||||
queryParams.userId = userInfo.value.id
|
||||
userInfo.value = await getUserProfile()//获得当前用户信息
|
||||
queryParams.userId = userInfo.value.id//根据当前用户id进行搜索只显示当前用户id
|
||||
const data = await Star2Api.getStar2Page(queryParams)
|
||||
list.value = data.list
|
||||
total.value = data.total
|
||||
|
@ -124,7 +124,7 @@
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import { TbupApi, TbupVO } from '@/api/bpm/tbup'
|
||||
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
|
||||
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'//导入获取当前用户信息的方法
|
||||
|
||||
/** 点赞管理 列表 */
|
||||
defineOptions({ name: 'MyTbup' })
|
||||
@ -151,8 +151,8 @@ const exportLoading = ref(false) // 导出的加载中
|
||||
const getList = async () => {
|
||||
loading.value = true
|
||||
try {
|
||||
userInfo.value = await getUserProfile()
|
||||
queryParams.userId = userInfo.value.id
|
||||
userInfo.value = await getUserProfile()//获得当前用户信息
|
||||
queryParams.userId = userInfo.value.id//根据当前用户id进行搜索只显示当前用户id
|
||||
const data = await TbupApi.getTbupPage(queryParams)
|
||||
list.value = data.list
|
||||
total.value = data.total
|
||||
|
Loading…
Reference in New Issue
Block a user