Browse Source

url加/

origin/feature/monitoring
zhangyuan 4 years ago
parent
commit
a768455220
  1. 4
      src/views/modules/epidemic/echarts.vue
  2. 8
      src/views/modules/epidemic/epidemicreportuserinfo-add-or-update.vue
  3. 14
      src/views/modules/epidemic/epidemicreportuserinfo.vue
  4. 8
      src/views/modules/epidemic/epidemicreportuserinfoDetail.vue
  5. 10
      src/views/modules/epidemic/epidemicuserinfo.vue
  6. 14
      src/views/modules/epidemic/regist.vue
  7. 8
      src/views/modules/vim/vaccinationinfo-add-or-update.vue
  8. 10
      src/views/modules/vim/vaccinationinfo.vue
  9. 4
      src/views/modules/vim/vaccinationsite-add-or-update.vue
  10. 4
      src/views/modules/vim/vaccinationsite.vue
  11. 4
      src/views/modules/vim/vaccinecompany-add-or-update.vue
  12. 4
      src/views/modules/vim/vaccinecompany.vue
  13. 4
      src/views/modules/vim/vaccinetype-add-or-update.vue
  14. 4
      src/views/modules/vim/vaccinetype.vue

4
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)
}

8
src/views/modules/epidemic/epidemicreportuserinfo-add-or-update.vue

@ -632,7 +632,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)
@ -646,7 +646,7 @@ export default {
},
getLiveOptions () {
this.$http
.get(`sys/select/getLiveArea`)
.get(`/sys/select/getLiveArea`)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -658,7 +658,7 @@ export default {
},
//
getInfo () {
this.$http.get(`sys/epidemicuserinfo/${this.dataForm.id}`).then(({ data: res }) => {
this.$http.get(`/sys/epidemicuserinfo/${this.dataForm.id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@ -684,7 +684,7 @@ export default {
return false
}
this.isAble = true
this.$http[!this.dataForm.id ? 'post' : 'put']('sys/epidemicuserinfo/', this.dataForm).then(({ data: res }) => {
this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/epidemicuserinfo/', this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
this.isAble = false
return this.$message.error(res.msg)

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

@ -287,12 +287,12 @@ export default {
data () {
return {
mixinViewModuleOptions: {
getDataListURL: 'sys/epidemicuserinfo/page',
getDataListURL: '/sys/epidemicuserinfo/page',
getDataListIsPage: true,
deleteURL: 'sys/epidemicuserinfo',
deleteURL: '/sys/epidemicuserinfo',
deleteIsBatch: true,
exportURL: 'sys/epidemicuserinfo/export',
exportErrorInfoURL: 'sys/epidemicusererror/export'
exportURL: '/sys/epidemicuserinfo/export',
exportErrorInfoURL: '/sys/epidemicusererror/export'
},
dataForm: {
id: '',
@ -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)

8
src/views/modules/epidemic/epidemicreportuserinfoDetail.vue

@ -618,7 +618,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)
@ -632,7 +632,7 @@ export default {
},
getLiveOptions () {
this.$http
.get(`sys/select/getLiveArea`)
.get(`/sys/select/getLiveArea`)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -644,7 +644,7 @@ export default {
},
//
getInfo () {
this.$http.get(`sys/epidemicuserinfo/${this.dataForm.id}`).then(({ data: res }) => {
this.$http.get(`/sys/epidemicuserinfo/${this.dataForm.id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@ -670,7 +670,7 @@ export default {
return false
}
this.isAble = true
this.$http[!this.dataForm.id ? 'post' : 'put']('sys/epidemicuserinfo/', this.dataForm).then(({ data: res }) => {
this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/epidemicuserinfo/', this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
this.isAble = false
return this.$message.error(res.msg)

10
src/views/modules/epidemic/epidemicuserinfo.vue

@ -209,12 +209,12 @@ export default {
data () {
return {
mixinViewModuleOptions: {
getDataListURL: 'sys/epidemicuserinfo/getEpidemicPage',
getDataListURL: '/sys/epidemicuserinfo/getEpidemicPage',
getDataListIsPage: true,
deleteURL: 'sys/epidemicuserinfo',
deleteURL: '/sys/epidemicuserinfo',
deleteIsBatch: true,
exportURL: '/sys/vaccinationerror/exportError',
exportErrorInfoURL: 'sys/vaccinationerror/exportError'
exportErrorInfoURL: '/sys/vaccinationerror/exportError'
},
dataForm: {
infoId: '',
@ -294,7 +294,7 @@ 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(() => { })
},
@ -308,7 +308,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)

14
src/views/modules/epidemic/regist.vue

@ -228,7 +228,7 @@ export default {
},
getOptions () {
this.$http
.get(`sys/vaccinetype/getVaccineList`)
.get(`/sys/vaccinetype/getVaccineList`)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -242,7 +242,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)
@ -256,7 +256,7 @@ export default {
},
getCompanyOptions () {
this.$http
.get(`sys/vaccinecompany/getCompantyList`)
.get(`/sys/vaccinecompany/getCompantyList`)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -269,7 +269,7 @@ export default {
})
},
companyChange (event) {
this.$http.get(`sys/vaccinecompany/${event}`).then(({ data: res }) => {
this.$http.get(`/sys/vaccinecompany/${event}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@ -301,7 +301,7 @@ export default {
},
//
getInfo () {
this.$http.get(`sys/epidemicuserinfo/getinfo/${this.dataForm.id}`).then(({ data: res }) => {
this.$http.get(`/sys/epidemicuserinfo/getinfo/${this.dataForm.id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@ -332,7 +332,7 @@ export default {
return false
}
this.isAble = true
this.$http['post']('sys/vaccinationinfo/', this.dataForm).then(({ data: res }) => {
this.$http['post']('/sys/vaccinationinfo/', this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
this.isAble = false
return this.$message.error(res.msg)
@ -352,7 +352,7 @@ export default {
})
}, 1000, { 'leading': true, 'trailing': false }),
putReigst () {
this.$http.get(`sys/epidemicuserinfo/updateReigst/${this.id}`).then(({ data: res }) => {
this.$http.get(`/sys/epidemicuserinfo/updateReigst/${this.id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}

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)
}

10
src/views/modules/vim/vaccinationinfo.vue

@ -145,9 +145,9 @@ export default {
data () {
return {
mixinViewModuleOptions: {
getDataListURL: 'sys/vaccinationinfo/page',
getDataListURL: '/sys/vaccinationinfo/page',
getDataListIsPage: true,
deleteURL: 'sys/vaccinationinfo',
deleteURL: '/sys/vaccinationinfo',
deleteIsBatch: true
},
dataForm: {
@ -171,7 +171,7 @@ export default {
methods: {
getOptions () {
this.$http
.get(`sys/vaccinetype/getVaccineList`)
.get(`/sys/vaccinetype/getVaccineList`)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -185,7 +185,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)
@ -199,7 +199,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)

4
src/views/modules/vim/vaccinationsite-add-or-update.vue

@ -85,7 +85,7 @@ export default {
},
//
getInfo () {
this.$http.get(`sys/vaccinationsite/${this.dataForm.id}`).then(({ data: res }) => {
this.$http.get(`/sys/vaccinationsite/${this.dataForm.id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@ -101,7 +101,7 @@ export default {
if (!valid) {
return false
}
this.$http[!this.dataForm.id ? 'post' : 'put']('sys/vaccinationsite/', this.dataForm).then(({ data: res }) => {
this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/vaccinationsite/', this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}

4
src/views/modules/vim/vaccinationsite.vue

@ -78,9 +78,9 @@ export default {
data () {
return {
mixinViewModuleOptions: {
getDataListURL: 'sys//vaccinationsite/page',
getDataListURL: '/sys/vaccinationsite/page',
getDataListIsPage: true,
deleteURL: 'sys//vaccinationsite',
deleteURL: '/sys/vaccinationsite',
deleteIsBatch: true
},
dataForm: {

4
src/views/modules/vim/vaccinecompany-add-or-update.vue

@ -75,7 +75,7 @@ export default {
},
//
getInfo () {
this.$http.get(`sys/vaccinecompany/${this.dataForm.id}`).then(({ data: res }) => {
this.$http.get(`/sys/vaccinecompany/${this.dataForm.id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@ -91,7 +91,7 @@ export default {
if (!valid) {
return false
}
this.$http[!this.dataForm.id ? 'post' : 'put']('sys/vaccinecompany/', this.dataForm).then(({ data: res }) => {
this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/vaccinecompany/', this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}

4
src/views/modules/vim/vaccinecompany.vue

@ -82,9 +82,9 @@ export default {
data () {
return {
mixinViewModuleOptions: {
getDataListURL: 'sys/vaccinecompany/page',
getDataListURL: '/sys/vaccinecompany/page',
getDataListIsPage: true,
deleteURL: 'sys/vaccinecompany',
deleteURL: '/sys/vaccinecompany',
deleteIsBatch: true
},
dataForm: {

4
src/views/modules/vim/vaccinetype-add-or-update.vue

@ -92,7 +92,7 @@ export default {
},
//
getInfo () {
this.$http.get(`sys/vaccinetype/${this.dataForm.id}`).then(({ data: res }) => {
this.$http.get(`/sys/vaccinetype/${this.dataForm.id}`).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@ -108,7 +108,7 @@ export default {
if (!valid) {
return false
}
this.$http[!this.dataForm.id ? 'post' : 'put']('sys/vaccinetype/', this.dataForm).then(({ data: res }) => {
this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/vaccinetype/', this.dataForm).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}

4
src/views/modules/vim/vaccinetype.vue

@ -78,9 +78,9 @@ export default {
data () {
return {
mixinViewModuleOptions: {
getDataListURL: 'sys/vaccinetype/page',
getDataListURL: '/sys/vaccinetype/page',
getDataListIsPage: true,
deleteURL: 'sys/vaccinetype',
deleteURL: '/sys/vaccinetype',
deleteIsBatch: true
},
dataForm: {

Loading…
Cancel
Save