init
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
@@ -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 => {
|
||||||
|
|||||||
Reference in New Issue
Block a user