Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
project_progress
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3c9ba028
authored
Aug 05, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整二级菜单
1 parent
98ff95ba
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
21 deletions
src/utils/leftBarRules.js
src/views/assessZC/projectView.vue
src/views/layout/index.vue
src/views/layout/leftBar.vue
src/utils/leftBarRules.js
View file @
3c9ba02
...
...
@@ -184,25 +184,26 @@ export function trendsRules(type) {
break
case
99
:
return
[
// {
// name: "首页",
// url: "/mainLayout/mianHome",
// children: [
// {
// name: "首页首页",
// url: "mainLayout/mianHome",
// // children: [
// // {
// // name: "自查评估批次发起",
// // url: "mainLayout/mianHome",
// // children: [],
// // },
// // ]
// }
{
name
:
"项目档案库"
,
url
:
"/mainLayout/mianHome"
,
erji
:
'二级'
// children: [
// {
// // name: "首页首页",
// // url: "mainLayout/mianHome",
// children: [
// {
// name: "首页首页",
// url: "mainLayout/mianHome",
// children: [],
// },
// ]
// }
//
]
//
]
//
},
},
{
name
:
"后评估检查"
,
url
:
""
,
...
...
src/views/assessZC/projectView.vue
View file @
3c9ba02
...
...
@@ -153,7 +153,7 @@
<el-table-column
label=
"操作"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"upload(scope.row)"
type=
"text"
size=
"small"
>
详情
</el-button
>
操作
</el-button
>
<!--
<el-button
@
click=
"changeLX(scope.row)"
type=
"text"
size=
"small"
v-if=
"scope.row.projectType"
>
更换项目类型
</el-button
...
...
src/views/layout/index.vue
View file @
3c9ba02
<
template
>
<div
class=
"mian"
>
<div
class=
"head-container"
>
<
!--
<
div
class=
"head-container"
>
<div
class=
"logo"
style=
"z-index: 10"
>
<div
class=
"logo-inner"
>
<img
src=
"../../assets/logo.png"
alt=
""
/>
...
...
@@ -46,7 +46,7 @@
</div>
</div>
</div>
</div>
</div>
-->
<router-view></router-view>
<!--
<MainLayout
class=
"continer"
>
<router-view></router-view>
...
...
src/views/layout/leftBar.vue
View file @
3c9ba02
...
...
@@ -11,17 +11,19 @@
ref=
"kzMenu"
>
<el-menu-item
index=
"/mainLayout/mianHome"
class=
"classmain"
><span
class=
""
></span>
首页
</el-menu-item>
<
el-menu-item
index=
"/assesszc/projectView"
class=
"classmain"
><span></span>
项目档案库
</el-menu-item
>
<
!--
<el-menu-item
index=
"/assesszc/projectView"
class=
"classmain"
><span></span>
项目知识文档库
</el-menu-item>
--
>
<el-submenu
v-for=
"(item, index) in menuList"
:key=
"index"
:index=
"index + ''"
class=
"submenu1"
>
<!--
<el-menu-item
index=
"/assesszc/projectView"
class=
"classmain"
><span></span>
项目档案库
</el-menu-item>
-->
<template
slot=
"title"
>
<span
class=
"iconfont treeIcon1"
>

</span>
<span>
{{
item
.
name
}}
</span>
</
template
>
<p
class=
"xiangmu"
>
<el-menu-item
index=
"/assesszc/projectView"
class=
"submenu3"
v-if=
"item.erji"
><span
class=
"title3"
></span>
项目知识文档库
</el-menu-item></p>
<el-submenu
v-for=
"(item2, index2) in item.children"
:key=
"index2"
...
...
@@ -344,6 +346,17 @@ export default {
background
:
rgba
(
99
,
164
,
166
,
0.6
);
color
:
#fff
;
}
.xiangmu
{
margin
:
0
;
}
.xiangmu
/
deep
/
.is-active
{
background
:
rgba
(
99
,
164
,
166
,
0.6
);
color
:
#fff
;
}
.xuanzhong
/
deep
/
.is-active
{
background
:
rgba
(
99
,
164
,
166
,
0.6
);
color
:
#fff
;
}
.menu-scrollbar
/
deep
/
.el-scrollbar__view
{
height
:
100%
;
/* 设置高度以填满父容器 */
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment