提交 2742df1b authored 作者: 闫鹏's avatar 闫鹏

合并分支 'yp-dev' 到 'pre'

Yp dev 查看合并请求 !343
流水线 #474 已通过 于阶段
in 4 分 31 秒
......@@ -861,6 +861,7 @@ const checkedTime = ref(["全部时间"]);
// 跳转到单条制裁页面,单独打开一个新页面
const handleTitleClick = item => {
if (!item.summary) return;
window.sessionStorage.setItem("curTabName", `${item.year}-${item.dateStr}${item.title}》`);
const route = router.resolve({
path: "/exportControl/singleSanction",
......
......@@ -5,6 +5,9 @@
<el-input v-model="searchKeyword" class="search-input" placeholder="搜索实体" :suffix-icon="Search" />
<div class="filters">
<el-checkbox v-model="onlyChina" label="只看中国实体" />
<el-select v-model="order" placeholder="请选择排序方式" style="width: 160px">
<el-option v-for="item in orderOptions" :value="item.value" :key="item.value" :label="item.name" />
</el-select>
</div>
</div>
<div class="main">
......@@ -242,6 +245,11 @@ import { useGotoCompanyPages } from "@/router/modules/company";
const gotoCompanyPages = useGotoCompanyPages();
const router = useRouter();
const order = ref("asc");
const orderOptions = ref([
{ name: "正序", value: "asc" },
{ name: "倒序", value: "desc" }
]);
// 跳转公司详情页
const handleCompClick = item => {
console.log("item", item);
......@@ -257,7 +265,7 @@ const handleCompClick = item => {
};
const searchKeyword = ref("");
const onlyChina = ref(false);
const onlyChina = ref(true);
const sanctionTime = ref("");
const currentPage = ref(1);
......@@ -460,7 +468,9 @@ const getExportControlListApi = async () => {
endDate,
keyword: searchKeyword.value || undefined,
pageNum: currentPage.value,
pageSize: pageSize.value
pageSize: pageSize.value,
sortOrder: order.value
// sortField: "sanctionTime" + order.value
};
try {
......@@ -484,7 +494,12 @@ const getExportControlListApi = async () => {
}
};
watch(onlyChina, () => {
// watch(onlyChina, () => {
// currentPage.value = 1;
// getExportControlListApi();
// });
watch([onlyChina, order], () => {
currentPage.value = 1;
getExportControlListApi();
});
......@@ -550,7 +565,7 @@ watch(customDateRange, () => {
}
.filters {
// display: flex;
display: flex;
// align-items: center;
.el-checkbox {
......@@ -611,6 +626,7 @@ watch(customDateRange, () => {
margin-top: 8px;
padding-right: 24px;
box-sizing: border-box;
grid-column: 1 / -1;
:deep(.el-date-editor) {
width: 100%;
......
......@@ -533,7 +533,8 @@ const getDomainNumData = async () => {
const processedData = processDomainTrendData(res);
domainNumChartOption.value = getMultiLineChart(processedData);
console.log("获取实体清单-数据统计-processedData:", processedData);
console.log("获取实体清单-数据统计-domainNumChartOption:", domainNumChartOption.value);
console.log("获取实体清单-数据统计-domainNumChartOption:", res);
domainNumChart.interpret({ type: "折线图", name: "制裁实体领域数量变化情况", data: res });
}
} catch (error) {
console.error("获取实体清单-数据统计-制裁实体领域数量变化趋势失败:", error);
......
......@@ -92,7 +92,12 @@
<div class="content-item">
<div class="item-label">依托制裁:</div>
<div class="item-desc">
<div class="item-file" v-for="item in vertexInfo.relySanList" :key="item.id">
<div
class="item-file"
v-for="item in vertexInfo.relySanList"
:key="item.id"
@click="handleClickSan(item)"
>
<div class="item-file-name">
{{ item.title }}
</div>
......@@ -695,6 +700,18 @@ const formatChangeSummary = (addList, delList) => {
return parts.length > 0 ? parts.join(",") : "无变动";
};
const handleClickSan = item => {
window.sessionStorage.setItem("curTabName", `${item.postDate}${item.title}》`);
const route = router.resolve({
path: "/finance/singleSanction",
query: {
id: item.id,
sanTypeId: item.sanTypeId
}
});
window.open(route.href, "_blank");
};
const loading = ref(false);
const sanctionList = ref([]);
const currentSanctionId = ref(5);
......
......@@ -253,7 +253,8 @@ const handleCompClick = item => {
// }
// });
// window.open(route.href, "_blank");
gotoCompanyPages(item.id);
if (!item.entityId) return;
gotoCompanyPages(item.entityId);
};
const searchKeyword = ref("");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论