fixed
This commit is contained in:
9
src/api/website/aboutUs/index.js
Normal file
9
src/api/website/aboutUs/index.js
Normal file
@ -0,0 +1,9 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 关于我们
|
||||
export function getAboutList() {
|
||||
return request({
|
||||
url: "/app/about/getList",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
@ -1,92 +1,195 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 获取首页统计
|
||||
export function getAllCount() {
|
||||
return request({
|
||||
url: "/app/map/getAllCount",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 分布专家信息
|
||||
export function getExpert() {
|
||||
return request({
|
||||
url: "/v1/index/distribution/expert",
|
||||
method: "get",
|
||||
});
|
||||
return request({
|
||||
url: "/v1/index/distribution/expert",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 分布实验室信息
|
||||
export function laboratory() {
|
||||
return request({
|
||||
url: "/v1/index/distribution/laboratory",
|
||||
method: "get",
|
||||
});
|
||||
return request({
|
||||
url: "/v1/index/distribution/laboratory",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 分布需求信息
|
||||
export function demand() {
|
||||
return request({
|
||||
url: "/v1/index/distribution/demand",
|
||||
method: "get",
|
||||
});
|
||||
return request({
|
||||
url: "/v1/index/distribution/demand",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 分布技术成果信息
|
||||
export function achievement() {
|
||||
return request({
|
||||
url: "/v1/index/distribution/achievement",
|
||||
method: "get",
|
||||
});
|
||||
return request({
|
||||
url: "/v1/index/distribution/achievement",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 分布技术成果信息
|
||||
export function company() {
|
||||
return request({
|
||||
url: "/v1/index/distribution/company",
|
||||
method: "get",
|
||||
});
|
||||
return request({
|
||||
url: "/v1/index/distribution/company",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 获取banner
|
||||
export function banner(params) {
|
||||
return request({
|
||||
url: "/app/config/list",
|
||||
method: "get",
|
||||
params,
|
||||
});
|
||||
return request({
|
||||
url: "/app/config/list",
|
||||
method: "get",
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
// 行业领域信息
|
||||
export function industry() {
|
||||
return request({
|
||||
url: "/v1/sys/industry",
|
||||
method: "get",
|
||||
});
|
||||
return request({
|
||||
url: "/v1/sys/industry",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 客户端搜索
|
||||
export function search(params) {
|
||||
return request({
|
||||
url: "/search/search",
|
||||
method: "get",
|
||||
params,
|
||||
});
|
||||
return request({
|
||||
url: "/search/search",
|
||||
method: "get",
|
||||
params,
|
||||
});
|
||||
}
|
||||
// 客户端专利搜索结果详情
|
||||
export function searchPatentDetail(id) {
|
||||
return request({
|
||||
url: `/search/patent/${id}`,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 客户端专利搜索结果详情
|
||||
export function searchEnterpriseDetail(id) {
|
||||
return request({
|
||||
url: `/search/enterprise/${id}`,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
// 获取[省]专家分布
|
||||
export function countExpertByProvince() {
|
||||
return request({
|
||||
url: "/app/map/countExpertByProvince",
|
||||
method: "get",
|
||||
});
|
||||
return request({
|
||||
url: "/app/map/countExpertByProvince",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 获取[市]专家分布
|
||||
export function countExpertByCity(provinceCode) {
|
||||
return request({
|
||||
url: "/app/map/countExpertByCity",
|
||||
method: "get",
|
||||
params: {
|
||||
provinceCode,
|
||||
},
|
||||
});
|
||||
return request({
|
||||
url: "/app/map/countExpertByCity",
|
||||
method: "get",
|
||||
params: {
|
||||
provinceCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
// 获取[县]专家分布
|
||||
export function countExpertByArea() {
|
||||
return request({
|
||||
url: "/app/map/countExpertByArea",
|
||||
method: "get",
|
||||
params: {
|
||||
cityCode,
|
||||
},
|
||||
});
|
||||
export function countExpertByArea(cityCode) {
|
||||
return request({
|
||||
url: "/app/map/countExpertByArea",
|
||||
method: "get",
|
||||
params: {
|
||||
cityCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
// 获取[省]企业分布
|
||||
export function countEnterpriseByProvince() {
|
||||
return request({
|
||||
url: "/app/map/countEnterpriseByProvince",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 获取[市]企业分布
|
||||
export function countEnterpriseByCity(provinceCode) {
|
||||
return request({
|
||||
url: "/app/map/countEnterpriseByCity",
|
||||
method: "get",
|
||||
params: {
|
||||
provinceCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
// 获取[县]企业分布
|
||||
export function countEnterpriseByArea(cityCode) {
|
||||
return request({
|
||||
url: "/app/map/countEnterpriseByArea",
|
||||
method: "get",
|
||||
params: {
|
||||
cityCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
// 获取[省]需求分布
|
||||
export function countDemandByProvince() {
|
||||
return request({
|
||||
url: "/app/map/countDemandByProvince",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 获取[市]需求分布
|
||||
export function countDemandByCity(provinceCode) {
|
||||
return request({
|
||||
url: "/app/map/countDemandByCity",
|
||||
method: "get",
|
||||
params: {
|
||||
provinceCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
// 获取[县]需求分布
|
||||
export function countDemandByArea(cityCode) {
|
||||
return request({
|
||||
url: "/app/map/countDemandByArea",
|
||||
method: "get",
|
||||
params: {
|
||||
cityCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
// 获取[省]成果分布
|
||||
export function countAchievementByProvince() {
|
||||
return request({
|
||||
url: "/app/map/countAchievementByProvince",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 获取[市]成果分布
|
||||
export function countAchievementByCity(provinceCode) {
|
||||
return request({
|
||||
url: "/app/map/countAchievementByCity",
|
||||
method: "get",
|
||||
params: {
|
||||
provinceCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
// 获取[县]成果分布
|
||||
export function countAchievementByArea(cityCode) {
|
||||
return request({
|
||||
url: "/app/map/countAchievementByArea",
|
||||
method: "get",
|
||||
params: {
|
||||
cityCode,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
25
src/api/website/innovate/index.js
Normal file
25
src/api/website/innovate/index.js
Normal file
@ -0,0 +1,25 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 获取导航分类
|
||||
export function getKinds() {
|
||||
return request({
|
||||
url: "/app/inovate/getKinds",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 获取列表
|
||||
export function getInovateList(params) {
|
||||
return request({
|
||||
url: "/app/inovate/list",
|
||||
method: "get",
|
||||
params,
|
||||
});
|
||||
}
|
||||
// 获取详情
|
||||
export function getInovateInfo(params) {
|
||||
return request({
|
||||
url: "/app/inovate/getInfo",
|
||||
method: "get",
|
||||
params,
|
||||
});
|
||||
}
|
||||
10
src/api/website/message.js
Normal file
10
src/api/website/message.js
Normal file
@ -0,0 +1,10 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 发布留言
|
||||
export function pubMessage(data) {
|
||||
return request({
|
||||
url: "/app/message",
|
||||
method: "POST",
|
||||
data,
|
||||
});
|
||||
}
|
||||
18
src/api/website/solution/index.js
Normal file
18
src/api/website/solution/index.js
Normal file
@ -0,0 +1,18 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 获取列表
|
||||
export function getCase(params) {
|
||||
return request({
|
||||
url: "/app/solution/getCase",
|
||||
method: "get",
|
||||
params,
|
||||
});
|
||||
}
|
||||
// 获取详情
|
||||
export function getInfo(params) {
|
||||
return request({
|
||||
url: "/app/solution/getInfo",
|
||||
method: "get",
|
||||
params,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user