修正接口请求
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user