Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
277bffd2
提交
277bffd2
authored
3月 27, 2026
作者:
付康
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'fk-dev' 到 'pre'
Fk dev 查看合并请求
!264
上级
32486bbe
177bfd30
流水线
#167
已通过 于阶段
in 5 分 26 秒
变更
15
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
630 行增加
和
829 行删除
+630
-829
App.vue
src/App.vue
+2
-644
index.vue
src/components/base/moduleHeader/index.vue
+145
-25
tool1.svg
src/components/base/moduleHeader/tool1.svg
+10
-0
tool2.svg
src/components/base/moduleHeader/tool2.svg
+10
-0
LeftBtn.vue
src/components/base/pageBtn/LeftBtn.vue
+0
-0
RightBtn.vue
src/components/base/pageBtn/RightBtn.vue
+0
-0
main.js
src/main.js
+2
-2
index.js
src/router/index.js
+24
-12
index.vue
src/styles/components/ActionButton/index.vue
+4
-4
index.vue
src/views/bill/billHome/index.vue
+7
-7
index.vue
src/views/dataLibrary/decree/index.vue
+416
-125
index.vue
src/views/dataLibrary/index.vue
+4
-4
CooperationCases.vue
...ct/innovativeInstitutions/components/CooperationCases.vue
+2
-2
OtherInfo.vue
...novationSubject/innovativeInstitutions/tabs/OtherInfo.vue
+2
-2
index.vue
...views/marketAccessRestrictions/marketAccessHome/index.vue
+2
-2
没有找到文件。
src/App.vue
浏览文件 @
277bffd2
...
...
@@ -5,29 +5,12 @@
</
template
>
<
script
setup
>
import
{
ref
,
computed
,
onMounted
}
from
"vue"
;
import
{
ref
,
onMounted
}
from
"vue"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
useRoute
}
from
"vue-router"
;
import
AiBox
from
"./components/AiBox.vue"
;
import
{
getPersonType
}
from
"@/api/common/index"
;
// import { useDraggable } from "@vueuse/core";
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
();
const
route
=
useRoute
();
import
useTagsViewStore
from
'@/stores/tagsView.js'
...
...
@@ -37,7 +20,7 @@ const tagsViewStore = useTagsViewStore()
// 在路由全局守卫中处理
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
// 路由允许添加标签(排除掉隐藏的布局页如 /404, /login 等)
if
(
to
.
path
.
in
cludes
(
'dataLibrary'
)
)
{
if
(
to
.
path
.
in
dexOf
(
'dataLibrary'
)
>
-
1
)
{
tagsViewStore
.
addView
({
path
:
to
.
path
,
name
:
to
.
name
,
// 对应组件的 name,用于缓存
...
...
@@ -48,17 +31,6 @@ router.beforeEach((to, from, next) => {
next
()
})
const
isShowAiBox
=
ref
(
false
);
const
closeAiBox
=
()
=>
{
isShowAiBox
.
value
=
false
;
};
const
openAiBox
=
()
=>
{
isShowAiBox
.
value
=
true
;
};
const
personTypeList
=
ref
([]);
// 获取人物类别
...
...
@@ -75,146 +47,6 @@ const handleGetPersonType = async () => {
}
catch
(
error
)
{}
};
const
isCurrentOverview
=
computed
(()
=>
{
if
(
route
.
path
===
"/ZMOverView"
)
{
return
true
;
}
else
{
return
false
;
}
});
// 概览页标题列表
const
homeTitleList
=
ref
([
{
name
:
"中美科技博弈"
,
path
:
"/ZMOverView"
,
disabled
:
false
},
{
name
:
"主要国家科技动向感知"
,
path
:
""
,
disabled
:
true
},
{
name
:
"主要国家竞争科技安全"
,
path
:
""
,
disabled
:
true
}
]);
const
homeActiveTitleIndex
=
ref
(
0
);
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"
,
znxb
:
"/writtingAsstaint"
};
window
.
open
(
pageObj
[
page
],
"_blank"
);
};
const
handleClickToolBox
=
()
=>
{
ElMessage
.
warning
(
"当前功能正在开发中,敬请期待!"
);
};
onMounted
(()
=>
{
handleGetPersonType
();
});
...
...
@@ -281,457 +113,6 @@ body {
font-family
:
"Helvetica Neue"
,
Helvetica
,
"PingFang SC"
,
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"微软雅黑"
,
Arial
,
sans-serif
;
}
.pro-wrapper
{
width
:
100vw
;
height
:
100vh
;
position
:
relative
;
overflow
:
hidden
;
.home-page
{
width
:
100%
;
height
:
100%
;
position
:
relative
;
.navbar
{
width
:
100%
;
height
:
64px
;
border-bottom
:
1px
solid
rgba
(
234
,
236
,
238
,
1
);
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
background
:
linear-gradient
(
180deg
,
rgba
(
246
,
250
,
255
,
0
.8
)
0%
,
rgba
(
255
,
255
,
255
,
0
.8
)
100%
);
.nav-content
{
width
:
1600px
;
height
:
64px
;
margin
:
0
auto
;
display
:
flex
;
justify-content
:
space-between
;
position
:
relative
;
.nav-left
{
height
:
64px
;
display
:
flex
;
.icon
{
margin-top
:
17px
;
width
:
29px
;
height
:
30px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.title-box
{
display
:
flex
;
height
:
64px
;
margin-left
:
21px
;
gap
:
33px
;
.title
{
height
:
64px
;
cursor
:
pointer
;
&
:hover
{
.text
{
color
:
var
(
--
color-main-active
);
}
}
.text
{
height
:
39px
;
margin-top
:
12px
;
color
:
rgba
(
59
,
65
,
75
,
1
);
font-family
:
YouSheBiaoTiHei
;
font-style
:
Regular
;
font-size
:
30px
;
font-weight
:
400
;
line-height
:
39px
;
letter-spacing
:
0px
;
}
.textActive
{
color
:
var
(
--
color-main-active
);
}
.bottom-line
{
width
:
50px
;
height
:
4px
;
margin
:
0
auto
;
margin-top
:
9px
;
background
:
var
(
--
color-main-active
);
}
}
}
}
.nav-right
{
display
:
flex
;
justify-content
:
flex-end
;
gap
:
21px
;
.search-box
{
margin-top
:
16px
;
width
:
300px
;
height
:
36px
;
box-sizing
:
border-box
;
border
:
1px
solid
rgba
(
231
,
243
,
255
,
1
);
border-radius
:
10px
;
background
:
rgba
(
231
,
243
,
255
,
1
);
display
:
flex
;
.input
{
width
:
264px
;
height
:
36px
;
}
.icon
{
width
:
18px
;
height
:
18px
;
margin-left
:
9px
;
margin-top
:
9px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
}
.info-box
{
height
:
64px
;
display
:
flex
;
justify-content
:
flex-end
;
align-items
:
center
;
.mail
{
width
:
32px
;
height
:
32px
;
margin-right
:
14px
;
cursor
:
pointer
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.user
{
width
:
32px
;
height
:
32px
;
margin-right
:
11px
;
cursor
:
pointer
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.name
{
width
:
48px
;
height
:
30px
;
color
:
rgba
(
59
,
65
,
75
,
1
);
font-family
:
Microsoft
YaHei
;
font-style
:
Regular
;
font-size
:
16px
;
font-weight
:
400
;
line-height
:
30px
;
letter-spacing
:
0px
;
}
}
}
.menu-box
{
position
:
absolute
;
z-index
:
999999
;
width
:
713px
;
height
:
413px
;
top
:
64px
;
left
:
0
;
box-sizing
:
border-box
;
border
:
1px
solid
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
10px
;
backdrop-filter
:
blur
(
30px
);
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
background
:
rgba
(
255
,
255
,
255
,
0
.8
);
.menu-content
{
width
:
562px
;
height
:
348px
;
margin-top
:
8px
;
margin-left
:
72px
;
display
:
flex
;
flex-wrap
:
wrap
;
.menu-item
{
margin-top
:
36px
;
width
:
280px
;
height
:
24px
;
display
:
flex
;
cursor
:
pointer
;
&
:hover
{
.title
{
color
:
var
(
--
color-main-active
);
font-size
:
20px
;
}
}
.icon
{
width
:
24px
;
height
:
24px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.title
{
margin-left
:
16px
;
height
:
24px
;
color
:
rgba
(
59
,
65
,
75
,
1
);
font-family
:
Microsoft
YaHei
;
font-style
:
Bold
;
font-size
:
18px
;
font-weight
:
700
;
line-height
:
24px
;
letter-spacing
:
0px
;
text-align
:
left
;
}
}
}
}
}
}
.main-container
{
width
:
100%
;
height
:
calc
(
100vh
-
64px
);
position
:
relative
;
overflow
:
hidden
;
}
}
.content-page
{
width
:
100%
;
height
:
100%
;
.navbar
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
background
:
#fff
;
color
:
rgba
(
10
,
18
,
30
,
1
);
border-bottom
:
1px
solid
#e5e7eb
;
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0
.1
);
position
:
relative
;
box-sizing
:
border-box
;
height
:
72px
;
.nav-brand
{
display
:
flex
;
align-items
:
center
;
gap
:
12px
;
position
:
absolute
;
left
:
160px
;
.brand-icon
{
width
:
48px
;
height
:
48px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.brand-text
{
cursor
:
pointer
;
.text-ch
{
height
:
37px
;
color
:
rgba
(
10
,
18
,
30
,
1
);
font-family
:
Microsoft
YaHei
;
font-size
:
32px
;
font-weight
:
700
;
line-height
:
37px
;
}
.text-en
{
color
:
rgba
(
10
,
18
,
30
,
1
);
font-family
:
Microsoft
YaHei
;
font-size
:
10px
;
font-weight
:
400
;
line-height
:
13px
;
}
}
}
.user-info
{
display
:
flex
;
align-items
:
center
;
gap
:
20px
;
padding
:
8px
12px
;
border-radius
:
6px
;
color
:
#333
;
position
:
absolute
;
right
:
160px
;
.email
{
width
:
20px
;
height
:
20px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.avator
{
width
:
32px
;
height
:
32px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.user
{
color
:
rgba
(
59
,
65
,
75
,
1
);
font-family
:
Microsoft
YaHei
;
font-size
:
16px
;
font-weight
:
400
;
line-height
:
30px
;
}
}
}
.main-container
{
width
:
100%
;
height
:
calc
(
100vh
-
72px
);
position
:
relative
;
overflow
:
hidden
;
}
}
.right-btn
{
position
:
absolute
;
// top: 132px;
top
:
100px
;
right
:
0
;
z-index
:
10000000000000
;
.item
{
width
:
108px
;
height
:
40px
;
box-sizing
:
border-box
;
border
:
1px
solid
#fff
;
border-radius
:
50px
0px
0px
50px
;
background
:
rgba
(
255
,
255
,
255
,
0
.65
);
display
:
flex
;
margin-bottom
:
8px
;
cursor
:
pointer
;
.icon
{
width
:
36px
;
height
:
36px
;
margin-top
:
2px
;
margin-left
:
2px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.text
{
width
:
36px
;
height
:
24px
;
color
:
rgba
(
59
,
65
,
75
,
1
);
font-family
:
Source
Han
Sans
CN
;
font-style
:
Regular
;
font-size
:
18px
;
font-weight
:
400
;
line-height
:
24px
;
letter-spacing
:
0px
;
text-align
:
left
;
margin-top
:
8px
;
margin-left
:
10px
;
}
}
}
.tool-box
{
position
:
absolute
;
top
:
400px
;
right
:
28px
;
top
:
681px
;
width
:
62px
;
height
:
217px
;
box-sizing
:
border-box
;
border
:
1px
solid
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
10px
;
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
background
:
rgba
(
255
,
255
,
255
,
0
.65
);
box-sizing
:
border-box
;
padding
:
24px
18px
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
.tool-item
{
width
:
24px
;
height
:
24px
;
cursor
:
pointer
;
img
{
width
:
100%
;
height
:
100%
;
}
}
}
.ai-btn
{
position
:
absolute
;
bottom
:
240px
;
right
:
10px
;
z-index
:
9999
;
cursor
:
pointer
;
.icon
{
width
:
96px
;
height
:
96px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.text
{
margin-top
:
-15px
;
height
:
24px
;
color
:
rgba
(
59
,
65
,
75
,
1
);
font-family
:
Microsoft
YaHei
;
font-size
:
16px
;
font-weight
:
400
;
line-height
:
24px
;
text-align
:
center
;
}
}
.ai-dialog
{
position
:
absolute
;
right
:
100px
;
top
:
100px
;
z-index
:
9999
;
}
}
:deep
(
.el-input__wrapper
)
{
height
:
100%
;
box-shadow
:
none
;
...
...
@@ -747,27 +128,4 @@ body {
box-shadow
:
none
!
important
;
}
.title
[
aria-disabled
=
"true"
]
{
opacity
:
0
.3
;
cursor
:
not
-
allowed
;
pointer-events
:
none
;
}
.info-box
[
aria-disabled
=
"true"
]
{
opacity
:
0
.3
;
cursor
:
not
-
allowed
;
pointer-events
:
none
;
}
.right-btn
[
aria-disabled
=
"true"
]
{
opacity
:
0
.3
;
cursor
:
not
-
allowed
;
pointer-events
:
none
;
}
.tool-box
[
aria-disabled
=
"true"
]
{
opacity
:
0
.3
;
cursor
:
not
-
allowed
;
pointer-events
:
none
;
}
</
style
>
src/components/base/moduleHeader/index.vue
浏览文件 @
277bffd2
...
...
@@ -10,8 +10,7 @@
<div
class=
"title-box"
v-show=
"!isShowSearchBar"
>
<!--
<div
class=
"title-box"
v-if=
"false"
>
-->
<div
class=
"title"
v-for=
"(item, index) in homeTitleList"
:key=
"index"
@
mouseenter=
"handleShowMenu(index, true)"
@
mouseleave=
"handleShowMenu(index, false)"
@
click=
"handleClickTitle(item)"
>
@
mouseenter=
"handleShowMenu(index, true)"
@
click=
"handleClickTitle(item, index)"
>
<div
class=
"text"
:class=
"
{ textActive: homeActiveTitleIndex === index }">
{{
item
.
name
}}
</div>
...
...
@@ -42,6 +41,17 @@
</div>
</div>
</div>
<div
class=
"tool-box"
v-show=
"isShowTool"
@
mouseenter=
"handleHoverTool(true)"
@
mouseleave=
"handleHoverTool(false)"
>
<div
class=
"menu-content"
>
<div
class=
"menu-item"
v-for=
"(item, index) in toolList"
:key=
"index"
@
click=
"handleToModule(item)"
>
<div
class=
"icon"
>
<img
:src=
"item.icon"
alt=
""
/>
</div>
<div
class=
"title"
>
{{
item
.
title
}}
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
...
...
@@ -65,6 +75,8 @@ 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
Tool1
from
'./tool1.svg'
import
Tool2
from
'./tool2.svg'
import
{
ElMessage
}
from
"element-plus"
;
import
{
useWrittingAsstaintStore
}
from
"@/stores/writtingAsstaintStore"
;
const
store
=
useWrittingAsstaintStore
();
...
...
@@ -91,29 +103,43 @@ const handleGetPersonType = async () => {
// 概览页标题列表
const
homeTitleList
=
ref
([
{
name
:
"
中美科技博弈
"
,
name
:
"
首页
"
,
path
:
"/ZMOverView"
,
disabled
:
false
},
// {
// name: "主要国家科技动向感知",
// path: "",
// disabled: true
// },
// {
// name: "主要国家竞争科技安全",
// path: "",
// disabled: true
// }
{
name
:
"中美科技博弈"
,
path
:
"/billHome"
,
disabled
:
false
},
{
name
:
"智能工具"
,
path
:
"/chat"
,
disabled
:
false
},
{
name
:
"数据资源库"
,
path
:
"/dataLibrary"
,
disabled
:
false
}
]);
const
homeActiveTitleIndex
=
ref
(
0
);
const
isShowMenu
=
ref
(
false
);
const
handleShowMenu
=
(
index
,
isShow
)
=>
{
if
(
index
===
0
)
{
if
(
index
===
1
)
{
isShowMenu
.
value
=
isShow
;
isShowTool
.
value
=
false
;
}
else
if
(
index
===
2
)
{
isShowMenu
.
value
=
false
isShowTool
.
value
=
isShow
;
}
else
{
isShowMenu
.
value
=
false
isShowTool
.
value
=
false
;
}
};
...
...
@@ -122,11 +148,11 @@ const handleHoverMenu = isShow => {
};
const
menuList
=
ref
([
{
title
:
"中美科技博弈概览"
,
icon
:
Menu1
,
path
:
"/ZMOverView"
},
//
{
//
title: "中美科技博弈概览",
//
icon: Menu1,
//
path: "/ZMOverView"
//
},
{
title
:
"科技法案"
,
icon
:
Menu2
,
...
...
@@ -184,11 +210,34 @@ const menuList = ref([
}
]);
const
isShowTool
=
ref
(
false
);
const
handleHoverTool
=
isShow
=>
{
isShowTool
.
value
=
isShow
;
};
const
toolList
=
ref
([
{
title
:
"智能问答"
,
icon
:
Tool1
,
path
:
"/chat"
},
{
title
:
"智能写报"
,
icon
:
Tool2
,
path
:
"/writting"
},
])
const
handleToModule
=
item
=>
{
const
curRoute
=
router
.
resolve
({
// const curRoute = router.resolve({
// path: item.path
// });
// window.open(curRoute.href, "_blank");
router
.
push
({
path
:
item
.
path
});
window
.
open
(
curRoute
.
href
,
"_blank"
);
})
};
const
searchText
=
ref
(
""
);
...
...
@@ -203,10 +252,20 @@ const handleSearch = () => {
window
.
open
(
curRoute
.
href
,
"_blank"
);
};
const
handleClickTitle
=
item
=>
{
if
(
item
.
name
===
"主要国家科技动向感知"
||
item
.
name
===
"主要国家竞争科技安全"
)
{
ElMessage
.
warning
(
"当前功能正在开发中,敬请期待!"
);
const
handleClickTitle
=
(
item
,
index
)
=>
{
if
(
homeActiveTitleIndex
.
value
===
index
)
return
homeActiveTitleIndex
.
value
=
index
window
.
localStorage
.
setItem
(
'homeActiveTitleIndex'
,
homeActiveTitleIndex
.
value
)
if
(
item
.
name
===
'智能工具'
)
{
const
curRoute
=
router
.
resolve
({
path
:
item
.
path
,
});
window
.
open
(
curRoute
.
href
,
"_blank"
);
}
else
{
router
.
push
(
item
.
path
)
}
};
const
handleClickToolBox
=
()
=>
{
...
...
@@ -215,6 +274,7 @@ const handleClickToolBox = () => {
onMounted
(()
=>
{
handleGetPersonType
();
homeActiveTitleIndex
.
value
=
Number
(
window
.
localStorage
.
getItem
(
'homeActiveTitleIndex'
))
});
</
script
>
...
...
@@ -450,6 +510,66 @@ onMounted(() => {
}
}
}
.tool-box
{
position
:
absolute
;
z-index
:
999999
;
width
:
273px
;
height
:
171px
;
top
:
52px
;
left
:
300px
;
box-sizing
:
border-box
;
border
:
1px
solid
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
10px
;
backdrop-filter
:
blur
(
30px
);
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
background
:
rgba
(
255
,
255
,
255
,
0
.8
);
.menu-content
{
width
:
562px
;
height
:
348px
;
margin-top
:
8px
;
margin-left
:
72px
;
.menu-item
{
margin-top
:
36px
;
width
:
280px
;
height
:
24px
;
display
:
flex
;
cursor
:
pointer
;
&
:hover
{
.title
{
color
:
var
(
--
color-main-active
);
font-size
:
20px
;
}
}
.icon
{
width
:
24px
;
height
:
24px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.title
{
margin-left
:
16px
;
height
:
24px
;
color
:
rgba
(
59
,
65
,
75
,
1
);
font-family
:
Microsoft
YaHei
;
font-style
:
Bold
;
font-size
:
18px
;
font-weight
:
700
;
line-height
:
24px
;
letter-spacing
:
0px
;
text-align
:
left
;
}
}
}
}
}
}
</
style
>
src/components/base/moduleHeader/tool1.svg
0 → 100644
浏览文件 @
277bffd2
<svg
viewBox=
"0 0 24 24"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"24.000000"
height=
"24.000000"
fill=
"none"
customFrame=
"#000000"
>
<defs>
<linearGradient
id=
"paint_linear_1"
x1=
"12"
x2=
"12"
y1=
"1"
y2=
"23.0000019"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"rgb(0,91,244)"
offset=
"0"
stop-opacity=
"1"
/>
<stop
stop-color=
"rgb(101,0,253)"
offset=
"1"
stop-opacity=
"1"
/>
</linearGradient>
</defs>
<rect
id=
"ZM"
width=
"24.000000"
height=
"24.000000"
x=
"0.000000"
y=
"0.000000"
/>
<path
id=
"合并"
d=
"M16.1924 8.34956L17.265 9.39747C16.1916 12.5467 12.973 15.696 8.68258 16.2219C5.81801 16.5715 2.54479 19.4738 1 23C2.07341 16.7015 4.39054 1 20.4837 1C19.4119 4.1461 18.3401 6.24507 17.2683 7.29535L16.1924 8.34956ZM16.9643 4.86177C17.4797 3.85558 19.0242 2.51052 19.0242 1.83869C18.5092 2.17461 16.9643 2.84605 15.9343 4.35789C14.9044 5.86972 12.3295 6.87729 12.3295 6.87729C13.3594 6.54137 16.4489 5.86795 16.9643 4.86177ZM15.4194 8.8928C15.4194 9.56464 15.1104 11.1099 13.8744 11.9161C12.6385 12.7223 10.2696 13.5957 9.23961 13.9316C9.23961 13.9316 12.0205 12.6215 12.8445 11.4122C13.6684 10.2029 14.9044 9.22872 15.4194 8.8928ZM19.254 14.3913C19.254 14.3913 18.5049 16.1842 17.0059 17.2593C15.507 18.3345 13.2582 18.6917 13.2582 18.6917C13.2582 18.6917 15.3188 19.0509 16.2555 20.128C17.1923 21.205 17.0051 23 17.0051 23C17.0051 23 17.7544 21.205 19.2532 20.128C20.7519 19.0509 23 18.6919 23 18.6919C23 18.6919 20.9401 18.3345 20.0036 17.2593C19.0671 16.1842 19.254 14.3913 19.254 14.3913Z"
fill=
"url(#paint_linear_1)"
fill-rule=
"evenodd"
/>
</svg>
src/components/base/moduleHeader/tool2.svg
0 → 100644
浏览文件 @
277bffd2
<svg
viewBox=
"0 0 24 24"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"24.000000"
height=
"24.000000"
fill=
"none"
customFrame=
"#000000"
>
<defs>
<linearGradient
id=
"paint_linear_2"
x1=
"12"
x2=
"12"
y1=
"2"
y2=
"22"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"rgb(0,91,244)"
offset=
"0"
stop-opacity=
"1"
/>
<stop
stop-color=
"rgb(101,0,253)"
offset=
"1"
stop-opacity=
"1"
/>
</linearGradient>
</defs>
<rect
id=
"法案"
width=
"24.000000"
height=
"24.000000"
x=
"0.000000"
y=
"0.000000"
/>
<path
id=
"减去顶层"
d=
"M1.00002 11.1429C1.00002 6.0934 5.66569 2 11.4211 2C17.1765 2 21.8421 6.0934 21.8421 11.1429C21.8421 16.1923 17.1765 20.2857 11.4211 20.2857C10.0795 20.2857 8.79726 20.0634 7.61946 19.6584C6.99335 19.443 5.83647 18.8635 5.83647 18.8635L1 19.6588L2.90775 16.417C2.90775 16.417 2.15952 15.3834 1.87639 14.8183C1.31279 13.6935 1.00002 12.4503 1.00002 11.1429ZM15.7969 6.57031C15.7969 6.57031 15.5142 7.22506 14.9487 7.61766C14.3831 8.01027 13.5347 8.14075 13.5347 8.14075C13.5347 8.14075 14.3121 8.2719 14.6656 8.66523C15.019 9.05855 14.9484 9.71404 14.9484 9.71404C14.9484 9.71404 15.2311 9.05854 15.7965 8.66523C16.362 8.27192 17.2102 8.14079 17.2102 8.14079C17.2102 8.14079 16.433 8.01028 16.0797 7.61766C15.7263 7.22505 15.7969 6.57031 15.7969 6.57031ZM12.5406 14.0703L11.6792 8.14197L7.22535 8.14197L7.55117 8.43609L5.05229 14.0703L6.89676 14.0703L7.65333 12.4565L10.3676 12.4565L10.594 14.0703L12.5406 14.0703ZM8.09512 11.4514L9.18027 9.14708L9.9396 9.14708L10.2654 11.4514L8.09512 11.4514ZM16.3866 9.83812L15.6492 14.0703L13.5921 14.0703L14.1004 10.2371L13.7718 9.83812L16.3866 9.83812ZM9.10525 20.5652C10.534 21.4701 12.266 22 14.1326 22C19.0299 22 23 18.3529 23 13.854C23 12.9035 22.8228 11.991 22.497 11.1429C22.5038 11.2826 22.5072 11.423 22.5072 11.5643C22.5072 16.7661 17.8755 20.9831 12.162 20.9831C11.0979 20.9831 10.0713 20.8368 9.10525 20.5652Z"
fill=
"url(#paint_linear_2)"
fill-rule=
"evenodd"
/>
</svg>
src/components/base/pageBtn/
l
eftBtn.vue
→
src/components/base/pageBtn/
L
eftBtn.vue
浏览文件 @
277bffd2
File moved
src/components/base/pageBtn/
r
ightBtn.vue
→
src/components/base/pageBtn/
R
ightBtn.vue
浏览文件 @
277bffd2
File moved
src/main.js
浏览文件 @
277bffd2
...
...
@@ -13,8 +13,8 @@ import '@/assets/fonts/font.css'
import
zhCn
from
'element-plus/dist/locale/zh-cn.mjs'
// import AreaTag from '@/components/base/AreaTag/index.vue'
// import LeftBtn from "@/components/base/pageBtn/
l
eftBtn.vue";
// import RightBtn from "@/components/base/pageBtn/
r
ightBtn.vue";
// import LeftBtn from "@/components/base/pageBtn/
L
eftBtn.vue";
// import RightBtn from "@/components/base/pageBtn/
R
ightBtn.vue";
// import OverviewMainBox from "@/components/base/boxBackground/overviewMainBox.vue";
// import OverviewNormalBox from "@/components/base/boxBackground/overviewNormalBox.vue";
// import AnalysisBox from '@/components/base/boxBackground/analysisBox.vue'
...
...
src/router/index.js
浏览文件 @
277bffd2
...
...
@@ -26,21 +26,33 @@ const routes = [
name
:
"Home"
,
component
:
Home
,
children
:
[
...
fileRoutes
...
fileRoutes
,
{
path
:
"/dataLibrary"
,
name
:
"DataLibrary"
,
redirect
:
"./dataLibrary/countryBill"
,
component
:
DataLibrary
,
meta
:
{
title
:
'数据资源库'
},
children
:
[
...
dataRoutes
]
},
]
},
{
path
:
"/dataLibrary"
,
name
:
"DataLibrary"
,
component
:
DataLibrary
,
meta
:
{
title
:
'数据资源库'
},
children
:
[
...
dataRoutes
]
},
//
{
//
path: "/dataLibrary",
//
name: "DataLibrary",
//
component: DataLibrary,
//
meta: {
//
title: '数据资源库'
//
},
//
children: [
//
...dataRoutes
//
]
//
},
];
...
...
src/styles/components/ActionButton/index.vue
浏览文件 @
277bffd2
...
...
@@ -27,8 +27,8 @@
<pre>
{{
`
import LeftBtn from '@/components/base/pageBtn/
l
eftBtn.vue'
import RightBtn from '@/components/base/pageBtn/
r
ightBtn.vue'
import LeftBtn from '@/components/base/pageBtn/
L
eftBtn.vue'
import RightBtn from '@/components/base/pageBtn/
R
ightBtn.vue'
<LeftBtn />
<RightBtn />
...
...
@@ -48,8 +48,8 @@
<
script
setup
>
import
'@/styles/common.scss'
import
LeftBtn
from
'@/components/base/pageBtn/
l
eftBtn.vue'
import
RightBtn
from
'@/components/base/pageBtn/
r
ightBtn.vue'
import
LeftBtn
from
'@/components/base/pageBtn/
L
eftBtn.vue'
import
RightBtn
from
'@/components/base/pageBtn/
R
ightBtn.vue'
const
span
=
12
</
script
>
...
...
src/views/bill/billHome/index.vue
浏览文件 @
277bffd2
...
...
@@ -40,7 +40,7 @@
<DivideHeader
id=
"position1"
class=
"divide1"
:titleText=
"'最新动态'"
></DivideHeader>
<div
class=
"home-content-center"
>
<div
class=
"center-top"
>
<
o
verviewMainBox
class=
"box1"
title=
"热门法案"
@
toDetail=
"handleClickToDetail"
>
<
O
verviewMainBox
class=
"box1"
title=
"热门法案"
@
toDetail=
"handleClickToDetail"
>
<template
#
headerIcon
>
<img
style=
"width: 100%; height: 100%"
src=
"./assets/images/box1-header-icon.png"
alt=
""
/>
</
template
>
...
...
@@ -116,7 +116,7 @@
</el-carousel-item>
</el-carousel>
</div>
</
o
verviewMainBox>
</
O
verviewMainBox>
<RiskSignal
:list=
"warningList"
@
more-click=
"handleToMoreRiskSignal"
@
item-click=
"handleClickToDetailO"
riskLevel=
"signalLevel"
postDate=
"signalTime"
name=
"signalTitle"
/>
</div>
...
...
@@ -125,7 +125,7 @@
<div
class=
"center-center"
>
<NewsList
:newsList=
"newsList"
img=
"newsImage"
title=
"newsTitle"
from=
"from"
content=
"newsContent"
@
item-click=
"handleClickNewsDetail"
/>
<MessageBubble
:messageList=
"messageList"
imageUrl=
"personImage"
@
more-click=
"handleToSocialDetail"
<MessageBubble
:messageList=
"messageList"
imageUrl=
"personImage"
@
more-click=
"handleToSocialDetail"
@
person-click=
"handleClickToCharacter"
name=
"personName"
content=
"remarks"
source=
"orgName"
/>
</div>
...
...
@@ -965,10 +965,10 @@ const handleGetKeyTK = async () => {
.
sort
((
a
,
b
)
=>
(
b
.
count
??
0
)
-
(
a
.
count
??
0
))
.
slice
(
0
,
20
)
.
map
(
item
=>
{
return
{
name
:
item
.
clause
,
value
:
item
.
count
};
return
{
name
:
item
.
clause
,
value
:
item
.
count
};
});
}
}
catch
(
error
)
{
...
...
src/views/dataLibrary/decree/index.vue
浏览文件 @
277bffd2
...
...
@@ -7,10 +7,16 @@
<SelectBox
:placeholder-name=
"DatePlaceHolder"
select-title=
"提出时间"
:select-list=
"dateList"
:select-name=
"selectedDate"
:custom-time=
"customTime"
@
update:select-text=
"handleSelectDate"
@
update:custom-time=
"handleCustomDate"
/>
<SelectBox
v-if=
"isFolderAll"
:placeholder-name=
"insPlaceHolder"
select-title=
"发布机构"
:select-list=
"institutionList"
:select-name=
"selectedIns"
@
update:select-text=
"handleSelectIns"
/>
<SelectBox
v-if=
"isFolderAll"
:placeholder-name=
"decreeTypePlaceHolder"
select-title=
"政令类型"
:select-list=
"decreeTypeList"
:select-name=
"selectedDecreeType"
@
update:select-text=
"handleSelectDecreeType"
/>
<SelectBox
v-if=
"isFolderAll"
:placeholder-name=
"partyPlaceHolder"
select-title=
"所属党派"
:select-list=
"partyList"
:select-name=
"selectedParty"
@
update:select-text=
"handleSelectParty"
/>
<SelectBox
v-if=
"isFolderAll"
:placeholder-name=
"congressPlaceHolder"
select-title=
"提出议院"
:select-list=
"congressList"
:select-name=
"selectedCongress"
@
update:select-text=
"handleSelectCongress"
/>
<SelectBox
v-if=
"isFolderAll"
:placeholder-name=
"orgPlaceHolder"
select-title=
"委员会"
:select-list=
"orgList"
:select-name=
"selectedOrg"
@
update:select-text=
"handleSelectOrg"
/>
<SelectBox
v-if=
"isFolderAll"
:placeholder-name=
"memberPlaceHolder"
select-title=
"提出议员"
:select-list=
"memberList"
:select-name=
"selectedmember"
@
update:select-text=
"handleSelectMember"
/>
<SelectBox
v-if=
"isFolderAll"
:placeholder-name=
"statusPlaceHolder"
select-title=
"所处阶段"
:select-list=
"statusList"
:select-name=
"selectedStatus"
@
update:select-text=
"handleSelectStauts"
/>
<div
class=
"check-box"
>
<div
class=
"check-box-left text-tip-1"
>
{{
'是否涉华:'
}}
...
...
@@ -20,21 +26,11 @@
{{
'只看涉华法案'
}}
</el-checkbox>
</div>
</div>
<div
class=
"check-box"
>
<div
class=
"check-box-left text-tip-1"
>
{{
'科技相关:'
}}
</div>
<div
class=
"check-box-right"
>
<el-checkbox
v-model=
"isInvolveTechnology"
class=
"involve-checkbox"
>
{{
'只看科技相关'
}}
</el-checkbox>
</div>
</div>
</div>
<div
class=
"header-footer"
>
<div
class=
"header-footer-left"
>
<ActiveTag
v-for=
"tag, index in activeTagList"
:key=
"index"
:tagName=
"tag"
<ActiveTag
v-for=
"tag, index in activeTagList"
:key=
"index"
:tagName=
"tag
.name
"
@
close=
"handleCloseCurTag(tag, index)"
/>
</div>
<div
class=
"header-footer-right"
>
...
...
@@ -56,8 +52,8 @@
<
div
class
=
"content-header"
>
<
ChartHeader
:
list
=
"staticsDemensionList"
@
clickItem
=
"handleClickDemensionItem"
>
<
template
#
chart
-
header
-
right
>
<
el
-
select
v
-
model
=
"selectedTime"
placeholder
=
"选择时间"
style
=
"width: 150px"
v
-
show
=
"curDemension === '提案时间'
"
>
<
el
-
select
v
-
model
=
"selectedTime"
placeholder
=
"选择时间"
style
=
"width: 150px"
v
-
show
=
"curDemension === '提案时间'"
@
change
=
"handleChangeTime
"
>
<
el
-
option
v
-
for
=
"item in timeList"
:
key
=
"item.value"
:
label
=
"item.label"
:
value
=
"item.value"
/>
<
/el-select
>
...
...
@@ -66,11 +62,11 @@
<
/div
>
<
div
class
=
"content-main"
>
<
ChartContainer
:
chartTitle
=
"curChartTitle"
:
chartTypeList
=
"curChartTypeList"
@
clickChartItem
=
"handleSwitchActiveChart"
>
@
clickChartItem
=
"handleSwitchActiveChart"
@
download
=
"handleDownloadCurChartData"
>
<
template
#
chart
-
box
>
<
LineChart
v
-
if
=
"activeChart === '折线图'"
:
lineChartData
=
"curChartData"
/>
<
PieChart
v
-
if
=
"activeChart === '饼状图'"
:
pieChartData
=
"curChartData"
/>
<
BarChart
v
-
if
=
"activeChart === '柱状图'"
:
barChartData
=
"curChartData"
/>
<
PieChart
v
-
if
=
"activeChart === '饼状图'"
:
pieChartData
=
"curChartData"
/>
<
RaderChart
v
-
if
=
"activeChart === '雷达图'"
:
radarChartData
=
"curChartData"
/>
<
/template
>
<
/ChartContainer
>
...
...
@@ -95,6 +91,8 @@
<
/div
>
<
div
class
=
"header-left-item2 text-tip-1"
>
{{
`已选择${selectedCount
}
项`
}}
<
/div
>
<
div
class
=
"header-left-item2 text-tip-1 cancel"
@
click
=
"handleClearAll"
v
-
show
=
"selectedCount"
>
{{
'取消'
}}
<
div
class
=
"header-left-item3 text-tip-1"
v
-
if
=
"isShowAllDataMaxLengthTip"
>
{{
`(当前最大选择不能超过1万条!)`
}}
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"header-right"
>
...
...
@@ -121,7 +119,7 @@
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"data-main-box-main-content"
>
<
div
class
=
"data-main-box-main-content"
v
-
loading
=
"loading"
element
-
loading
-
text
=
"全部数据加载中,请稍候..."
>
<
el
-
table
ref
=
"tableRef"
:
data
=
"tableData"
row
-
key
=
"id"
@
selection
-
change
=
"handleSelectionChange"
@
select
=
"handleSelect"
@
select
-
all
=
"handleSelectAll"
style
=
"width: 100%"
:
row
-
style
=
"{ height: '52px'
}
"
>
<
el
-
table
-
column
type
=
"selection"
width
=
"40"
/>
...
...
@@ -131,10 +129,10 @@
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
日期
"
width
=
"120"
class
-
name
=
"date-column"
>
<
el
-
table
-
column
label
=
"
提案时间
"
width
=
"120"
class
-
name
=
"date-column"
>
<
template
#
default
=
"scope"
>
{{
scope
.
row
.
date
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"提
出
人"
width
=
"480"
>
<
el
-
table
-
column
label
=
"提
案
人"
width
=
"480"
>
<
template
#
default
=
"scope"
>
<
span
class
=
"person-item text-compact"
@
click
=
"handlePerClick(scope.row)"
>
{{
scope
.
row
.
sponsorPersonName
}}
<
/span
>
...
...
@@ -186,7 +184,17 @@ const handleSwitchChartData = () => {
}
)[
0
]
setTimeout
(()
=>
{
activeChart
.
value
=
curDemensionItem
.
chartTypeList
[
0
]
curChartData
.
value
=
curDemensionItem
.
data
if
(
curDemension
.
value
===
'提案时间'
)
{
if
(
selectedTime
.
value
===
'按月度统计'
)
{
curChartData
.
value
=
curDemensionItem
.
data
}
else
if
(
selectedTime
.
value
===
'按季度统计'
)
{
curChartData
.
value
=
curDemensionItem
.
quatarData
}
else
{
curChartData
.
value
=
curDemensionItem
.
yearData
}
}
else
{
curChartData
.
value
=
curDemensionItem
.
data
}
}
)
}
}
...
...
@@ -197,36 +205,58 @@ const totalNum = ref(0)
// 统计维度列表
const
staticsDemensionList
=
ref
([
{
name
:
'
发布
时间'
,
name
:
'
提案
时间'
,
active
:
true
,
chartTypeList
:
[
'折线图'
,
'柱状图'
],
chartTitle
:
'
政令发布时间趋势变化
'
,
chartTitle
:
'
美国会法案提出数量随时间变化趋势
'
,
data
:
{
dataX
:
[],
dataY
:
[]
}
,
quatarData
:{
quatarData
:
{
dataX
:
[],
dataY
:
[]
}
,
yearData
:
{
dataX
:
[],
dataY
:
[]
}
}
,
{
name
:
'科技领域'
,
active
:
false
,
chartTypeList
:
[
'饼状图'
],
chartTitle
:
'
政令科技
领域分布'
,
chartTitle
:
'
美国会法案
领域分布'
,
data
:
[]
}
,
{
name
:
'
发布机构
'
,
name
:
'
提出议院
'
,
active
:
false
,
chartTypeList
:
[
'饼状图'
],
chartTitle
:
'
政令发布机构
分布'
,
chartTitle
:
'
美国会法案议院
分布'
,
data
:
[]
}
}
,
{
name
:
'提出委员会'
,
active
:
false
,
chartTypeList
:
[
'饼状图'
],
chartTitle
:
'美国会法案委员会分布'
,
data
:
[]
}
,
{
name
:
'提出议员党派'
,
active
:
false
,
chartTypeList
:
[
'饼状图'
],
chartTitle
:
'美国会法案党派分布'
,
data
:
[]
}
,
{
name
:
'立法阶段'
,
active
:
false
,
chartTypeList
:
[
'饼状图'
],
chartTitle
:
'美国会法案立法阶段分布'
,
data
:
[]
}
,
])
// 当前维度下的图表列表
...
...
@@ -234,13 +264,13 @@ const curChartTypeList = computed(() => {
let
arr
=
staticsDemensionList
.
value
.
filter
(
item
=>
item
.
active
)
return
arr
[
0
].
chartTypeList
}
)
// 当前图表标题
const
curChartTitle
=
computed
(()
=>
{
let
arr
=
staticsDemensionList
.
value
.
filter
(
item
=>
item
.
active
)
return
arr
[
0
].
chartTitle
}
)
// 当前维度
const
curDemension
=
ref
(
'提案时间'
)
...
...
@@ -254,11 +284,19 @@ const handleClickDemensionItem = (val) => {
curDemension
.
value
=
val
.
name
setTimeout
(()
=>
{
activeChart
.
value
=
val
.
chartTypeList
[
0
]
curChartData
.
value
=
val
.
data
if
(
curDemension
.
value
===
'提案时间'
&&
selectedTime
.
value
===
'按年度统计'
)
{
curChartData
.
value
=
val
.
yearData
}
else
if
(
curDemension
.
value
===
'提案时间'
&&
selectedTime
.
value
===
'按季度统计'
)
{
curChartData
.
value
=
val
.
quatarData
}
else
{
curChartData
.
value
=
val
.
data
}
}
)
}
// 时间图表 当前选择时间
const
selectedTime
=
ref
(
'按月统计'
)
// 时间图表-时间列表
const
timeList
=
ref
([
{
label
:
'按年度统计'
,
...
...
@@ -273,42 +311,140 @@ const timeList = ref([
value
:
'按月度统计'
}
,
])
const
handleChangeTime
=
value
=>
{
let
curChart
=
activeChart
.
value
activeChart
.
value
=
''
if
(
value
===
'按月度统计'
)
{
setTimeout
(()
=>
{
activeChart
.
value
=
curChart
curChartData
.
value
=
staticsDemensionList
.
value
[
0
].
data
}
)
}
else
if
(
value
===
'按季度统计'
)
{
setTimeout
(()
=>
{
activeChart
.
value
=
curChart
curChartData
.
value
=
staticsDemensionList
.
value
[
0
].
quatarData
}
)
}
else
{
setTimeout
(()
=>
{
activeChart
.
value
=
curChart
curChartData
.
value
=
staticsDemensionList
.
value
[
0
].
yearData
}
)
}
}
// 激活的标签列表
const
activeTagList
=
computed
(()
=>
{
const
arr
=
[]
if
(
selectedArea
.
value
&&
selectedArea
.
value
!==
'全部领域'
)
{
arr
.
push
(
selectedArea
.
value
)
arr
.
push
(
{
tag
:
'科技领域'
,
name
:
selectedArea
.
value
}
)
}
if
(
selectedDate
.
value
===
'自定义'
)
{
arr
.
push
(
customTime
.
value
.
join
(
'至'
))
arr
.
push
(
{
tag
:
'提出时间'
,
name
:
customTime
.
value
.
join
(
'至'
)
}
)
}
if
(
selectedIns
.
value
&&
selectedIns
.
value
!==
'全部机构'
)
{
arr
.
push
(
selectedIns
.
value
)
if
(
selectedParty
.
value
&&
selectedParty
.
value
!==
'全部党派'
)
{
arr
.
push
(
{
tag
:
'所属党派'
,
name
:
selectedParty
.
value
}
)
}
if
(
selectedDecreeType
.
value
&&
selectedDecreeType
.
value
!==
'全部类型'
)
{
arr
.
push
(
selectedDecreeType
.
value
)
if
(
selectedCongress
.
value
&&
selectedCongress
.
value
!==
'全部议院'
)
{
arr
.
push
(
{
tag
:
'提出议院'
,
name
:
selectedCongress
.
value
}
)
}
if
(
selectedOrg
.
value
&&
selectedOrg
.
value
!==
'全部委员会'
)
{
arr
.
push
(
{
tag
:
'委员会'
,
name
:
selectedOrg
.
value
}
)
}
if
(
selectedmember
.
value
&&
selectedmember
.
value
!==
'全部议员'
)
{
arr
.
push
(
{
tag
:
'提出议员'
,
name
:
selectedmember
.
value
}
)
}
if
(
selectedStatus
.
value
&&
selectedStatus
.
value
!==
'全部阶段'
)
{
arr
.
push
(
{
tag
:
'所处阶段'
,
name
:
selectedStatus
.
value
}
)
}
if
(
isInvolveCn
.
value
)
{
const
involveStr
=
'涉华'
arr
.
push
(
involveStr
)
arr
.
push
(
{
tag
:
'是否涉华'
,
name
:
involveStr
}
)
}
return
arr
}
)
// 关闭当前标签
const
handleCloseCurTag
=
(
tag
,
index
)
=>
{
switch
(
tag
.
tag
)
{
case
'科技领域'
:
selectedArea
.
value
=
'全部领域'
break
case
'提出时间'
:
selectedDate
.
value
=
''
break
case
'所属党派'
:
selectedParty
.
value
=
'全部党派'
break
case
'提出议院'
:
selectedCongress
.
value
=
'全部议院'
break
case
'委员会'
:
selectedOrg
.
value
=
'全部委员会'
break
case
'提出议员'
:
selectedmember
.
value
=
'全部议员'
break
case
'所处阶段'
:
selectedStatus
.
value
=
'全部阶段'
break
case
'是否涉华'
:
isInvolveCn
.
value
=
false
break
}
// alert(tag.name)
activeTagList
.
value
.
splice
(
index
,
1
)
//
activeTagList.value.splice(index, 1)
}
const
activeChart
=
ref
(
''
)
const
activeChart
=
ref
(
''
)
// 当前激活的图表
// 切换当前图表
const
handleSwitchActiveChart
=
val
=>
{
activeChart
.
value
=
val
.
name
}
// 雷达图数据
const
radarChartData
=
ref
({
title
:
[
{
...
...
@@ -358,7 +494,7 @@ const radarChartData = ref({
// 数据- 是否全选
const
isSelectedAll
=
ref
(
false
)
// 批量操作-当前操作
const
curOperation
=
ref
(
''
)
const
operationList
=
ref
([
{
...
...
@@ -448,7 +584,7 @@ const handleSelectArea = (value) => {
selectedArea
.
value
=
value
}
//
发布
时间
//
提出
时间
const
DatePlaceHolder
=
ref
(
'请选择时间'
)
const
selectedDate
=
ref
(
''
)
const
dateList
=
ref
([
...
...
@@ -475,10 +611,8 @@ const dateList = ref([
])
const
customTime
=
ref
([])
// 自定义时间
const
handleCustomDate
=
value
=>
{
// console.log('value', value);
customTime
.
value
=
value
}
const
handleSelectDate
=
(
value
)
=>
{
selectedDate
.
value
=
value
if
(
selectedDate
.
value
!==
'自定义'
)
{
...
...
@@ -486,51 +620,125 @@ const handleSelectDate = (value) => {
}
}
// 发布机构 机构列表
const
institutionList
=
ref
([
// 所属党派
const
partyList
=
ref
([
{
name
:
'全部党派'
,
id
:
'全部党派'
}
,
{
name
:
'共和党'
,
id
:
'共和党'
}
,
{
name
:
'
全部机构
'
,
id
:
'
全部机构
'
name
:
'
民主党
'
,
id
:
'
民主党
'
}
,
{
name
:
'
机构1
'
,
id
:
'
机构1
'
name
:
'
其他
'
,
id
:
'
其他
'
}
,
])
const
selectedParty
=
ref
(
'全部党派'
)
const
partyPlaceHolder
=
ref
(
'请选择党派'
)
const
handleSelectParty
=
value
=>
{
selectedParty
.
value
=
value
}
// 议院列表
const
congressList
=
ref
([
{
name
:
'
机构2
'
,
id
:
'
机构2
'
name
:
'
全部议院
'
,
id
:
'
全部议院
'
}
,
{
name
:
'
机构3
'
,
id
:
'
机构3
'
name
:
'
众议院
'
,
id
:
'
众议院
'
}
,
{
name
:
'参议院'
,
id
:
'参议院'
}
])
const
selectedIns
=
ref
(
'全部机构'
)
const
insPlaceHolder
=
ref
(
'请选择机构'
)
const
selectedCongress
=
ref
(
'全部议院'
)
const
congressPlaceHolder
=
ref
(
'请选择议院'
)
const
handleSelectCongress
=
value
=>
{
selectedCongress
.
value
=
value
}
// 委员会
const
orgList
=
ref
([])
const
selectedOrg
=
ref
(
'全部委员会'
)
const
orgPlaceHolder
=
ref
(
'请选择委员会'
)
const
handleSelectOrg
=
value
=>
{
selectedOrg
.
value
=
value
}
const
handleGetOrgList
=
async
()
=>
{
try
{
const
res
=
await
getPostOrgList
()
console
.
log
(
'委员会列表'
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
orgList
.
value
=
res
.
data
.
map
(
item
=>
{
return
{
name
:
item
.
departmentName
,
id
:
item
.
departmentName
}
}
)
orgList
.
value
=
[{
name
:
'全部委员会'
,
id
:
'全部委员会'
}
,
...
orgList
.
value
]
}
const
handleSelectIns
=
value
=>
{
selectedIns
.
value
=
value
}
catch
(
error
)
{
console
.
error
(
'获取委员会列表报错:'
,
error
);
}
}
// 政令类型
const
decreeTypeList
=
ref
([
// 提出议员
const
memberList
=
ref
([])
const
selectedmember
=
ref
(
'全部议员'
)
const
memberPlaceHolder
=
ref
(
'请选择议员'
)
const
handleSelectMember
=
value
=>
{
selectedmember
.
value
=
value
}
const
handleGetMemberList
=
async
()
=>
{
try
{
const
res
=
await
getPostMemberList
()
console
.
log
(
'议员列表'
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
memberList
.
value
=
res
.
data
.
map
(
item
=>
{
return
{
name
:
item
.
memberName
,
id
:
item
.
memberName
,
memberId
:
item
.
memberId
}
}
)
memberList
.
value
=
[{
name
:
'全部议员'
,
id
:
'全部议员'
}
,
...
memberList
.
value
]
}
}
catch
(
error
)
{
console
.
error
(
'获取议员列表报错:'
,
error
);
}
}
// 阶段列表
const
statusList
=
ref
([
{
name
:
'全部
类型
'
,
id
:
'全部
类型
'
name
:
'全部
阶段
'
,
id
:
'全部
阶段
'
}
,
{
name
:
'
行政命令
'
,
id
:
'
行政命令
'
name
:
'
提出
'
,
id
:
'
0
'
}
,
{
name
:
'
备忘录
'
,
id
:
'
备忘录
'
name
:
'
通过
'
,
id
:
'
1
'
}
])
const
selected
DecreeType
=
ref
(
'全部类型
'
)
const
decreeTypePlaceHolder
=
ref
(
'请选择议院
'
)
const
handleSelect
DecreeType
=
value
=>
{
selected
DecreeType
.
value
=
value
const
selected
Status
=
ref
(
'全部阶段
'
)
const
statusPlaceHolder
=
ref
(
'请选择立法阶段
'
)
const
handleSelect
Stauts
=
value
=>
{
selected
Status
.
value
=
value
}
// 是否涉华
...
...
@@ -538,15 +746,15 @@ const isInvolveCn = ref(false)
const
handleInvolveCnChange
=
()
=>
{
}
// 是否科技相关
const
isInvolveTechnology
=
ref
(
false
)
// 清空条件
const
handleClear
=
()
=>
{
selectedArea
.
value
=
'全部领域'
selectedDate
.
value
=
''
selectedIns
.
value
=
'全部机构'
selectedDecreeType
.
value
=
'全部类型'
selectedParty
.
value
=
'全部党派'
selectedCongress
.
value
=
'全部议院'
selectedOrg
.
value
=
'全部委员会'
selectedmember
.
value
=
'全部议员'
selectedStatus
.
value
=
'全部阶段'
isInvolveCn
.
value
=
false
ElMessage
.
success
(
'已清空条件!'
)
}
...
...
@@ -562,8 +770,6 @@ const handleSwitchFolderAll = () => {
isFolderAll
.
value
=
!
isFolderAll
.
value
}
const
tableRef
=
ref
(
null
)
// 表格数据
...
...
@@ -580,11 +786,7 @@ const releaseTimeList = ref([
value
:
false
}
]);
const
isSort
=
ref
(
true
);
// true 倒序 false 升序
// const handleSwithSort = () =>
{
// isSort.value = !isSort.value;
//
}
;
const
handlePxChange
=
val
=>
{
fetchTableData
()
}
;
...
...
@@ -598,10 +800,10 @@ const selectedMap = ref(new Map()) // 使用 Map 存储,key 为唯一 id
// 计算已选中的条数
const
selectedCount
=
computed
(()
=>
selectedMap
.
value
.
size
)
// 获取表格数据(示例)
// 获取
当前页
表格数据(示例)
const
fetchTableData
=
async
()
=>
{
isSelectedAll
.
value
=
false
selectedMap
.
value
.
clear
()
//
isSelectedAll.value = false
//
selectedMap.value.clear()
// 调用接口获取数据...
const
params
=
{
page
:
currentPage
.
value
,
...
...
@@ -611,8 +813,11 @@ const fetchTableData = async () => {
domains
:
selectedArea
.
value
===
'全部领域'
?
null
:
[
selectedArea
.
value
],
proposedDateStart
:
customTime
.
value
[
0
],
proposedDateEnd
:
customTime
.
value
[
1
],
affiliation
:
selectedIns
.
value
===
'全部机构'
?
null
:
selectedIns
.
value
,
originChamber
:
selectedDecreeType
.
value
===
'全部类型'
?
null
:
selectedDecreeType
.
value
,
affiliation
:
selectedParty
.
value
===
'全部党派'
?
null
:
selectedParty
.
value
,
originChamber
:
selectedCongress
.
value
===
'全部议院'
?
null
:
selectedCongress
.
value
,
originDepart
:
selectedOrg
.
value
===
'全部委员会'
?
null
:
selectedOrg
.
value
,
sponsorPersonName
:
selectedmember
.
value
===
'全部议员'
?
null
:
selectedmember
.
value
,
status
:
selectedStatus
.
value
===
'通过'
?
1
:
0
,
sleStatus
:
isInvolveCn
?
'Y'
:
'N'
,
sort
:
isSort
.
value
?
0
:
1
// 0 先按分数降序 后按时间降序 1 先按分数降序,再按时间升序
}
...
...
@@ -626,6 +831,14 @@ const fetchTableData = async () => {
dataX
:
Object
.
keys
(
res
.
data
.
aggregationsDate
),
dataY
:
Object
.
values
(
res
.
data
.
aggregationsDate
).
map
(
value
=>
Number
(
value
))
}
staticsDemensionList
.
value
[
0
].
quatarData
=
{
dataX
:
Object
.
keys
(
res
.
data
.
aggregationsQuarter
),
dataY
:
Object
.
values
(
res
.
data
.
aggregationsQuarter
).
map
(
value
=>
Number
(
value
))
}
staticsDemensionList
.
value
[
0
].
yearData
=
{
dataX
:
Object
.
keys
(
res
.
data
.
aggregationsYear
),
dataY
:
Object
.
values
(
res
.
data
.
aggregationsYear
).
map
(
value
=>
Number
(
value
))
}
staticsDemensionList
.
value
[
1
].
data
=
Object
.
entries
(
res
.
data
.
aggregationsDomain
).
map
(([
key
,
value
])
=>
({
name
:
key
,
value
:
Number
(
value
)
...
...
@@ -648,9 +861,6 @@ const fetchTableData = async () => {
}
))
}
const
curDemensionItem
=
staticsDemensionList
.
value
.
filter
(
item
=>
{
return
item
.
name
===
curDemension
.
value
}
)[
0
]
...
...
@@ -659,10 +869,6 @@ const fetchTableData = async () => {
activeChart
.
value
=
curDemensionItem
.
chartTypeList
[
0
]
curChartData
.
value
=
curDemensionItem
.
data
}
)
}
catch
(
error
)
{
}
...
...
@@ -678,6 +884,37 @@ const fetchTableData = async () => {
}
)
}
)
}
const
allData
=
ref
([])
// 获取筛选条件下全部表格数据
const
fetchAllData
=
async
()
=>
{
const
params
=
{
page
:
1
,
size
:
9999
,
keyword
:
''
,
type
:
1
,
// type 1= 法案 2= 政令 3 =智库 4=智库报告 5=实体清单【制裁记录】 6= 人物 7= 机构 8=新闻 9= 社媒
domains
:
selectedArea
.
value
===
'全部领域'
?
null
:
[
selectedArea
.
value
],
proposedDateStart
:
customTime
.
value
[
0
],
proposedDateEnd
:
customTime
.
value
[
1
],
affiliation
:
selectedParty
.
value
===
'全部党派'
?
null
:
selectedParty
.
value
,
originChamber
:
selectedCongress
.
value
===
'全部议院'
?
null
:
selectedCongress
.
value
,
originDepart
:
selectedOrg
.
value
===
'全部委员会'
?
null
:
selectedOrg
.
value
,
sponsorPersonName
:
selectedmember
.
value
===
'全部议员'
?
null
:
selectedmember
.
value
,
status
:
selectedStatus
.
value
===
'通过'
?
1
:
0
,
sleStatus
:
isInvolveCn
?
'Y'
:
'N'
,
sort
:
isSort
.
value
?
0
:
1
// 0 先按分数降序 后按时间降序 1 先按分数降序,再按时间升序
}
try
{
const
res
=
await
search
(
params
)
console
.
log
(
'搜索结果'
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
allData
.
value
=
res
.
data
.
records
}
}
catch
(
error
)
{
ElMessage
.
error
(
'加载全部数据出错!'
)
}
}
// 单选事件
const
handleSelect
=
(
selection
,
row
)
=>
{
...
...
@@ -690,7 +927,7 @@ const handleSelect = (selection, row) => {
}
}
// 全选/全不选事件
//
表格自带 当前页
全选/全不选事件
const
handleSelectAll
=
(
selection
)
=>
{
if
(
selection
.
length
>
0
)
{
// 全选:将当前页所有数据添加到 Map
...
...
@@ -723,10 +960,10 @@ const handleSelectAllPage = () => {
)
if
(
currentPageSelected
)
{
// 已全选,则
取消
当前页的全选
// 已全选,则
不动
当前页的全选
tableData
.
value
.
forEach
(
row
=>
{
tableRef
.
value
.
toggleRowSelection
(
row
,
false
)
selectedMap
.
value
.
delete
(
row
.
id
)
//
selectedMap.value.delete(row.id)
}
)
}
else
{
// 未全选,则全选当前页
...
...
@@ -739,39 +976,47 @@ const handleSelectAllPage = () => {
}
}
// 处理全选
const
handleSelectAllChange
=
()
=>
{
// 全选最大1万条提示
const
isShowAllDataMaxLengthTip
=
ref
(
false
)
const
loading
=
ref
(
false
)
// 加载数据loading
// 处理 全选(全部数据)
const
handleSelectAllChange
=
async
()
=>
{
if
(
isSelectedAll
.
value
)
{
if
(
totalNum
.
value
>
10000
)
{
isShowAllDataMaxLengthTip
.
value
=
true
}
loading
.
value
=
true
await
fetchAllData
()
handleSelectAllPage
()
allData
.
value
.
forEach
(
row
=>
{
if
(
!
selectedMap
.
value
.
has
(
row
.
id
))
{
selectedMap
.
value
.
set
(
row
.
id
,
row
)
}
}
)
loading
.
value
=
false
}
else
{
handleClearAll
()
}
// if (isSelectedAll.value)
{
// // 全选:将当前页所有数据添加到 Map
// tableData.value.forEach(row =>
{
// if (!selectedMap.value.has(row.id))
{
// selectedMap.value.set(row.id, row)
//
}
//
}
)
//
}
else
{
// // 全不选:从 Map 中移除当前页的所有数据
// tableData.value.forEach(row =>
{
// selectedMap.value.delete(row.id)
//
}
)
//
}
}
// 清空所有选择
const
handleClearAll
=
()
=>
{
isSelectedAll
.
value
=
false
selectedMap
.
value
.
clear
()
tableRef
.
value
?.
clearSelection
()
}
// 翻页
const
handleCurrentChange
=
(
val
)
=>
{
const
handleCurrentChange
=
async
(
val
)
=>
{
currentPage
.
value
=
val
fetchTableData
()
await
fetchTableData
()
if
(
isSelectedAll
.
value
)
{
handleSelectAllPage
()
}
}
...
...
@@ -789,6 +1034,20 @@ watch(tableData, () => {
// 当前图表数据
const
curChartData
=
ref
(
null
)
// 下载当前图表数据
const
handleDownloadCurChartData
=
()
=>
{
const
jsonStr
=
JSON
.
stringify
(
curChartData
.
value
,
null
,
2
);
const
blob
=
new
Blob
([
jsonStr
],
{
type
:
'application/json'
}
);
const
url
=
URL
.
createObjectURL
(
blob
);
const
link
=
document
.
createElement
(
'a'
);
link
.
href
=
url
;
link
.
download
=
'chartData.json'
;
link
.
click
();
URL
.
revokeObjectURL
(
url
);
}
// 跳转到当前页 初始化筛选条件
const
initParam
=
()
=>
{
const
hasQuery
=
Object
.
keys
(
route
.
query
).
length
>
0
;
...
...
@@ -800,8 +1059,14 @@ const initParam = () => {
customTime
.
value
=
JSON
.
parse
(
route
.
query
.
selectedDate
)
}
isInvolveCn
.
value
=
route
.
query
.
isInvolveCn
?
true
:
false
if
(
route
.
query
.
selectedStatus
)
{
selectedStatus
.
value
=
route
.
query
.
selectedStatus
===
'1'
?
'通过'
:
'提出'
}
else
{
selectedStatus
.
value
=
'全部阶段'
}
selectedDecreeType
.
value
=
route
.
query
.
selectedDecreeType
?
route
.
query
.
selectedDecreeType
:
'全部类型'
selectedCongress
.
value
=
route
.
query
.
selectedCongress
?
route
.
query
.
selectedCongress
:
'全部议院'
selectedOrg
.
value
=
route
.
query
.
selectedOrg
?
route
.
query
.
selectedOrg
:
'全部委员会'
const
query
=
route
.
query
;
if
(
Object
.
keys
(
query
).
length
>
0
)
{
...
...
@@ -815,8 +1080,14 @@ const initParam = () => {
customTime
.
value
=
JSON
.
parse
(
savedQuery
.
selectedDate
)
}
isInvolveCn
.
value
=
savedQuery
.
isInvolveCn
?
true
:
false
if
(
savedQuery
.
selectedStatus
)
{
selectedStatus
.
value
=
savedQuery
.
selectedStatus
===
'1'
?
'通过'
:
'提出'
}
else
{
selectedStatus
.
value
=
'全部阶段'
}
selectedDecreeType
.
value
=
savedQuery
.
selectedDecreeType
?
savedQuery
.
selectedDecreeType
:
'全部类型'
selectedCongress
.
value
=
savedQuery
.
selectedCongress
?
savedQuery
.
selectedCongress
:
'全部议院'
selectedOrg
.
value
=
savedQuery
.
selectedOrg
?
savedQuery
.
selectedOrg
:
'全部委员会'
}
}
...
...
@@ -838,7 +1109,7 @@ const handleClickToDetail = (curBill) => {
// 跳转人物详情
const
handlePerClick
=
item
=>
{
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
sponsorPersonName
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
sponsorPersonName
);
const
route
=
router
.
resolve
({
path
:
"/characterPage"
,
query
:
{
...
...
@@ -872,7 +1143,6 @@ onMounted(async () => {
initParam
()
// 初始化
await
fetchTableData
()
...
...
@@ -1051,6 +1321,10 @@ onMounted(async () => {
}
.
header
-
left
-
item3
{
color
:
var
(
--
color
-
orange
-
100
);
}
.
cancel
{
cursor
:
pointer
;
}
...
...
@@ -1144,4 +1418,21 @@ onMounted(async () => {
text
-
decoration
:
underline
;
}
}
<
/style>
\ No newline at end of file
:
deep
(.
el
-
table__header
-
wrapper
)
{
// background-color: #f5f7fa;
height
:
48
px
;
}
:
deep
(.
el
-
table__header
th
)
{
// background-color: #f5f7fa;
color
:
var
(
--
text
-
primary
-
50
-
color
);
font
-
weight
:
bold
;
}
/* 针对特定列 */
// :deep(.el-table__header th:first-child)
{
// background-color: #e6f7ff;
// color: #1890ff;
//
}
<
/style>
\ No newline at end of file
src/views/dataLibrary/index.vue
浏览文件 @
277bffd2
<
template
>
<div
class=
"data-library-wrapper"
>
<div
class=
"data-library-header"
>
<
!--
<
div
class=
"data-library-header"
>
<div
class=
"header-left"
>
<div
class=
"icon"
>
<img
src=
"@/assets/icons/overview/logo.png"
alt=
""
>
...
...
@@ -19,7 +19,7 @@
<div
class=
"name"
>
{{
"管理员"
}}
</div>
</div>
</div>
</div>
</div>
-->
<div
class=
"data-library-main"
>
<div
class=
"data-library-sider"
>
<div
class=
"sider-item-box"
v-for=
"item, index in siderList"
:key=
"index"
>
...
...
@@ -96,7 +96,7 @@ const tagsViewStore = useTagsViewStore()
// 在路由全局守卫中处理
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
// 路由允许添加标签(排除掉隐藏的布局页如 /404, /login 等)
if
(
to
.
meta
?.
title
&&
!
to
.
meta
?.
hiddenTag
)
{
if
(
to
.
path
.
indexOf
(
'dataLibrary'
)
>
-
1
)
{
tagsViewStore
.
addView
({
path
:
to
.
path
,
name
:
to
.
name
,
// 对应组件的 name,用于缓存
...
...
@@ -479,7 +479,7 @@ const handleClickToolBox = () => {
onMounted
(()
=>
{
const
path
=
route
.
path
console
.
log
(
decodeURI
(
route
.
fullPath
));
switch
(
path
)
{
case
'/dataLibrary/countryBill'
:
siderList
.
value
[
0
].
active
=
true
...
...
src/views/innovationSubject/innovativeInstitutions/components/CooperationCases.vue
浏览文件 @
277bffd2
...
...
@@ -29,8 +29,8 @@
<
script
setup
lang=
"ts"
>
import
{
ref
,
computed
}
from
'vue'
import
LeftBtn
from
'@/components/base/pageBtn/
l
eftBtn.vue'
import
RightBtn
from
'@/components/base/pageBtn/
r
ightBtn.vue'
import
LeftBtn
from
'@/components/base/pageBtn/
L
eftBtn.vue'
import
RightBtn
from
'@/components/base/pageBtn/
R
ightBtn.vue'
interface
CaseItem
{
date
:
string
...
...
src/views/innovationSubject/innovativeInstitutions/tabs/OtherInfo.vue
浏览文件 @
277bffd2
...
...
@@ -44,8 +44,8 @@
<
script
setup
lang=
"ts"
>
import
{
ref
,
computed
,
onMounted
,
watch
}
from
'vue'
import
AnalysisBox
from
'@/components/base/boxBackground/analysisBox.vue'
import
LeftBtn
from
'@/components/base/pageBtn/
l
eftBtn.vue'
import
RightBtn
from
'@/components/base/pageBtn/
r
ightBtn.vue'
import
LeftBtn
from
'@/components/base/pageBtn/
L
eftBtn.vue'
import
RightBtn
from
'@/components/base/pageBtn/
R
ightBtn.vue'
import
AreaTag
from
'@/components/base/AreaTag/index.vue'
import
{
getLabList
,
getPolicyList
}
from
'@/api/innovationSubject/overview.js'
...
...
src/views/marketAccessRestrictions/marketAccessHome/index.vue
浏览文件 @
277bffd2
...
...
@@ -392,8 +392,8 @@
<
script
setup
>
import
{
onMounted
,
ref
,
nextTick
}
from
"vue"
;
import
LeftBtn
from
"@/components/base/pageBtn/
l
eftBtn.vue"
;
import
RightBtn
from
"@/components/base/pageBtn/
r
ightBtn.vue"
;
import
LeftBtn
from
"@/components/base/pageBtn/
L
eftBtn.vue"
;
import
RightBtn
from
"@/components/base/pageBtn/
R
ightBtn.vue"
;
import
RiskSignal
from
"@/components/base/riskSignal/index.vue"
;
import
TipTab
from
"@/components/base/TipTab/index.vue"
import
MessageBubble
from
"@/components/base/messageBubble/index.vue"
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论