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
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
17 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'
...
@@ -10,7 +10,6 @@ import Department from '@/views/department'
Vue
.
use
(
Router
)
Vue
.
use
(
Router
)
const
routers
=
[
const
routers
=
[
{
path
:
'/'
,
redirect
:
{
name
:
'menu'
}
},
{
name
:
'menu'
,
path
:
'/menu'
,
component
:
Menu
},
{
name
:
'menu'
,
path
:
'/menu'
,
component
:
Menu
},
{
name
:
'user'
,
path
:
'/user'
,
component
:
User
},
{
name
:
'user'
,
path
:
'/user'
,
component
:
User
},
{
name
:
'role'
,
path
:
'/role'
,
component
:
Role
},
{
name
:
'role'
,
path
:
'/role'
,
component
:
Role
},
...
...
src/views/menu/index.vue
View file @
ee55be3
<!-- menuManagement -->
<!-- menuManagement -->
<
template
>
<
template
>
<div>
menuManagement
<div>
menuManagement
</div>
<hr>
{{
session
}}
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'menu'
,
name
:
'menu
MG
'
,
data
()
{
data
()
{
return
{
return
{
session
:
this
.
$get_session_config
()
}
}
}
}
}
}
...
...
src/views/role/index.vue
View file @
ee55be3
<!-- roleManagement -->
<!-- roleManagement -->
<
template
>
<
template
>
<div>
<div>
<gl-input
<gl-input
placeholder=
"请输入角色名称"
v-model=
"roleName"
clearable
>
size=
"medium "
placeholder=
"请输入角色名称"
v-model=
"roleName"
clearable
>
</gl-input>
</gl-input>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'role'
,
name
:
'role'
,
data
()
{
data
()
{
return
{
return
{
roleName
:
''
roleName
:
''
}
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
gl-input__innner
{
width
:
30%
;
}
</
style
>
</
style
>
src/views/user/index.vue
View file @
ee55be3
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'user'
,
name
:
'user'
,
data
()
{
data
()
{
return
{
return
{
}
}
}
}
...
...
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