Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
68fd1e83
提交
68fd1e83
authored
3月 17, 2026
作者:
张烨
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:政令模块细节优化
上级
3c79fc23
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
40 行增加
和
24 行删除
+40
-24
index.vue
src/views/decree/decreeHome/index.vue
+40
-24
index.vue
src/views/decree/decreeLayout/overview/measures/index.vue
+0
-0
download.png
src/views/decree/decreeOriginal/assets/icons/download.png
+0
-0
search.png
src/views/decree/decreeOriginal/assets/icons/search.png
+0
-0
没有找到文件。
src/views/decree/decreeHome/index.vue
浏览文件 @
68fd1e83
...
...
@@ -63,12 +63,18 @@
</div>
</div>
</div>
-->
<div
class=
"home-main-header-item-box"
>
<div
class=
"item"
v-for=
"(item, index) in govInsList.slice(0,
12
)"
:key=
"index"
@
click=
"handleToInstitution(item)"
>
<div
class=
"home-main-header-item-box"
v-if=
"govInsList.length"
>
<div
class=
"item"
v-for=
"(item, index) in govInsList.slice(0,
7
)"
:key=
"index"
@
click=
"handleToInstitution(item)"
>
<div
class=
"item-left"
>
<img
:src=
"item.
img ? item.img :
DefaultIcon2"
alt=
""
/>
<img
:src=
"item.
orgImage ||
DefaultIcon2"
alt=
""
/>
</div>
<div
class=
"item-right"
>
{{
item
.
name
}}
</div>
<div
class=
"item-right one-line-ellipsis"
>
{{
item
.
orgName
}}
</div>
<div
class=
"item-num"
>
{{
item
.
total
}}
项
</div>
<el-icon
color=
"var(--color-primary-100)"
><ArrowRightBold
/></el-icon>
</div>
<div
class=
"item"
>
<div
class=
"item-num item-more"
>
查看全部机构 (
{{
govInsList
.
length
+
1
}}
家)
</div>
<el-icon
color=
"var(--color-primary-100)"
><ArrowRightBold
/></el-icon>
</div>
</div>
</div>
...
...
@@ -271,7 +277,7 @@
<div
class=
"search-box"
>
<el-select
v-model=
"searchType"
:empty-values=
"[null, undefined]"
style=
"width: 100%"
filterable
>
<el-option
label=
"全部政府部门"
value=
""
/>
<el-option
v-for=
"item in govInsList"
:key=
"item.
id"
:label=
"item.name"
:value=
"item.i
d"
/>
<el-option
v-for=
"item in govInsList"
:key=
"item.
orgId"
:label=
"item.orgName"
:value=
"item.orgI
d"
/>
</el-select>
</div>
<div
style=
"flex: auto;"
></div>
...
...
@@ -417,11 +423,11 @@ import { ElMessage } from "element-plus";
// 跳转行政机构主页
const
handleToInstitution
=
item
=>
{
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
n
ame
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
item
.
orgN
ame
);
const
curRoute
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
i
d
id
:
item
.
orgI
d
}
});
window
.
open
(
curRoute
.
href
,
"_blank"
);
...
...
@@ -447,13 +453,7 @@ const handleGetDepartmentList = async () => {
const
res
=
await
getDepartmentList
();
console
.
log
(
"机构列表"
,
res
);
if
(
res
.
code
===
200
&&
res
.
data
)
{
govInsList
.
value
=
res
.
data
.
map
(
item
=>
{
return
{
id
:
item
.
orgId
,
name
:
item
.
orgName
,
img
:
item
.
orgImage
};
});
govInsList
.
value
=
res
.
data
;
}
}
catch
(
error
)
{
console
.
error
(
"获取机构列表error"
,
error
);
...
...
@@ -1390,15 +1390,17 @@ onMounted(async () => {
}
.home-main-header-item-box
{
margin-top
:
48px
;
margin-bottom
:
64px
;
margin
:
48px
0
64px
;
width
:
1600px
;
display
:
flex
;
flex-wrap
:
wrap
;
gap
:
16px
;
.item
{
width
:
254px
;
height
:
72px
;
width
:
20%
;
flex
:
auto
;
height
:
80px
;
padding
:
0
16px
;
display
:
flex
;
box-sizing
:
border-box
;
background
:
rgba
(
255
,
255
,
255
,
0
.65
);
...
...
@@ -1406,8 +1408,7 @@ onMounted(async () => {
border-radius
:
10px
;
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
align-items
:
center
;
gap
:
17px
;
margin
:
0
6px
16px
6px
;
justify-content
:
center
;
cursor
:
pointer
;
transition
:
transform
0
.3s
ease
,
...
...
@@ -1419,10 +1420,9 @@ onMounted(async () => {
}
.item-left
{
margin-left
:
24px
;
width
:
48px
;
height
:
48px
;
font-size
:
0px
;
img
{
width
:
100%
;
height
:
100%
;
...
...
@@ -1430,12 +1430,28 @@ onMounted(async () => {
}
.item-right
{
width
:
140px
;
width
:
20px
;
flex
:
auto
;
color
:
rgba
(
59
,
65
,
75
,
1
);
font-family
:
Microsoft
YaHei
;
font-size
:
20px
;
font-weight
:
700
;
line-height
:
24px
;
line-height
:
20px
;
margin
:
0
16px
;
}
.item-num
{
white-space
:
nowrap
;
font-family
:
Microsoft
YaHei
;
font-size
:
20px
;
font-weight
:
700
;
line-height
:
20px
;
margin-right
:
2px
;
color
:
var
(
--
color-primary-100
);
}
.item-more
{
margin-right
:
12px
;
font-size
:
16px
;
}
}
}
...
...
src/views/decree/decreeLayout/overview/measures/index.vue
浏览文件 @
68fd1e83
差异被折叠。
点击展开。
src/views/decree/decreeOriginal/assets/icons/download.png
deleted
100644 → 0
浏览文件 @
3c79fc23
350 Bytes
src/views/decree/decreeOriginal/assets/icons/search.png
deleted
100644 → 0
浏览文件 @
3c79fc23
399 Bytes
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论