Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
accd07f8
提交
accd07f8
authored
4月 03, 2026
作者:
付康
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'fk-dev' 到 'pre'
Fk dev 查看合并请求
!306
上级
467910f8
21a55ab7
流水线
#327
已通过 于阶段
in 5 分 7 秒
变更
5
流水线
1
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
41 行增加
和
34 行删除
+41
-34
index.vue
src/views/dataLibrary/bill/countryBill/index.vue
+10
-14
index.vue
src/views/dataLibrary/decree/index.vue
+13
-12
index.vue
src/views/dataLibrary/index.vue
+5
-1
index.vue
src/views/dataLibrary/thinkTank/index.vue
+8
-3
index.vue
src/views/thinkTank/index.vue
+5
-4
没有找到文件。
src/views/dataLibrary/bill/countryBill/index.vue
浏览文件 @
accd07f8
...
@@ -117,13 +117,13 @@
...
@@ -117,13 +117,13 @@
<
/div
>
<
/div
>
<
/div
>
<
/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"
<
el
-
table
ref
=
"tableRef"
:
data
=
"tableData"
row
-
key
=
"id"
@
selection
-
change
=
"handleSelectionChange"
@
select
=
"handleSelect"
@
select
-
all
=
"handleSelectAll"
style
=
"width: 100%"
:
row
-
style
=
"{ height: '52px'
}
"
>
@
select
=
"handleSelect"
@
select
-
all
=
"handleSelectAll"
style
=
"width: 100%"
:
row
-
style
=
"{ height: '52px'
}
"
>
<
el
-
table
-
column
type
=
"selection"
width
=
"40"
/>
<
el
-
table
-
column
type
=
"selection"
width
=
"40"
/>
<
el
-
table
-
column
label
=
"法案名称"
width
=
"455"
>
<
el
-
table
-
column
label
=
"法案名称"
width
=
"455"
>
<
template
#
default
=
"scope"
>
<
template
#
default
=
"scope"
>
<
span
class
=
"title-item text-compact-bold"
@
click
=
"handleClickToDetail(scope.row)"
>
{{
scope
.
row
.
t
itle
<
span
class
=
"title-item text-compact-bold"
@
click
=
"handleClickToDetail(scope.row)"
>
{{
scope
.
row
.
originalT
itle
}}
<
/span
>
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
@@ -875,13 +875,14 @@ const fetchTableData = async () => {
...
@@ -875,13 +875,14 @@ const fetchTableData = async () => {
activeChart
.
value
=
curDemensionItem
.
chartTypeList
[
0
]
activeChart
.
value
=
curDemensionItem
.
chartTypeList
[
0
]
curChartData
.
value
=
curDemensionItem
.
data
curChartData
.
value
=
curDemensionItem
.
data
}
)
}
)
loading
.
value
=
false
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
error
);
}
finally
{
loading
.
value
=
false
loading
.
value
=
false
}
}
// tableData.value = res.data
// total.value = res.total
// 数据加载后,回显已选中的行
// 数据加载后,回显已选中的行
nextTick
(()
=>
{
nextTick
(()
=>
{
...
@@ -897,12 +898,7 @@ const allData = ref([])
...
@@ -897,12 +898,7 @@ const allData = ref([])
// 获取筛选条件下全部表格数据
// 获取筛选条件下全部表格数据
const
fetchAllData
=
async
()
=>
{
const
fetchAllData
=
async
()
=>
{
let
statusParam
=
null
loading
.
value
=
true
if
(
selectedStatus
.
value
!==
'全部阶段'
)
{
statusParam
=
statusList
.
value
.
filter
(
item
=>
{
return
item
.
name
===
selectedStatus
.
value
}
)[
0
].
id
}
const
params
=
{
const
params
=
{
page
:
1
,
page
:
1
,
size
:
9999
,
size
:
9999
,
...
@@ -927,7 +923,10 @@ const fetchAllData = async () => {
...
@@ -927,7 +923,10 @@ const fetchAllData = async () => {
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
error
);
ElMessage
.
error
(
'加载全部数据出错!'
)
ElMessage
.
error
(
'加载全部数据出错!'
)
}
finally
{
loading
.
value
=
false
}
}
}
}
...
@@ -1002,8 +1001,6 @@ const handleSelectAllChange = async () => {
...
@@ -1002,8 +1001,6 @@ const handleSelectAllChange = async () => {
if
(
totalNum
.
value
>
10000
)
{
if
(
totalNum
.
value
>
10000
)
{
isShowAllDataMaxLengthTip
.
value
=
true
isShowAllDataMaxLengthTip
.
value
=
true
}
}
loading
.
value
=
true
await
fetchAllData
()
await
fetchAllData
()
handleSelectAllPage
()
handleSelectAllPage
()
allData
.
value
.
forEach
(
row
=>
{
allData
.
value
.
forEach
(
row
=>
{
...
@@ -1011,7 +1008,6 @@ const handleSelectAllChange = async () => {
...
@@ -1011,7 +1008,6 @@ const handleSelectAllChange = async () => {
selectedMap
.
value
.
set
(
row
.
id
,
row
)
selectedMap
.
value
.
set
(
row
.
id
,
row
)
}
}
}
)
}
)
loading
.
value
=
false
}
else
{
}
else
{
handleClearAll
()
handleClearAll
()
}
}
...
...
src/views/dataLibrary/decree/index.vue
浏览文件 @
accd07f8
...
@@ -130,7 +130,8 @@
...
@@ -130,7 +130,8 @@
<
el
-
table
-
column
type
=
"selection"
width
=
"40"
/>
<
el
-
table
-
column
type
=
"selection"
width
=
"40"
/>
<
el
-
table
-
column
label
=
"政令名称"
width
=
"720"
>
<
el
-
table
-
column
label
=
"政令名称"
width
=
"720"
>
<
template
#
default
=
"scope"
>
<
template
#
default
=
"scope"
>
<
span
class
=
"title-item text-compact-bold"
@
click
=
"handleClickToDetail(scope.row)"
>
{{
scope
.
row
.
originalTitle
<
span
class
=
"title-item text-compact-bold"
@
click
=
"handleClickToDetail(scope.row)"
>
{{
scope
.
row
.
originalTitle
}}
<
/span
>
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
@@ -727,8 +728,8 @@ const fetchTableData = async () => {
...
@@ -727,8 +728,8 @@ const fetchTableData = async () => {
// keyword: '',
// keyword: '',
type
:
2
,
// type 1= 法案 2= 政令 3 =智库 4=智库报告 5=实体清单【制裁记录】 6= 人物 7= 机构 8=新闻 9= 社媒
type
:
2
,
// type 1= 法案 2= 政令 3 =智库 4=智库报告 5=实体清单【制裁记录】 6= 人物 7= 机构 8=新闻 9= 社媒
domains
:
selectedArea
.
value
===
'全部领域'
?
null
:
[
selectedArea
.
value
],
domains
:
selectedArea
.
value
===
'全部领域'
?
null
:
[
selectedArea
.
value
],
proposedDateStart
:
customTime
.
value
[
0
]
?
customTime
.
value
[
0
]:
null
,
proposedDateStart
:
customTime
.
value
[
0
]
?
customTime
.
value
[
0
]
:
null
,
proposedDateEnd
:
customTime
.
value
[
1
]
?
customTime
.
value
[
1
]:
null
,
proposedDateEnd
:
customTime
.
value
[
1
]
?
customTime
.
value
[
1
]
:
null
,
organizationName
:
selectedIns
.
value
===
'全部机构'
?
null
:
selectedIns
.
value
,
organizationName
:
selectedIns
.
value
===
'全部机构'
?
null
:
selectedIns
.
value
,
decreeType
:
selectedDecreeType
.
value
===
'全部类型'
?
null
:
selectedDecreeType
.
value
,
decreeType
:
selectedDecreeType
.
value
===
'全部类型'
?
null
:
selectedDecreeType
.
value
,
isInvolveCn
:
isInvolveCn
.
value
?
'Y'
:
null
,
isInvolveCn
:
isInvolveCn
.
value
?
'Y'
:
null
,
...
@@ -774,12 +775,14 @@ const fetchTableData = async () => {
...
@@ -774,12 +775,14 @@ const fetchTableData = async () => {
activeChart
.
value
=
curDemensionItem
.
chartTypeList
[
0
]
activeChart
.
value
=
curDemensionItem
.
chartTypeList
[
0
]
curChartData
.
value
=
curDemensionItem
.
data
curChartData
.
value
=
curDemensionItem
.
data
}
)
}
)
loading
.
value
=
false
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
error
);
}
finally
{
loading
.
value
=
false
loading
.
value
=
false
}
}
// tableData.value = res.data
// total.value = res.total
// 数据加载后,回显已选中的行
// 数据加载后,回显已选中的行
nextTick
(()
=>
{
nextTick
(()
=>
{
...
@@ -963,7 +966,7 @@ const initParam = () => {
...
@@ -963,7 +966,7 @@ const initParam = () => {
customTime
.
value
=
JSON
.
parse
(
route
.
query
.
selectedDate
)
customTime
.
value
=
JSON
.
parse
(
route
.
query
.
selectedDate
)
}
}
selectedIns
.
value
=
route
.
query
.
orgnizationName
?
route
.
query
.
orgnizationName
:
'全部机构'
selectedIns
.
value
=
route
.
query
.
orgnizationName
?
route
.
query
.
orgnizationName
:
'全部机构'
isInvolveCn
.
value
=
route
.
query
.
isInvolveCn
?
true
:
false
isInvolveCn
.
value
=
route
.
query
.
isInvolveCn
?
true
:
false
...
@@ -1022,7 +1025,7 @@ const handleOrgClick = item => {
...
@@ -1022,7 +1025,7 @@ const handleOrgClick = item => {
// 导出
// 导出
const
handleExport
=
()
=>
{
const
handleExport
=
()
=>
{
if
(
!
selectedCount
.
value
)
{
if
(
!
selectedCount
.
value
)
{
ElMessage
.
warning
(
'请选择至少一项数据!'
)
ElMessage
.
warning
(
'请选择至少一项数据!'
)
return
return
}
}
...
@@ -1349,6 +1352,4 @@ onMounted(async () => {
...
@@ -1349,6 +1352,4 @@ onMounted(async () => {
// :deep(.el-table__header th:first-child)
{
// :deep(.el-table__header th:first-child)
{
// background-color: #e6f7ff;
// background-color: #e6f7ff;
// color: #1890ff;
// color: #1890ff;
//
}
//
}
<
/style>
\ No newline at end of file
<
/style>
\ No newline at end of file
src/views/dataLibrary/index.vue
浏览文件 @
accd07f8
...
@@ -87,6 +87,7 @@ import Icon11 from "./assets/icons/sider-icon11.svg";
...
@@ -87,6 +87,7 @@ import Icon11 from "./assets/icons/sider-icon11.svg";
import
{
useRouter
,
useRoute
}
from
"vue-router"
;
import
{
useRouter
,
useRoute
}
from
"vue-router"
;
import
useTagsViewStore
from
"@/stores/tagsView.js"
;
import
useTagsViewStore
from
"@/stores/tagsView.js"
;
import
{
ElMessage
}
from
"element-plus"
;
const
router
=
useRouter
();
const
router
=
useRouter
();
const
route
=
useRoute
();
const
route
=
useRoute
();
...
@@ -392,8 +393,11 @@ const timer = ref(null);
...
@@ -392,8 +393,11 @@ const timer = ref(null);
// 关闭当前标签页
// 关闭当前标签页
const
handleCloseCurTab
=
(
tab
,
index
)
=>
{
const
handleCloseCurTab
=
(
tab
,
index
)
=>
{
if
(
tagsViewStore
.
visitedViews
.
length
===
1
)
{
ElMessage
.
warning
(
'至少保留一个标签页'
)
return
}
let
activeTab
;
let
activeTab
;
if
(
!
tab
.
active
)
{
if
(
!
tab
.
active
)
{
tagsViewStore
.
delView
(
tab
);
tagsViewStore
.
delView
(
tab
);
}
else
{
}
else
{
...
...
src/views/dataLibrary/thinkTank/index.vue
浏览文件 @
accd07f8
...
@@ -661,6 +661,7 @@ const fetchTableData = async () => {
...
@@ -661,6 +661,7 @@ const fetchTableData = async () => {
// isSelectedAll.value = false
// isSelectedAll.value = false
// selectedMap.value.clear()
// selectedMap.value.clear()
// 调用接口获取数据...
// 调用接口获取数据...
loading
.
value
=
true
const
params
=
{
const
params
=
{
page
:
currentPage
.
value
,
page
:
currentPage
.
value
,
size
:
pageSize
.
value
,
size
:
pageSize
.
value
,
...
@@ -712,7 +713,11 @@ const fetchTableData = async () => {
...
@@ -712,7 +713,11 @@ const fetchTableData = async () => {
activeChart
.
value
=
curDemensionItem
.
chartTypeList
[
0
];
activeChart
.
value
=
curDemensionItem
.
chartTypeList
[
0
];
curChartData
.
value
=
curDemensionItem
.
data
;
curChartData
.
value
=
curDemensionItem
.
data
;
}
);
}
);
}
catch
(
error
)
{
}
}
catch
(
error
)
{
console
.
error
(
error
);
}
finally
{
loading
.
value
=
false
}
// tableData.value = res.data
// tableData.value = res.data
// total.value = res.total
// total.value = res.total
...
@@ -970,9 +975,9 @@ const handleExport = () => {
...
@@ -970,9 +975,9 @@ const handleExport = () => {
}
;
}
;
onMounted
(
async
()
=>
{
onMounted
(
async
()
=>
{
handleGetThinkTankList
();
await
handleGetThinkTankList
();
initParam
();
initParam
();
// 初始化
// 初始化
await
fetchTableData
();
await
fetchTableData
();
}
);
}
);
...
...
src/views/thinkTank/index.vue
浏览文件 @
accd07f8
...
@@ -3665,7 +3665,7 @@ onBeforeUnmount(() => {
...
@@ -3665,7 +3665,7 @@ onBeforeUnmount(() => {
top
:
11px
;
top
:
11px
;
right
:
31px
;
right
:
31px
;
display
:
flex
;
display
:
flex
;
gap
:
2
px
;
gap
:
8
px
;
}
}
}
}
...
@@ -3809,13 +3809,14 @@ onBeforeUnmount(() => {
...
@@ -3809,13 +3809,14 @@ onBeforeUnmount(() => {
}
}
.box6-select-box
{
.box6-select-box
{
width
:
24
0
px
;
width
:
24
8
px
;
height
:
28px
;
height
:
28px
;
position
:
absolute
;
position
:
absolute
;
top
:
12
px
;
top
:
8
px
;
right
:
25px
;
right
:
25px
;
display
:
flex
;
display
:
flex
;
gap
:
2px
justify-content
:
flex-end
;
gap
:
8px
;
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论