Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
authority
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ee55be3c
authored
Aug 30, 2018
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
create
1 parent
48ab46c4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
19 deletions
src/router/index.js
src/views/menu/index.vue
src/views/role/index.vue
src/views/user/index.vue
src/router/index.js
View file @
ee55be3
...
...
@@ -10,7 +10,6 @@ import Department from '@/views/department'
Vue
.
use
(
Router
)
const
routers
=
[
{
path
:
'/'
,
redirect
:
{
name
:
'menu'
}
},
{
name
:
'menu'
,
path
:
'/menu'
,
component
:
Menu
},
{
name
:
'user'
,
path
:
'/user'
,
component
:
User
},
{
name
:
'role'
,
path
:
'/role'
,
component
:
Role
},
...
...
src/views/menu/index.vue
View file @
ee55be3
<!-- menuManagement -->
<
template
>
<div>
menuManagement
<hr>
{{
session
}}
</div>
<div>
menuManagement
</div>
</
template
>
<
script
>
export
default
{
name
:
'menu'
,
name
:
'menu
MG
'
,
data
()
{
return
{
session
:
this
.
$get_session_config
()
}
}
}
...
...
src/views/role/index.vue
View file @
ee55be3
<!-- roleManagement -->
<
template
>
<div>
<gl-input
size=
"medium "
placeholder=
"请输入角色名称"
v-model=
"roleName"
clearable
>
<gl-input
placeholder=
"请输入角色名称"
v-model=
"roleName"
clearable
>
</gl-input>
</div>
</
template
>
<
script
>
export
default
{
name
:
'role'
,
data
()
{
name
:
'role'
,
data
()
{
return
{
roleName
:
''
roleName
:
''
}
}
}
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
gl-input__innner
{
width
:
30%
;
}
</
style
>
src/views/user/index.vue
View file @
ee55be3
...
...
@@ -5,12 +5,12 @@
<
script
>
export
default
{
name
:
'user'
,
data
()
{
name
:
'user'
,
data
()
{
return
{
}
}
}
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
</
style
>
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