提交 fd527c8e authored 作者: coderBryanFu's avatar coderBryanFu

update

上级 207590dd
...@@ -109,6 +109,23 @@ export function getHylyList() { ...@@ -109,6 +109,23 @@ export function getHylyList() {
}) })
} }
// 左侧发布机构
export function getSearchAOMeasures(params) {
return request({
method: 'GET',
url: `/api/marketsearchDetails/getSearchAOMeasures`,
params
})
}
// // 左侧受调查国家/地区
// export function getSearchAOMeasures() {
// return request({
// method: 'GET',
// url: `/api/marketsearchDetails/getSearchAOMeasures`,
// })
// }
// 获取调查列表接口 // 获取调查列表接口
/** /**
* @param {currentPage, pageSize, sortCode, publishYear, Area, sortField, sortOrder} * @param {currentPage, pageSize, sortCode, publishYear, Area, sortField, sortOrder}
......
...@@ -289,6 +289,7 @@ const rightList = ref([ ...@@ -289,6 +289,7 @@ const rightList = ref([
width: 256px; width: 256px;
height: 36px; height: 36px;
align-items: center; align-items: center;
border-radius: 4px;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
background: var(--color-bg-hover); background: var(--color-bg-hover);
...@@ -361,6 +362,7 @@ const rightList = ref([ ...@@ -361,6 +362,7 @@ const rightList = ref([
width: 256px; width: 256px;
height: 36px; height: 36px;
align-items: center; align-items: center;
border-radius: 4px;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
background: var(--color-bg-hover); background: var(--color-bg-hover);
......
...@@ -699,6 +699,7 @@ import { ...@@ -699,6 +699,7 @@ import {
getSurveyList, getSurveyList,
getSearchCountry, getSearchCountry,
getSearchResult, getSearchResult,
getSearchAOMeasures,
getStatAreaCompanyList, getStatAreaCompanyList,
getCompanyPlace getCompanyPlace
} from "@/api/marketAccessRestrictions/index"; } from "@/api/marketAccessRestrictions/index";
...@@ -1175,7 +1176,7 @@ const handleBox6 = async () => { ...@@ -1175,7 +1176,7 @@ const handleBox6 = async () => {
setChart(chart2, "chart2"); setChart(chart2, "chart2");
}; };
// 调查国家分布 // 调查国家分布
const box7SurveyList = ref([ const box7SurveyList = ref([
{ {
label: "337调查", label: "337调查",
...@@ -1395,6 +1396,7 @@ const activeCateId = ref(""); ...@@ -1395,6 +1396,7 @@ const activeCateId = ref("");
const handleClickCate = cate => { const handleClickCate = cate => {
activeCateId.value = cate.id; activeCateId.value = cate.id;
handleGetInsList()
handleGetSurveyList(); handleGetSurveyList();
}; };
const isSort = ref(true); // true 升序 false 倒序 const isSort = ref(true); // true 升序 false 倒序
...@@ -1470,6 +1472,20 @@ const insList = ref([ ...@@ -1470,6 +1472,20 @@ const insList = ref([
} }
]); ]);
const checkedInsList = ref(["54"]); const checkedInsList = ref(["54"]);
const handleGetInsList = async() => {
const params = {
sortCode: activeCateId.value
}
try {
const res = await getSearchAOMeasures(params)
console.log('发布机构', res);
} catch (error) {
}
}
const handleChangeCheckedIns = () => { const handleChangeCheckedIns = () => {
// console.log(checkedAreaList.value); // console.log(checkedAreaList.value);
handleGetSurveyList(); handleGetSurveyList();
...@@ -1578,7 +1594,7 @@ onMounted(async () => { ...@@ -1578,7 +1594,7 @@ onMounted(async () => {
handleBox6(); handleBox6();
handleBox7(); handleBox7();
handleBox8(); handleBox8();
await handleGetInsList()
await handleGetAreaList(); await handleGetAreaList();
handleGetSurveyList(); handleGetSurveyList();
}); });
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论