Browse Source

merge

origin/feature/monitoring
zhangyuan 5 years ago
parent
commit
bdb664a66c
  1. 4
      src/views/modules/epidemic/echarts.vue
  2. 6
      src/views/modules/epidemic/epidemicreportuserinfo.vue

4
src/views/modules/epidemic/echarts.vue

@ -64,7 +64,7 @@ export default {
methods: { methods: {
// (4) // (4)
getDailyTypeArrInfo () { getDailyTypeArrInfo () {
this.$http.get(`sys/epidemicreportuserinfo/selectStreet/4`).then(({ data: res }) => { this.$http.get(`/sys/epidemicreportuserinfo/selectStreet/4`).then(({ data: res }) => {
this.outStreetArr = res this.outStreetArr = res
}).catch(() => {}) }).catch(() => {})
}, },
@ -88,7 +88,7 @@ export default {
if (item === '') { if (item === '') {
item = 0 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) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} }

6
src/views/modules/epidemic/epidemicreportuserinfo.vue

@ -402,13 +402,13 @@ export default {
}, },
// (4) // (4)
getDailyTypeArrInfo () { getDailyTypeArrInfo () {
this.$http.get(`sys/epidemicreportuserinfo/selectStreet/4`).then(({ data: res }) => { this.$http.get(`/sys/epidemicreportuserinfo/selectStreet/4`).then(({ data: res }) => {
this.outStreetArr = res this.outStreetArr = res
}).catch(() => { }) }).catch(() => { })
}, },
getcompantyOptions () { getcompantyOptions () {
this.$http this.$http
.get(`sys/vaccinecompany/getCompantyList`) .get(`/sys/vaccinecompany/getCompantyList`)
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
@ -428,7 +428,7 @@ export default {
}, },
getOptions () { getOptions () {
this.$http this.$http
.get(`sys/select/getSysArea`) .get(`/sys/select/getSysArea`)
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)

Loading…
Cancel
Save