|
|
@ -6,10 +6,6 @@ $("#form-user-edit").validate({
|
|
|
|
deptName:{
|
|
|
|
deptName:{
|
|
|
|
required:true,
|
|
|
|
required:true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
password:{
|
|
|
|
|
|
|
|
required:true,
|
|
|
|
|
|
|
|
minlength: 6
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
email:{
|
|
|
|
email:{
|
|
|
|
required:true,
|
|
|
|
required:true,
|
|
|
|
email:true
|
|
|
|
email:true
|
|
|
@ -27,7 +23,6 @@ function update() {
|
|
|
|
var userId = $("input[name='userId']").val();
|
|
|
|
var userId = $("input[name='userId']").val();
|
|
|
|
var deptId = $("input[name='deptId']").val();
|
|
|
|
var deptId = $("input[name='deptId']").val();
|
|
|
|
var userName = $("input[name='userName']").val();
|
|
|
|
var userName = $("input[name='userName']").val();
|
|
|
|
var password = $("input[name='password']").val();
|
|
|
|
|
|
|
|
var email = $("input[name='email']").val();
|
|
|
|
var email = $("input[name='email']").val();
|
|
|
|
var phonenumber = $("input[name='phonenumber']").val();
|
|
|
|
var phonenumber = $("input[name='phonenumber']").val();
|
|
|
|
var sex = $("input[name='sex']:checked").val();
|
|
|
|
var sex = $("input[name='sex']:checked").val();
|
|
|
@ -42,7 +37,6 @@ function update() {
|
|
|
|
"userId": userId,
|
|
|
|
"userId": userId,
|
|
|
|
"deptId": deptId,
|
|
|
|
"deptId": deptId,
|
|
|
|
"userName": userName,
|
|
|
|
"userName": userName,
|
|
|
|
"password": password,
|
|
|
|
|
|
|
|
"email": email,
|
|
|
|
"email": email,
|
|
|
|
"phonenumber": phonenumber,
|
|
|
|
"phonenumber": phonenumber,
|
|
|
|
"sex": sex,
|
|
|
|
"sex": sex,
|
|
|
|