|
@@ -26,7 +26,7 @@ const onReportClick = (item, index) => {
|
|
|
if (props.otherList && props.otherList.length > 0) {
|
|
|
const currentYear = props.otherList[index]?.report_year?.value
|
|
|
if (currentYear) {
|
|
|
- window.open(`/ent/report/${currentYear}/${encodeURIComponent(props.entId)}`, '_blank')
|
|
|
+ window.open(`/swordfish/page_big_pc/ent/report/${currentYear}/${encodeURIComponent(props.entId)}`, '_blank')
|
|
|
} else {
|
|
|
console.error('取不到年份');
|
|
|
}
|
|
@@ -34,7 +34,7 @@ const onReportClick = (item, index) => {
|
|
|
// 没有则截取报告名字里的年份
|
|
|
const year = item?.report_year.match(/\d{4}/)?.[0] || ''
|
|
|
if (year) {
|
|
|
- window.open(`/ent/report/${year}/${encodeURIComponent(props.entId)}`, '_blank')
|
|
|
+ window.open(`/swordfish/page_big_pc/ent/report/${year}/${encodeURIComponent(props.entId)}`, '_blank')
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -72,8 +72,8 @@ onMounted(() => {
|
|
|
<i class="el-icon-arrow-left"></i>
|
|
|
</div>
|
|
|
<div class="ent-report-main">
|
|
|
- <div
|
|
|
- class="flex flex-items-center report-list"
|
|
|
+ <div
|
|
|
+ class="flex flex-items-center report-list"
|
|
|
ref="reportListRef"
|
|
|
:style="{ transform: `translateX(${transformX}px)` }"
|
|
|
>
|
|
@@ -178,4 +178,4 @@ onMounted(() => {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|