Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
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
chenjunxiong
guns-vip
Commits
6ab43fac
Commit
6ab43fac
authored
Nov 15, 2018
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
角色页面修改
parent
b3604aa8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
src/main/webapp/WEB-INF/system/role/role_edit.html
+5
-4
src/main/webapp/assets/modular/system/role/role_add.js
+3
-3
No files found.
src/main/webapp/WEB-INF/system/role/role_edit.html
View file @
6ab43fac
@layout("/common/_dialog.html",{plugins:["sweet-alert"],js:["/assets/modular/system/role/role_edit.js"]}){
@layout("/common/_dialog.html",{plugins:["sweet-alert"
,"layer"
],js:["/assets/modular/system/role/role_edit.js"]}){
<div
class=
"container-fluid"
>
<form
id=
"
user
Form"
\@
submit=
"submitForm"
>
<form
id=
"
role
Form"
\@
submit=
"submitForm"
>
<div
class=
"row"
>
<div
class=
"col-6"
>
<div
class=
"form-group"
>
...
...
@@ -12,13 +12,14 @@
<div
class=
"form-group"
>
<h5>
上级名称
<span
class=
"text-danger"
>
*
</span></h5>
<div
class=
"controls"
>
<input
v-model=
"pName"
type=
"text"
class=
"form-control"
>
<input
v-model=
"pName"
id=
"pName"
\@
click=
"showParentSelectTree"
type=
"text"
class=
"form-control"
autocomplete=
"off"
>
<input
v-model=
"pid"
type=
"hidden"
class=
"form-control"
>
</div>
</div>
<div
class=
"form-group"
>
<h5>
别名
<span
class=
"text-danger"
>
*
</span></h5>
<div
class=
"controls"
>
<input
v-model=
"tips"
type=
"
password
"
class=
"form-control"
>
<input
v-model=
"tips"
type=
"
text
"
class=
"form-control"
>
</div>
</div>
</div>
...
...
src/main/webapp/assets/modular/system/role/role_add.js
View file @
6ab43fac
...
...
@@ -75,7 +75,7 @@ $(function () {
layer
.
open
({
type
:
2
,
title
:
'部门选择'
,
area
:
[
'300px'
,
'
40
0px'
],
area
:
[
'300px'
,
'
32
0px'
],
content
:
Feng
.
ctxPath
+
'/system/commonTree?formName='
+
formName
+
"&formId="
+
formId
+
"&treeUrl="
+
treeUrl
});
},
...
...
@@ -86,8 +86,8 @@ $(function () {
layer
.
open
({
type
:
2
,
title
:
'
部门
选择'
,
area
:
[
'300px'
,
'
40
0px'
],
title
:
'
父级角色
选择'
,
area
:
[
'300px'
,
'
32
0px'
],
content
:
Feng
.
ctxPath
+
'/system/commonTree?formName='
+
formName
+
"&formId="
+
formId
+
"&treeUrl="
+
treeUrl
});
},
...
...
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