Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
1e1a27a6
提交
1e1a27a6
authored
3月 17, 2026
作者:
张烨
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
政令原文功能
上级
73c03022
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
34 行增加
和
18 行删除
+34
-18
download.png
src/views/decree/decreeOriginal/assets/icons/download.png
+0
-0
search.png
src/views/decree/decreeOriginal/assets/icons/search.png
+0
-0
index.vue
src/views/decree/decreeOriginal/index.vue
+34
-18
没有找到文件。
src/views/decree/decreeOriginal/assets/icons/download.png
0 → 100644
浏览文件 @
1e1a27a6
350 Bytes
src/views/decree/decreeOriginal/assets/icons/search.png
0 → 100644
浏览文件 @
1e1a27a6
399 Bytes
src/views/decree/decreeOriginal/index.vue
浏览文件 @
1e1a27a6
...
@@ -2,25 +2,25 @@
...
@@ -2,25 +2,25 @@
<div
class=
"layout-container"
>
<div
class=
"layout-container"
>
<!-- 导航菜单 -->
<!-- 导航菜单 -->
<div
class=
"layout-main"
>
<div
class=
"layout-main"
>
<div
class=
"
layout-main-box
"
>
<div
class=
"
header-main
"
>
<div
class=
"layout-main-header"
>
<div
class=
"layout-main-header"
>
<div
class=
"icon"
>
<div
class=
"icon"
>
<img
:src=
"summaryInfo.imageUrl"
alt=
""
/>
<img
:src=
"summaryInfo.imageUrl"
alt=
""
/>
</div>
</div>
<div
class=
"info"
>
<div
class=
"info"
>
<div
class=
"info-box1 one-line-ellipsis"
>
{{
summaryInfo
.
name
}}
</div>
<div
class=
"info-box1 one-line-ellipsis"
>
{{
summaryInfo
.
name
||
"--"
}}
</div>
<div
class=
"info-box2"
>
<div
class=
"info-box2"
>
<div
class=
"info-box2-item"
>
{{
summaryInfo
.
postDate
}}
</div>
<div
class=
"info-box2-item"
>
{{
summaryInfo
.
postDate
||
"--"
}}
</div>
|
|
<div
class=
"info-box2-item"
>
{{
summaryInfo
.
orgName
}}
</div>
<div
class=
"info-box2-item"
>
{{
summaryInfo
.
orgName
||
"--"
}}
</div>
|
|
<div
class=
"info-box2-item one-line-ellipsis"
>
{{
summaryInfo
.
ename
}}
</div>
<div
class=
"info-box2-item one-line-ellipsis"
>
{{
summaryInfo
.
ename
||
"--"
}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"layout-main-header-right-box"
>
<div
class=
"layout-main-header-right-box"
>
<div
class=
"right-box-top"
>
<div
class=
"right-box-top"
>
<div
class=
"time"
>
{{
summaryInfo
.
postDate
}}
</div>
<div
class=
"time"
>
{{
summaryInfo
.
postDate
||
"--"
}}
</div>
<div
class=
"name"
>
{{
summaryInfo
.
orgName
}}
</div>
<div
class=
"name"
>
{{
summaryInfo
.
orgName
||
"--"
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -28,16 +28,20 @@
...
@@ -28,16 +28,20 @@
<div
class=
"layout-main-center"
>
<div
class=
"layout-main-center"
>
<div
class=
"report-header"
>
<div
class=
"report-header"
>
<div
class=
"report-title"
>
政令原文
</div>
<div
class=
"report-title"
>
政令原文
</div>
<
!--
<
el-switch
v-model=
"isHighlight"
/>
<el-switch
v-model=
"isHighlight"
/>
<div
style=
"margin-left: 6px; margin-right: 10px;"
>
高亮实体
</div>
-->
<div
style=
"margin-left: 6px; margin-right: 10px;"
>
高亮实体
</div>
<el-switch
v-model=
"isTranslate"
/>
<el-switch
v-model=
"isTranslate"
/>
<div
style=
"margin-left: 6px;"
>
原文显示
</div>
<div
style=
"margin-left: 6px;"
>
原文显示
</div>
<!--
<div
class=
"btn"
@
click=
"handleDownload"
>
<div
class=
"btn"
@
click=
"handleDownload"
>
<el-icon><Document
/></el-icon>
<div
class=
"icon"
style=
"margin-right: 4px;"
>
<img
:src=
"download"
alt=
""
>
</div>
<div
class=
"text"
>
下载
</div>
<div
class=
"text"
>
下载
</div>
</div>
-->
</div>
<div
class=
"btn"
@
click=
"handleFindWord('open')"
>
<div
class=
"btn"
@
click=
"handleFindWord('open')"
>
<el-icon><Search
/></el-icon>
<div
class=
"icon"
style=
"margin-right: 6px;"
>
<img
:src=
"search"
alt=
""
>
</div>
<div
class=
"text"
>
查找
</div>
<div
class=
"text"
>
查找
</div>
</div>
</div>
<div
class=
"find-word-box"
v-if=
"findWordBox"
>
<div
class=
"find-word-box"
v-if=
"findWordBox"
>
...
@@ -79,6 +83,8 @@ import { ElMessage } from "element-plus";
...
@@ -79,6 +83,8 @@ import { ElMessage } from "element-plus";
import
{
debounce
}
from
"lodash"
;
import
{
debounce
}
from
"lodash"
;
import
{
getDecreeSummary
}
from
"@/api/decree/introduction"
;
import
{
getDecreeSummary
}
from
"@/api/decree/introduction"
;
import
{
getDecreeReport
}
from
"@/api/decree/introduction"
;
import
{
getDecreeReport
}
from
"@/api/decree/introduction"
;
import
download
from
"./assets/icons/download.png"
;
import
search
from
"./assets/icons/search.png"
;
const
route
=
useRoute
();
const
route
=
useRoute
();
...
@@ -178,7 +184,10 @@ const handleUpdateWord = debounce(() => {
...
@@ -178,7 +184,10 @@ const handleUpdateWord = debounce(() => {
}
}
});
});
if
(
findWordMax
.
value
>
0
)
{
if
(
findWordMax
.
value
>
0
)
{
nextTick
(()
=>
{
handleFindWord
(
'next'
)
})
nextTick
(()
=>
{
findWordNum
.
value
=
findWordNum
.
value
==
findWordMax
.
value
?
1
:
findWordNum
.
value
+
1
;
handleHighlight
()
})
}
}
}
else
{
}
else
{
originData
.
forEach
((
item
,
index
)
=>
{
originData
.
forEach
((
item
,
index
)
=>
{
...
@@ -257,11 +266,10 @@ onMounted(() => {
...
@@ -257,11 +266,10 @@ onMounted(() => {
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
.
layout-main-box
{
.
header-main
{
padding
:
1
6
px
0
;
padding
:
1
7
px
0
;
width
:
100%
;
width
:
100%
;
border-bottom
:
1px
solid
rgba
(
234
,
236
,
238
,
1
);
border-bottom
:
1px
solid
rgba
(
234
,
236
,
238
,
1
);
border-top
:
1px
solid
rgba
(
234
,
236
,
238
,
1
);
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
background
:
rgba
(
255
,
255
,
255
,
1
);
background
:
rgba
(
255
,
255
,
255
,
1
);
}
}
...
@@ -412,7 +420,6 @@ onMounted(() => {
...
@@ -412,7 +420,6 @@ onMounted(() => {
background
:
rgba
(
255
,
255
,
255
,
1
);
background
:
rgba
(
255
,
255
,
255
,
1
);
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
gap
:
8px
;
align-items
:
center
;
align-items
:
center
;
cursor
:
pointer
;
cursor
:
pointer
;
.text
{
.text
{
...
@@ -426,6 +433,15 @@ onMounted(() => {
...
@@ -426,6 +433,15 @@ onMounted(() => {
letter-spacing
:
0px
;
letter-spacing
:
0px
;
text-align
:
left
;
text-align
:
left
;
}
}
.icon
{
width
:
16px
;
height
:
16px
;
font-size
:
0px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论