Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
65953eed
提交
65953eed
authored
12月 19, 2025
作者:
coderBryanFu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
智库样式优化
上级
af7079a0
全部展开
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
63 行增加
和
41 行删除
+63
-41
overview.js
src/api/thinkTank/overview.js
+1
-0
index.vue
src/views/thinkTank/ReportDetail/policyTracking/index.vue
+3
-1
index.vue
src/views/thinkTank/ReportDetail/reportAnalysis/index.vue
+47
-37
index.vue
src/views/thinkTank/ThinkTankDetail/PolicyTracking/index.vue
+0
-0
index.vue
src/views/thinkTank/ThinkTankDetail/index.vue
+5
-2
index.vue
src/views/thinkTank/ThinkTankDetail/thinkDynamics/index.vue
+4
-1
index.vue
src/views/thinkTank/index.vue
+3
-0
没有找到文件。
src/api/thinkTank/overview.js
浏览文件 @
65953eed
...
...
@@ -141,6 +141,7 @@ export function getThinkPolicy(params) {
return
request
({
method
:
'GET'
,
url
:
`/api/thinkTankInfo/policy/
${
params
.
id
}
/
${
params
.
startDate
}
`
,
params
})
}
...
...
src/views/thinkTank/ReportDetail/policyTracking/index.vue
浏览文件 @
65953eed
...
...
@@ -431,7 +431,8 @@ onMounted(async () => {
width
:
1056px
;
height
:
1280px
;
margin
:
0
auto
;
overflow
:
auto
;
overflow
:
hidden
;
overflow-y
:
auto
;
.box1-item
{
height
:
128px
;
...
...
@@ -456,6 +457,7 @@ onMounted(async () => {
}
.center
{
width
:
850px
;
margin-left
:
18px
;
.title
{
...
...
src/views/thinkTank/ReportDetail/reportAnalysis/index.vue
浏览文件 @
65953eed
...
...
@@ -39,8 +39,13 @@
</div>
<div
class=
"box2-main"
>
<div
class=
"box2-main-tag-box"
>
<div
class=
"tag"
:class=
"
{ tagActive: activeArea === item }" v-for="(item, index) in areaList" :key="index"
@click="handleClickArea(item.status)">
<div
class=
"tag"
:class=
"
{ tagActive: activeArea === item }"
v-for="(item, index) in areaList"
:key="index"
@click="handleClickArea(item.status)"
>
{{
item
.
industryName
}}
</div>
</div>
...
...
@@ -94,13 +99,16 @@
</div>
</div>
<div
class=
"box3-main-footer"
>
<div
class=
"info"
>
共
{{
total
}}
项调查
</div>
<div
class=
"info"
>
共
{{
total
}}
项调查
</div>
<div
class=
"page-box"
>
<el-pagination
:page-size=
"12"
background
layout=
"prev, pager, next"
:total=
"total"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
/>
<el-pagination
:page-size=
"12"
background
layout=
"prev, pager, next"
:total=
"total"
@
current-change=
"handleCurrentChange"
:current-page=
"currentPage"
/>
</div>
</div>
</div>
...
...
@@ -131,7 +139,6 @@ import {
getThinkTankReportContent
,
getThinkTankReportIndustry
,
getThinkTankReportIndustryCloud
}
from
"@/api/thinkTank/overview"
;
import
{
useRouter
}
from
"vue-router"
;
const
router
=
useRouter
();
...
...
@@ -141,27 +148,25 @@ const box1Data =
ref
(
`包括经济竞争在内的美中竞争自2017年以来一直在定义美国外交政策。这两个经济体是世界上第一和第二大国家经济体,并且深深交织在一起。改变关系,无论多么必要,可能是昂贵的。因此,美国面临着一项挑战,确保其经济在耦合的战略竞争条件下满足国家的需求。
为了应对这一挑战,兰德大学的研究人员对美中竞争进行了经济和制度分析,进行了参与式的远见练习,以了解确保美国经济健康的长期路径,并创建了两个经济竞争游戏,探索多个国家在相互交流的同时确保经济健康的动态...`
);
//获取内容摘要
const
handleGetThinkTankReportAbstract
=
async
()
=>
{
try
{
const
res
=
await
getThinkTankReportAbstract
(
router
.
currentRoute
.
_value
.
params
.
id
);
console
.
log
(
"内容摘要"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
box1Data
.
value
=
res
.
data
box1Data
.
value
=
res
.
data
;
}
}
catch
(
error
)
{
console
.
error
(
"获取内容摘要error"
,
error
);
}
};
// 涉及科技领域
const
areaList
=
ref
([]);
const
activeArea
=
ref
(
6
);
const
handleClickArea
=
area
=>
{
activeArea
.
value
=
area
;
handleGetThinkTankReportIndustryCloud
()
handleGetThinkTankReportIndustryCloud
()
;
};
const
box2Data
=
ref
([
// {
...
...
@@ -204,21 +209,20 @@ const handleGetThinkTankReportIndustryCloud = async () => {
const
params
=
{
id
:
router
.
currentRoute
.
_value
.
params
.
id
,
industryId
:
activeArea
.
value
}
}
;
const
res
=
await
getThinkTankReportIndustryCloud
(
params
);
console
.
log
(
"科技领域词云"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
const
data
=
[]
const
data
=
[]
;
res
.
data
.
map
(
item
=>
{
data
.
push
(
{
data
.
push
({
name
:
item
.
clause
,
value
:
item
.
count
})
box2Data
.
value
=
data
});
box2Data
.
value
=
data
;
const
box2Chart
=
getWordCloudChart
(
box2Data
.
value
);
setChart
(
box2Chart
,
"box2Chart"
);
})
})
;
}
}
catch
(
error
)
{
console
.
error
(
"获取科技领域词云error"
,
error
);
...
...
@@ -230,7 +234,7 @@ const handleGetThinkTankReportIndustry = async () => {
const
res
=
await
getThinkTankReportIndustry
(
router
.
currentRoute
.
_value
.
params
.
id
);
console
.
log
(
"涉及科技领域"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
areaList
.
value
=
res
.
data
areaList
.
value
=
res
.
data
;
}
}
catch
(
error
)
{
console
.
error
(
"获取涉及科技领域error"
,
error
);
...
...
@@ -378,10 +382,10 @@ const majorOpinions = ref([
}
]);
// 处理页码改变事件
const
currentPage
=
ref
(
1
)
const
currentPage
=
ref
(
1
)
;
const
handleCurrentChange
=
page
=>
{
currentPage
.
value
=
page
;
handleGetThinkDynamicsReport
()
handleGetThinkDynamicsReport
()
;
};
//获取报告主要观点
const
handleGetThinkTankReportContent
=
async
()
=>
{
...
...
@@ -389,19 +393,18 @@ const handleGetThinkTankReportContent = async () => {
const
res
=
await
getThinkTankReportContent
(
router
.
currentRoute
.
_value
.
params
.
id
);
console
.
log
(
"主要观点"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
majorOpinions
.
value
=
res
.
data
.
content
majorOpinions
.
value
=
res
.
data
.
content
;
}
}
catch
(
error
)
{
console
.
error
(
"获取主要观点error"
,
error
);
}
};
onMounted
(()
=>
{
handleGetThinkTankReportAbstract
()
handleGetThinkTankReportContent
()
handleGetThinkTankReportIndustry
()
handleGetThinkTankReportIndustryCloud
()
handleGetThinkTankReportAbstract
();
handleGetThinkTankReportContent
();
handleGetThinkTankReportIndustry
();
handleGetThinkTankReportIndustryCloud
();
});
</
script
>
...
...
@@ -506,14 +509,15 @@ onMounted(() => {
line-height
:
30px
;
letter-spacing
:
0px
;
text-align
:
justify
;
display
:
-
webkit-box
;
/* 使用Webkit的弹性盒模型 */
-webkit-box-orient
:
vertical
;
/* 垂直排列 */
-webkit-line-clamp
:
9
;
/* 限制显示9行 */
overflow
:
hidden
;
/* 隐藏超出部分 */
overflow-y
:
auto
;
// display: -webkit-box;
// /* 使用Webkit的弹性盒模型 */
// -webkit-box-orient: vertical;
// /* 垂直排列 */
// -webkit-line-clamp: 9;
// /* 限制显示9行 */
// overflow: hidden;
// /* 隐藏超出部分 */
}
.box1-footer
{
...
...
@@ -667,6 +671,9 @@ onMounted(() => {
line-height
:
26px
;
letter-spacing
:
0px
;
text-align
:
left
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
.desc
{
...
...
@@ -678,6 +685,9 @@ onMounted(() => {
line-height
:
22px
;
letter-spacing
:
0px
;
text-align
:
left
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
...
...
src/views/thinkTank/ThinkTankDetail/PolicyTracking/index.vue
浏览文件 @
65953eed
差异被折叠。
点击展开。
src/views/thinkTank/ThinkTankDetail/index.vue
浏览文件 @
65953eed
...
...
@@ -14,7 +14,7 @@
{{
thinkTank
.
describe
}}
</div>
<div
class=
"center-footer"
>
<div
class=
"tag"
v-for=
"tag
in thinkTank.tags
"
>
{{
tag
.
industryName
}}
</div>
<div
class=
"tag"
v-for=
"tag
,index in thinkTank.tags"
:key=
"index
"
>
{{
tag
.
industryName
}}
</div>
</div>
</div>
...
...
@@ -114,7 +114,10 @@ onMounted(async () => {
.header-top-left
{
width
:
88px
;
height
:
88px
;
background
:
purple
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.header-top-center
{
...
...
src/views/thinkTank/ThinkTankDetail/thinkDynamics/index.vue
浏览文件 @
65953eed
...
...
@@ -14,7 +14,7 @@
<el-option
@
click=
"handleGetThinkDynamicsReport()"
v-for=
"item in yearList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
<el-select
v-model=
"sort"
placeholder=
"发布时间"
style=
"width: 120px"
>
<el-select
v-model=
"sort"
placeholder=
"发布时间"
style=
"width: 120px
; margin-left: 8px;
"
>
<el-option
@
click=
"handleGetThinkDynamicsReport()"
:key=
"true"
label=
"正序"
:value=
"true"
/>
<el-option
@
click=
"handleGetThinkDynamicsReport()"
:key=
"false"
label=
"倒序"
:value=
"false"
/>
</el-select>
...
...
@@ -490,6 +490,9 @@ onMounted(async () => {
font-size
:
18px
;
font-weight
:
700
;
line-height
:
24px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
.footer-card-footer
{
...
...
src/views/thinkTank/index.vue
浏览文件 @
65953eed
...
...
@@ -1475,6 +1475,9 @@ onMounted(async () => {
font
-
weight
:
400
;
line
-
height
:
32
px
;
letter
-
spacing
:
0
px
;
overflow
:
hidden
;
// text-overflow: ellipsis;
// white-space: nowrap;
}
.
rank1
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论