Browse Source

merge

origin/feature/monitoring
zhangyuan 4 years ago
parent
commit
b0fa2a43f0
  1. 8
      src/views/modules/vim/vaccinationinfo-add-or-update.vue

8
src/views/modules/vim/vaccinationinfo-add-or-update.vue

@ -114,7 +114,7 @@ export default {
},
//
getInfo () {
this.$http.get(`sys/vaccinationinfo/${this.dataForm.id}`).then(({ data: res }) => {
this.$http.get(`/sys/vaccinationinfo/${this.dataForm.id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@ -129,7 +129,7 @@ export default {
},
getSiteOptions () {
this.$http
.get(`sys/vaccinationsite/getSiteList`)
.get(`/sys/vaccinationsite/getSiteList`)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -143,7 +143,7 @@ export default {
},
getCompantyOptions () {
this.$http
.get(`sys/vaccinecompany/getCompantyList`)
.get(`/sys/vaccinecompany/getCompantyList`)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -161,7 +161,7 @@ export default {
if (!valid) {
return false
}
this.$http[!this.dataForm.id ? 'post' : 'put']('sys/vaccinationinfo/', this.dataForm).then(({ data: res }) => {
this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/vaccinationinfo/', this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}

Loading…
Cancel
Save