main
kgdxpr 1 year ago
parent afd9496de2
commit 18f51bbc36

@ -397,16 +397,21 @@
//调转申请
window.turnApplyFor = function (obj) {
var loginPersonInfo = getPersonLoginInfo($);
$.ajax({
type: "GET",
async: false,
url: '/QingLong/teacherYd/getPersonStatus?person_id=' + obj.data.person_id,
dataType: "json",
success: function (res) {
if (res.success) {
var loginPersonInfo = getPersonLoginInfo($);
var contentUrl = "";
if (loginPersonInfo.identity_id == "1") {
contentUrl = './turn_sys.html?person_id=' + obj.data.person_id;
} else {
contentUrl = './turn.html?person_id=' + obj.data.person_id;
}
layer.open({
type: 2,
title: '调转申请',
@ -420,6 +425,18 @@
table.reload("data-table");
}
});
} else {
layer.msg(res.message, {
icon: 2,
time: 2500
});
return;
}
}
});
}
//异动处理

Loading…
Cancel
Save