File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
views/member/tag/components Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export interface TagVO {
6
6
}
7
7
8
8
// 查询会员标签列表
9
- export const getMemberTagPage = async ( params ) => {
9
+ export const getMemberTagPage = async ( params : any ) => {
10
10
return await request . get ( { url : `/member/tag/page` , params } )
11
11
}
12
12
@@ -15,6 +15,11 @@ export const getMemberTag = async (id: number) => {
15
15
return await request . get ( { url : `/member/tag/get?id=` + id } )
16
16
}
17
17
18
+ // 查询会员标签 - 精简信息列表
19
+ export const getSimpleTagList = async ( ) => {
20
+ return await request . get ( { url : `/member/tag/list-all-simple` } )
21
+ }
22
+
18
23
// 新增会员标签
19
24
export const createMemberTag = async ( data : TagVO ) => {
20
25
return await request . post ( { url : `/member/tag/create` , data } )
Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ const tagIds = computed({
52
52
const tags = ref <TagApi .TagVO []>([])
53
53
54
54
const getList = async () => {
55
- const data = await TagApi .getMemberTagPage ({})
56
- tags .value = data .list
55
+ tags .value = await TagApi .getSimpleTagList ()
57
56
}
58
57
59
58
/** 添加用户标签表单弹框 */
You can’t perform that action at this time.
0 commit comments