Bläddra i källkod

【修改】办理离校手续:每个页面取消按钮的优化;

临城职教中职
dyy 2 år sedan
förälder
incheckning
3288bf8d94
7 ändrade filer med 42 tillägg och 0 borttagningar
  1. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCardDeregistrate.js
  2. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCheckOut.js
  3. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceive.js
  4. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateEmployAgree.js
  5. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFeeSettle.js
  6. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFileTransfer.js
  7. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateReturnBooks.js

+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCardDeregistrate.js Visa fil

@@ -67,7 +67,13 @@ var bootstrap = function ($, learun) {
//取消校园卡注销
$('#lr_cancelcardderegistrate').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('StuId');
var CardDeregistrateStatus = $('#gridtable').jfGridValue('CardDeregistrateStatus');
if (learun.checkrow(keyValue)) {
for (var i = 0; i < CardDeregistrateStatus.split(',').length; i++) {
if (CardDeregistrateStatus.split(',')[i] != 1) {
return learun.alert.warning("选中项包括未注销数据!");
}
}
learun.layerConfirm('是否确认取消注销校园卡!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/IsCardDeregistrate', { keyValue: keyValue, status: '0' }, function () {


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateCheckOut.js Visa fil

@@ -67,7 +67,13 @@ var bootstrap = function ($, learun) {
//取消办理退住手续
$('#lr_cancelcheckout').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('StuId');
var CheckOutStatus = $('#gridtable').jfGridValue('CheckOutStatus');
if (learun.checkrow(keyValue)) {
for (var i = 0; i < CheckOutStatus.split(',').length; i++) {
if (CheckOutStatus.split(',')[i] != 1) {
return learun.alert.warning("选中项包括未办理退住数据!");
}
}
learun.layerConfirm('是否确认取消办理退住手续!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/IsCheckOut', { keyValue: keyValue, status: '0' }, function () {


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateDiplomaReceive.js Visa fil

@@ -67,7 +67,13 @@ var bootstrap = function ($, learun) {
//取消毕业证领取
$('#lr_cancelgetcard').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('StuId');
var DiplomaReceiveStatus = $('#gridtable').jfGridValue('DiplomaReceiveStatus');
if (learun.checkrow(keyValue)) {
for (var i = 0; i < DiplomaReceiveStatus.split(',').length; i++) {
if (DiplomaReceiveStatus.split(',')[i] != 1) {
return learun.alert.warning("选中项包括未领取数据!");
}
}
learun.layerConfirm('是否确认取消领取毕业证!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/GetCard', { keyValue: keyValue, status: '0' }, function () {


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateEmployAgree.js Visa fil

@@ -67,7 +67,13 @@ var bootstrap = function ($, learun) {
//取消就业协议备案
$('#lr_cancelemployagree').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('StuId');
var EmployAgreeStatus = $('#gridtable').jfGridValue('EmployAgreeStatus');
if (learun.checkrow(keyValue)) {
for (var i = 0; i < EmployAgreeStatus.split(',').length; i++) {
if (EmployAgreeStatus.split(',')[i] != 1) {
return learun.alert.warning("选中项包括未备案数据!");
}
}
learun.layerConfirm('是否确认取消备案就业协议!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/IsEmployAgree', { keyValue: keyValue, status: '0' }, function () {


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFeeSettle.js Visa fil

@@ -67,7 +67,13 @@ var bootstrap = function ($, learun) {
//取消学杂费结算
$('#lr_cancelfeesettle').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('StuId');
var FeeSettleStatus = $('#gridtable').jfGridValue('FeeSettleStatus');
if (learun.checkrow(keyValue)) {
for (var i = 0; i < FeeSettleStatus.split(',').length; i++) {
if (FeeSettleStatus.split(',')[i] != 1) {
return learun.alert.warning("选中项包括未结算数据!");
}
}
learun.layerConfirm('是否确认取消结算学杂费!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/IsFeeSettle', { keyValue: keyValue, status: '0' }, function () {


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateFileTransfer.js Visa fil

@@ -67,7 +67,13 @@ var bootstrap = function ($, learun) {
//取消档案与组织关系转出
$('#lr_cancelfiletransfer').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('StuId');
var FileTransferStatus = $('#gridtable').jfGridValue('FileTransferStatus');
if (learun.checkrow(keyValue)) {
for (var i = 0; i < FileTransferStatus.split(',').length; i++) {
if (FileTransferStatus.split(',')[i] != 1) {
return learun.alert.warning("选中项包括未转出数据!");
}
}
learun.layerConfirm('是否确认取消转出档案与组织关系!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/IsFileTransfer', { keyValue: keyValue, status: '0' }, function () {


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/GraduateReturnBooks.js Visa fil

@@ -67,7 +67,13 @@ var bootstrap = function ($, learun) {
//取消图书资料归还
$('#lr_cancelreturnbooks').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('StuId');
var ReturnBooksStatus = $('#gridtable').jfGridValue('ReturnBooksStatus');
if (learun.checkrow(keyValue)) {
for (var i = 0; i < ReturnBooksStatus.split(',').length; i++) {
if (ReturnBooksStatus.split(',')[i] != 1) {
return learun.alert.warning("选中项包括未归还数据!");
}
}
learun.layerConfirm('是否确认取消归还图书资料!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/EducationalAdministration/StuInfoBasic/IsReturnBooks', { keyValue: keyValue, status: '0' }, function () {


Laddar…
Avbryt
Spara