修复接口调用
This commit is contained in:
@@ -130,7 +130,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getDetailInfo() {
|
getDetailInfo() {
|
||||||
this.data.appLeaveMessageReplyList = []
|
this.data.appLeaveMessageReplyList = []
|
||||||
this.instance.post(`app/appleavemessage/queryDetailById?id=` + this.detailId).then((res) => {
|
this.instance.post(`/app/appleavemessage/queryDetailById?id=` + this.detailId).then((res) => {
|
||||||
this.data = res.data
|
this.data = res.data
|
||||||
this.data.images = JSON.parse(res.data.images)
|
this.data.images = JSON.parse(res.data.images)
|
||||||
if (this.data.appLeaveMessageReplyList.length) {
|
if (this.data.appLeaveMessageReplyList.length) {
|
||||||
@@ -166,7 +166,7 @@ export default {
|
|||||||
createUnitId: this.user.info.unitId,
|
createUnitId: this.user.info.unitId,
|
||||||
createUnitName: this.user.info.unitName,
|
createUnitName: this.user.info.unitName,
|
||||||
}
|
}
|
||||||
this.instance.post(`app/appleavemessagereply/addOrUpdate`, params).then((res) => {
|
this.instance.post(`/app/appleavemessagereply/addOrUpdate`, params).then((res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
this.maskShow = false
|
this.maskShow = false
|
||||||
this.getDetailInfo()
|
this.getDetailInfo()
|
||||||
@@ -193,7 +193,7 @@ export default {
|
|||||||
return item
|
return item
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.instance.post(`app/appleavemessage/addOrUpdate`, params).then((res) => {
|
this.instance.post(`/app/appleavemessage/addOrUpdate`, params).then((res) => {
|
||||||
this.getDetailInfo()
|
this.getDetailInfo()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getDetailInfo() {
|
getDetailInfo() {
|
||||||
this.data.appLeaveMessageReplyList = []
|
this.data.appLeaveMessageReplyList = []
|
||||||
this.instance.post(`app/appleavemessage/queryDetailById?id=` + this.detailId).then((res) => {
|
this.instance.post(`/app/appleavemessage/queryDetailById?id=` + this.detailId).then((res) => {
|
||||||
this.data = res.data
|
this.data = res.data
|
||||||
this.data.images = JSON.parse(res.data.images)
|
this.data.images = JSON.parse(res.data.images)
|
||||||
if (this.data.appLeaveMessageReplyList.length) {
|
if (this.data.appLeaveMessageReplyList.length) {
|
||||||
@@ -166,7 +166,7 @@ export default {
|
|||||||
createUnitId: this.user.info.unitId,
|
createUnitId: this.user.info.unitId,
|
||||||
createUnitName: this.user.info.unitName,
|
createUnitName: this.user.info.unitName,
|
||||||
}
|
}
|
||||||
this.instance.post(`app/appleavemessagereply/addOrUpdate`, params).then((res) => {
|
this.instance.post(`/app/appleavemessagereply/addOrUpdate`, params).then((res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
this.maskShow = false
|
this.maskShow = false
|
||||||
this.getDetailInfo()
|
this.getDetailInfo()
|
||||||
@@ -193,7 +193,7 @@ export default {
|
|||||||
return item
|
return item
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.instance.post(`app/appleavemessage/addOrUpdate`, params).then((res) => {
|
this.instance.post(`/app/appleavemessage/addOrUpdate`, params).then((res) => {
|
||||||
this.getDetailInfo()
|
this.getDetailInfo()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user