Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
court-inner
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
莫晓莉
court-inner
Commits
02643229
Commit
02643229
authored
Oct 21, 2021
by
莫晓莉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跳转模块
parent
02425e7a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
78 deletions
+31
-78
src/views/homePage/index.vue
+16
-5
src/views/layout/menu.vue
+10
-70
src/views/list/index.vue
+5
-3
No files found.
src/views/homePage/index.vue
View file @
02643229
...
...
@@ -29,7 +29,8 @@
<el-button
@
click
.
native=
"switchBtn(0)"
:class=
"['btn-item',
{'sanjiao':activeItem==0}]">今日头条
</el-button>
<el-button
@
click
.
native=
"switchBtn(1)"
:class=
"['btn-item',
{'sanjiao':activeItem==1}]">工作信息
</el-button>
</div>
<div
style=
"font-size:12px;color: #999999;"
>
<!-- 工作信息的boardId=1929 -->
<div
@
click=
"toMorelist(1929)"
style=
"font-size:12px;color: #999999;"
>
<span>
MORE>
</span>
</div>
</div>
...
...
@@ -345,7 +346,7 @@
<img
class=
"mr-5 gong-icon"
style=
""
src=
"../../assets/home/third.png"
/>
<div>
法院业务
</div>
</div>
<div
style=
"font-size:12px;color: #999999;"
>
<div
@
click=
"toMorelist(130)"
style=
"font-size:12px;color: #999999;"
>
<span>
MORE>
</span>
</div>
</div>
...
...
@@ -479,7 +480,7 @@
<img
class=
"mr-5 gong-icon"
style=
""
src=
"../../assets/home/fourth.png"
/>
<div>
干警作品
</div>
</div>
<div
style=
"font-size:12px;color: #999999;"
>
<div
@
click=
"toMorelist(135)"
style=
"font-size:12px;color: #999999;"
>
<span>
MORE>
</span>
</div>
</div>
...
...
@@ -1137,7 +1138,7 @@ export default {
],
WorkButton
:[{
boardName
:
'全部'
,
boardId
:
''
,
boardId
:
'
1929
'
,
}],
videoLiet
:[],
whole
:[],
...
...
@@ -1222,7 +1223,7 @@ export default {
}
else
{
getSubLevelBoard
({
boardId
:
1929
,}).
then
(
res
=>
{
this
.
WorkButton
=
[{
boardName
:
'全部'
}]
this
.
WorkButton
=
[{
boardName
:
'全部'
,
boardId
:
1929
}]
res
.
data
.
forEach
(
item
=>
{
this
.
WorkButton
.
push
(
item
)
});
...
...
@@ -1242,6 +1243,16 @@ export default {
this
.
tableData
=
res
.
data
.
newsList
.
records
})
},
// 跳转到更所模块
toMorelist
(
boardId
){
this
.
$router
.
push
({
path
:
"/list"
,
//跳转路由
query
:
{
//参数对象
boardId
:
boardId
,
},
});
}
},
}
...
...
src/views/layout/menu.vue
View file @
02643229
...
...
@@ -347,74 +347,6 @@ export default {
meta
:
{
title
:
"信息发布系统"
},
},
],
// configNav: [
// {
// name: "首页",
// path: "/homePage",
// },
// {
// name: "法院新闻",
// path: "/news",
// subItems: [
// { link: "/education", text: "教学管理系统" },
// { link: "/yingxiaozhaosheng", text: "营销招生系统" },
// { link: "", text: "视频直播系统" },
// { link: "", text: "个性化定制服务" },
// ],
// },
// {
// name: "工作信息",
// path: "/show",
// },
// {
// name: "法院业务",
// path: "/aboutour",
// },
// {
// name: "干警作品",
// path: "/aboutour",
// },
// {
// name: "娱乐",
// path: "/aboutour",
// },
// {
// name: "全区法院",
// path: "/aboutour",
// },
// {
// name: "信息发布系统",
// path: "/aboutour",
// },
// ],
// list: [
// {
// id: "1",
// menuName: "项目管理",
// childTree: [
// {
// menuName: "项目进度",
// childTree: [
// {
// menuName: "项目一",
// childTree: [{ menuName: "详细信息" }],
// },
// ],
// },
// {
// menuName: "任务安排",
// },
// ],
// },
// {
// id: "2",
// menuName: "数据统计",
// },
// {
// id: "3",
// menuName: "人员管理",
// },
// ],
};
},
computed
:
{
...
...
@@ -464,10 +396,18 @@ export default {
path
:
item
.
path
,
//跳转路由
});
}
}
else
{
this
.
$router
.
push
({
}
else
if
(
item
.
name
==
"homePage"
||
item
.
name
==
"news"
)
{
this
.
$router
.
push
({
path
:
item
.
path
,
//跳转路由
});
}
else
{
this
.
$router
.
push
({
path
:
"/list"
,
//跳转路由
query
:
{
//参数对象
boardId
:
item
.
boardId
,
},
});
}
},
// 点击子栏目--跳转到列表
...
...
src/views/list/index.vue
View file @
02643229
...
...
@@ -17,21 +17,23 @@
<el-row
class=
"mt-20"
:gutter=
"20"
>
<!--左边栏目开始-->
<el-col
:span=
"5"
>
<div
class=
"list-container"
style=
""
>
<div
class=
"list-container"
>
<div
class=
"list-title mb-10"
style=
""
>
按分类查看
</div>
<!--
<ul
class=
"type-list"
>
<li><a
href=
"#"
>
最高法通报
</a></li>
<li><a
href=
"#"
>
最高人民法院简报
</a></li>
</ul>
-->
<!--
<el-tree
:data=
"dataTreeFile"
:props=
"defaultProps"
></el-tree>
-->
<el-tree
:data=
"dataTreeFile"
:props=
"defaultProps"
@
node-click=
"handleNodeClick"
></el-tree>
<div
style=
"height: 65vh;over-flow:hidden;overflow:auto;"
>
<el-tree
:data=
"dataTreeFile"
:props=
"defaultProps"
@
node-click=
"handleNodeClick"
></el-tree>
</div>
</div>
</el-col>
<!--左边栏目结束-->
<el-col
:span=
"19"
>
<div
class=
"zone-style"
>
<div
style=
"
min-height: 76vh
"
>
<div
style=
"
height: 66vh;over-flow:hidden;overflow:auto;
"
>
<div
style=
""
>
<span>
当前位置:
</span>
<!--
<el-breadcrumb
style=
"display:inline-block;"
separator-class=
"el-icon-arrow-right"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment