Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
764cf528
提交
764cf528
authored
4月 22, 2026
作者:
张伊明
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'zz-dev' 到 'pre'
feat:加密解密导致智库错误修复 查看合并请求
!384
上级
4a4ab848
a37f484f
流水线
#604
已通过 于阶段
in 4 分 10 秒
变更
4
流水线
1
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
29 行增加
和
13 行删除
+29
-13
setChart.js
src/utils/setChart.js
+2
-0
index.vue
src/views/thinkTank/ThinkTankDetail/PolicyTracking/index.vue
+17
-6
index.vue
src/views/thinkTank/ThinkTankDetail/thinkDynamics/index.vue
+2
-1
index.vue
src/views/thinkTank/ThinkTankDetail/thinkInfo/index.vue
+8
-6
没有找到文件。
src/utils/setChart.js
浏览文件 @
764cf528
...
@@ -37,6 +37,8 @@ const setChart = (option, chartId, allowClick, selectParam) => {
...
@@ -37,6 +37,8 @@ const setChart = (option, chartId, allowClick, selectParam) => {
});
});
});
});
if
(
allowClick
)
{
if
(
allowClick
)
{
chart
.
on
(
'click'
,
function
(
params
)
{
chart
.
on
(
'click'
,
function
(
params
)
{
// 图例分页箭头只负责翻页,不走任何跳转
// 图例分页箭头只负责翻页,不走任何跳转
...
...
src/views/thinkTank/ThinkTankDetail/PolicyTracking/index.vue
浏览文件 @
764cf528
...
@@ -293,8 +293,10 @@ import defaultNewsIcon from "@/assets/icons/default-icon-news.png";
...
@@ -293,8 +293,10 @@ import defaultNewsIcon from "@/assets/icons/default-icon-news.png";
import
AreaTag
from
"@/components/base/AreaTag/index.vue"
;
import
AreaTag
from
"@/components/base/AreaTag/index.vue"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
getDecodedParams
}
from
"@/utils/goToPage"
;
const
router
=
useRouter
();
const
router
=
useRouter
();
const
thinkTankId
=
computed
(()
=>
getDecodedParams
());
const
loading
=
ref
(
false
);
const
loading
=
ref
(
false
);
const
pageScrollRef
=
ref
(
null
);
const
pageScrollRef
=
ref
(
null
);
...
@@ -475,8 +477,10 @@ const selectableDepartment = ref([]);
...
@@ -475,8 +477,10 @@ const selectableDepartment = ref([]);
const
handleGetThinkPolicyIndustry
=
async
()
=>
{
const
handleGetThinkPolicyIndustry
=
async
()
=>
{
aiContentPolicyPt1
.
value
=
""
;
aiContentPolicyPt1
.
value
=
""
;
try
{
try
{
const
id
=
thinkTankId
.
value
;
if
(
!
id
)
return
;
const
parmas
=
{
const
parmas
=
{
id
:
router
.
currentRoute
.
_value
.
params
.
id
,
id
,
year
:
box1SelectYear
.
value
year
:
box1SelectYear
.
value
};
};
const
res
=
await
getThinkPolicyIndustry
(
parmas
);
const
res
=
await
getThinkPolicyIndustry
(
parmas
);
...
@@ -570,8 +574,10 @@ const box2TotalData = ref([]);
...
@@ -570,8 +574,10 @@ const box2TotalData = ref([]);
const
handleGetPolicyAdviceDeptDistribution
=
async
()
=>
{
const
handleGetPolicyAdviceDeptDistribution
=
async
()
=>
{
aiContentPolicyPt2
.
value
=
""
;
aiContentPolicyPt2
.
value
=
""
;
try
{
try
{
const
id
=
thinkTankId
.
value
;
if
(
!
id
)
return
;
const
parmas
=
{
const
parmas
=
{
id
:
router
.
currentRoute
.
_value
.
params
.
id
,
id
,
year
:
box2SelectYear
.
value
year
:
box2SelectYear
.
value
};
};
const
res
=
await
getPolicyAdviceDeptDistribution
(
parmas
);
const
res
=
await
getPolicyAdviceDeptDistribution
(
parmas
);
...
@@ -631,8 +637,10 @@ const box2YearList = ref([
...
@@ -631,8 +637,10 @@ const box2YearList = ref([
const
handleGetThinkPolicyIndustryTotal
=
async
()
=>
{
const
handleGetThinkPolicyIndustryTotal
=
async
()
=>
{
try
{
try
{
const
id
=
thinkTankId
.
value
;
if
(
!
id
)
return
;
const
parmas
=
{
const
parmas
=
{
id
:
router
.
currentRoute
.
_value
.
params
.
id
,
id
,
year
:
box2SelectYear
.
value
year
:
box2SelectYear
.
value
};
};
const
res
=
await
getThinkPolicyIndustryTotal
(
parmas
);
const
res
=
await
getThinkPolicyIndustryTotal
(
parmas
);
...
@@ -712,8 +720,10 @@ const box3MonthsList = ref([
...
@@ -712,8 +720,10 @@ const box3MonthsList = ref([
const
handleGetThinkPolicyIndustryChange
=
async
()
=>
{
const
handleGetThinkPolicyIndustryChange
=
async
()
=>
{
aiContentPolicyPt3
.
value
=
""
;
aiContentPolicyPt3
.
value
=
""
;
try
{
try
{
const
id
=
thinkTankId
.
value
;
if
(
!
id
)
return
;
const
parmas
=
{
const
parmas
=
{
id
:
router
.
currentRoute
.
_value
.
params
.
id
,
id
,
year
:
box3SelectMonths
.
value
year
:
box3SelectMonths
.
value
};
};
const
res
=
await
getThinkPolicyIndustryChange
(
parmas
);
const
res
=
await
getThinkPolicyIndustryChange
(
parmas
);
...
@@ -1343,7 +1353,8 @@ const handleCurrentChange = page => {
...
@@ -1343,7 +1353,8 @@ const handleCurrentChange = page => {
const
handleGetThinkPolicy
=
async
()
=>
{
const
handleGetThinkPolicy
=
async
()
=>
{
try
{
try
{
loading
.
value
=
true
;
loading
.
value
=
true
;
const
thinkTankId
=
router
.
currentRoute
.
_value
.
params
.
id
;
const
curThinkTankId
=
thinkTankId
.
value
;
if
(
!
curThinkTankId
)
return
;
const
domainIds
=
selectedAreaList
.
value
const
domainIds
=
selectedAreaList
.
value
.
filter
((
id
)
=>
id
!=
null
&&
id
!==
""
&&
id
!==
POLICY_FILTER_ALL_AREA
)
.
filter
((
id
)
=>
id
!=
null
&&
id
!==
""
&&
id
!==
POLICY_FILTER_ALL_AREA
)
.
map
((
id
)
=>
String
(
id
))
.
map
((
id
)
=>
String
(
id
))
...
@@ -1357,7 +1368,7 @@ const handleGetThinkPolicy = async () => {
...
@@ -1357,7 +1368,7 @@ const handleGetThinkPolicy = async () => {
selectedYear
.
value
selectedYear
.
value
);
);
const
parmas
=
{
const
parmas
=
{
thinkTankId
,
thinkTankId
:
curThinkTankId
,
startDate
,
startDate
,
endDate
,
endDate
,
pageNum
:
currentPage
.
value
,
pageNum
:
currentPage
.
value
,
...
...
src/views/thinkTank/ThinkTankDetail/thinkDynamics/index.vue
浏览文件 @
764cf528
...
@@ -78,9 +78,11 @@ import {
...
@@ -78,9 +78,11 @@ import {
getResourceLibraryReportDateRangeFromTimeSelection
getResourceLibraryReportDateRangeFromTimeSelection
}
from
"../../utils/resourceLibraryFilters"
;
}
from
"../../utils/resourceLibraryFilters"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
getDecodedParams
}
from
"@/utils/goToPage"
;
import
ThinkTankReport
from
"./ThinkTankReport/index.vue"
;
import
ThinkTankReport
from
"./ThinkTankReport/index.vue"
;
import
CongressHearing
from
"./CongressHearing/index.vue"
;
import
CongressHearing
from
"./CongressHearing/index.vue"
;
const
router
=
useRouter
();
const
router
=
useRouter
();
const
thinkTankId
=
getDecodedParams
();
const
isThinkTankReport
=
ref
(
true
);
const
isThinkTankReport
=
ref
(
true
);
const
isSurveyForm
=
ref
(
false
);
const
isSurveyForm
=
ref
(
false
);
const
isCongressHearing
=
ref
(
false
);
const
isCongressHearing
=
ref
(
false
);
...
@@ -420,7 +422,6 @@ const handleGetThinkDynamicsReport = async (payload) => {
...
@@ -420,7 +422,6 @@ const handleGetThinkDynamicsReport = async (payload) => {
?
""
?
""
:
arrayToString
(
areas
);
:
arrayToString
(
areas
);
const
keyword
=
(
searchReport
.
value
||
""
).
trim
();
const
keyword
=
(
searchReport
.
value
||
""
).
trim
();
const
thinkTankId
=
router
.
currentRoute
.
_value
.
params
?.
id
;
if
(
isCongressHearing
.
value
)
{
if
(
isCongressHearing
.
value
)
{
curFooterList
.
value
=
[];
curFooterList
.
value
=
[];
curFooterProjectList
.
value
=
[];
curFooterProjectList
.
value
=
[];
...
...
src/views/thinkTank/ThinkTankDetail/thinkInfo/index.vue
浏览文件 @
764cf528
...
@@ -259,6 +259,7 @@ import { ref, onMounted, nextTick, computed } from "vue";
...
@@ -259,6 +259,7 @@ import { ref, onMounted, nextTick, computed } from "vue";
import
setChart
from
"@/utils/setChart"
;
import
setChart
from
"@/utils/setChart"
;
import
getPieChart
from
"./utils/piechart"
;
import
getPieChart
from
"./utils/piechart"
;
import
getTreeMapChart
from
"./utils/treeMapChart"
;
import
getTreeMapChart
from
"./utils/treeMapChart"
;
import
{
getDecodedParams
}
from
"@/utils/goToPage"
;
import
{
import
{
getThinkTankInfoBasic
,
getThinkTankInfoBasic
,
getThinkTankInfoBranch
,
getThinkTankInfoBranch
,
...
@@ -274,6 +275,7 @@ import DefaultIcon1 from '@/assets/icons/default-icon1.png'
...
@@ -274,6 +275,7 @@ import DefaultIcon1 from '@/assets/icons/default-icon1.png'
import
{
getPersonSummaryInfo
}
from
"@/api/common/index"
;
import
{
getPersonSummaryInfo
}
from
"@/api/common/index"
;
const
totalPersonNumber
=
ref
(
0
)
const
totalPersonNumber
=
ref
(
0
)
const
router
=
useRouter
();
const
router
=
useRouter
();
const
thinkTankId
=
getDecodedParams
();
import
InfoImg
from
"./images/img.png"
;
import
InfoImg
from
"./images/img.png"
;
import
Icon1
from
"./images/icon1.png"
;
import
Icon1
from
"./images/icon1.png"
;
import
Icon2
from
"./images/icon2.png"
;
import
Icon2
from
"./images/icon2.png"
;
...
@@ -297,7 +299,7 @@ const basicInfo = ref({
...
@@ -297,7 +299,7 @@ const basicInfo = ref({
const
handleGetThinkTankInfoBasic
=
async
()
=>
{
const
handleGetThinkTankInfoBasic
=
async
()
=>
{
try
{
try
{
const
res
=
await
getThinkTankInfoBasic
(
router
.
currentRoute
.
_value
.
params
.
i
d
);
const
res
=
await
getThinkTankInfoBasic
(
thinkTankI
d
);
console
.
log
(
"基本信息"
,
res
);
console
.
log
(
"基本信息"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
if
(
res
.
code
===
200
&&
res
.
data
)
{
basicInfo
.
value
=
res
.
data
basicInfo
.
value
=
res
.
data
...
@@ -319,7 +321,7 @@ const worldInfo = ref({
...
@@ -319,7 +321,7 @@ const worldInfo = ref({
const
handleGetThinkTankInfoBranch
=
async
()
=>
{
const
handleGetThinkTankInfoBranch
=
async
()
=>
{
try
{
try
{
const
res
=
await
getThinkTankInfoBranch
(
router
.
currentRoute
.
_value
.
params
.
i
d
);
const
res
=
await
getThinkTankInfoBranch
(
thinkTankI
d
);
console
.
log
(
"全球分支机构"
,
res
);
console
.
log
(
"全球分支机构"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
if
(
res
.
code
===
200
&&
res
.
data
)
{
...
@@ -397,7 +399,7 @@ const box1ChartData = ref([
...
@@ -397,7 +399,7 @@ const box1ChartData = ref([
const
handleGetThinkTankFundsTotal
=
async
()
=>
{
const
handleGetThinkTankFundsTotal
=
async
()
=>
{
try
{
try
{
const
res
=
await
getThinkTankFundsSource
(
router
.
currentRoute
.
_value
.
params
.
i
d
);
const
res
=
await
getThinkTankFundsSource
(
thinkTankI
d
);
console
.
log
(
"获取经费来源统计"
,
res
);
console
.
log
(
"获取经费来源统计"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
if
(
res
.
code
===
200
&&
res
.
data
)
{
// 后端字段已更新:totalAmount/usGovernmentAmount/pentagonContractorAmount
// 后端字段已更新:totalAmount/usGovernmentAmount/pentagonContractorAmount
...
@@ -419,7 +421,7 @@ const handleGetThinkTankFundsTotal = async () => {
...
@@ -419,7 +421,7 @@ const handleGetThinkTankFundsTotal = async () => {
const
handleGetThinkTankFundsSource
=
async
()
=>
{
const
handleGetThinkTankFundsSource
=
async
()
=>
{
try
{
try
{
const
res
=
await
getThinkTankFundsSource
(
router
.
currentRoute
.
_value
.
params
.
i
d
);
const
res
=
await
getThinkTankFundsSource
(
thinkTankI
d
);
console
.
log
(
"获取经费来源"
,
res
);
console
.
log
(
"获取经费来源"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
if
(
res
.
code
===
200
&&
res
.
data
)
{
...
@@ -561,7 +563,7 @@ const timeLineList = ref([
...
@@ -561,7 +563,7 @@ const timeLineList = ref([
const
handleGetThinkTankResearchAreae
=
async
()
=>
{
const
handleGetThinkTankResearchAreae
=
async
()
=>
{
try
{
try
{
const
res
=
await
getThinkTankResearchAreae
(
router
.
currentRoute
.
_value
.
params
.
i
d
);
const
res
=
await
getThinkTankResearchAreae
(
thinkTankI
d
);
console
.
log
(
"研究领域演变"
,
res
);
console
.
log
(
"研究领域演变"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
if
(
res
.
code
===
200
&&
res
.
data
)
{
timeLineList
.
value
=
res
.
data
timeLineList
.
value
=
res
.
data
...
@@ -675,7 +677,7 @@ const handleGetThinkPerson = async (page = personCurrentPage.value) => {
...
@@ -675,7 +677,7 @@ const handleGetThinkPerson = async (page = personCurrentPage.value) => {
const
params
=
{
const
params
=
{
currentPage
:
safePage
,
currentPage
:
safePage
,
pageSize
:
PERSON_PAGE_SIZE
,
pageSize
:
PERSON_PAGE_SIZE
,
thinkTankId
:
router
.
currentRoute
.
_value
.
params
.
id
thinkTankId
}
}
const
res
=
await
getThinkTankPerson
(
params
);
const
res
=
await
getThinkTankPerson
(
params
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论