修正接口请求
This commit is contained in:
@@ -146,7 +146,7 @@ export default {
|
||||
this.forms=JSON.parse(JSON.stringify(this.data))
|
||||
},
|
||||
getDetail(id) {
|
||||
this.instance.post(`/appcreditdishonestperson/queryDetailById?id=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcreditdishonestperson/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.data = res.data
|
||||
}
|
||||
@@ -155,7 +155,7 @@ export default {
|
||||
confirm( ) {
|
||||
this.$refs.forms.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/appcreditdishonestperson/addOrUpdate`, {
|
||||
this.instance.post(`/app/appcreditdishonestperson/addOrUpdate`, {
|
||||
...this.forms,
|
||||
id: this.params.id || '',
|
||||
}).then(res => {
|
||||
@@ -241,4 +241,4 @@ export default {
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user