This commit is contained in:
77
2024-04-22 23:43:12 +08:00
parent cb84337256
commit ae10914afb
2 changed files with 12 additions and 1 deletions

View File

@@ -18,6 +18,14 @@ export function listUserPicturesMerge(query) {
}) })
} }
export function listUserPicturesByUserId(id) {
return request({
url: '/xq/userPictures/listByUserId',
method: 'get',
params: {userId:id}
})
}
// 查询用户相册管理详细 // 查询用户相册管理详细
export function getUserPictures(id) { export function getUserPictures(id) {
return request({ return request({

View File

@@ -33,7 +33,7 @@
<script> <script>
import { getUserByUsercode, listUserByUserCode } from '@/api/xq/user' import { getUserByUsercode, listUserByUserCode } from '@/api/xq/user'
import { vipTypeList } from '@/constant/statusMap' import { vipTypeList } from '@/constant/statusMap'
import { addUserPictures } from '@/api/xq/userPictures' import { addUserPictures, listUserPicturesByUserId } from '@/api/xq/userPictures'
export default { export default {
components: { components: {
@@ -69,6 +69,9 @@ export default {
this.info = {}; this.info = {};
this.form.usercode = undefined this.form.usercode = undefined
this.form.picture = undefined this.form.picture = undefined
listUserPicturesByUserId('').then(res => {
})
}, },
querySearch(querySearch,cb){ querySearch(querySearch,cb){
listUserByUserCode(querySearch).then(res => { listUserByUserCode(querySearch).then(res => {