diff --git a/CHANGELOG.md b/CHANGELOG.md index 89ae00f..9996818 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.1.0 (2021-12-28) +# 0.1.0 (2021-12-29) ### 🌟 新功能 范围|描述|commitId @@ -166,6 +166,7 @@ - | 修改角色栏组件 | [a54c601](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/a54c601) - | 修改角色栏骨架屏 | [c18efb3](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/c18efb3) - | 修改试题查询判断 | [4128f3d](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/4128f3d) + - | 修改长者信息回显bug | [ef1b4bf](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/ef1b4bf) - | 切换到默认项目角色没有激活状态的bug | [438d448](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/438d448) - | 切换日历时查询小红点 | [7091789](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/7091789) - | 初始展示角色修改 | [2ac4053](https://dd.tall.wiki/gitea/binbin0314/yanyuan_js/commits/2ac4053) diff --git a/src/pagesProject/project/components/ConfigInfo/components/MedicineDetail.vue b/src/pagesProject/project/components/ConfigInfo/components/MedicineDetail.vue index 816b8f9..a023c88 100644 --- a/src/pagesProject/project/components/ConfigInfo/components/MedicineDetail.vue +++ b/src/pagesProject/project/components/ConfigInfo/components/MedicineDetail.vue @@ -81,17 +81,19 @@ @focus="changeOtherChecked(otherName.value)" @blur="changeOther(otherName)" /> - - + + + + @@ -250,11 +252,11 @@ export default { try { const params = this.params; if (!this.validationRequired(params)) return; - // params.projectId = this.projectId; - // await this.$u.api.addMedicine(params); - // this.$emit('showToast', 'success', '药物使用添加成功'); - // this.show = false; - // this.$emit('closeAdd'); + params.projectId = this.projectId; + await this.$u.api.addMedicine(params); + this.$emit('showToast', 'success', '药物使用添加成功'); + this.show = false; + this.$emit('closeAdd'); } catch (error) { console.error('error: ', error); this.$emit('showToast', 'error', '药物使用添加失败');