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

chore: auto bump version and changelog [skip ci]

iwt 2 өдөр өмнө
parent
commit
0320615b6f

+ 4 - 1
cfc-frontend/pages/health/health-plan-summary.vue

@@ -998,13 +998,16 @@ selectedMembers: function() {
           return { key: key, content: self.sections[key].content, items: self.sections[key].items || [], tasks: self.sections[key].tasks || [] }
         })
       })
+      // 读取前端规划的师选择(teacher-service.vue 已写入本地缓存)
+      var teacherId = uni.getStorageSync('healthPlan_teacherId') || null
       var saveData = {
         memberIds: self.selectedMemberIds.join(','),
         dimensions: 'body',
         goal: self.userGoal.trim(),
         planContent: self.buildPlanContent(),
         planJson: planJson,
-        status: 'published'
+        status: 'pending_review',
+        teacherId: teacherId
       }
       saveHealthPlan(saveData).then(function(res) {
         self.loading = false

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-8487617a7daaa9e82476c120158e2113cc859ac0
+f95f7a81b877b807a2dce8f0aac8940c00f9eed6