diff --git a/src/views/modules/epidemic/echarts.vue b/src/views/modules/epidemic/echarts.vue index db218f4..9547a0b 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-add-or-update.vue b/src/views/modules/epidemic/epidemicreportuserinfo-add-or-update.vue index 8e92e1f..9fd3457 100644 --- a/src/views/modules/epidemic/epidemicreportuserinfo-add-or-update.vue +++ b/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) diff --git a/src/views/modules/epidemic/epidemicreportuserinfo.vue b/src/views/modules/epidemic/epidemicreportuserinfo.vue index 211b7d5..b58ae11 100644 --- a/src/views/modules/epidemic/epidemicreportuserinfo.vue +++ b/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) diff --git a/src/views/modules/epidemic/epidemicreportuserinfoDetail.vue b/src/views/modules/epidemic/epidemicreportuserinfoDetail.vue index 32956fc..d3a757b 100644 --- a/src/views/modules/epidemic/epidemicreportuserinfoDetail.vue +++ b/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) diff --git a/src/views/modules/epidemic/epidemicuserinfo.vue b/src/views/modules/epidemic/epidemicuserinfo.vue index 8dc1446..2510457 100644 --- a/src/views/modules/epidemic/epidemicuserinfo.vue +++ b/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) diff --git a/src/views/modules/epidemic/regist.vue b/src/views/modules/epidemic/regist.vue index 51408da..c8ab3d7 100644 --- a/src/views/modules/epidemic/regist.vue +++ b/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) } diff --git a/src/views/modules/vim/vaccinationinfo-add-or-update.vue b/src/views/modules/vim/vaccinationinfo-add-or-update.vue index 9e848ba..88329bd 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) } diff --git a/src/views/modules/vim/vaccinationinfo.vue b/src/views/modules/vim/vaccinationinfo.vue index 550b1e8..52b4819 100644 --- a/src/views/modules/vim/vaccinationinfo.vue +++ b/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) diff --git a/src/views/modules/vim/vaccinationsite-add-or-update.vue b/src/views/modules/vim/vaccinationsite-add-or-update.vue index 2beaf26..6cf0578 100644 --- a/src/views/modules/vim/vaccinationsite-add-or-update.vue +++ b/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) } diff --git a/src/views/modules/vim/vaccinationsite.vue b/src/views/modules/vim/vaccinationsite.vue index c44f43b..9ce78a8 100644 --- a/src/views/modules/vim/vaccinationsite.vue +++ b/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: { diff --git a/src/views/modules/vim/vaccinecompany-add-or-update.vue b/src/views/modules/vim/vaccinecompany-add-or-update.vue index d33f378..e129912 100644 --- a/src/views/modules/vim/vaccinecompany-add-or-update.vue +++ b/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) } diff --git a/src/views/modules/vim/vaccinecompany.vue b/src/views/modules/vim/vaccinecompany.vue index 8b4ba80..464f133 100644 --- a/src/views/modules/vim/vaccinecompany.vue +++ b/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: { diff --git a/src/views/modules/vim/vaccinetype-add-or-update.vue b/src/views/modules/vim/vaccinetype-add-or-update.vue index 1c5e575..845ba13 100644 --- a/src/views/modules/vim/vaccinetype-add-or-update.vue +++ b/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) } diff --git a/src/views/modules/vim/vaccinetype.vue b/src/views/modules/vim/vaccinetype.vue index c75674f..44cd794 100644 --- a/src/views/modules/vim/vaccinetype.vue +++ b/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: {