refactor(BUG 541): 优化治疗时间初始化

- 在 AppImmunityManage 和 AppTreatmentManage 组件中,移除了治疗时间的自动初始化
- 在 AppTreatmentManage 组件中,将治疗时间初始化为当前时间的字符串格式
This commit is contained in:
aixianling
2025-01-14 11:37:19 +08:00
parent f730850d93
commit 9f6998e042
2 changed files with 1 additions and 2 deletions

View File

@@ -87,7 +87,6 @@ export default {
},
created() {
this.dict.load("yesOrNo", "category", "variety", "source")
this.detail.treatmentTime = new Date()
this.getDetail()
}
}

View File

@@ -95,7 +95,7 @@ export default {
},
created() {
this.dict.load("yesOrNo")
this.detail.treatmentTime = new Date()
this.detail.treatmentTime = this.$moment().format("YYYY-MM-DD HH:mm:ss")
this.getDetail()
}
}