修正接口请求

This commit is contained in:
aixianling
2022-08-26 14:24:34 +08:00
parent 44ca30cbf3
commit ce1fd46b7e
53 changed files with 151 additions and 151 deletions

View File

@@ -134,7 +134,7 @@ export default {
},
methods: {
getTableData() {
this.instance.post(`/appfinancingdemand/staticFinancialDemandByOrganization?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
this.instance.post(`/app/appfinancingdemand/staticFinancialDemandByOrganization?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
if (res?.data) {
// if (res.data['对接成功率(%)']) {
// res.data['对接成功率(%)'] = Number(res.data['对接成功率(%)'] * 100) + '%'
@@ -142,13 +142,13 @@ export default {
this.cloList = res.data
}
})
this.instance.post(`/appfinancingdemand/staticFinancialDemandByApplyType?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
this.instance.post(`/app/appfinancingdemand/staticFinancialDemandByApplyType?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
if (res?.data) {
this.applyInfo = res.data
this.circleChartInit(this.applyInfo)
}
})
this.instance.post(`/appfinancingdemand/staticFinancialDemandByHot?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
this.instance.post(`/app/appfinancingdemand/staticFinancialDemandByHot?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
if (res?.data) {
var nameList = [], applyList = [], auditList = []
res.data.map((item) => {
@@ -159,7 +159,7 @@ export default {
this.columnChartInit(nameList, applyList, auditList)
}
})
this.instance.post(`/appfinancingdemand/staticFinancialDemandByMonth?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
this.instance.post(`/app/appfinancingdemand/staticFinancialDemandByMonth?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
if (res?.data) {
var monthList = [], applyList = [], auditList = []
res.data.map((item) => {
@@ -174,7 +174,7 @@ export default {
},
getList() {
let status = this.search.status || 999
this.instance.post("/appfinancingdemand/list", null, {
this.instance.post("/app/appfinancingdemand/list", null, {
params: {...this.page, ...this.search, status}
}).then(res => {
if (res?.data) {