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
91e3a1bb
Commit
91e3a1bb
authored
Jun 16, 2017
by
naan1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改角色详情对话框的formid
parent
4e74f071
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
src/main/webapp/WEB-INF/view/system/role/role_add.html
+1
-1
src/main/webapp/WEB-INF/view/system/role/role_edit.html
+1
-1
src/main/webapp/static/modular/system/role/role_info.js
+4
-4
No files found.
src/main/webapp/WEB-INF/view/system/role/role_add.html
View file @
91e3a1bb
@layout("/common/_container.html"){
@layout("/common/_container.html"){
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-content"
>
<div
class=
"ibox-content"
>
<div
class=
"form-horizontal"
id=
"
validate
Form"
>
<div
class=
"form-horizontal"
id=
"
roleInfo
Form"
>
<input
type=
"hidden"
id=
"id"
value=
""
>
<input
type=
"hidden"
id=
"id"
value=
""
>
...
...
src/main/webapp/WEB-INF/view/system/role/role_edit.html
View file @
91e3a1bb
@layout("/common/_container.html"){
@layout("/common/_container.html"){
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-content"
>
<div
class=
"ibox-content"
>
<div
class=
"form-horizontal"
>
<div
class=
"form-horizontal"
id=
"roleInfoForm"
>
<input
type=
"hidden"
id=
"id"
value=
"${role.id}"
>
<input
type=
"hidden"
id=
"id"
value=
"${role.id}"
>
...
...
src/main/webapp/static/modular/system/role/role_info.js
View file @
91e3a1bb
...
@@ -120,9 +120,9 @@ RolInfoDlg.collectData = function () {
...
@@ -120,9 +120,9 @@ RolInfoDlg.collectData = function () {
* 验证数据是否为空
* 验证数据是否为空
*/
*/
RolInfoDlg
.
validate
=
function
()
{
RolInfoDlg
.
validate
=
function
()
{
$
(
'#
validate
Form'
).
data
(
"bootstrapValidator"
).
resetForm
();
$
(
'#
roleInfo
Form'
).
data
(
"bootstrapValidator"
).
resetForm
();
$
(
'#
validate
Form'
).
bootstrapValidator
(
'validate'
);
$
(
'#
roleInfo
Form'
).
bootstrapValidator
(
'validate'
);
return
$
(
"#
validate
Form"
).
data
(
'bootstrapValidator'
).
isValid
();
return
$
(
"#
roleInfo
Form"
).
data
(
'bootstrapValidator'
).
isValid
();
};
};
/**
/**
...
@@ -174,7 +174,7 @@ RolInfoDlg.editSubmit = function () {
...
@@ -174,7 +174,7 @@ RolInfoDlg.editSubmit = function () {
};
};
$
(
function
()
{
$
(
function
()
{
Feng
.
initValidator
(
"
validate
Form"
,
RolInfoDlg
.
validateFields
);
Feng
.
initValidator
(
"
roleInfo
Form"
,
RolInfoDlg
.
validateFields
);
var
deptTree
=
new
$ZTree
(
"deptTree"
,
"/dept/tree"
);
var
deptTree
=
new
$ZTree
(
"deptTree"
,
"/dept/tree"
);
deptTree
.
bindOnClick
(
RolInfoDlg
.
onClickDept
);
deptTree
.
bindOnClick
(
RolInfoDlg
.
onClickDept
);
...
...
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