File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
api/mall/promotion/reward
views/mall/promotion/rewardActivity Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ export const getReward = async (id: number) => {
47
47
return await request . get ( { url : '/promotion/reward-activity/get?id=' + id } )
48
48
}
49
49
50
- // 关闭拼团活动
51
- export const closeRewardActivity = async ( id : number ) => {
52
- return await request . put ( { url : '/promotion/reward-activity/close?id=' + id } )
53
- }
54
-
55
- // 删除限时折扣活动
50
+ // 删除满减送活动
56
51
export const deleteRewardActivity = async ( id : number ) => {
57
52
return await request . delete ( { url : '/promotion/reward-activity/delete?id=' + id } )
58
53
}
54
+
55
+ // 关闭满减送活动
56
+ export const closeRewardActivity = async ( id : number ) => {
57
+ return await request . put ( { url : '/promotion/reward-activity/close?id=' + id } )
58
+ }
Original file line number Diff line number Diff line change 27
27
placeholder =" 请选择活动状态"
28
28
>
29
29
<el-option
30
- v-for =" dict in getIntDictOptions(DICT_TYPE.PROMOTION_ACTIVITY_STATUS )"
30
+ v-for =" dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS )"
31
31
:key =" dict.value"
32
32
:label =" dict.label"
33
33
:value =" dict.value"
71
71
<ContentWrap >
72
72
<el-table v-loading =" loading" :data =" list" default-expand-all row-key =" id" >
73
73
<el-table-column label =" 活动名称" prop =" name" />
74
+ <el-table-column label =" 活动范围" prop =" productScope" >
75
+ <template #default =" scope " >
76
+ <dict-tag :type =" DICT_TYPE.PROMOTION_PRODUCT_SCOPE" :value =" scope.row.productScope" />
77
+ </template >
78
+ </el-table-column >
74
79
<el-table-column
75
80
:formatter =" dateFormatter"
76
81
align =" center"
You can’t perform that action at this time.
0 commit comments