123456789101112131415161718192021222324252627282930313233343536373839 |
- var url = CMS_SystemConfig.VirtualDirectoryPath + "/StudentRecord/Edit";
- $(function () {
- mnu = $.SystemGeneral.getUrlParam("MNU");
- });
- function reload() {
- $("#dgStudentList").cmsXDataTable("load", $.getDataGridParams("dgStudentList"));
- }
- //修改
- function StudentPersonal_Edit() {
- var d = $("#UserID").val();
- var redirectTo = url + '?MNU=' + mnu;
- $.postWithLoading(CMS_SystemConfig.VirtualDirectoryPath + '/StudentRecord/ProofreadIsOpen', { userID: d }, function (data) {
- if (data == "Open") {
- $.popupTopWindow('个人信息修改', redirectTo, 1000, 800, null, null);
- } else {
- $.messager.alert("系统提示", data);
- }
- });
-
- }
- //核对
- function StudentPersonal_Check() {
- var d = $("#UserID").val();
- $.messager.confirm("系统提示", "是否确定信息无误?", function (r) {
- if (r) {
- $.postWithLoading(CMS_SystemConfig.VirtualDirectoryPath + '/StudentRecord/IsOK', { userID: d }, function (data) {
- if (data == "核对成功。") {
- $.messager.alert("系统提示", data);
- } else {
- $.messager.alert("系统提示", data);
- }
- });
- }
- });
- }
|