Browse Source

H5端自动跳转二维码界面

新疆影视学院高职
liangkun 3 years ago
parent
commit
dc0e700130
2 changed files with 9 additions and 6 deletions
  1. +8
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/RegisterQRCode/RegisterQRCode.js
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/StudentLoan/StudentLoan.js

+ 8
- 5
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/RegisterQRCode/RegisterQRCode.js View File

@@ -29,11 +29,14 @@
return false; return false;
} }
if (entity.PayFeeStatus != "1" && entity.StudentLoanStatus != "1" && entity.OnsitePayFeeStatus != "1") { if (entity.PayFeeStatus != "1" && entity.StudentLoanStatus != "1" && entity.OnsitePayFeeStatus != "1") {
learun.layer.loading(false);
learun.layer.confirm('新生未缴费,无法报到!', function (_index) {
learun.nav.closeCurrent();
}, '智慧校园提示', ['确定']);
return false;
if(!entity.StudentLoanBLStatus)
{
learun.layer.loading(false);
learun.layer.confirm('新生未缴费且未设置贷款状态,无法报到!', function (_index) {
learun.nav.closeCurrent();
}, '智慧校园提示', ['确定']);
return false;
}
} }


//学生 //学生


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/StudentLoan/StudentLoan.js View File

@@ -45,6 +45,7 @@
learun.layer.toast('保存成功'); learun.layer.toast('保存成功');
setTimeout(function () { setTimeout(function () {
learun.nav.closeCurrent(); learun.nav.closeCurrent();
learun.nav.go({ path: '/EducationalAdministration/StuInfoFresh/RegisterQRCode', title: '生成报到二维码', isBack: true, isHead: true, param: {}, type: 'right' });
}, 2000); }, 2000);
} }
}); });
@@ -53,7 +54,6 @@


}, },
bind: function ($page) { bind: function ($page) {
console.log($page.find('#StudentLoanBLStatus'));
$page.find('#StudentLoanBLStatus').lrpickerex({ $page.find('#StudentLoanBLStatus').lrpickerex({
code: 'StudentLoanBLStatus', code: 'StudentLoanBLStatus',
type:'dataItem' type:'dataItem'


Loading…
Cancel
Save