Эх сурвалжийг харах

feat(task): 创建任务表单 actionTypes 新增饮食/睡眠/运动打卡选项

iwt 1 долоо хоног өмнө
parent
commit
e97bff779c

+ 11 - 8
cfc-frontend/pages/tasks/create-task.vue

@@ -183,14 +183,17 @@ repeatTypes: [
 { value: 'monthly', label: '每月' }
 ],
 actionTypes: [
-{ value: '', label: '无(手动完成)' },
-{ value: 'minigame', label: '小游戏' },
-{ value: 'focus', label: '专注训练' },
-{ value: 'survey', label: '问卷/测评' },
-{ value: 'article', label: '文章阅读' },
-{ value: 'activity', label: '活动报名' },
-{ value: 'cart', label: '购物(加购)' },
-{ value: 'order', label: '购物(支付/收货)' }
+  { value: '', label: '无(手动完成)' },
+  { value: 'minigame', label: '小游戏' },
+  { value: 'focus', label: '专注训练' },
+  { value: 'survey', label: '问卷/测评' },
+  { value: 'article', label: '文章阅读' },
+  { value: 'activity', label: '活动报名' },
+  { value: 'cart', label: '购物(加购)' },
+  { value: 'order', label: '购物(支付/收货)' },
+  { value: 'diet', label: '饮食打卡' },
+  { value: 'sleep', label: '睡眠打卡' },
+  { value: 'exercise', label: '运动打卡' }
 ],
 dateTimeRange: [[], [], [], [], []],
 dateTimeIndex: [0, 0, 0, 0, 0],