|
|
@ -1,9 +1,3 @@
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
<html xmlns:th="http://www.thymeleaf.org"
|
|
|
|
|
|
|
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
|
|
|
|
|
|
|
layout:decorate="~{layout/layout}">
|
|
|
|
|
|
|
|
<th:block layout:fragment="content">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>사용자관리</title>
|
|
|
|
<title>사용자관리</title>
|
|
|
@ -343,7 +337,7 @@
|
|
|
|
contentType: "application/json; charset=utf-8",
|
|
|
|
contentType: "application/json; charset=utf-8",
|
|
|
|
datatype: "JSON",
|
|
|
|
datatype: "JSON",
|
|
|
|
async: false,
|
|
|
|
async: false,
|
|
|
|
url: '/adm/menu/oprmng'+ "?serviceType=M",
|
|
|
|
url: '/adm/menu/oprmng' + "?serviceType=M",
|
|
|
|
success: function (data) {
|
|
|
|
success: function (data) {
|
|
|
|
// console.log(JSON.stringify(data));
|
|
|
|
// console.log(JSON.stringify(data));
|
|
|
|
data.forEach(function (e, f) {
|
|
|
|
data.forEach(function (e, f) {
|
|
|
@ -384,14 +378,14 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
;
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
function SelectServiceGroupUpdate(custCode){
|
|
|
|
function SelectServiceGroupUpdate(custCode) {
|
|
|
|
var html1 = '';
|
|
|
|
var html1 = '';
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
type: "GET",
|
|
|
|
type: "GET",
|
|
|
|
contentType: "application/json; charset=utf-8",
|
|
|
|
contentType: "application/json; charset=utf-8",
|
|
|
|
datatype: "JSON",
|
|
|
|
datatype: "JSON",
|
|
|
|
async: false,
|
|
|
|
async: false,
|
|
|
|
url: '/admin/common/system/userAdmin/service/select' + "?custCode="+custCode,
|
|
|
|
url: '/admin/common/system/userAdmin/service/select' + "?custCode=" + custCode,
|
|
|
|
success: function (data) {
|
|
|
|
success: function (data) {
|
|
|
|
// console.log(JSON.stringify(data));
|
|
|
|
// console.log(JSON.stringify(data));
|
|
|
|
data.forEach(function (e, f) {
|
|
|
|
data.forEach(function (e, f) {
|
|
|
@ -458,11 +452,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
var reg = /(?=.*?[A-Za-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{10,}$/;
|
|
|
|
var reg = /(?=.*?[A-Za-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{10,}$/;
|
|
|
|
|
|
|
|
|
|
|
|
if(text2.length > 7){
|
|
|
|
if (text2.length > 7) {
|
|
|
|
if (text1 === text2) {
|
|
|
|
if (text1 === text2) {
|
|
|
|
$('#passDoubleCheckUi').html(htmlY)
|
|
|
|
$('#passDoubleCheckUi').html(htmlY)
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
else {
|
|
|
|
|
|
|
|
$('#passDoubleCheckUi').html(htmlN)
|
|
|
|
$('#passDoubleCheckUi').html(htmlN)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -470,19 +463,15 @@
|
|
|
|
if (text1.length < 10 || text1.length > 20) {
|
|
|
|
if (text1.length < 10 || text1.length > 20) {
|
|
|
|
$('#passCheckUi').html(htmlN)
|
|
|
|
$('#passCheckUi').html(htmlN)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
} else if (text1.search(/\s/) != -1) {
|
|
|
|
else if (text1.search(/\s/) != -1) {
|
|
|
|
|
|
|
|
$('#passCheckUi').html(htmlN)
|
|
|
|
$('#passCheckUi').html(htmlN)
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
} else if (false === reg.test(text1)) {
|
|
|
|
else if (false === reg.test(text1)) {
|
|
|
|
|
|
|
|
$('#passCheckUi').html(regDesc)
|
|
|
|
$('#passCheckUi').html(regDesc)
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
} else if ($('#newUserPassDoubleChkVal').val() == "Y") {
|
|
|
|
else if ($('#newUserPassDoubleChkVal').val() == "Y") {
|
|
|
|
|
|
|
|
newUserDoublePassCheck()
|
|
|
|
newUserDoublePassCheck()
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
else {
|
|
|
|
|
|
|
|
$('#passCheckUi').html(htmlY)
|
|
|
|
$('#passCheckUi').html(htmlY)
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -724,7 +713,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
</th:block>
|
|
|
|
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|