修正接口请求
This commit is contained in:
		| @@ -214,7 +214,7 @@ export default { | ||||
|   methods: { | ||||
|     getDetail() { | ||||
|       let {id} = this.$route.query | ||||
|       this.instance.post("/appfinancialloanapply/queryDetailById", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/queryDetailById", null, { | ||||
|         params: {id} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -226,7 +226,7 @@ export default { | ||||
|       this.$refs.AuditForm.validate(v => { | ||||
|         if (v) { | ||||
|           let {id} = this.detail | ||||
|           this.instance.post("/appfinancialloanapply/auditLoanApply", null, { | ||||
|           this.instance.post("/app/appfinancialloanapply/auditLoanApply", null, { | ||||
|             params: {id, ...this.form} | ||||
|           }).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|   | ||||
| @@ -104,7 +104,7 @@ export default { | ||||
|   methods: { | ||||
|     getTableData() { | ||||
|       let status = this.search.status || 999 | ||||
|       this.instance.post("/appfinancialloanapply/list", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/list", null, { | ||||
|         params: {...this.page, ...this.search, status} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
| @@ -192,7 +192,7 @@ export default { | ||||
|       this.getApply() | ||||
|     }, | ||||
|     getApply() { | ||||
|       this.instance.post("/appfinancialloanapply/staticFinancialLoanApplyByMainbody", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/staticFinancialLoanApplyByMainbody", null, { | ||||
|         params: {...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -201,7 +201,7 @@ export default { | ||||
|       }) | ||||
|     }, | ||||
|     getOverviews() { | ||||
|       this.instance.post("/appfinancialloanapply/staticFinancialLoanApplyByOrganization", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/staticFinancialLoanApplyByOrganization", null, { | ||||
|         params: {...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -210,7 +210,7 @@ export default { | ||||
|       }) | ||||
|     }, | ||||
|     getProductTop10() { | ||||
|       this.instance.post("/appfinancialloanapply/queryHotFinancialProduct", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/queryHotFinancialProduct", null, { | ||||
|         params: {...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -219,7 +219,7 @@ export default { | ||||
|       }) | ||||
|     }, | ||||
|     getTradeTrend() { | ||||
|       this.instance.post("/appfinancialloanapply/queryFinancialLoanApplyByMonth", null, { | ||||
|       this.instance.post("/app/appfinancialloanapply/queryFinancialLoanApplyByMonth", null, { | ||||
|         params: {...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user