Commit 9bf44aa2 authored by 陈明豪's avatar 陈明豪

bug修改67915

parent 63d61d34
...@@ -2447,10 +2447,12 @@ export default { ...@@ -2447,10 +2447,12 @@ export default {
if (updateForm.inHospitalBo.id) { if (updateForm.inHospitalBo.id) {
updateHospitalRecord(updateForm).then(res => { updateHospitalRecord(updateForm).then(res => {
this.petInHospitalUpdateShow = false this.petInHospitalUpdateShow = false
this.$message.success('保存成功')
this.getInHospitalList(this.$route.params.id) this.getInHospitalList(this.$route.params.id)
this.getPaymentList() this.getPaymentList()
}).catch(error => { }).catch(error => {
console.log('报错住院', error) console.log('报错住院', error)
this.$message.success('保存成功')
this.petInHospitalUpdateShow = false this.petInHospitalUpdateShow = false
this.getInHospitalList(this.$route.params.id) this.getInHospitalList(this.$route.params.id)
this.getPaymentList() this.getPaymentList()
...@@ -2458,10 +2460,12 @@ export default { ...@@ -2458,10 +2460,12 @@ export default {
} else { } else {
addHospital(updateForm).then(res => { addHospital(updateForm).then(res => {
this.petInHospitalUpdateShow = false this.petInHospitalUpdateShow = false
this.$message.success('保存成功')
this.getInHospitalList(this.$route.params.id) this.getInHospitalList(this.$route.params.id)
this.getPaymentList() this.getPaymentList()
}).catch(error => { }).catch(error => {
console.log('报错住院', error) console.log('报错住院', error)
this.$message.success('保存成功')
this.petInHospitalUpdateShow = false this.petInHospitalUpdateShow = false
this.getInHospitalList(this.$route.params.id) this.getInHospitalList(this.$route.params.id)
this.getPaymentList() this.getPaymentList()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment