File tree Expand file tree Collapse file tree 5 files changed +6
-2
lines changed Expand file tree Collapse file tree 5 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ VITE_OPEN=true
11
11
VITE_APP_TENANT_ENABLE = true
12
12
13
13
# 验证码的开关
14
- VITE_APP_CAPTCHA_ENABLE = false
14
+ VITE_APP_CAPTCHA_ENABLE = true
15
15
16
16
# 百度统计
17
17
VITE_APP_BAIDU_CODE = a1ff8825baa73c3a78eb96aa40325abc
Original file line number Diff line number Diff line change @@ -201,20 +201,23 @@ const resetQuery = () => {
201
201
queryFormRef ?.value ?.resetFields ()
202
202
handleQuery ()
203
203
}
204
+
204
205
/** 打开弹窗 */
205
206
const open = async () => {
206
207
dialogVisible .value = true
207
208
resetQuery ()
208
209
}
209
210
defineExpose ({ open }) // 提供 open 方法,用于打开弹窗
211
+
210
212
const handleSelectionChange = (val : CouponTemplateApi .CouponTemplateVO []) => {
211
213
emit (
212
214
' update:multipleSelection' ,
213
215
val .map ((item ) => ({ id: item .id , name: item .name }))
214
216
)
215
217
}
218
+
216
219
const submitForm = () => {
217
220
dialogVisible .value = false
218
221
}
222
+ // TODO @puhui999:提前 todo,先不用改;未来单独成组件,其它模块可以服用;例如说,满减送,可以选择优惠劵;
219
223
</script >
220
- <style lang="scss" scoped></style >
Original file line number Diff line number Diff line change 42
42
</el-col >
43
43
<el-col :span =" 24" >
44
44
<el-form-item label =" 活动优先级" >
45
+ <!-- TODO @puhui999:这个目前先写死;主要是,这个优惠类型不好用 promotion_type_enum;因为优惠劵、会员折扣都算。 -->
45
46
<ActivityOrdersSort
46
47
v-model:activity-orders =" formData.activityOrders"
47
48
:promotion-types =" promotionTypes"
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments