From bdaeecec64a0c63c4c1669ee698a0de00480fce3 Mon Sep 17 00:00:00 2001 From: liangkun Date: Thu, 19 Aug 2021 17:33:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9h5=E8=BA=AB=E4=BB=BD=E8=AF=81?= =?UTF-8?q?=E9=A6=96=E6=AC=A1=E7=99=BB=E9=99=86=E4=BF=AE=E6=94=B9=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E5=90=8E=E8=B7=B3=E8=BD=AC=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BF=A1=E6=81=AF=E9=A1=B5=E9=9D=A2=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E5=88=B7=E6=96=B0=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.Mobile/www/pages/welcome/welcome.js | 7 ++++++- .../www/pages/workspace/workspace.html | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) 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 = '';