修正接口请求
This commit is contained in:
@@ -103,7 +103,7 @@ export default {
|
||||
methods: {
|
||||
getCompanyInfo() {
|
||||
let {enterpriseId: id} = this
|
||||
this.instance.post(`/appcreditreport/info`, null, {
|
||||
this.instance.post(`/app/appcreditreport/info`, null, {
|
||||
params: {id, type: 1}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -113,7 +113,7 @@ export default {
|
||||
},
|
||||
handleDownload(id) {
|
||||
this.$confirm("是否要下载报告?").then(() => {
|
||||
this.instance.post("/appcreditreport/downloadCreditReport", null, {
|
||||
this.instance.post("/app/appcreditreport/downloadCreditReport", null, {
|
||||
params: {id, type: 1}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
Reference in New Issue
Block a user