diff --git a/src/views/modules/epidemic/echarts.vue b/src/views/modules/epidemic/echarts.vue index 6db6c51..010c6c1 100644 --- a/src/views/modules/epidemic/echarts.vue +++ b/src/views/modules/epidemic/echarts.vue @@ -64,7 +64,7 @@ export default { methods: { // 获取乡镇下拉信息(传参:4代表查“街道”) getDailyTypeArrInfo () { - this.$http.get(`sys/epidemicreportuserinfo/selectStreet/4`).then(({ data: res }) => { + this.$http.get(`/sys/epidemicreportuserinfo/selectStreet/4`).then(({ data: res }) => { this.outStreetArr = res }).catch(() => {}) }, @@ -88,7 +88,7 @@ export default { if (item === '') { item = 0 } - this.$http.get(`select/getPeopleNumber/` + item).then(({ data: res }) => { + this.$http.get(`/sys/select/getPeopleNumber/` + item).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/views/modules/epidemic/epidemicreportuserinfo.vue b/src/views/modules/epidemic/epidemicreportuserinfo.vue index 6653d04..7a52025 100644 --- a/src/views/modules/epidemic/epidemicreportuserinfo.vue +++ b/src/views/modules/epidemic/epidemicreportuserinfo.vue @@ -402,13 +402,13 @@ export default { }, // 获取乡镇下拉信息(传参:4代表查“街道”) getDailyTypeArrInfo () { - this.$http.get(`sys/epidemicreportuserinfo/selectStreet/4`).then(({ data: res }) => { + this.$http.get(`/sys/epidemicreportuserinfo/selectStreet/4`).then(({ data: res }) => { this.outStreetArr = res }).catch(() => { }) }, getcompantyOptions () { this.$http - .get(`sys/vaccinecompany/getCompantyList`) + .get(`/sys/vaccinecompany/getCompantyList`) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) @@ -428,7 +428,7 @@ export default { }, getOptions () { this.$http - .get(`sys/select/getSysArea`) + .get(`/sys/select/getSysArea`) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg)