Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
contractmanage
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
contractmanage
Commits
e5bd749f
Commit
e5bd749f
authored
Mar 03, 2022
by
shenyanpei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据字典页面调整,项目页面调整
parent
acaaa8a0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
16 deletions
+28
-16
index.vue
src/layout/components/Sidebar/index.vue
+3
-5
index.js
src/router/index.js
+2
-2
index.vue
src/views/dataDictionary/index.vue
+22
-8
index.vue
src/views/personnel/index.vue
+1
-1
No files found.
src/layout/components/Sidebar/index.vue
View file @
e5bd749f
...
...
@@ -22,19 +22,17 @@
<template
slot=
"title"
>
<span>
{{
item
.
meta
.
title
}}
</span>
</
template
>
<el-menu-item-group>
<
template
v-for=
"(children, childrenIndex) in item.children"
>
<
template
v-for=
"(children, childrenIndex) in item.children"
>
<el-menu-item
v-if=
"!children.hidden"
:key=
"childrenIndex"
:index=
"childrenIndex.toString()"
style=
"text-align:
center
;"
style=
"text-align:
left
;"
@
click=
"handleSelect(children.path)"
>
{{
children
.
meta
.
title
}}
</el-menu-item>
</
template
>
</el-menu-item-group>
</el-submenu>
</template>
...
...
@@ -356,7 +354,7 @@ export default {
component
:
()
=>
import
(
'@/views/userInfo/index'
)
},
{
path
:
'
journal/manage/list
'
,
path
:
'
/journalManage/index
'
,
name
:
'journalManageList'
.
toLocaleUpperCase
(),
meta
:
{
title
:
'日志管理'
},
component
:
()
=>
import
(
'@/views/journalManage/index'
)
...
...
src/router/index.js
View file @
e5bd749f
...
...
@@ -245,8 +245,8 @@ export const constantRoutes = [
component
:
()
=>
import
(
'@/layout/index'
),
children
:
[
{
path
:
'
journal/manage/list
'
,
name
:
'
journalManage
List'
.
toLocaleUpperCase
(),
path
:
'
/journalManage/index
'
,
name
:
'
Admin
List'
.
toLocaleUpperCase
(),
meta
:
{
title
:
'日志管理'
},
component
:
()
=>
import
(
'@/views/journalManage/index'
)
}
...
...
src/views/dataDictionary/index.vue
View file @
e5bd749f
...
...
@@ -6,16 +6,33 @@
<el-row>
<el-col
:span=
"8"
>
<el-scrollbar>
<el-menu
:default-active=
"activeIndex"
>
<el-menu
:default-active=
"activeIndex"
>
<el-menu-item
v-for=
"(item, index) in dictTypeList"
@
click=
"handleSelect(item)"
:key=
"index"
:index=
"index.toString()"
>
<el-tooltip
v-if=
"item.dictTypeName.length > 30"
class=
"item"
effect=
"dark"
:content=
"item.dictTypeName"
placement=
"top-start"
>
<span>
{{
item
.
dictType
}}
{{
item
.
dictTypeName
.
slice
(
0
,
20
)
+
'...'
}}
</span>
<el-tooltip
v-if=
"item.dictTypeName.length > 30"
effect=
"dark"
:content=
"item.dictTypeName"
placement=
"top-start"
>
<el-row>
<el-col
:span=
"8"
>
{{
item
.
dictType
}}
</el-col>
<el-col
:span=
"15"
>
{{
item
.
dictTypeName
.
slice
(
0
,
15
)
+
'...'
}}
</el-col>
</el-row>
</el-tooltip>
<span
v-else
>
{{
item
.
dictType
}}
{{
item
.
dictTypeName
}}
</span>
<span
v-else
>
<el-row>
<el-col
:span=
"8"
>
{{
item
.
dictType
}}
</el-col>
<el-col
:span=
"15"
>
{{
item
.
dictTypeName
}}
</el-col>
</el-row>
</span>
</el-menu-item>
</el-menu>
</el-scrollbar>
...
...
@@ -23,7 +40,7 @@
<el-col
:span=
"16"
style=
"padding: 10px"
>
<div
class=
"topTitle"
>
<span>
字典编码:
{{
dictType
}}
</span>
<span
style=
"
padding-left: 1
0px"
>
字典名称:
{{
dictTypeName
}}
</span>
<span
style=
"
margin-left: 8
0px"
>
字典名称:
{{
dictTypeName
}}
</span>
</div>
<el-table
:data=
"dictTypeData.slice((currentPage - 1) * pageSize, currentPage * pageSize )"
border
>
<el-table-column
label=
"序号"
align=
"center"
type=
"index"
width=
"55"
/>
...
...
@@ -104,9 +121,6 @@ export default {
border-bottom
:
14px
solid
#f4f4f4
;
}
.dictContent
{
.el-menu-item
{
height
:
40px
;
}
.el-scrollbar
{
overflow
:
hidden
;
height
:
calc
(
90vh
-
50px
);
...
...
src/views/personnel/index.vue
View file @
e5bd749f
...
...
@@ -48,7 +48,7 @@
<el-dialog
title=
"人员情况信息"
:visible
.
sync=
"dialogVisible"
width=
"
70
%"
width=
"
85
%"
:before-close=
"handleClose"
>
<div
class=
"dialogQuery"
>
<el-form
ref=
"dialogForm"
:model=
"dialogForm"
label-width=
"auto"
>
...
...
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