diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.js index a580dac62..202bae52e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/welcome/welcome.js @@ -118,6 +118,12 @@ data) => { //console.log('datadata',data); if (data) { + if(!data['StuInfoFreshEntity']) + { + learun.layer.loading(false); + learun.layer.toast('未查询到新生数据,请确认是否为新生。'); + return; + } //基本信息 for (var id in data['StuInfoFreshEntity']) { var dom = $('#' + id)[0]; @@ -260,7 +266,6 @@ learun.layer.loading(false); if (data) { learun.layer.toast('保存成功'); - location.reload(); } }); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/workspace.html b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/workspace.html index 9bf901e5d..a65cbfa5a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/workspace.html +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/workspace.html @@ -226,7 +226,7 @@ } if (learun.storage.get('isUpdStu') === true) { learun.storage.set('isUpdStu',null); - learun.nav.go({ path: 'login/IdCardLogin', title: '身份证登录', type: 'right' }); + learun.nav.go({ path: 'welcome', title: '完善信息', type: 'right' }); //learun.nav.go({ path: 'my/modifypassword', isBack: false, isHead: true, title:'修改密码' }); } var _html = '';