|
|
|
@ -79,24 +79,15 @@
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "/QingLong/hk/getStudentInfo",
|
|
|
|
|
url: "/QingLong/base/getPersonInfo",
|
|
|
|
|
async: false,
|
|
|
|
|
type: 'GET',
|
|
|
|
|
success: function (result) {
|
|
|
|
|
if (result.success) {
|
|
|
|
|
$("#tel").val(result.data.telephone);
|
|
|
|
|
$("#email").val(result.data.email);
|
|
|
|
|
} else {
|
|
|
|
|
layer.msg(result.message, {
|
|
|
|
|
icon: 2,
|
|
|
|
|
time: 2000
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
$("#tel").val(result.telephone);
|
|
|
|
|
$("#email").val(result.email);
|
|
|
|
|
|
|
|
|
|
}, error: function (xhr, status, error) {
|
|
|
|
|
layer.msg("获取学生信息异常!", {
|
|
|
|
|
layer.msg("获取联系方式异常!", {
|
|
|
|
|
icon: 2,
|
|
|
|
|
time: 1000
|
|
|
|
|
});
|
|
|
|
@ -106,7 +97,7 @@
|
|
|
|
|
|
|
|
|
|
form.on('submit(save)', function (data) {
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: '/QingLong/loginPerson/changePwd',
|
|
|
|
|
url: '/QingLong/loginPerson/updateTelephoneEmail',
|
|
|
|
|
data: data.field,
|
|
|
|
|
type: 'post',
|
|
|
|
|
success: function (result) {
|
|
|
|
@ -115,8 +106,7 @@
|
|
|
|
|
icon: 1,
|
|
|
|
|
time: 1300
|
|
|
|
|
}, function () {
|
|
|
|
|
parent.layer.close(parent.layer.getFrameIndex(window.name));
|
|
|
|
|
// parent.layui.table.reload("global-table");
|
|
|
|
|
parent.layer.close(parent.layer.getFrameIndex(window.name));
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
layer.msg(result.message, {
|
|
|
|
|