Commit 64559f2b authored by 张牧越's avatar 张牧越

fix

parent 00438664
...@@ -51,10 +51,23 @@ export async function getProjectQuestion(params) { ...@@ -51,10 +51,23 @@ export async function getProjectQuestion(params) {
} }
// // 区域问题列表 弃用
// export async function getAreaQuestionByAreaId(areaId) {
// return await request({
// url: `/site/index/type`,
// method: 'get',
// params: {
// city_id: areaId
// }
// })
// }
// 区域问题列表 // 区域问题列表
export async function getAreaQuestionByAreaId(areaId) { export async function getScoreByCity(areaId) {
return await request({ return await request({
url: `/site/index/type`, url: `/site/index/get_project`,
method: 'get', method: 'get',
params: { params: {
city_id: areaId city_id: areaId
...@@ -62,16 +75,13 @@ export async function getAreaQuestionByAreaId(areaId) { ...@@ -62,16 +75,13 @@ export async function getAreaQuestionByAreaId(areaId) {
}) })
} }
// 右侧得分
export async function getScoreStatusByCity(areaId) {
// 区域问题列表
export async function getScoreByCity(areaId) {
return await request({ return await request({
url: `/site/index/type`, url: `/site/index/get_score`,
method: 'get', method: 'get',
params: { params: {
city_id: areaId city_id: areaId
} }
}) })
} }
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment