Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
81d616e5
提交
81d616e5
authored
1月 26, 2026
作者:
coderBryanFu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
664303a2
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
91 行增加
和
93 行删除
+91
-93
index.vue
...omponents/fourSuppress/components/allGovernment/index.vue
+1
-1
index.vue
src/views/bill/deepDig/processAnalysis/index.vue
+5
-5
index.vue
src/views/bill/template/index.vue
+34
-43
piechart.js
src/views/bill/template/utils/piechart.js
+51
-44
没有找到文件。
src/views/ZMOverView/components/fourSuppress/components/allGovernment/index.vue
浏览文件 @
81d616e5
...
...
@@ -1818,7 +1818,7 @@ const prev = () => {
display
:
flex
;
align-items
:
center
;
gap
:
8px
;
overflow-x
:
auto
;
//
overflow-x: auto;
// 启用滚动条
&
:
:-
webkit-scrollbar
{
...
...
src/views/bill/deepDig/processAnalysis/index.vue
浏览文件 @
81d616e5
...
...
@@ -1201,7 +1201,7 @@ onMounted(async () => {
height
:
682
px
;
overflow
:
auto
;
.
box3
-
main
-
center
-
content
-
box
{
width
:
805
px
;
width
:
746
px
;
height
:
160
px
;
box
-
sizing
:
border
-
box
;
border
:
1
px
solid
rgba
(
243
,
243
,
244
,
1
);
...
...
@@ -1213,7 +1213,7 @@ onMounted(async () => {
display
:
flex
;
height
:
45
px
;
.
item
-
box1
{
width
:
3
7
0
px
;
width
:
3
4
0
px
;
display
:
flex
;
.
box1
-
left
{
width
:
130
px
;
...
...
@@ -1252,7 +1252,7 @@ onMounted(async () => {
.
box1
-
right
{
// border-left: 1px solid rgba(243, 243, 244, 1);
// border-right: 1px solid rgba(243, 243, 244, 1);
width
:
2
40
px
;
width
:
2
15
px
;
.
box1
-
right
-
top
{
:
deep
(.
el
-
progress
-
bar__inner
)
{
background
:
rgba
(
22
,
119
,
255
,
1
);
...
...
@@ -1299,7 +1299,7 @@ onMounted(async () => {
}
}
.
item
-
box3
{
width
:
7
5
px
;
width
:
6
5
px
;
text
-
align
:
center
;
.
box3
-
1
{
height
:
14
px
;
...
...
@@ -1438,7 +1438,7 @@ onMounted(async () => {
:
deep
(.
el
-
progress
-
bar__outer
)
{
height
:
8
px
!
important
;
margin
-
bottom
:
8
px
;
width
:
2
3
0
px
;
width
:
2
0
0
px
;
margin
-
left
:
10
px
;
}
<
/style
>
src/views/bill/template/index.vue
浏览文件 @
81d616e5
...
...
@@ -36,30 +36,14 @@
<div
class=
"left-main-item"
v-for=
"(term, index) in mainTermsList"
:key=
"index"
>
<div
class=
"id"
>
{{
(
currentPage
-
1
)
*
pageSize
+
index
+
1
}}
</div>
<div
class=
"info"
>
<el-tooltip
effect=
"dark"
:content=
"`第$
{term.tkxh}条. ${term.fynr}`"
popper-class="bill-template-popper"
placement="top"
:show-after="500"
>
<div
class=
"title"
>
<span
class=
"title-active"
>
第
{{
term
.
tkxh
}}
条.
</span>
{{
term
.
fynr
}}
</div>
</el-tooltip>
<el-tooltip
effect=
"dark"
:content=
"`Sec.$
{term.tkxh} ${term.ywnr}`"
popper-class="bill-template-popper"
placement="top"
:show-after="500"
>
<div
class=
"content"
>
<span
class=
"content-active"
>
Sec.
{{
term
.
tkxh
}}
</span>
{{
term
.
ywnr
}}
</div>
</el-tooltip>
<div
class=
"title"
>
<span
class=
"title-active"
>
第
{{
term
.
tkxh
}}
条.
</span>
{{
term
.
fynr
}}
</div>
<div
class=
"content"
>
<span
class=
"content-active"
>
Sec.
{{
term
.
tkxh
}}
</span>
{{
term
.
ywnr
}}
</div>
</div>
<div
class=
"tags-box"
>
<div
...
...
@@ -67,12 +51,12 @@
v-for=
"(val, idx) in (term.hylyList || []).slice(0, 2)"
:key=
"idx"
:class=
"
{
'tag1'
: val === '人工智能',
'tag2'
: val === '新一代信息技术' || !['人工智能', '政治', '经济', '军事', '科技'].includes(val),
'tag3'
: val === '政治',
'tag4'
: val === '经济',
'tag5'
: val === '军事',
'tag6'
: val === '科技'
tag1
: val === '人工智能',
tag2
: val === '新一代信息技术' || !['人工智能', '政治', '经济', '军事', '科技'].includes(val),
tag3
: val === '政治',
tag4
: val === '经济',
tag5
: val === '军事',
tag6
: val === '科技'
}"
>
{{
val
}}
...
...
@@ -261,7 +245,9 @@ const handleGetBillContentTk = async cRelated => {
mainTermsList
.
value
=
(
res
.
data
.
content
||
[]).
map
(
item
=>
{
// 处理 fynr
if
(
item
.
fynr
)
{
const
matchComplex
=
item
.
fynr
.
match
(
/^
(?:
正文内容
[
::
]\s
*
)?[
“"
]?\s
*第
\s
*
([
0-9a-zA-Z
]
+
)\s
*
[
条节
][
::
\.\。]?[
”"
]?\s
*/
);
const
matchComplex
=
item
.
fynr
.
match
(
/^
(?:
正文内容
[
::
]\s
*
)?[
“"
]?\s
*第
\s
*
([
0-9a-zA-Z
]
+
)\s
*
[
条节
][
::
\.\。]?[
”"
]?\s
*/
);
if
(
matchComplex
)
{
// 匹配 "第xxx条"、"正文内容:第xxx条"、"“第xxx条" 等
if
(
!
item
.
tkxh
)
{
...
...
@@ -439,15 +425,20 @@ onMounted(async () => {
}
}
.
left
-
main
{
height
:
660
px
;
overflow
:
hidden
;
overflow
-
y
:
auto
;
.
left
-
main
-
item
{
margin
-
left
:
22
px
;
width
:
1016
px
;
height
:
65
px
;
// height: 65px;
box
-
sizing
:
border
-
box
;
border
-
radius
:
2
px
;
background
:
rgba
(
255
,
255
,
255
,
1
);
display
:
flex
;
position
:
relative
;
.
id
{
margin
-
top
:
20
px
;
margin
-
left
:
15
px
;
...
...
@@ -463,34 +454,34 @@ onMounted(async () => {
.
info
{
margin
-
left
:
13
px
;
margin
-
top
:
15
px
;
width
:
78
0
px
;
width
:
92
0
px
;
.
title
{
height
:
14
px
;
//
height: 14px;
color
:
rgba
(
59
,
65
,
75
,
1
);
font
-
family
:
Microsoft
YaHei
;
font
-
size
:
14
px
;
font
-
weight
:
600
;
line
-
height
:
14
px
;
line
-
height
:
22
px
;
text
-
align
:
left
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
white
-
space
:
nowrap
;
//
overflow: hidden;
//
text-overflow: ellipsis;
//
white-space: nowrap;
.
title
-
active
{
color
:
var
(
--
color
-
main
-
active
);
}
}
.
content
{
margin
-
top
:
6
px
;
height
:
14
px
;
//
height: 14px;
color
:
rgba
(
132
,
136
,
142
,
1
);
font
-
family
:
Microsoft
YaHei
;
font
-
size
:
14
px
;
font
-
weight
:
400
;
line
-
height
:
1
4
px
;
line
-
height
:
2
4
px
;
text
-
align
:
left
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
white
-
space
:
nowrap
;
//
overflow: hidden;
//
text-overflow: ellipsis;
//
white-space: nowrap;
.
content
-
active
{
color
:
var
(
--
color
-
main
-
active
);
}
...
...
src/views/bill/template/utils/piechart.js
浏览文件 @
81d616e5
const
getPieChart
=
(
data
,
colorList
)
=>
{
const
getPieChart
=
(
data
,
colorList
)
=>
{
let
option
=
{
color
:
colorList
,
//
color: colorList,
series
:
[
{
type
:
'pie'
,
minAngle
:
28
,
radius
:
[
70
,
100
],
height
:
'100%'
,
left
:
'center'
,
width
:
'100%'
,
itemStyle
:
{
borderColor
:
'#fff'
,
borderWidth
:
1
},
label
:
{
alignTo
:
'edge'
,
formatter
:
'{name|{b}}
\
n{time|{c} 条 {d}%}'
,
minMargin
:
5
,
edgeDistance
:
10
,
lineHeight
:
15
,
rich
:
{
time
:
{
fontSize
:
10
,
color
:
'#999'
type
:
'pie'
,
radius
:
[
70
,
100
],
height
:
'100%'
,
left
:
'center'
,
width
:
'100%'
,
itemStyle
:
{
borderColor
:
'#fff'
,
borderWidth
:
1
},
label
:
{
alignTo
:
'edge'
,
formatter
:
'{name|{b}}
\
n{time|{c} 条 {d}%}'
,
minMargin
:
5
,
edgeDistance
:
10
,
lineHeight
:
18
,
rich
:
{
name
:
{
color
:
'rgba(59, 65, 75, 1)'
,
fontFamily
:
'Microsoft YaHei'
,
fontSize
:
14
,
fontWeight
:
'bold'
,
padding
:
[
10
,
0
,
10
,
0
]
},
time
:
{
fontSize
:
14
,
fontFamily
:
'Microsoft YaHei'
,
color
:
'#rgba(95, 101, 108, 1)'
,
padding
:
[
10
,
0
,
10
,
0
]
}
}
}
},
labelLine
:
{
length
:
15
,
length2
:
0
,
maxSurfaceAngle
:
80
},
labelLayout
:
function
(
params
)
{
const
isLeft
=
params
.
labelRect
.
x
<
556
/
2
;
const
points
=
params
.
labelLinePoints
;
// Update the end point.
points
[
2
][
0
]
=
isLeft
?
params
.
labelRect
.
x
:
params
.
labelRect
.
x
+
params
.
labelRect
.
width
;
return
{
labelLinePoints
:
points
,
hideOverlap
:
false
,
moveOverlap
:
'shiftY'
};
},
data
:
data
}]
},
labelLine
:
{
length
:
15
,
length2
:
0
,
maxSurfaceAngle
:
88
},
labelLayout
:
function
(
params
)
{
const
isLeft
=
params
.
labelRect
.
x
<
556
/
2
;
const
points
=
params
.
labelLinePoints
;
// Update the end point.
points
[
2
][
0
]
=
isLeft
?
params
.
labelRect
.
x
:
params
.
labelRect
.
x
+
params
.
labelRect
.
width
;
return
{
labelLinePoints
:
points
};
},
data
:
data
}]
}
return
option
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论