BUG 30342
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user