File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
promotion/coupon/components Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -213,15 +213,15 @@ export const CouponTemplateValidityTypeEnum = {
213213 * 优惠劵模板的领取方式的枚举
214214 */
215215export const CouponTemplateTakeTypeEnum = {
216- BY_USER : {
216+ USER : {
217217 type : 1 ,
218218 name : '直接领取'
219219 } ,
220- BY_ADMIN : {
220+ ADMIN : {
221221 type : 2 ,
222222 name : '指定发放'
223223 } ,
224- BY_REGISTER : {
224+ REGISTER : {
225225 type : 3 ,
226226 name : '新人券'
227227 }
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ const emits = defineEmits<{
210210
211211/** 全选 */
212212const handleCheckAll = (checked : boolean ) => {
213- // todo 不触发?
213+ debugger
214214 console .log (' checkAll' , checked )
215215 allChecked .value = checked
216216 const index = checkedPageNos .value .indexOf (queryParams .value .pageNo )
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ const queryParams = ref({
107107 pageNo: 1 ,
108108 pageSize: 10 ,
109109 name: null ,
110- canTakeTypes: [CouponTemplateTakeTypeEnum .BY_ADMIN .type ]
110+ canTakeTypes: [CouponTemplateTakeTypeEnum .ADMIN .type ]
111111}) // 查询参数
112112const queryFormRef = ref () // 搜索的表单
113113// 领取人的编号列表
You can’t perform that action at this time.
0 commit comments