Browse Source

移动端新生首次登录成功并且修改密码完成跳转至“新生信息完善“

西昌缴费二期
zhangli 3 years ago
parent
commit
7fe0f7fc2c
2 changed files with 10 additions and 4 deletions
  1. +4
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/my/modifypasswordandnotice/modifypasswordandnotice.js
  2. +6
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/workspace.html

+ 4
- 3
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/my/modifypasswordandnotice/modifypasswordandnotice.js View File

@@ -1,4 +1,4 @@
(function () {
(function () {
var userinfo = null;
var page = {
isScroll: true,
@@ -31,9 +31,10 @@
learun.layer.loading(false);
if (data) {// 表单数据保存成功,发起流程
learun.layer.toast(info);
learun.storage.set('logininfo', null);
//learun.storage.set('logininfo', null);
learun.storage.set('pwdandnotice', false);
learun.nav.go({ path: 'login', isBack: false, isHead: false });
learun.storage.set('isUpdStu', true);
learun.nav.go({ path: 'workspace', isBack: false, isHead: false });
}
return false;
});


+ 6
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/workspace.html View File

@@ -1,4 +1,4 @@
<script type="text/javascript">
<script type="text/javascript">
(function ($, learun) {
learun.nav.data["workspace"].jsObj = (function () {

@@ -224,6 +224,11 @@
if (learun.storage.get('pwdandnotice') === true) {
learun.nav.go({ path: 'my/modifypasswordandnotice', isBack: false, isHead: true, title: '修改密码' });
}
if (learun.storage.get('isUpdStu') === true) {
learun.storage.set('isUpdStu',null);
learun.nav.go({ path: 'login/IdCardLogin', title: '身份证登录', type: 'right' });
//learun.nav.go({ path: 'my/modifypassword', isBack: false, isHead: true, title:'修改密码' });
}
var _html = '';
// _html += '<div class="scanner">';
// _html += '<i class="iconfont icon-scan"></i>';


Loading…
Cancel
Save