修正接口请求
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
</template>
|
||||
</ai-card>
|
||||
</template>
|
||||
|
||||
|
||||
<template slot="footer" class="footer">
|
||||
<el-button class="delete-btn footer-btn" @click="cancel(false)">取消</el-button>
|
||||
<el-button class="footer-btn" type="primary" @click="confirm()">保存</el-button>
|
||||
@@ -167,7 +167,7 @@ export default {
|
||||
this.forms = JSON.parse(JSON.stringify(this.data))
|
||||
},
|
||||
getDetail(id) {
|
||||
this.instance.post(`/appcreditadministrativesanction/queryDetailById?id=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcreditadministrativesanction/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.data = res.data
|
||||
}
|
||||
@@ -176,7 +176,7 @@ export default {
|
||||
confirm() {
|
||||
this.$refs.forms.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/appcreditadministrativesanction/addOrUpdate`, {
|
||||
this.instance.post(`/app/appcreditadministrativesanction/addOrUpdate`, {
|
||||
...this.forms,
|
||||
id: this.params.id || '',
|
||||
}).then(res => {
|
||||
@@ -258,4 +258,4 @@ export default {
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user