diff --git a/src/apps/AppBuilding/add.vue b/src/apps/AppBuilding/add.vue index 5c4b9adf..1a5e4f3f 100644 --- a/src/apps/AppBuilding/add.vue +++ b/src/apps/AppBuilding/add.vue @@ -165,14 +165,14 @@ export default { }, getDetail() { let {id} = this.$route.query - id && this.$http.post(`app/appcommunityhouseinfo/queryDetailById?id=${id}`).then(res => { + id && this.$http.post(`/app/appcommunityhouseinfo/queryDetailById?id=${id}`).then(res => { if (res?.data) { this.houseInfo = res.data } }) }, submit() { - this.$http.post(`app/appcommunityhouseinfo/update`, this.houseInfo).then(res => { + this.$http.post(`/app/appcommunityhouseinfo/update`, this.houseInfo).then(res => { if (res?.code == 0) { this.$u.toast('提交成功') setTimeout(() => { diff --git a/src/apps/AppBuilding/detail.vue b/src/apps/AppBuilding/detail.vue index 645279ca..3cbf6b85 100644 --- a/src/apps/AppBuilding/detail.vue +++ b/src/apps/AppBuilding/detail.vue @@ -209,7 +209,7 @@ export default { getStatistics() { //获取楼栋统计信息 let {id} = this.detail - this.$http.post(`app/appcommunitybuildinginfo/statistics`, null, { + this.$http.post(`/app/appcommunitybuildinginfo/statistics`, null, { params: {id, unitNum: this.eachUnitNumber} }).then(res => { if (res?.data) { @@ -220,7 +220,7 @@ export default { getList() { //获取房间列表 let {id: buildingId} = this.detail - this.$http.post(`app/appcommunityhouseinfo/list`, null, { + this.$http.post(`/app/appcommunityhouseinfo/list`, null, { params: {size: 10000, buildingId, unitNumber: this.eachUnitNumber} }).then(res => { if (res?.data) { @@ -230,7 +230,7 @@ export default { }, getHouseDetail(id) { this.houseId = id - this.$http.post(`app/appcommunityhouseinfo/queryDetailById?id=${id}`).then(res => { + this.$http.post(`/app/appcommunityhouseinfo/queryDetailById?id=${id}`).then(res => { if (res?.data) { this.houseInfo = res.data this.show = true diff --git a/src/project/shandong10086/AppVillagersCircle/infoList.vue b/src/project/shandong10086/AppVillagersCircle/infoList.vue index dff3eac3..afb60d23 100644 --- a/src/project/shandong10086/AppVillagersCircle/infoList.vue +++ b/src/project/shandong10086/AppVillagersCircle/infoList.vue @@ -93,7 +93,7 @@ export default { this.getList() }, getList() { - this.$http.post('app/appvillagercircleinfo/list',null,{ + this.$http.post('/app/appvillagercircleinfo/list',null,{ params: { current: this.current, auditType: this.tabIndex == 0 ? '': this.tabIndex == 1 ? 0 : 1, diff --git a/src/saas/AppBuilding/add.vue b/src/saas/AppBuilding/add.vue index ad7787c9..34b32630 100644 --- a/src/saas/AppBuilding/add.vue +++ b/src/saas/AppBuilding/add.vue @@ -165,14 +165,14 @@ export default { }, getDetail() { let {id} = this.$route.query - id && this.$http.post(`app/appcommunityhouseinfo/queryDetailById?id=${id}`).then(res => { + id && this.$http.post(`/app/appcommunityhouseinfo/queryDetailById?id=${id}`).then(res => { if (res?.data) { this.houseInfo = res.data } }) }, submit() { - this.$http.post(`app/appcommunityhouseinfo/update`, this.houseInfo).then(res => { + this.$http.post(`/app/appcommunityhouseinfo/update`, this.houseInfo).then(res => { if (res?.code == 0) { this.$u.toast('提交成功') uni.$emit('changeHouseInfo') diff --git a/src/saas/AppSpecialPeople/AppSpecialPeople.vue b/src/saas/AppSpecialPeople/AppSpecialPeople.vue index 699784f2..578092e0 100644 --- a/src/saas/AppSpecialPeople/AppSpecialPeople.vue +++ b/src/saas/AppSpecialPeople/AppSpecialPeople.vue @@ -130,7 +130,7 @@ export default { getStatistic() { this.statisticsList = [] this.statisticsListMon = [] - this.$http.post(`app/appspecialadjustment/statistic?type=0&range=0`).then((res) => { + this.$http.post(`/app/appspecialadjustment/statistic?type=0&range=0`).then((res) => { if (res?.data) { for (let i in res.data.map) { var obj = { @@ -151,7 +151,7 @@ export default { }, getUserList() { this.userList = [] - this.$http.post(`app/appspecialadjustment/allList?size=20¤t=${this.current}`, {type: this.type, name: this.name}).then((res) => { + this.$http.post(`/app/appspecialadjustment/allList?size=20¤t=${this.current}`, {type: this.type, name: this.name}).then((res) => { if (res?.data) { if (this.current > res.data.total) { return diff --git a/src/saas/AppSpecialPeople/add.vue b/src/saas/AppSpecialPeople/add.vue index 492db9a6..60aa771c 100644 --- a/src/saas/AppSpecialPeople/add.vue +++ b/src/saas/AppSpecialPeople/add.vue @@ -464,8 +464,8 @@ export default { } } - var urlList = ['app/appspecialdisabled/addOrUpdate', 'app/appspecialmental/addOrUpdate', 'app/appspecialadjustment/addOrUpdate', - 'app/appspecialdrug/addOrUpdate', 'app/appspecialprison/addOrUpdate'] + var urlList = ['/app/appspecialdisabled/addOrUpdate', '/app/appspecialmental/addOrUpdate', '/app/appspecialadjustment/addOrUpdate', + '/app/appspecialdrug/addOrUpdate', '/app/appspecialprison/addOrUpdate'] this.$http.post(urlList[this.form.userType], { ...this.form,