Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
294eb4d9
提交
294eb4d9
authored
4月 23, 2026
作者:
付康
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'fk-dev' 到 'pre'
Fk dev 查看合并请求
!395
上级
72613fb4
384c49b8
流水线
#648
已通过 于阶段
in 4 分 36 秒
变更
41
流水线
1
全部展开
显示空白字符变更
内嵌
并排
正在显示
41 个修改的文件
包含
417 行增加
和
688 行删除
+417
-688
SearchContainer.vue
src/components/SearchContainer.vue
+3
-3
index.vue
src/components/base/moduleHeader/index.vue
+7
-17
SearchBar.vue
src/components/layout/SearchBar.vue
+2
-2
goToPage.js
src/utils/goToPage.js
+0
-0
company.js
src/utils/goToPage/methods/company.js
+4
-1
dataLibrary.js
src/utils/goToPage/methods/dataLibrary.js
+7
-0
getDecode.js
src/utils/goToPage/methods/getDecode.js
+1
-0
news.js
src/utils/goToPage/methods/news.js
+8
-8
technologyFigure.js
src/utils/goToPage/methods/technologyFigure.js
+7
-7
thinkTank.js
src/utils/goToPage/methods/thinkTank.js
+2
-1
index.vue
src/views/comprehensiveSearch/searchResults/index.vue
+2
-2
index.vue
src/views/dataLibrary/bill/countryBill/index.vue
+1
-21
index.vue
src/views/dataLibrary/company/index.vue
+11
-22
index.vue
src/views/dataLibrary/decree/index.vue
+3
-21
index.vue
...s/dataLibrary/exportControl/commerceControlList/index.vue
+20
-37
index.vue
...aLibrary/exportControl/commerceControlListEvent/index.vue
+16
-34
index.vue
src/views/dataLibrary/exportControl/entityList/index.vue
+26
-38
index.vue
...views/dataLibrary/exportControl/entityListEvent/index.vue
+23
-32
index.vue
src/views/dataLibrary/financeControl/mREList/index.vue
+13
-29
index.vue
src/views/dataLibrary/financeControl/mREListEvent/index.vue
+15
-33
index.vue
src/views/dataLibrary/financeControl/sDNList/index.vue
+17
-13
index.vue
src/views/dataLibrary/financeControl/sDNListEvent/index.vue
+12
-21
index.vue
src/views/dataLibrary/institution/index.vue
+10
-9
index.vue
src/views/dataLibrary/news/index.vue
+5
-9
index.vue
src/views/dataLibrary/technologyFigures/index.vue
+10
-22
index.vue
src/views/dataLibrary/thinkTank/index.vue
+25
-22
info.vue
src/views/exportControl/components/info.vue
+17
-10
index-back.vue
src/views/exportControl/index-back.vue
+0
-0
index.vue
src/views/exportControl/index.vue
+0
-0
index.vue
...ontrol/v2.0EntityList/components/dataStatistics/index.vue
+86
-94
index.vue
...s/sanctionsOverview/components/introductionPage/index.vue
+7
-6
index.vue
...omponents/sanctionsOverview/components/listPage/index.vue
+13
-10
index.vue
...ol/v2.0SingleSanction/components/dataStatistics/index.vue
+0
-0
index.vue
...v2.0SingleSanction/components/sanctionsOverview/index.vue
+11
-6
index.vue
...ws/finance/entityList/components/dataStatistics/index.vue
+22
-14
index.vue
src/views/home/index.vue
+1
-132
index.vue
src/views/thinkTank/ThinkTankDetail/PolicyTracking/index.vue
+2
-2
index.vue
src/views/thinkTank/ThinkTankDetail/index.vue
+2
-2
index.vue
src/views/thinkTank/ThinkTankDetail/thinkDynamics/index.vue
+2
-2
index.vue
src/views/thinkTank/ThinkTankDetail/thinkInfo/index.vue
+2
-3
index.vue
src/views/thinkTank/index.vue
+2
-3
没有找到文件。
src/components/SearchContainer.vue
浏览文件 @
294eb4d9
...
...
@@ -62,7 +62,7 @@ import { ref, nextTick, watchEffect } from "vue";
import
{
useContainerScroll
}
from
"@/hooks/useScrollShow"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
useWrittingAsstaintStore
}
from
"@/stores/writtingAsstaintStore"
;
import
{
goToSearch
}
from
"@/utils/goToPage"
;
import
goToPage
from
"@/utils/goToPage"
;
const
store
=
useWrittingAsstaintStore
();
const
router
=
useRouter
();
...
...
@@ -129,9 +129,9 @@ const handleSearch = () => {
// window.open(curRoute.href, "_blank");
if
(
enableBillTypeSwitch
)
{
goToSearch
(
store
.
searchBillText
,
areaName
,
billSearchType
.
value
)
goTo
Page
.
goTo
Search
(
store
.
searchBillText
,
areaName
,
billSearchType
.
value
)
}
else
{
goToSearch
(
store
.
searchBillText
,
areaName
)
goTo
Page
.
goTo
Search
(
store
.
searchBillText
,
areaName
)
}
};
...
...
src/components/base/moduleHeader/index.vue
浏览文件 @
294eb4d9
...
...
@@ -102,6 +102,7 @@ import Tool1 from './tool1.svg'
import
Tool2
from
'./tool2.svg'
import
{
ElMessage
}
from
"element-plus"
;
import
{
useWrittingAsstaintStore
}
from
"@/stores/writtingAsstaintStore"
;
import
goToPage
from
"@/utils/goToPage"
;
const
store
=
useWrittingAsstaintStore
();
let
isShowSearchBar
=
computed
(()
=>
{
return
store
.
isShowSearchBar
;
...
...
@@ -151,8 +152,8 @@ const handleGetSsoUserInfo = async () => {
};
// 概览页标题列表
const
homeTitleList
=
computed
(()
=>
{
const
mainTitleList
=
[
const
homeTitleList
=
ref
(
[
{
name
:
"首页"
,
path
:
"/ZMOverView"
,
...
...
@@ -174,20 +175,7 @@ const homeTitleList = computed(() => {
path
:
"/dataLibrary"
,
disabled
:
false
}]
const
dataLibraryTitleList
=
[{
name
:
"数据资源库"
,
path
:
"/dataLibrary"
,
disabled
:
false
}]
// if (route.path.includes('/dataLibrary')) {
// return dataLibraryTitleList
// } else {
// return mainTitleList
// }
return
mainTitleList
});
)
const
homeActiveTitleIndex
=
computed
(()
=>
{
let
activeIndex
=
1
...
...
@@ -406,8 +394,10 @@ const handleToModule = (item, index) => {
};
const
handleClickTitle
=
(
item
,
index
)
=>
{
if
(
index
===
0
||
index
===
3
)
{
if
(
index
===
0
)
{
router
.
push
(
item
.
path
)
}
else
if
(
index
===
3
)
{
goToPage
.
goToDataLibrary
()
}
};
...
...
src/components/layout/SearchBar.vue
浏览文件 @
294eb4d9
...
...
@@ -49,7 +49,7 @@
import
{
onMounted
,
ref
,
computed
,
onUnmounted
,
nextTick
,
watch
,
watchEffect
}
from
"vue"
;
import
router
from
"@/router/index"
;
import
{
useWrittingAsstaintStore
}
from
"@/stores/writtingAsstaintStore"
;
import
{
goToSearch
}
from
"@/utils/goToPage"
;
import
goToPage
from
"@/utils/goToPage"
;
const
store
=
useWrittingAsstaintStore
();
const
handleSearch
=
()
=>
{
...
...
@@ -63,7 +63,7 @@ const handleSearch = () => {
// }
// });
// window.open(curRoute.href, "_blank");
goToSearch
(
store
.
searchBillText
,
store
.
searchData
.
areaName
)
goTo
Page
.
goTo
Search
(
store
.
searchBillText
,
store
.
searchData
.
areaName
)
};
let
containerRef
=
computed
(()
=>
store
.
searchData
.
containerRef
);
...
...
src/utils/goToPage.js
deleted
100644 → 0
浏览文件 @
72613fb4
差异被折叠。
点击展开。
src/utils/goToPage/methods/company.js
浏览文件 @
294eb4d9
...
...
@@ -11,7 +11,9 @@ export const goToCompanyPage = (id, tabName) => {
const
base64
=
btoa
(
encodeURIComponent
(
jsonStr
));
const
route
=
router
.
resolve
({
name
:
"companyPages"
,
params
:
base64
params
:
{
id
:
base64
}
});
window
.
open
(
route
.
href
,
"_blank"
);
}
\ No newline at end of file
src/utils/goToPage/methods/dataLibrary.js
浏览文件 @
294eb4d9
// 数据资源库
import
router
from
"@/router/index"
;
export
const
goToDataLibrary
=
()
=>
{
const
route
=
router
.
resolve
({
path
:
"/dataLibrary"
,
});
window
.
open
(
route
.
href
,
"_blank"
);
}
// 跳转数据资源库-国家法案
export
const
goToDataCountryBill
=
(
selectParam
)
=>
{
// const codeParam = new URLSearchParams(selectParam)
...
...
src/utils/goToPage/methods/getDecode.js
浏览文件 @
294eb4d9
// 解码
import
router
from
"@/router"
;
export
const
getDecodedParams
=
()
=>
{
if
(
window
.
location
.
search
)
{
const
urlParams
=
new
URLSearchParams
(
window
.
location
.
search
)
...
...
src/utils/goToPage/methods/news.js
浏览文件 @
294eb4d9
...
...
@@ -3,15 +3,15 @@ import router from "@/router/index";
// 跳转新闻详情
export
const
goToNewsPage
=
(
id
,
tabName
)
=>
{
window
.
sessionStorage
.
setItem
(
"curTabName"
,
tabName
);
const
param
=
{
newsId
:
id
}
const
jsonStr
=
JSON
.
stringify
(
param
);
const
base64
=
btoa
(
encodeURIComponent
(
jsonStr
));
//
const param = {
//
newsId: id
//
}
//
const jsonStr = JSON.stringify(param);
const
base64
=
btoa
(
encodeURIComponent
(
id
));
const
route
=
router
.
resolve
({
path
:
"/newsAnalysis
"
,
query
:
{
data
:
base64
name
:
"newsDetail
"
,
params
:
{
id
:
base64
}
});
window
.
open
(
route
.
href
,
"_blank"
);
...
...
src/utils/goToPage/methods/technologyFigure.js
浏览文件 @
294eb4d9
...
...
@@ -11,17 +11,11 @@ export const goToCharacterPage = async (id, tabName) => {
personId
:
id
}
const
param1
=
{
personId
:
i
tem
.
i
d
personId
:
id
}
const
jsonStr1
=
JSON
.
stringify
(
param1
);
const
base64_1
=
btoa
(
encodeURIComponent
(
jsonStr1
));
const
param2
=
{
personId
:
item
.
id
}
const
jsonStr2
=
JSON
.
stringify
(
param2
);
const
base64_2
=
btoa
(
encodeURIComponent
(
jsonStr2
));
// 先获取人物全局信息
try
{
const
res
=
await
getPersonSummaryInfo
(
params
)
...
...
@@ -48,6 +42,12 @@ export const goToCharacterPage = async (id, tabName) => {
window
.
open
(
route
.
href
,
"_blank"
);
return
;
}
const
param2
=
{
personId
:
id
,
type
:
type
}
const
jsonStr2
=
JSON
.
stringify
(
param2
);
const
base64_2
=
btoa
(
encodeURIComponent
(
jsonStr2
));
const
route
=
router
.
resolve
({
path
:
"/characterPage"
,
query
:
{
...
...
src/utils/goToPage/methods/thinkTank.js
浏览文件 @
294eb4d9
...
...
@@ -16,10 +16,11 @@ export const goToThinkTank = (id, tabName) => {
// 跳转智库报告详情
export
const
goToThinkTankReport
=
(
id
,
tabName
)
=>
{
window
.
sessionStorage
.
setItem
(
"curTabName"
,
tabName
);
const
base64
=
btoa
(
encodeURIComponent
(
id
));
const
route
=
router
.
resolve
({
name
:
"ReportDetail"
,
params
:
{
id
:
id
id
:
base64
}
});
window
.
open
(
route
.
href
,
"_blank"
);
...
...
src/views/comprehensiveSearch/searchResults/index.vue
浏览文件 @
294eb4d9
...
...
@@ -132,7 +132,7 @@ import { getPersonSummaryInfo } from "@/api/common/index";
import
{
ElMessage
}
from
"element-plus"
;
import
TimeSortSelectBox
from
'@/components/base/TimeSortSelectBox/index.vue'
import
AreaTag
from
'@/components/base/AreaTag/index.vue'
import
{
getDecodedParams
}
from
"@/utils/goToPage/methods/getDecod
e"
;
import
goToPage
from
"@/utils/goToPag
e"
;
const
route
=
useRoute
();
const
container
=
ref
(
null
)
...
...
@@ -598,7 +598,7 @@ const handleToPage = async item => {
};
onMounted
(()
=>
{
const
routeQuery
=
getDecodedParams
()
const
routeQuery
=
g
oToPage
.
g
etDecodedParams
()
console
.
log
(
'routeQuery'
,
routeQuery
);
...
...
src/views/dataLibrary/bill/countryBill/index.vue
浏览文件 @
294eb4d9
...
...
@@ -173,7 +173,6 @@ import { getPostOrgList, getPostMemberList } from '@/api/bill/billHome'
import
{
search
,
getStatusList
}
from
'@/api/comprehensiveSearch'
import
{
ElMessage
}
from
'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
{
getDecodedParams
}
from
'@/utils/goToPage/methods/getDecode'
import
goToPage
from
'@/utils/goToPage/index'
const
route
=
useRoute
();
...
...
@@ -1156,7 +1155,7 @@ const initParam = () => {
const
routeQuery
=
goToPage
.
getDecodedParams
()
console
.
log
(
'routeQuery'
,
routeQuery
);
const
hasQuery
=
Object
.
keys
(
routeQuery
).
length
>
0
;
const
hasQuery
=
routeQuery
?
Object
.
keys
(
routeQuery
).
length
>
0
:
false
if
(
hasQuery
)
{
if
(
routeQuery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
routeQuery
.
selectedAreaList
)
...
...
@@ -1214,30 +1213,11 @@ const initParam = () => {
// 跳转法案详情
const
handleClickToDetail
=
(
curBill
)
=>
{
// console.log('curBill', curBill);
// window.sessionStorage.setItem("billId", curBill.id);
// window.sessionStorage.setItem("curTabName", curBill.title);
// const route = router.resolve(
{
// path: "/billLayout",
// query:
{
// billId: curBill.id
//
}
//
}
);
// window.open(route.href, "_blank");
goToPage
.
goToBill
(
curBill
.
id
,
curBill
.
title
)
}
;
// 跳转人物详情
const
handlePerClick
=
item
=>
{
// window.sessionStorage.setItem("curTabName", item.sponsorPersonName);
// const route = router.resolve(
{
// path: "/characterPage",
// query:
{
// type: 2,
// personId: item.personId
//
}
//
}
);
// window.open(route.href, "_blank");
goToPage
.
goToCharacterPage
(
item
.
personId
,
item
.
sponsorPersonName
)
}
;
...
...
src/views/dataLibrary/company/index.vue
浏览文件 @
294eb4d9
...
...
@@ -127,7 +127,7 @@
<
/el-table-column
>
<
el
-
table
-
column
label
=
"所属国家地区"
>
<
template
#
default
=
"scope"
>
<
span
class
=
"person-item text-compact"
@
click
=
"handleOrgClick(scope.row)"
>
{{
scope
.
row
.
organizationName
<
span
class
=
"person-item text-compact"
>
{{
scope
.
row
.
organizationName
}}
<
/span
>
<
/template
>
<
/el-table-column
>
...
...
@@ -172,6 +172,7 @@ import { ElMessage } from 'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
{
getCountryList
,
getBusinessType
}
from
'@/api/comprehensiveSearch/index'
import
goToPage
from
'@/utils/goToPage'
const
route
=
useRoute
();
...
...
@@ -1055,29 +1056,17 @@ const initParam = () => {
const
handleClickToDetail
=
(
item
)
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
'curTabName'
,
item
.
originalTitle
)
const
route
=
router
.
resolve
({
name
:
"companyPages"
,
params
:
{
id
:
item
.
id
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
// window.sessionStorage.setItem('curTabName', item.originalTitle)
// const route = router.resolve(
{
// name: "companyPages",
// params:
{
// id: item.id
//
}
//
}
);
// window.open(route.href, "_blank");
goToPage
.
goToCompanyPage
(
item
.
id
,
item
.
originalTitle
)
}
;
// 跳转机构详情
const
handleOrgClick
=
item
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
organizationName
);
const
route
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
organizationId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
}
;
// 导出
const
handleExport
=
()
=>
{
...
...
src/views/dataLibrary/decree/index.vue
浏览文件 @
294eb4d9
...
...
@@ -186,7 +186,6 @@ import { ElMessage } from 'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
{
getDepartmentList
}
from
"@/api/decree/home"
;
import
{
getDecodedParams
}
from
'@/utils/goToPage/methods/getDecode'
import
goToPage
from
'@/utils/goToPage/index'
const
route
=
useRoute
();
...
...
@@ -978,7 +977,7 @@ const handleDownloadCurChartData = () => {
// 跳转到当前页 初始化筛选条件
const
initParam
=
()
=>
{
const
routeQuery
=
goToPage
.
getDecodedParams
()
const
hasQuery
=
Object
.
keys
(
routeQuery
).
length
>
0
;
const
hasQuery
=
routeQuery
?
Object
.
keys
(
routeQuery
).
length
>
0
:
false
if
(
hasQuery
)
{
if
(
routeQuery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
routeQuery
.
selectedAreaList
)
...
...
@@ -1026,30 +1025,13 @@ const initParam = () => {
// 跳转政令详情
const
handleClickToDetail
=
(
curDecree
)
=>
{
console
.
log
(
'curDecree'
,
curDecree
);
window
.
sessionStorage
.
setItem
(
"decreeId"
,
curDecree
.
id
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
curDecree
.
title
);
const
route
=
router
.
resolve
({
path
:
"/decreeLayout"
,
query
:
{
id
:
curDecree
.
id
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
goToPage
.
goToDecree
(
curDecree
.
id
,
curDecree
.
title
)
}
;
// 跳转机构详情
const
handleOrgClick
=
item
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
organizationName
);
const
route
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
organizationId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
goToPage
.
goToInstitution
(
item
.
id
,
item
.
title
)
}
;
// 导出
...
...
src/views/dataLibrary/exportControl/commerceControlList/index.vue
浏览文件 @
294eb4d9
...
...
@@ -9,8 +9,9 @@
@
update:custom-time=
"handleCustomDate"
/>
<SelectBox
v-if=
"isFolderAll"
:placeholder-name=
"typePlaceHolder"
select-title=
"物项类别"
:select-list=
"typeList"
:select-name=
"selectedType"
@
update:select-text=
"handleSelectType"
/>
<SelectBox
v-if=
"isFolderAll"
:placeholder-name=
"updateFlagPlaceHolder"
select-title=
"变动标识"
:select-list=
"updateFlagList"
:select-name=
"selectedUpdateFlag"
@
update:select-text=
"handleSelectUpdateFlag"
/>
<SelectBox
v-if=
"isFolderAll"
:placeholder-name=
"updateFlagPlaceHolder"
select-title=
"变动标识"
:select-list=
"updateFlagList"
:select-name=
"selectedUpdateFlag"
@
update:select-text=
"handleSelectUpdateFlag"
/>
<SelectBox
v-if=
"isFolderAll"
:placeholder-name=
"controlReasonPlaceHolder"
select-title=
"管控原因"
:select-list=
"controlReasonList"
:select-name=
"selectedControlReason"
@
update:select-text=
"handleSelectControlReason"
/>
...
...
@@ -114,7 +115,7 @@
<
el
-
table
-
column
type
=
"selection"
width
=
"40"
/>
<
el
-
table
-
column
label
=
"物项名称"
>
<
template
#
default
=
"scope"
>
<
span
class
=
"title-item text-compact-bold"
@
click
=
"handleClickToDetail(scope.row)"
>
{{
<
span
class
=
"title-item text-compact-bold"
>
{{
scope
.
row
.
originalTitle
}}
<
/span
>
<
/template
>
...
...
@@ -163,7 +164,7 @@ import { search } from '@/api/comprehensiveSearch'
import
{
ElMessage
}
from
'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
{
getMaterialCategory
,
getControlReason
}
from
'@/api/comprehensiveSearch/index'
import
goToPage
from
'@/utils/goToPage/index'
const
route
=
useRoute
();
// 图表/数据
...
...
@@ -920,24 +921,25 @@ const handleDownloadCurChartData = () => {
// 跳转到当前页 初始化筛选条件
const
initParam
=
()
=>
{
const
hasQuery
=
Object
.
keys
(
route
.
query
).
length
>
0
;
const
routeQuery
=
goToPage
.
getDecodedParams
()
const
hasQuery
=
routeQuery
?
Object
.
keys
(
routeQuery
).
length
>
0
:
false
if
(
hasQuery
)
{
if
(
route
.
q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedAreaList
)
if
(
route
Q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedAreaList
)
}
else
{
selectedArea
.
value
=
route
.
query
.
domains
?
[
route
.
q
uery
.
domains
]
:
[
'全部领域'
]
selectedArea
.
value
=
route
Query
.
domains
?
[
routeQ
uery
.
domains
]
:
[
'全部领域'
]
}
if
(
route
.
query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
route
.
query
.
selectedDate
))
&&
JSON
.
parse
(
route
.
q
uery
.
selectedDate
).
length
)
{
if
(
route
Query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
routeQuery
.
selectedDate
))
&&
JSON
.
parse
(
routeQ
uery
.
selectedDate
).
length
)
{
selectedDate
.
value
=
'自定义'
customTime
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedDate
)
customTime
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedDate
)
}
selectedType
.
value
=
route
.
query
.
orgnizationName
?
route
.
q
uery
.
orgnizationName
:
'全部类别'
selectedType
.
value
=
route
Query
.
orgnizationName
?
routeQ
uery
.
orgnizationName
:
'全部类别'
selectedUpdateFlag
.
value
=
route
.
query
.
updateFlag
?
route
.
q
uery
.
updateFlag
:
'全部标识'
selectedUpdateFlag
.
value
=
route
Query
.
updateFlag
?
routeQ
uery
.
updateFlag
:
'全部标识'
const
query
=
route
.
q
uery
;
const
query
=
route
Q
uery
;
if
(
Object
.
keys
(
query
).
length
>
0
)
{
sessionStorage
.
setItem
(
'commerceRouteQuery'
,
JSON
.
stringify
(
query
));
}
...
...
@@ -958,25 +960,6 @@ const initParam = () => {
}
// 跳转政令详情
const
handleClickToDetail
=
(
curDecree
)
=>
{
}
;
// 跳转机构详情
const
handleOrgClick
=
item
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
organizationName
);
const
route
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
organizationId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
}
;
// 导出
const
handleExport
=
()
=>
{
if
(
!
selectedCount
.
value
)
{
...
...
@@ -1276,12 +1259,12 @@ onMounted(async () => {
.
title
-
item
{
color
:
var
(
--
text
-
primary
-
80
-
color
);
cursor
:
pointer
;
//
cursor: pointer;
&
:
hover
{
color
:
var
(
--
color
-
primary
-
100
);
text
-
decoration
:
underline
;
}
//
&:hover
{
//
color: var(--color-primary-100);
//
text-decoration: underline;
//
}
}
.
person
-
item
{
...
...
src/views/dataLibrary/exportControl/commerceControlListEvent/index.vue
浏览文件 @
294eb4d9
...
...
@@ -114,7 +114,7 @@
<
el
-
table
-
column
type
=
"selection"
width
=
"40"
/>
<
el
-
table
-
column
label
=
"事件名称"
>
<
template
#
default
=
"scope"
>
<
span
class
=
"title-item text-compact-bold"
@
click
=
"handleClickToDetail(scope.row)"
>
{{
<
span
class
=
"title-item text-compact-bold"
>
{{
scope
.
row
.
originalTitle
}}
<
/span
>
<
/template
>
...
...
@@ -151,7 +151,7 @@ import router from '@/router'
import
{
search
}
from
'@/api/comprehensiveSearch'
import
{
ElMessage
}
from
'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
goToPage
from
'@/utils/goToPage/index'
const
route
=
useRoute
();
// 图表/数据
...
...
@@ -804,23 +804,24 @@ const handleDownloadCurChartData = () => {
// 跳转到当前页 初始化筛选条件
const
initParam
=
()
=>
{
const
hasQuery
=
Object
.
keys
(
route
.
query
).
length
>
0
;
const
routeQuery
=
goToPage
.
getDecodedParams
()
const
hasQuery
=
routeQuery
?
Object
.
keys
(
routeQuery
).
length
>
0
:
false
if
(
hasQuery
)
{
if
(
route
.
q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedAreaList
)
if
(
route
Q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedAreaList
)
}
else
{
selectedArea
.
value
=
route
.
query
.
domains
?
[
route
.
q
uery
.
domains
]
:
[
'全部领域'
]
selectedArea
.
value
=
route
Query
.
domains
?
[
routeQ
uery
.
domains
]
:
[
'全部领域'
]
}
if
(
route
.
query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
route
.
query
.
selectedDate
))
&&
JSON
.
parse
(
route
.
q
uery
.
selectedDate
).
length
)
{
if
(
route
Query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
routeQuery
.
selectedDate
))
&&
JSON
.
parse
(
routeQ
uery
.
selectedDate
).
length
)
{
selectedDate
.
value
=
'自定义'
customTime
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedDate
)
customTime
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedDate
)
}
isInvolveCnOnly
.
value
=
route
.
q
uery
.
isInvolveCnOnly
?
true
:
false
isInvolveCnOnly
.
value
=
route
Q
uery
.
isInvolveCnOnly
?
true
:
false
const
query
=
route
.
q
uery
;
const
query
=
route
Q
uery
;
if
(
Object
.
keys
(
query
).
length
>
0
)
{
sessionStorage
.
setItem
(
'commerceEventRouteQuery'
,
JSON
.
stringify
(
query
));
}
...
...
@@ -842,25 +843,6 @@ const initParam = () => {
}
// 跳转政令详情
const
handleClickToDetail
=
(
curDecree
)
=>
{
}
;
// 跳转机构详情
const
handleOrgClick
=
item
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
organizationName
);
const
route
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
organizationId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
}
;
// 导出
const
handleExport
=
()
=>
{
if
(
!
selectedCount
.
value
)
{
...
...
@@ -1157,12 +1139,12 @@ onMounted(async () => {
.
title
-
item
{
color
:
var
(
--
text
-
primary
-
80
-
color
);
cursor
:
pointer
;
//
cursor: pointer;
&
:
hover
{
color
:
var
(
--
color
-
primary
-
100
);
text
-
decoration
:
underline
;
}
//
&:hover
{
//
color: var(--color-primary-100);
//
text-decoration: underline;
//
}
}
.
person
-
item
{
...
...
src/views/dataLibrary/exportControl/entityList/index.vue
浏览文件 @
294eb4d9
...
...
@@ -142,7 +142,7 @@
<
/el-table-column
>
<
el
-
table
-
column
label
=
"上市地点"
>
<
template
#
default
=
"scope"
>
<
span
class
=
"person-item text-compact"
@
click
=
"handleOrgClick(scope.row)"
>
{{
scope
.
row
.
organizationName
<
span
class
=
"person-item text-compact"
>
{{
scope
.
row
.
organizationName
}}
<
/span
>
<
/template
>
<
/el-table-column
>
...
...
@@ -188,7 +188,7 @@ import { search } from '@/api/comprehensiveSearch'
import
{
ElMessage
}
from
'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
{
getProvinceList
,
getCountryList
,
getEntityTypes
}
from
'@/api/comprehensiveSearch/index'
import
goToPage
from
'@/utils/goToPage/index'
const
route
=
useRoute
();
const
isShowProvinceBox
=
computed
(()
=>
{
...
...
@@ -1063,34 +1063,35 @@ const handleDownloadCurChartData = () => {
// 跳转到当前页 初始化筛选条件
const
initParam
=
()
=>
{
const
hasQuery
=
Object
.
keys
(
route
.
query
).
length
>
0
;
const
routeQuery
=
goToPage
.
getDecodedParams
()
const
hasQuery
=
routeQuery
?
Object
.
keys
(
routeQuery
).
length
>
0
:
false
if
(
hasQuery
)
{
if
(
route
.
q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedAreaList
)
if
(
route
Q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedAreaList
)
}
else
{
selectedArea
.
value
=
route
.
query
.
domains
?
[
route
.
q
uery
.
domains
]
:
[
'全部领域'
]
selectedArea
.
value
=
route
Query
.
domains
?
[
routeQ
uery
.
domains
]
:
[
'全部领域'
]
}
if
(
route
.
query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
route
.
query
.
selectedDate
))
&&
JSON
.
parse
(
route
.
q
uery
.
selectedDate
).
length
)
{
if
(
route
Query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
routeQuery
.
selectedDate
))
&&
JSON
.
parse
(
routeQ
uery
.
selectedDate
).
length
)
{
selectedDate
.
value
=
'自定义'
customTime
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedDate
)
customTime
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedDate
)
}
selectedProvince
.
value
=
route
.
query
.
selectedProvince
?
provinceList
.
value
.
filter
(
item
=>
item
.
name
.
indexOf
(
route
.
q
uery
.
selectedProvince
)
>
-
1
)[
0
].
name
:
'全部省份'
selectedProvince
.
value
=
route
Query
.
selectedProvince
?
provinceList
.
value
.
filter
(
item
=>
item
.
name
.
indexOf
(
routeQ
uery
.
selectedProvince
)
>
-
1
)[
0
].
name
:
'全部省份'
isHalfRule
.
value
=
route
.
q
uery
.
isHalfRule
===
'true'
?
true
:
false
isHalfRule
.
value
=
route
Q
uery
.
isHalfRule
===
'true'
?
true
:
false
isCnEntityOnly
.
value
=
route
.
q
uery
.
isCnEntityOnly
?
true
:
false
isCnEntityOnly
.
value
=
route
Q
uery
.
isCnEntityOnly
?
true
:
false
if
(
isCnEntityOnly
.
value
)
{
selectedCountry
.
value
=
'0101'
}
else
{
selectedCountry
.
value
=
route
.
query
.
selectedCountryId
?
route
.
q
uery
.
selectedCountryId
:
'全部国家'
selectedCountry
.
value
=
route
Query
.
selectedCountryId
?
routeQ
uery
.
selectedCountryId
:
'全部国家'
}
selectedEntityType
.
value
=
route
.
query
.
selectedEntityType
?
entityTypeList
.
value
.
filter
(
item
=>
item
.
name
===
route
.
q
uery
.
selectedEntityType
)[
0
].
id
:
'全部实体类型'
selectedEntityType
.
value
=
route
Query
.
selectedEntityType
?
entityTypeList
.
value
.
filter
(
item
=>
item
.
name
===
routeQ
uery
.
selectedEntityType
)[
0
].
id
:
'全部实体类型'
const
query
=
route
.
q
uery
;
const
query
=
route
Q
uery
;
if
(
Object
.
keys
(
query
).
length
>
0
)
{
sessionStorage
.
setItem
(
'entityRouteQuery'
,
JSON
.
stringify
(
query
));
}
...
...
@@ -1112,7 +1113,7 @@ const initParam = () => {
if
(
isCnEntityOnly
.
value
)
{
selectedCountry
.
value
=
'0101'
}
else
{
selectedCountry
.
value
=
route
.
query
.
selectedCountryId
?
route
.
q
uery
.
selectedCountryId
:
'全部国家'
selectedCountry
.
value
=
savedQuery
.
selectedCountryId
?
routeQ
uery
.
selectedCountryId
:
'全部国家'
}
selectedEntityType
.
value
=
savedQuery
.
selectedEntityType
?
entityTypeList
.
value
.
filter
(
item
=>
item
.
name
===
savedQuery
.
selectedEntityType
)[
0
].
id
:
'全部实体类型'
...
...
@@ -1135,29 +1136,16 @@ watch(
const
handleClickToDetail
=
(
curEntity
)
=>
{
console
.
log
(
'curEntity'
,
curEntity
);
window
.
sessionStorage
.
setItem
(
"decreeId"
,
curEntity
.
id
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
curEntity
.
title
);
const
route
=
router
.
resolve
({
name
:
"companyPages"
,
params
:
{
id
:
curEntity
.
organizationId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
}
;
// 跳转机构详情
const
handleOrgClick
=
item
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
organizationName
);
const
route
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
organizationId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
// window.sessionStorage.setItem("decreeId", curEntity.id);
// window.sessionStorage.setItem("curTabName", curEntity.title);
// const route = router.resolve(
{
// name: "companyPages",
// params:
{
// id: curEntity.organizationId
//
}
//
}
);
// window.open(route.href, "_blank");
goToPage
.
goToCompanyPage
(
curEntity
.
id
,
curEntity
.
title
)
}
;
// 导出
...
...
src/views/dataLibrary/exportControl/entityListEvent/index.vue
浏览文件 @
294eb4d9
...
...
@@ -152,6 +152,7 @@ import router from '@/router'
import
{
search
}
from
'@/api/comprehensiveSearch'
import
{
ElMessage
}
from
'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
goToPage
from
'@/utils/goToPage/index'
const
route
=
useRoute
();
...
...
@@ -805,23 +806,26 @@ const handleDownloadCurChartData = () => {
// 跳转到当前页 初始化筛选条件
const
initParam
=
()
=>
{
const
hasQuery
=
Object
.
keys
(
route
.
query
).
length
>
0
;
const
routeQuery
=
goToPage
.
getDecodedParams
()
console
.
log
(
'routequery'
,
routeQuery
);
const
hasQuery
=
routeQuery
?
Object
.
keys
(
routeQuery
).
length
>
0
:
false
if
(
hasQuery
)
{
if
(
route
.
q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedAreaList
)
if
(
route
Q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedAreaList
)
}
else
{
selectedArea
.
value
=
route
.
query
.
domains
?
[
route
.
q
uery
.
domains
]
:
[
'全部领域'
]
selectedArea
.
value
=
route
Query
.
domains
?
[
routeQ
uery
.
domains
]
:
[
'全部领域'
]
}
if
(
route
.
query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
route
.
query
.
selectedDate
))
&&
JSON
.
parse
(
route
.
q
uery
.
selectedDate
).
length
)
{
if
(
route
Query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
routeQuery
.
selectedDate
))
&&
JSON
.
parse
(
routeQ
uery
.
selectedDate
).
length
)
{
selectedDate
.
value
=
'自定义'
customTime
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedDate
)
customTime
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedDate
)
}
isInvolveCnOnly
.
value
=
route
.
q
uery
.
isInvolveCnOnly
?
true
:
false
isInvolveCnOnly
.
value
=
route
Q
uery
.
isInvolveCnOnly
?
true
:
false
const
query
=
route
.
q
uery
;
const
query
=
route
Q
uery
;
if
(
Object
.
keys
(
query
).
length
>
0
)
{
sessionStorage
.
setItem
(
'entityEventRouteQuery'
,
JSON
.
stringify
(
query
));
}
...
...
@@ -847,30 +851,17 @@ const initParam = () => {
const
handleClickToDetail
=
(
item
)
=>
{
console
.
log
(
'curEntityEvent'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
`${item.date
}
《${item.originalTitle
}
》`
);
const
route
=
router
.
resolve
({
path
:
"/exportControl/singleSanction"
,
query
:
{
id
:
item
.
id
,
sanTypeId
:
1
,
date
:
item
.
date
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
}
;
// 跳转机构详情
const
handleOrgClick
=
item
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
organizationName
);
const
route
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
organizationId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
// window.sessionStorage.setItem("curTabName", `$
{
item
.
date
}《
$
{
item
.
originalTitle
}》
`);
// const route = router.resolve({
// path: "/exportControl/singleSanction",
// query: {
// id: item.id,
// sanTypeId: 1,
// date: item.date
//
}
//
}
);
// window.open(route.href, "_blank");
goToPage.goToSingleEntityEvent(item.id,`
$
{
item
.
date
}《
$
{
item
.
originalTitle
}》
`, item.date)
}
;
// 导出
...
...
src/views/dataLibrary/financeControl/mREList/index.vue
浏览文件 @
294eb4d9
...
...
@@ -161,6 +161,7 @@ import { search } from '@/api/comprehensiveSearch'
import
{
ElMessage
}
from
'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
{
getMaterialCategory
,
getControlReason
}
from
'@/api/comprehensiveSearch/index'
import
goToPage
from
'@/utils/goToPage'
const
route
=
useRoute
();
...
...
@@ -883,23 +884,26 @@ const handleDownloadCurChartData = () => {
// 跳转到当前页 初始化筛选条件
const
initParam
=
()
=>
{
const
hasQuery
=
Object
.
keys
(
route
.
query
).
length
>
0
;
const
routeQuery
=
goToPage
.
getDecodedParams
()
console
.
log
(
'routeQuery'
,
routeQuery
);
const
hasQuery
=
routeQuery
?
Object
.
keys
(
routeQuery
).
length
>
0
:
false
if
(
hasQuery
)
{
if
(
route
.
q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedAreaList
)
if
(
route
Q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedAreaList
)
}
else
{
selectedArea
.
value
=
route
.
query
.
domains
?
[
route
.
q
uery
.
domains
]
:
[
'全部领域'
]
selectedArea
.
value
=
route
Query
.
domains
?
[
routeQ
uery
.
domains
]
:
[
'全部领域'
]
}
if
(
route
.
query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
route
.
query
.
selectedDate
))
&&
JSON
.
parse
(
route
.
q
uery
.
selectedDate
).
length
)
{
if
(
route
Query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
routeQuery
.
selectedDate
))
&&
JSON
.
parse
(
routeQ
uery
.
selectedDate
).
length
)
{
selectedDate
.
value
=
'自定义'
customTime
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedDate
)
customTime
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedDate
)
}
selectedType
.
value
=
route
.
query
.
orgnizationName
?
route
.
q
uery
.
orgnizationName
:
'全部类别'
selectedType
.
value
=
route
Query
.
orgnizationName
?
routeQ
uery
.
orgnizationName
:
'全部类别'
const
query
=
route
.
q
uery
;
const
query
=
route
Q
uery
;
if
(
Object
.
keys
(
query
).
length
>
0
)
{
sessionStorage
.
setItem
(
'mRListRouteQuery'
,
JSON
.
stringify
(
query
));
}
...
...
@@ -919,29 +923,9 @@ const initParam = () => {
// 跳转企业详情
const
handleClickToDetail
=
(
curEntity
)
=>
{
window
.
sessionStorage
.
setItem
(
"curTabName"
,
curEntity
.
title
);
const
route
=
router
.
resolve
({
name
:
"companyPages"
,
params
:
{
id
:
curEntity
.
organizationId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
goToPage
.
goToCompanyPage
(
curEntity
.
organizationId
,
curEntity
.
title
)
}
;
// 跳转机构详情
const
handleOrgClick
=
item
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
organizationName
);
const
route
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
organizationId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
}
;
// 导出
const
handleExport
=
()
=>
{
...
...
src/views/dataLibrary/financeControl/mREListEvent/index.vue
浏览文件 @
294eb4d9
...
...
@@ -151,6 +151,7 @@ import router from '@/router'
import
{
search
}
from
'@/api/comprehensiveSearch'
import
{
ElMessage
}
from
'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
goToPage
from
'@/utils/goToPage'
const
route
=
useRoute
();
...
...
@@ -804,23 +805,26 @@ const handleDownloadCurChartData = () => {
// 跳转到当前页 初始化筛选条件
const
initParam
=
()
=>
{
const
hasQuery
=
Object
.
keys
(
route
.
query
).
length
>
0
;
const
routeQuery
=
goToPage
.
getDecodedParams
()
console
.
log
(
'routeQuery'
,
routeQuery
);
const
hasQuery
=
routeQuery
?
Object
.
keys
(
routeQuery
).
length
>
0
:
false
if
(
hasQuery
)
{
if
(
route
.
q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedAreaList
)
if
(
route
Q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedAreaList
)
}
else
{
selectedArea
.
value
=
route
.
query
.
domains
?
[
route
.
q
uery
.
domains
]
:
[
'全部领域'
]
selectedArea
.
value
=
route
Query
.
domains
?
[
routeQ
uery
.
domains
]
:
[
'全部领域'
]
}
if
(
route
.
query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
route
.
query
.
selectedDate
))
&&
JSON
.
parse
(
route
.
q
uery
.
selectedDate
).
length
)
{
if
(
route
Query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
routeQuery
.
selectedDate
))
&&
JSON
.
parse
(
routeQ
uery
.
selectedDate
).
length
)
{
selectedDate
.
value
=
'自定义'
customTime
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedDate
)
customTime
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedDate
)
}
isInvolveCnOnly
.
value
=
route
.
q
uery
.
isInvolveCnOnly
?
true
:
false
isInvolveCnOnly
.
value
=
route
Q
uery
.
isInvolveCnOnly
?
true
:
false
const
query
=
route
.
q
uery
;
const
query
=
route
Q
uery
;
if
(
Object
.
keys
(
query
).
length
>
0
)
{
sessionStorage
.
setItem
(
'mRListEventRouteQuery'
,
JSON
.
stringify
(
query
));
}
...
...
@@ -842,35 +846,13 @@ const initParam = () => {
}
// 跳转政令详情
const
handleClickToDetail
=
(
curDecree
)
=>
{
console
.
log
(
'curDecree'
,
curDecree
);
window
.
sessionStorage
.
setItem
(
"decreeId"
,
curDecree
.
id
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
curDecree
.
title
);
const
route
=
router
.
resolve
({
path
:
"/decreeLayout"
,
query
:
{
id
:
curDecree
.
id
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
}
;
// 跳转机构详情
const
handleOrgClick
=
item
=>
{
// 跳转详情
const
handleClickToDetail
=
(
item
)
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
organizationName
);
const
route
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
organizationId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
}
;
// 导出
const
handleExport
=
()
=>
{
if
(
!
selectedCount
.
value
)
{
...
...
src/views/dataLibrary/financeControl/sDNList/index.vue
浏览文件 @
294eb4d9
...
...
@@ -188,6 +188,7 @@ import { search } from '@/api/comprehensiveSearch'
import
{
ElMessage
}
from
'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
{
getProvinceList
,
getCountryList
,
getEntityTypes
}
from
'@/api/comprehensiveSearch/index'
import
goToPage
from
'@/utils/goToPage'
const
route
=
useRoute
();
...
...
@@ -1063,34 +1064,37 @@ const handleDownloadCurChartData = () => {
// 跳转到当前页 初始化筛选条件
const
initParam
=
()
=>
{
const
hasQuery
=
Object
.
keys
(
route
.
query
).
length
>
0
;
const
routeQuery
=
goToPage
.
getDecodedParams
()
console
.
log
(
'routeQuery'
,
routeQuery
);
const
hasQuery
=
routeQuery
?
Object
.
keys
(
routeQuery
).
length
>
0
:
false
if
(
hasQuery
)
{
if
(
route
.
q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedAreaList
)
if
(
route
Q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedAreaList
)
}
else
{
selectedArea
.
value
=
route
.
query
.
domains
?
[
route
.
q
uery
.
domains
]
:
[
'全部领域'
]
selectedArea
.
value
=
route
Query
.
domains
?
[
routeQ
uery
.
domains
]
:
[
'全部领域'
]
}
if
(
route
.
query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
route
.
query
.
selectedDate
))
&&
JSON
.
parse
(
route
.
q
uery
.
selectedDate
).
length
)
{
if
(
route
Query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
routeQuery
.
selectedDate
))
&&
JSON
.
parse
(
routeQ
uery
.
selectedDate
).
length
)
{
selectedDate
.
value
=
'自定义'
customTime
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedDate
)
customTime
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedDate
)
}
selectedProvince
.
value
=
route
.
query
.
selectedProvince
?
provinceList
.
value
.
filter
(
item
=>
item
.
name
.
indexOf
(
route
.
q
uery
.
selectedProvince
)
>
-
1
)[
0
].
name
:
'全部省份'
selectedProvince
.
value
=
route
Query
.
selectedProvince
?
provinceList
.
value
.
filter
(
item
=>
item
.
name
.
indexOf
(
routeQ
uery
.
selectedProvince
)
>
-
1
)[
0
].
name
:
'全部省份'
isHalfRule
.
value
=
route
.
q
uery
.
isHalfRule
===
'true'
?
true
:
false
isHalfRule
.
value
=
route
Q
uery
.
isHalfRule
===
'true'
?
true
:
false
isCnEntityOnly
.
value
=
route
.
q
uery
.
isCnEntityOnly
?
true
:
false
isCnEntityOnly
.
value
=
route
Q
uery
.
isCnEntityOnly
?
true
:
false
if
(
isCnEntityOnly
.
value
)
{
selectedCountry
.
value
=
'0101'
}
else
{
selectedCountry
.
value
=
route
.
query
.
selectedCountryId
?
route
.
q
uery
.
selectedCountryId
:
'全部国家'
selectedCountry
.
value
=
route
Query
.
selectedCountryId
?
routeQ
uery
.
selectedCountryId
:
'全部国家'
}
selectedEntityType
.
value
=
route
.
query
.
selectedEntityType
?
entityTypeList
.
value
.
filter
(
item
=>
item
.
name
===
route
.
q
uery
.
selectedEntityType
)[
0
].
id
:
'全部实体类型'
selectedEntityType
.
value
=
route
Query
.
selectedEntityType
?
entityTypeList
.
value
.
filter
(
item
=>
item
.
name
===
routeQ
uery
.
selectedEntityType
)[
0
].
id
:
'全部实体类型'
const
query
=
route
.
q
uery
;
const
query
=
route
Q
uery
;
if
(
Object
.
keys
(
query
).
length
>
0
)
{
sessionStorage
.
setItem
(
'sDNListRouteQuery'
,
JSON
.
stringify
(
query
));
}
...
...
@@ -1112,7 +1116,7 @@ const initParam = () => {
if
(
isCnEntityOnly
.
value
)
{
selectedCountry
.
value
=
'0101'
}
else
{
selectedCountry
.
value
=
route
.
query
.
selectedCountryId
?
route
.
q
uery
.
selectedCountryId
:
'全部国家'
selectedCountry
.
value
=
savedQuery
.
selectedCountryId
?
routeQ
uery
.
selectedCountryId
:
'全部国家'
}
selectedEntityType
.
value
=
savedQuery
.
selectedEntityType
?
entityTypeList
.
value
.
filter
(
item
=>
item
.
name
===
savedQuery
.
selectedEntityType
)[
0
].
id
:
'全部实体类型'
...
...
src/views/dataLibrary/financeControl/sDNListEvent/index.vue
浏览文件 @
294eb4d9
...
...
@@ -152,6 +152,7 @@ import router from '@/router'
import
{
search
}
from
'@/api/comprehensiveSearch'
import
{
ElMessage
}
from
'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
goToPage
from
'@/utils/goToPage'
const
route
=
useRoute
();
...
...
@@ -805,23 +806,26 @@ const handleDownloadCurChartData = () => {
// 跳转到当前页 初始化筛选条件
const
initParam
=
()
=>
{
const
hasQuery
=
Object
.
keys
(
route
.
query
).
length
>
0
;
const
routeQuery
=
goToPage
.
getDecodedParams
()
console
.
log
(
'routeQuery'
,
routeQuery
);
const
hasQuery
=
routeQuery
?
Object
.
keys
(
routeQuery
).
length
>
0
:
false
if
(
hasQuery
)
{
if
(
route
.
q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedAreaList
)
if
(
route
Q
uery
.
selectedAreaList
)
{
selectedArea
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedAreaList
)
}
else
{
selectedArea
.
value
=
route
.
query
.
domains
?
[
route
.
q
uery
.
domains
]
:
[
'全部领域'
]
selectedArea
.
value
=
route
Query
.
domains
?
[
routeQ
uery
.
domains
]
:
[
'全部领域'
]
}
if
(
route
.
query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
route
.
query
.
selectedDate
))
&&
JSON
.
parse
(
route
.
q
uery
.
selectedDate
).
length
)
{
if
(
route
Query
.
selectedDate
&&
Array
.
isArray
(
JSON
.
parse
(
routeQuery
.
selectedDate
))
&&
JSON
.
parse
(
routeQ
uery
.
selectedDate
).
length
)
{
selectedDate
.
value
=
'自定义'
customTime
.
value
=
JSON
.
parse
(
route
.
q
uery
.
selectedDate
)
customTime
.
value
=
JSON
.
parse
(
route
Q
uery
.
selectedDate
)
}
isInvolveCnOnly
.
value
=
route
.
q
uery
.
isInvolveCnOnly
?
true
:
false
isInvolveCnOnly
.
value
=
route
Q
uery
.
isInvolveCnOnly
?
true
:
false
const
query
=
route
.
q
uery
;
const
query
=
route
Q
uery
;
if
(
Object
.
keys
(
query
).
length
>
0
)
{
sessionStorage
.
setItem
(
'sDNListEventRouteQuery'
,
JSON
.
stringify
(
query
));
}
...
...
@@ -874,19 +878,6 @@ const handleClickToDetail = (curEntityEvent) => {
// window.open(routeData.href, "_blank");
}
;
// 跳转机构详情
const
handleOrgClick
=
item
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
organizationName
);
const
route
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
organizationId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
}
;
// 导出
const
handleExport
=
()
=>
{
...
...
src/views/dataLibrary/institution/index.vue
浏览文件 @
294eb4d9
...
...
@@ -149,7 +149,7 @@ import { search } from '@/api/comprehensiveSearch'
import
{
ElMessage
}
from
'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
{
getProvinceList
,
getCountryList
,
getEntityTypes
}
from
'@/api/comprehensiveSearch/index'
import
goToPage
from
'@/utils/goToPage'
const
route
=
useRoute
();
// 图表/数据
...
...
@@ -793,14 +793,15 @@ const initParam = () => {
// 跳转机构详情
const
handleClickToDetail
=
(
item
)
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
originalTitle
);
const
route
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
id
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
// window.sessionStorage.setItem("curTabName", item.originalTitle);
// const route = router.resolve(
{
// path: "/institution",
// query:
{
// id: item.id
//
}
//
}
);
// window.open(route.href, "_blank");
goToPage
.
goToInstitution
(
item
.
id
,
item
.
originalTitle
)
}
;
...
...
src/views/dataLibrary/news/index.vue
浏览文件 @
294eb4d9
...
...
@@ -154,6 +154,7 @@ import { search } from '@/api/comprehensiveSearch'
import
{
ElMessage
}
from
'element-plus'
import
getDateRange
from
'@/utils/getDateRange'
import
{
useGotoNewsDetail
}
from
"@/router/modules/news"
;
import
goToPage
from
'@/utils/goToPage'
const
gotoNewsDetail
=
useGotoNewsDetail
();
const
route
=
useRoute
();
...
...
@@ -819,16 +820,11 @@ const initParam = () => {
const
handleClickToDetail
=
(
item
)
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
originalTitle
);
//
window.sessionStorage.setItem("curTabName", item.originalTitle);
gotoNewsDetail
(
item
.
id
);
// const route = router.resolve(
{
// path: "/newsAnalysis",
// query:
{
// newsId: item.id
//
}
//
}
);
// window.open(route.href, "_blank");
// gotoNewsDetail(item.id);
goToPage
.
goToNewsPage
(
item
.
id
,
item
.
originalTitle
)
}
;
// 导出
...
...
src/views/dataLibrary/technologyFigures/index.vue
浏览文件 @
294eb4d9
...
...
@@ -156,6 +156,7 @@ import { search } from '@/api/comprehensiveSearch'
import
{
ElMessage
}
from
'element-plus'
import
{
getPersonType
,
getCountryList
,
getThinkTankList
}
from
"@/api/comprehensiveSearch/index"
import
goToPage
from
'@/utils/goToPage'
const
route
=
useRoute
();
...
...
@@ -872,28 +873,15 @@ const initParam = () => {
// 跳转人物详情
const
handleClickToDetail
=
(
item
)
=>
{
window
.
sessionStorage
.
setItem
(
'curTabName'
,
item
.
name
)
const
routeData
=
router
.
resolve
({
path
:
"/characterPage"
,
query
:
{
personId
:
item
.
id
}
}
);
window
.
open
(
routeData
.
href
,
"_blank"
);
}
;
// 跳转机构详情
const
handleOrgClick
=
item
=>
{
console
.
log
(
'item'
,
item
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
organizationName
);
const
route
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
organizationId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
// window.sessionStorage.setItem('curTabName', item.name)
// const routeData = router.resolve(
{
// path: "/characterPage",
// query:
{
// personId: item.id
//
}
//
}
);
// window.open(routeData.href, "_blank");
goToPage
.
goToCharacterPage
(
item
.
id
,
item
.
name
)
}
;
// 导出
...
...
src/views/dataLibrary/thinkTank/index.vue
浏览文件 @
294eb4d9
...
...
@@ -172,13 +172,13 @@ import InputBox from "../components/InputBox/index.vue";
import
DataChartSwitchBox
from
'../components/dataChartSwitchBox/index.vue'
import
{
useRoute
}
from
"vue-router"
;
import
router
from
"@/router"
;
import
{
getDecodedParams
}
from
"@/utils/goToPage/methods/getDecode"
;
import
{
search
,
getThinkTankList
}
from
"@/api/comprehensiveSearch"
;
import
{
ElMessage
}
from
"element-plus"
;
import
getDateRange
from
"@/utils/getDateRange"
;
import
{
getDepartmentList
}
from
"@/api/decree/home"
;
import
goToPage
from
"@/utils/goToPage"
;
const
route
=
useRoute
();
...
...
@@ -911,9 +911,10 @@ const handleDownloadCurChartData = () => {
// 跳转到当前页 初始化筛选条件
const
initParam
=
()
=>
{
const
hasQuery
=
Object
.
keys
(
route
.
query
).
length
>
0
;
const
routeQuery
=
goToPage
.
getDecodedParams
()
const
hasQuery
=
routeQuery
?
Object
.
keys
(
routeQuery
).
length
>
0
:
false
if
(
hasQuery
)
{
const
decodedQuery
=
route
.
query
.
data
?
(
getDecodedParams
()
||
{
}
)
:
null
;
const
decodedQuery
=
route
.
query
.
data
?
(
g
oToPage
.
g
etDecodedParams
()
||
{
}
)
:
null
;
const
query
=
decodedQuery
&&
typeof
decodedQuery
===
"object"
?
decodedQuery
:
route
.
query
;
if
(
query
.
selectedAreaList
)
{
...
...
@@ -975,29 +976,31 @@ const encodeBase64Param = (val) => {
const
handleClickToDetail
=
curReport
=>
{
console
.
log
(
"curReport"
,
curReport
);
window
.
sessionStorage
.
setItem
(
"billId"
,
curReport
.
id
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
curReport
.
title
);
const
encodedId
=
encodeBase64Param
(
curReport
?.
id
);
if
(
!
encodedId
)
return
;
const
route
=
router
.
resolve
({
name
:
"ReportDetail"
,
params
:
{
id
:
encodedId
}
}
);
window
.
open
(
route
.
href
,
"_blank"
);
// window.sessionStorage.setItem("billId", curReport.id);
// window.sessionStorage.setItem("curTabName", curReport.id);
// const encodedId = encodeBase64Param(curReport?.id);
// if (!encodedId) return;
// const route = router.resolve(
{
// name: "ReportDetail",
// params:
{
// id: encodedId
//
}
//
}
);
// window.open(route.href, "_blank");
goToPage
.
goToThinkTankReport
(
curReport
.
id
,
curReport
.
id
)
}
;
// 跳转智库详情
const
handlePerClick
=
item
=>
{
const
curRoute
=
router
.
resolve
({
name
:
"ThinkTankDetail"
,
params
:
{
id
:
item
.
organizationId
,
name
:
item
.
organizationName
}
}
);
window
.
open
(
curRoute
.
href
,
"_blank"
);
// const curRoute = router.resolve(
{
// name: "ThinkTankDetail",
// params:
{
// id: item.organizationId,
// name: item.organizationName
//
}
//
}
);
// window.open(curRoute.href, "_blank");
goToPage
.
goToThinkTank
(
item
.
organizationId
,
item
.
organizationName
)
}
;
// 导出
...
...
src/views/exportControl/components/info.vue
浏览文件 @
294eb4d9
...
...
@@ -21,23 +21,29 @@
<
script
setup
>
import
infoIcon
from
"../assets/icons/info-icon.png"
;
import
{
useRouter
}
from
"vue-router"
;
import
goToPage
from
"@/utils/goToPage/index"
;
const
router
=
useRouter
()
const
emits
=
defineEmits
([
'num-click'
])
const
handleClickNum
=
(
item
)
=>
{
if
(
item
===
'实体清单'
)
{
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
{
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: {
// isCnEntityOnly: true
// }
// });
// window.open(route.href, "_blank");
const
params
=
{
isCnEntityOnly
:
true
}
});
window
.
open
(
route
.
href
,
"_blank"
);
goToPage
.
goToDataEntityList
(
params
)
}
else
if
(
item
===
'商业管制清单'
)
{
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataCommerceControlList"
,
});
window
.
open
(
route
.
href
,
"_blank"
);
// const route = router.resolve({
// path: "/dataLibrary/dataCommerceControlList",
// });
// window.open(route.href, "_blank");
goToPage
.
goToDataCCLList
()
}
}
...
...
@@ -157,7 +163,8 @@ const desMap = {
display
:
flex
;
flex-direction
:
column
;
align-items
:
flex-end
;
&
:hover
{
&
:hover
{
text-decoration
:
underline
;
background
:
var
(
--
color-primary-2
);
}
...
...
src/views/exportControl/index-back.vue
浏览文件 @
294eb4d9
差异被折叠。
点击展开。
src/views/exportControl/index.vue
浏览文件 @
294eb4d9
差异被折叠。
点击展开。
src/views/exportControl/v2.0EntityList/components/dataStatistics/index.vue
浏览文件 @
294eb4d9
...
...
@@ -105,12 +105,8 @@
</div>
</
template
>
<!-- <div class="echarts" ref="sanctionCountChartRef"></div> -->
<EChart
:option=
"sanctionCountChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary4"
/>
<EChart
:option=
"sanctionCountChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary4"
/>
<!-- <div class="bottom">
<div class="ai">
<div class="left">
...
...
@@ -132,11 +128,8 @@
<!-- <AiButton />
<AiPane :aiContent="sanctionCountChart.interpretation" /> -->
<AiButton
@
mouseenter=
"handleShowAiPane('sanctionCountChart')"
/>
<AiPane
v-if=
"aiPaneVisible?.sanctionCountChart"
:aiContent=
"overviewAiContent.sanctionCountChart"
@
mouseleave=
"handleHideAiPane('sanctionCountChart')"
/>
<AiPane
v-if=
"aiPaneVisible?.sanctionCountChart"
:aiContent=
"overviewAiContent.sanctionCountChart"
@
mouseleave=
"handleHideAiPane('sanctionCountChart')"
/>
</div>
</AnalysisBox>
</div>
...
...
@@ -150,22 +143,14 @@
<div
class=
"map-wrapper"
>
<div
class=
"map-chart"
ref=
"mapChartRef"
></div>
<div
class=
"rank-list"
>
<div
class=
"rank-item"
v-for=
"(item, index) in rankData"
:key=
"index"
@
click=
"handleToDataLibrary5(item)"
>
<div
class=
"rank-item"
v-for=
"(item, index) in rankData"
:key=
"index"
@
click=
"handleToDataLibrary5(item)"
>
<div
class=
"rank-index"
:class=
"'rank-' + (index + 1)"
>
{{ index + 1 }}
</div>
<div
class=
"rank-name"
>
{{ item.name }}
</div>
<div
class=
"rank-bar-bg"
>
<div
class=
"rank-bar-fill"
:style=
"{
<div
class=
"rank-bar-fill"
:style=
"{
width: (item.value / maxRankValue) * 100 + '%',
background: getBarColor(index)
}"
></div>
}"
></div>
</div>
<div
class=
"rank-value"
>
{{ item.value }}家
</div>
</div>
...
...
@@ -181,11 +166,8 @@
<!-- <AiButton />
<AiPane :aiContent="rankChart.interpretation" /> -->
<AiButton
@
mouseenter=
"handleShowAiPane('rankChart')"
/>
<AiPane
v-if=
"aiPaneVisible?.rankChart"
:aiContent=
"overviewAiContent.rankChart"
@
mouseleave=
"handleHideAiPane('rankChart')"
/>
<AiPane
v-if=
"aiPaneVisible?.rankChart"
:aiContent=
"overviewAiContent.rankChart"
@
mouseleave=
"handleHideAiPane('rankChart')"
/>
</div>
</AnalysisBox>
</div>
...
...
@@ -197,12 +179,8 @@
</el-select>
</
template
>
<!-- <div class="echarts" ref="domainChartRef"></div> -->
<EChart
:option=
"domainChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary6"
/>
<EChart
:option=
"domainChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary6"
/>
<div
class=
"data-origin-box"
>
<div
class=
"data-origin-icon"
>
<img
:src=
"tipsIcon"
alt=
""
/>
...
...
@@ -213,11 +191,8 @@
<!-- <AiButton />
<AiPane :aiContent="domainChart.interpretation" /> -->
<AiButton
@
mouseenter=
"handleShowAiPane('domainChart')"
/>
<AiPane
v-if=
"aiPaneVisible?.domainChart"
:aiContent=
"overviewAiContent.domainChart"
@
mouseleave=
"handleHideAiPane('domainChart')"
/>
<AiPane
v-if=
"aiPaneVisible?.domainChart"
:aiContent=
"overviewAiContent.domainChart"
@
mouseleave=
"handleHideAiPane('domainChart')"
/>
</div>
</AnalysisBox>
</div>
...
...
@@ -229,12 +204,8 @@
</el-select>
</
template
>
<!-- <div class="echarts" ref="typeChartRef"></div> -->
<EChart
:option=
"typeChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary7"
/>
<EChart
:option=
"typeChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary7"
/>
<div
class=
"data-origin-box"
>
<div
class=
"data-origin-icon"
>
<img
:src=
"tipsIcon"
alt=
""
/>
...
...
@@ -245,11 +216,8 @@
<!-- <AiButton />
<AiPane :aiContent="typeChart.interpretation" /> -->
<AiButton
@
mouseenter=
"handleShowAiPane('typeChart')"
/>
<AiPane
v-if=
"aiPaneVisible?.typeChart"
:aiContent=
"overviewAiContent.typeChart"
@
mouseleave=
"handleHideAiPane('typeChart')"
/>
<AiPane
v-if=
"aiPaneVisible?.typeChart"
:aiContent=
"overviewAiContent.typeChart"
@
mouseleave=
"handleHideAiPane('typeChart')"
/>
</div>
</AnalysisBox>
</div>
...
...
@@ -277,6 +245,7 @@ import tipsIcon from "../../../assets/icons/info-icon.png";
import
AiButton
from
"@/components/base/Ai/AiButton/index.vue"
;
import
AiPane
from
"@/components/base/Ai/AiPane/index.vue"
;
import
{
useChartInterpretation
}
from
"@/views/exportControl/utils/common"
;
import
goToPage
from
"@/utils/goToPage/index"
;
// const sanctionCountChart = useChartInterpretation();
const
domainChart
=
useChartInterpretation
();
const
typeChart
=
useChartInterpretation
();
...
...
@@ -658,11 +627,12 @@ const updateMapChart = () => {
selectedDate
:
regionTime
.
value
===
"all"
?
null
:
JSON
.
stringify
([
regionTime
.
value
+
"-01-01"
,
regionTime
.
value
+
"-12-31"
])
};
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
param
});
window
.
open
(
route
.
href
,
"_blank"
);
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: param
// });
// window.open(route.href, "_blank");
goToPage
.
goToDataEntityList
(
param
)
});
};
...
...
@@ -1047,11 +1017,12 @@ const handleToDataLibrary4 = val => {
?
JSON
.
stringify
([
val
.
name
+
"-01-01"
,
val
.
name
+
"-12-31"
])
:
JSON
.
stringify
([
val
.
name
,
val
.
name
])
};
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
params
});
window
.
open
(
route
.
href
,
"_blank"
);
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: params
// });
// window.open(route.href, "_blank");
goToPage
.
goToDataEntityList
(
params
)
};
// 制裁实体各省分布情况
...
...
@@ -1062,11 +1033,12 @@ const handleToDataLibrary5 = item => {
selectedDate
:
regionTime
.
value
===
"all"
?
null
:
JSON
.
stringify
([
regionTime
.
value
+
"-01-01"
,
regionTime
.
value
+
"-12-31"
])
};
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
params
});
window
.
open
(
route
.
href
,
"_blank"
);
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: params
// });
// window.open(route.href, "_blank");
goToPage
.
goToDataEntityList
(
params
)
};
// 制裁实体领域分布情况
...
...
@@ -1077,11 +1049,12 @@ const handleToDataLibrary6 = val => {
selectedDate
:
domainTime
.
value
===
"all"
?
null
:
JSON
.
stringify
([
domainTime
.
value
+
"-01-01"
,
domainTime
.
value
+
"-12-31"
])
};
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
params
});
window
.
open
(
route
.
href
,
"_blank"
);
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: params
// });
// window.open(route.href, "_blank");
goToPage
.
goToDataEntityList
(
params
)
};
// 制裁实体类型分布情况
...
...
@@ -1091,53 +1064,71 @@ const handleToDataLibrary7 = val => {
selectedEntityType
:
val
.
name
,
selectedDate
:
typeTime
.
value
===
"all"
?
null
:
JSON
.
stringify
([
typeTime
.
value
+
"-01-01"
,
typeTime
.
value
+
"-12-31"
])
};
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
params
});
window
.
open
(
route
.
href
,
"_blank"
);
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: params
// });
// window.open(route.href, "_blank");
goToPage
.
goToDataEntityList
(
params
)
};
// 跳转到数据资源库
const
handleToDataLibrary
=
()
=>
{
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
{
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: {
// isCnEntityOnly: true
// }
// });
// window.open(route.href, "_blank");
const
params
=
{
isCnEntityOnly
:
true
}
});
window
.
open
(
route
.
href
,
"_blank"
);
goToPage
.
goToDataEntityList
(
params
)
};
const
handleToDataLibrary1
=
()
=>
{
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
{
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: {
// isCnEntityOnly: true,
// isHalfRule: true
// }
// });
// window.open(route.href, "_blank");
const
params
=
{
isCnEntityOnly
:
true
,
isHalfRule
:
true
}
});
window
.
open
(
route
.
href
,
"_blank"
);
goToPage
.
goToDataEntityList
(
params
)
};
const
handleToDataLibrary2
=
()
=>
{
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
{
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: {
// selectedDate: JSON.stringify([currentYear + "01-01", currentYear + "12-31"])
// }
// });
// window.open(route.href, "_blank");
const
params
=
{
selectedDate
:
JSON
.
stringify
([
currentYear
+
"01-01"
,
currentYear
+
"12-31"
])
}
});
window
.
open
(
route
.
href
,
"_blank"
);
goToPage
.
goToDataEntityList
(
params
)
};
const
handleToDataLibrary3
=
time
=>
{
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
{
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: {
// selectedDate: JSON.stringify([time, time])
// }
// });
// window.open(route.href, "_blank");
const
params
=
{
selectedDate
:
JSON
.
stringify
([
time
,
time
])
}
});
window
.
open
(
route
.
href
,
"_blank"
);
goToPage
.
goToDataEntityList
(
params
)
};
const
requestAiPaneContent
=
async
key
=>
{
...
...
@@ -1308,6 +1299,7 @@ onMounted(() => {
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
position
:
relative
;
cursor
:
pointer
;
&
:hover
{
background
:
var
(
--
color-primary-2
);
}
...
...
src/views/exportControl/v2.0EntityList/components/sanctionsOverview/components/introductionPage/index.vue
浏览文件 @
294eb4d9
...
...
@@ -173,7 +173,7 @@ import { ArrowDown } from "@element-plus/icons-vue";
import
CommonPrompt
from
"../../../../../commonPrompt/index.vue"
;
import
{
getEntityInfo
,
getPublishInfo
,
getPublishOrgInfo
,
getEntityUpdateInfo
}
from
"@/api/exportControlV2.0.js"
;
import
{
useRoute
}
from
"vue-router"
;
import
goToPage
from
"@/utils/goToPage/index"
;
const
route
=
useRoute
();
// 处理点击发布机构的方法
const
handleClickOrg
=
item
=>
{
...
...
@@ -410,11 +410,12 @@ const handleToDataLibrary = item => {
selectedDate
:
JSON
.
stringify
([
item
.
postDate
,
item
.
postDate
])
};
}
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
params
});
window
.
open
(
route
.
href
,
"_blank"
);
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: params
// });
// window.open(route.href, "_blank");
goToPage
.
goToDataEntityList
(
params
)
};
onMounted
(()
=>
{
...
...
src/views/exportControl/v2.0EntityList/components/sanctionsOverview/components/listPage/index.vue
浏览文件 @
294eb4d9
...
...
@@ -192,6 +192,7 @@ import { getExportControlList, get50PercentEntityCount } from "@/api/exportContr
import
CommonPrompt
from
"@/views/exportControl/commonPrompt/index.vue"
;
import
{
useGotoCompanyPages
}
from
"@/router/modules/company"
;
import
TimeSortSelectBox
from
"@/components/base/TimeSortSelectBox/index.vue"
;
import
goToPage
from
"@/utils/goToPage/index"
;
const
gotoCompanyPages
=
useGotoCompanyPages
();
const
router
=
useRouter
();
...
...
@@ -531,22 +532,24 @@ const handlToDataLibrary = () => {
const
params
=
{
isCnEntityOnly
:
true
};
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
params
});
window
.
open
(
route
.
href
,
"_blank"
);
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: params
// });
// window.open(route.href, "_blank");
goToPage
.
goToDataEntityList
(
params
)
};
const
handlToDataLibrary1
=
()
=>
{
const
params
=
{
isCnEntityOnly
:
true
,
isHalfRule
:
true
};
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
params
});
window
.
open
(
route
.
href
,
"_blank"
);
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: params
// });
// window.open(route.href, "_blank");
goToPage
.
goToDataEntityList
(
params
)
};
</
script
>
...
...
src/views/exportControl/v2.0SingleSanction/components/dataStatistics/index.vue
浏览文件 @
294eb4d9
差异被折叠。
点击展开。
src/views/exportControl/v2.0SingleSanction/components/sanctionsOverview/index.vue
浏览文件 @
294eb4d9
...
...
@@ -243,7 +243,7 @@ import {
}
from
"@/api/exportControlV2.0"
;
import
RuleSubsidiaryDialog
from
"../../../v2.0EntityList/components/sanctionsOverview/components/listPage/RuleSubsidiaryDialog.vue"
;
import
{
useRoute
}
from
"vue-router"
;
import
goToPage
from
"@/utils/goToPage/index"
;
import
{
useGotoCompanyPages
}
from
"@/router/modules/company"
;
const
gotoCompanyPages
=
useGotoCompanyPages
();
...
...
@@ -570,14 +570,19 @@ const handleToDataLibrary = item => {
(
_
,
y
,
m
,
d
)
=>
`
${
y
}
-
${
m
.
padStart
(
2
,
"0"
)}
-
${
d
.
padStart
(
2
,
"0"
)}
`
);
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
{
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: {
// selectedDate: JSON.stringify([dateStr, dateStr]),
// selectedCountryId: item.id
// }
// });
// window.open(route.href, "_blank");
const
params
=
{
selectedDate
:
JSON
.
stringify
([
dateStr
,
dateStr
]),
selectedCountryId
:
item
.
id
}
});
window
.
open
(
route
.
href
,
"_blank"
);
goToPage
.
goToDataEntityList
(
params
)
};
onMounted
(()
=>
{
...
...
src/views/finance/entityList/components/dataStatistics/index.vue
浏览文件 @
294eb4d9
...
...
@@ -104,7 +104,8 @@
</div>
</div>
</
template
>
<EChart
:option=
"sanctionCountChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary4"
/>
<EChart
:option=
"sanctionCountChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary4"
/>
<div
class=
"data-origin-box"
>
<div
class=
"data-origin-icon"
>
...
...
@@ -165,7 +166,8 @@
<el-option
v-for=
"item in timeOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</
template
>
<EChart
:option=
"domainChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary6"
/>
<EChart
:option=
"domainChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary6"
/>
<div
class=
"data-origin-box"
>
<div
class=
"data-origin-icon"
>
...
...
@@ -199,7 +201,8 @@
</div>
</div>
</
template
>
<EChart
:option=
"domainNumChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary5"
/>
<EChart
:option=
"domainNumChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary5"
/>
<div
class=
"data-origin-box"
>
<div
class=
"data-origin-icon"
>
...
...
@@ -223,7 +226,8 @@
</el-select>
</
template
>
<!-- <div class="echarts" ref="typeChartRef"></div> -->
<EChart
:option=
"typeChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary7"
/>
<EChart
:option=
"typeChartOption"
autoresize
:style=
"{ height: '300px', padding: '0 20px' }"
@
chart-click=
"handleToDataLibrary7"
/>
<!-- <div class="bottom">
<div class="ai">
<div class="left">
...
...
@@ -275,6 +279,7 @@ import tipsIcon from "../../../assets/icons/info-icon.png";
import
AiButton
from
"@/components/base/Ai/AiButton/index.vue"
;
import
AiPane
from
"@/components/base/Ai/AiPane/index.vue"
;
import
{
useChartInterpretation
}
from
"@/views/exportControl/utils/common"
;
import
goToPage
from
"@/utils/goToPage/index"
;
const
sanctionCountChart
=
useChartInterpretation
();
const
domainChart
=
useChartInterpretation
();
const
domainNumChart
=
useChartInterpretation
();
...
...
@@ -1352,11 +1357,12 @@ const handleToDataLibrary6 = val => {
selectedDate
:
domainTime
.
value
===
"all"
?
null
:
JSON
.
stringify
([
domainTime
.
value
+
"-01-01"
,
domainTime
.
value
+
"-12-31"
])
};
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
params
});
window
.
open
(
route
.
href
,
"_blank"
);
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: params
// });
// window.open(route.href, "_blank");
goToPage
.
goToDataEntityList
(
params
)
};
// 制裁实体类型分布情况
...
...
@@ -1367,11 +1373,12 @@ const handleToDataLibrary7 = val => {
selectedEntityType
:
val
.
name
,
selectedDate
:
typeTime
.
value
===
"all"
?
null
:
JSON
.
stringify
([
typeTime
.
value
+
"-01-01"
,
typeTime
.
value
+
"-12-31"
])
};
const
route
=
router
.
resolve
({
path
:
"/dataLibrary/dataEntityList"
,
query
:
params
});
window
.
open
(
route
.
href
,
"_blank"
);
// const route = router.resolve({
// path: "/dataLibrary/dataEntityList",
// query: params
// });
// window.open(route.href, "_blank");
goToPage
.
goToDataEntityList
(
params
)
}
onMounted
(()
=>
{
...
...
@@ -1837,6 +1844,7 @@ onMounted(() => {
right
:
0px
;
bottom
:
15px
;
z-index
:
999
;
:deep
(
.ai-pane-wrapper
)
{
display
:
none
;
}
...
...
src/views/home/index.vue
浏览文件 @
294eb4d9
...
...
@@ -43,13 +43,6 @@
</el-tooltip>
</div>
<!--
<div
class=
"ai-btn"
@
click=
"openAiBox"
>
<div
class=
"icon"
>
<img
src=
"@/assets/icons/ai-icon.png"
alt=
""
/>
</div>
<div
class=
"text"
>
智能问答
</div>
</div>
-->
<div
class=
"ai-dialog"
v-if=
"isShowAiBox"
>
<AiBox
@
close=
"closeAiBox"
/>
</div>
...
...
@@ -66,18 +59,7 @@ import { getPersonType } from "@/api/common/index";
// import { useDraggable } from "@vueuse/core";
import
ModuleHeader
from
'@/components/base/moduleHeader/index.vue'
import
Menu1
from
"@/assets/icons/overview/menu1.png"
;
import
Menu2
from
"@/assets/icons/overview/menu2.png"
;
import
Menu3
from
"@/assets/icons/overview/menu3.png"
;
import
Menu4
from
"@/assets/icons/overview/menu4.png"
;
import
Menu5
from
"@/assets/icons/overview/menu5.png"
;
import
Menu6
from
"@/assets/icons/overview/menu6.png"
;
import
Menu7
from
"@/assets/icons/overview/menu7.png"
;
import
Menu8
from
"@/assets/icons/overview/menu8.png"
;
import
Menu9
from
"@/assets/icons/overview/menu9.png"
;
import
Menu10
from
"@/assets/icons/overview/menu10.png"
;
import
Menu11
from
"@/assets/icons/overview/menu11.png"
;
import
Menu12
from
"@/assets/icons/overview/menu12.png"
;
import
{
ElMessage
}
from
"element-plus"
;
const
router
=
useRouter
();
...
...
@@ -97,10 +79,6 @@ const closeAiBox = () => {
isShowAiBox
.
value
=
false
;
};
const
openAiBox
=
()
=>
{
isShowAiBox
.
value
=
true
;
};
const
personTypeList
=
ref
([]);
// 获取人物类别
...
...
@@ -117,115 +95,6 @@ const handleGetPersonType = async () => {
}
catch
(
error
)
{
}
};
const
isCurrentOverview
=
computed
(()
=>
{
if
(
route
.
path
===
"/ZMOverView"
)
{
return
true
;
}
else
{
return
false
;
}
});
const
isShowMenu
=
ref
(
false
);
const
handleShowMenu
=
(
index
,
isShow
)
=>
{
if
(
index
===
0
)
{
isShowMenu
.
value
=
isShow
;
}
};
const
handleHoverMenu
=
isShow
=>
{
isShowMenu
.
value
=
isShow
;
};
const
menuList
=
ref
([
{
title
:
"中美科技博弈概览"
,
icon
:
Menu1
,
path
:
"/ZMOverView"
},
{
title
:
"科技法案"
,
icon
:
Menu2
,
path
:
"/billHome"
},
{
title
:
"科技政令"
,
icon
:
Menu3
,
path
:
"/decree"
},
{
title
:
"美国科技智库"
,
icon
:
Menu4
,
path
:
"/thinkTank"
},
{
title
:
"出口管制"
,
icon
:
Menu5
,
path
:
"/exportControl"
},
{
title
:
"科研合作限制"
,
icon
:
Menu6
,
path
:
"/cooperationRestrictions"
},
{
title
:
"投融资限制"
,
icon
:
Menu7
,
path
:
"/finance"
},
{
title
:
"市场准入限制"
,
icon
:
Menu8
,
path
:
"/marketAccessRestrictions"
},
{
title
:
"规则限制"
,
icon
:
Menu9
,
path
:
"/ruleRestrictions"
},
{
title
:
"美国科技人物观点"
,
icon
:
Menu10
,
path
:
"/technologyFigures"
},
{
title
:
"美国主要创新主体动向"
,
icon
:
Menu11
,
path
:
"/innovationSubject"
},
{
title
:
"美国科研资助体系"
,
icon
:
Menu12
,
path
:
"/scientificFunding"
}
]);
const
handleToModule
=
item
=>
{
const
curRoute
=
router
.
resolve
({
path
:
item
.
path
});
window
.
open
(
curRoute
.
href
,
"_blank"
);
};
const
searchText
=
ref
(
""
);
const
handleSearch
=
()
=>
{
const
curRoute
=
router
.
resolve
({
path
:
"/searchResults"
,
query
:
{
searchText
:
searchText
.
value
}
});
window
.
open
(
curRoute
.
href
,
"_blank"
);
};
const
handleClickTitle
=
item
=>
{
if
(
item
.
name
===
"主要国家科技动向感知"
||
item
.
name
===
"主要国家竞争科技安全"
)
{
ElMessage
.
warning
(
"当前功能正在开发中,敬请期待!"
);
}
};
const
handleOpenPage
=
page
=>
{
const
pageObj
=
{
znwd
:
"/chat"
,
...
...
src/views/thinkTank/ThinkTankDetail/PolicyTracking/index.vue
浏览文件 @
294eb4d9
...
...
@@ -293,10 +293,10 @@ import defaultNewsIcon from "@/assets/icons/default-icon-news.png";
import
AreaTag
from
"@/components/base/AreaTag/index.vue"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
getDecodedParams
}
from
"@/utils/goToPage/methods/getDecod
e"
;
import
goToPage
from
"@/utils/goToPag
e"
;
const
router
=
useRouter
();
const
thinkTankId
=
computed
(()
=>
getDecodedParams
());
const
thinkTankId
=
computed
(()
=>
g
oToPage
.
g
etDecodedParams
());
const
loading
=
ref
(
false
);
const
pageScrollRef
=
ref
(
null
);
...
...
src/views/thinkTank/ThinkTankDetail/index.vue
浏览文件 @
294eb4d9
...
...
@@ -64,7 +64,7 @@ import PolicyTracking from "./PolicyTracking/index.vue";
import
ThinkInfo
from
"./thinkInfo/index.vue"
;
import
{
getThinkTankSummary
}
from
"@/api/thinkTank/overview"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
getDecodedParams
}
from
"@/utils/goToPage/methods/getDecod
e"
;
import
goToPage
from
"@/utils/goToPag
e"
;
const
router
=
useRouter
();
// 兼容 getDecodedParams 内部直接使用全局 router 的写法
...
...
@@ -77,7 +77,7 @@ const switchTab = name => {
const
thinkTank
=
ref
({});
// 获取智库基本信息
const
handleGetThinkTankSummary
=
async
()
=>
{
const
decoded
=
getDecodedParams
();
const
decoded
=
g
oToPage
.
g
etDecodedParams
();
// getDecodedParams: 有时返回对象(来自 ?data=),有时返回字符串(来自 params)
const
id
=
typeof
decoded
===
"object"
&&
decoded
!==
null
?
decoded
.
id
:
decoded
;
...
...
src/views/thinkTank/ThinkTankDetail/thinkDynamics/index.vue
浏览文件 @
294eb4d9
...
...
@@ -78,11 +78,11 @@ import {
getResourceLibraryReportDateRangeFromTimeSelection
}
from
"../../utils/resourceLibraryFilters"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
getDecodedParams
}
from
"@/utils/goToPage/methods/getDecode"
;
import
ThinkTankReport
from
"./ThinkTankReport/index.vue"
;
import
CongressHearing
from
"./CongressHearing/index.vue"
;
import
goToPage
from
"@/utils/goToPage"
;
const
router
=
useRouter
();
const
thinkTankId
=
computed
(()
=>
getDecodedParams
());
const
thinkTankId
=
computed
(()
=>
g
oToPage
.
g
etDecodedParams
());
const
isThinkTankReport
=
ref
(
true
);
const
isSurveyForm
=
ref
(
false
);
const
isCongressHearing
=
ref
(
false
);
...
...
src/views/thinkTank/ThinkTankDetail/thinkInfo/index.vue
浏览文件 @
294eb4d9
...
...
@@ -259,8 +259,6 @@ import { ref, onMounted, nextTick, computed } from "vue";
import
setChart
from
"@/utils/setChart"
;
import
getPieChart
from
"./utils/piechart"
;
import
getTreeMapChart
from
"./utils/treeMapChart"
;
import
{
getDecodedParams
}
from
"@/utils/goToPage/methods/getDecode"
;
import
{
ElMessage
}
from
"element-plus"
;
import
{
getThinkTankInfoBasic
,
getThinkTankInfoBranch
,
...
...
@@ -274,9 +272,10 @@ import { useRouter } from "vue-router";
import
DefaultIcon1
from
'@/assets/icons/default-icon1.png'
import
{
getPersonSummaryInfo
}
from
"@/api/common/index"
;
import
goToPage
from
"@/utils/goToPage"
;
const
totalPersonNumber
=
ref
(
0
)
const
router
=
useRouter
();
const
thinkTankId
=
getDecodedParams
();
const
thinkTankId
=
g
oToPage
.
g
etDecodedParams
();
import
InfoImg
from
"./images/img.png"
;
import
Icon1
from
"./images/icon1.png"
;
import
Icon2
from
"./images/icon2.png"
;
...
...
src/views/thinkTank/index.vue
浏览文件 @
294eb4d9
...
...
@@ -502,8 +502,7 @@ import { setCanvasCreator } from "echarts/core";
import
{
ElMessage
}
from
"element-plus"
;
import
{
useRouter
}
from
'vue-router'
;
import
{
useGotoNewsDetail
}
from
'@/router/modules/news'
;
import
{
goToThinkTank
}
from
"@/utils/goToPage/methods/thinkTank.js"
;
import
{
goToDataThinkTank
}
from
"@/utils/goToPage/methods/dataLibrary.js"
;
import
goToPage
from
"@/utils/goToPage"
;
const
gotoNewsDetail
=
useGotoNewsDetail
()
const
containerRef
=
ref
(
null
);
const
isRiskDetailVisible
=
ref
(
false
);
...
...
@@ -2310,7 +2309,7 @@ const handleClick = tank => {
ElMessage
.
warning
(
"当前智库id为空,无法进入详情页"
);
return
;
}
goToThinkTank
(
tank
.
id
,
tank
.
name
+
"概览"
)
goTo
Page
.
goTo
ThinkTank
(
tank
.
id
,
tank
.
name
+
"概览"
)
// window.sessionStorage.setItem("curTabName", tank.name + "概览");
// const curRoute = router.resolve({ name: "ThinkTankDetail", params: { id: tank.id, name: tank.name } });
// window.open(curRoute.href, "_blank");
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论