-
left
+
+
+
@@ -18,6 +20,7 @@ const { mapActions, mapState, mapMutations } = createNamespacedHelpers(
import HealthyView from "./HealthyView";
import BodySignView from "./BodySignView";
+import RecipesView from "./RecipesView";
export default {
name: "BuildRecipies",
@@ -26,11 +29,11 @@ export default {
},
mounted() {
//
- console.log({
- cusId: this.cusId,
- recipesId: this.recipesId,
- });
- this.init({ cusId: this.cusId }).catch((err) => {
+ // console.log({
+ // cusId: this.cusId,
+ // recipesId: this.recipesId,
+ // });
+ this.init({ cusId: this.cusId, recipesId: this.recipesId }).catch((err) => {
this.$message.error(err.message);
});
},
@@ -41,12 +44,14 @@ export default {
components: {
HealthyView,
BodySignView,
+ RecipesView,
},
props: ["planId", "cusId", "recipesId"],
computed: {
...mapState({
healthyData: (state) => state.healthyData,
healthyDataType: (state) => state.healthyDataType,
+ recipesData: (state) => state.recipesData,
}),
},
methods: {
diff --git a/stdiet-ui/src/views/custom/recipesPlan/index.vue b/stdiet-ui/src/views/custom/recipesPlan/index.vue
index 35675732b..2e4fb8651 100644
--- a/stdiet-ui/src/views/custom/recipesPlan/index.vue
+++ b/stdiet-ui/src/views/custom/recipesPlan/index.vue
@@ -612,7 +612,7 @@ export default {
}
// test
// params.recipesId = "61";
- path += '/61';
+ path += '/73';
// this.$router.push({
// name: "build",
// params,
diff --git a/stdiet-ui/src/views/custom/subhealthy/investigation/index.vue b/stdiet-ui/src/views/custom/subhealthy/investigation/index.vue
index 559c00980..3e1455941 100644
--- a/stdiet-ui/src/views/custom/subhealthy/investigation/index.vue
+++ b/stdiet-ui/src/views/custom/subhealthy/investigation/index.vue
@@ -266,7 +266,7 @@ export default {
});
},
fail(){
- console.log("定时--------");
+ // console.log("定时--------");
this.submitFlag = false;
},
nextStep(step){
diff --git a/stdiet-ui/src/views/custom/wxUserLog/index.vue b/stdiet-ui/src/views/custom/wxUserLog/index.vue
index a3c4eedbe..584d657b4 100644
--- a/stdiet-ui/src/views/custom/wxUserLog/index.vue
+++ b/stdiet-ui/src/views/custom/wxUserLog/index.vue
@@ -452,7 +452,7 @@
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
- console.log(this.form)
+ // console.log(this.form)
if (this.form.id != null) {
updateWxUserLog(this.form).then(response => {
if (response.code === 200) {