From b0fa2a43f0ffad2b25ecf61eb8e12f9c5fe4354a Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Sun, 9 May 2021 13:53:59 +0800 Subject: [PATCH] merge --- src/views/modules/vim/vaccinationinfo-add-or-update.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/modules/vim/vaccinationinfo-add-or-update.vue b/src/views/modules/vim/vaccinationinfo-add-or-update.vue index 1529002..22aae38 100644 --- a/src/views/modules/vim/vaccinationinfo-add-or-update.vue +++ b/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) }