@ -33,6 +33,7 @@ import TextInfo from "@/components/TextInfo";
|
||||
import ACFCom from "@/components/HealthyView/ACFCom";
|
||||
import RemarkCom from "@/components/HealthyView/RemarkCom";
|
||||
import { editPhysicalSigns } from "@/api/custom/healthy";
|
||||
import { updateRecipesPlan } from "@/api/custom/recipesPlan";
|
||||
|
||||
export default {
|
||||
name: "BodySignView",
|
||||
@ -124,6 +125,18 @@ export default {
|
||||
}
|
||||
});
|
||||
},
|
||||
handleOnRemarkConfirm(data) {
|
||||
const { pathname } = window.location;
|
||||
const recipesId = pathname.substring(pathname.lastIndexOf("/") + 1);
|
||||
updateRecipesPlan({
|
||||
id: recipesId,
|
||||
...data,
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
this.$message.success("修改成功");
|
||||
}
|
||||
});
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
data(val, oldVal) {
|
||||
|
Reference in New Issue
Block a user