Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
2dbd281c
提交
2dbd281c
authored
3月 23, 2026
作者:
朱政
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:摘要页组件替换
上级
6714a4e9
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
18 行增加
和
42 行删除
+18
-42
index.vue
src/views/thinkTank/ReportDetail/reportAnalysis/index.vue
+10
-10
index.vue
src/views/thinkTank/reportOriginal/index.vue
+8
-32
没有找到文件。
src/views/thinkTank/ReportDetail/reportAnalysis/index.vue
浏览文件 @
2dbd281c
...
...
@@ -121,14 +121,12 @@
<div
class=
"box3"
>
<AnalysisBox
title=
"报告摘要"
:showAllBtn=
"true"
>
<div
class=
"box3-main"
>
<div
class=
"box3-top"
>
<div
class=
"top-title"
>
<div
class=
"title-image"
>
<img
src=
"../images/title-image.png"
alt=
""
/>
</div>
</div>
</div>
<div
class=
"box3-text"
>
{{ box1Data }}
</div>
<AiSummary>
<
template
#
summary-content
>
{{
box1Data
}}
</
template
>
</AiSummary>
</div>
</AnalysisBox>
</div>
...
...
@@ -210,6 +208,7 @@ import {
import
{
getChartAnalysis
}
from
"@/api/aiAnalysis/index"
;
import
{
useRouter
}
from
"vue-router"
;
import
"echarts-wordcloud"
;
import
AiSummary
from
'@/components/base/Ai/AiSummary/index.vue'
const
router
=
useRouter
();
...
...
@@ -881,7 +880,7 @@ onMounted(() => {
.box3
{
width
:
1103px
;
height
:
545
px
;
height
:
890
px
;
// border: 1px solid rgba(234, 236, 238, 1);
// border-radius: 10px;
...
...
@@ -889,9 +888,10 @@ onMounted(() => {
// background: rgba(255, 255, 255, 1);
.box3-main
{
width
:
1058px
;
height
:
466
px
;
height
:
830
px
;
margin-top
:
3px
;
margin-left
:
22px
;
padding-bottom
:
22px
;
...
...
src/views/thinkTank/reportOriginal/index.vue
浏览文件 @
2dbd281c
...
...
@@ -24,7 +24,7 @@
</div>
<div
class=
"main"
>
<div
class=
"main-header"
>
<div
style=
"
margin-top: 17px;"
>
<div
style=
" margin-top: 17px;"
>
智库报告原文
</div>
<div
class=
"btn-box"
>
...
...
@@ -44,38 +44,14 @@
</div>
<div
class=
"text"
>
{{
"下载"
}}
</div>
</div>
<div
class=
"btn search-btn"
@
click=
"showSearchInput = !showSearchInput"
>
<div
class=
"icon"
>
<img
src=
"../ReportDetail/images/Line_Search.png"
alt=
""
/>
</div>
<div
class=
"text"
>
{{
"查找"
}}
</div>
</div>
<div
v-if=
"showSearchInput"
class=
"search-input-wrap"
>
<el-input
v-model=
"searchKeywordText"
placeholder=
"输入关键词查找页码"
clearable
size=
"small"
style=
"width: 200px;"
@
keyup
.
enter=
"handleSearchInPdf"
/>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleSearchInPdf"
>
查找
</el-button>
</div>
</div>
</div>
<div
class=
"report-box"
>
<pdf
v-if=
"valueSwitch && reportUrlEnWithPage"
ref=
"leftPdfRef"
:pdfUrl=
"reportUrlEnWithPage"
class=
"pdf-pane"
/>
<pdf
v-if=
"reportUrlWithPage"
ref=
"rightPdfRef"
:pdfUrl=
"reportUrlWithPage"
:class=
"['pdf-pane',
{ 'pdf-pane-full': !valueSwitch }]"
/>
<pdf
v-if=
"valueSwitch && reportUrlEnWithPage"
ref=
"leftPdfRef"
:pdfUrl=
"reportUrlEnWithPage"
class=
"pdf-pane"
/>
<pdf
v-if=
"reportUrlWithPage"
ref=
"rightPdfRef"
:pdfUrl=
"reportUrlWithPage"
:class=
"['pdf-pane',
{ 'pdf-pane-full': !valueSwitch }]" />
</div>
</div>
</div>
...
...
@@ -138,7 +114,7 @@ const handleSearchInPdf = async () => {
try
{
const
{
ElMessage
}
=
await
import
(
'element-plus'
)
ElMessage
.
warning
(
'未找到包含该关键词的页面'
)
}
catch
(
_
)
{}
}
catch
(
_
)
{
}
}
}
...
...
@@ -167,7 +143,7 @@ const handleDownload = async () => {
try
{
const
{
ElMessage
}
=
await
import
(
'element-plus'
)
ElMessage
.
warning
(
'暂无下载链接'
)
}
catch
(
_
)
{}
}
catch
(
_
)
{
}
return
}
const
baseName
=
(
thinkInfo
.
value
?.
name
||
'报告原文'
).
replace
(
/
[/\\
?%*:|"<>
]
/g
,
'-'
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论