首页搜索
This commit is contained in:
@ -1,58 +1,92 @@
|
||||
import request from '@/utils/request'
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 分布专家信息
|
||||
export function getExpert() {
|
||||
return request({
|
||||
url: '/v1/index/distribution/expert',
|
||||
method: 'get'
|
||||
})
|
||||
url: "/v1/index/distribution/expert",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 分布实验室信息
|
||||
export function laboratory() {
|
||||
return request({
|
||||
url: '/v1/index/distribution/laboratory',
|
||||
method: 'get'
|
||||
})
|
||||
url: "/v1/index/distribution/laboratory",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 分布需求信息
|
||||
export function demand() {
|
||||
return request({
|
||||
url: '/v1/index/distribution/demand',
|
||||
method: 'get'
|
||||
})
|
||||
url: "/v1/index/distribution/demand",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 分布技术成果信息
|
||||
export function achievement() {
|
||||
return request({
|
||||
url: '/v1/index/distribution/achievement',
|
||||
method: 'get'
|
||||
})
|
||||
url: "/v1/index/distribution/achievement",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 分布技术成果信息
|
||||
export function company() {
|
||||
return request({
|
||||
url: '/v1/index/distribution/company',
|
||||
method: 'get'
|
||||
})
|
||||
url: "/v1/index/distribution/company",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 获取banner
|
||||
export function banner(key) {
|
||||
export function banner(params) {
|
||||
return request({
|
||||
url: '/v1/sys/banner',
|
||||
method: 'get',
|
||||
params: { key }
|
||||
})
|
||||
url: "/app/config/list",
|
||||
method: "get",
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 行业领域信息
|
||||
export function industry() {
|
||||
return request({
|
||||
url: '/v1/sys/industry',
|
||||
method: 'get',
|
||||
})
|
||||
url: "/v1/sys/industry",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 客户端搜索
|
||||
export function search(params) {
|
||||
return request({
|
||||
url: "/search/search",
|
||||
method: "get",
|
||||
params,
|
||||
});
|
||||
}
|
||||
// 获取[省]专家分布
|
||||
export function countExpertByProvince() {
|
||||
return request({
|
||||
url: "/app/map/countExpertByProvince",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 获取[市]专家分布
|
||||
export function countExpertByCity(provinceCode) {
|
||||
return request({
|
||||
url: "/app/map/countExpertByCity",
|
||||
method: "get",
|
||||
params: {
|
||||
provinceCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
// 获取[县]专家分布
|
||||
export function countExpertByArea() {
|
||||
return request({
|
||||
url: "/app/map/countExpertByArea",
|
||||
method: "get",
|
||||
params: {
|
||||
cityCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user