diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/LoginUserBind/LoginUserBind.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/LoginUserBind/LoginUserBind.js index 2c9f1751e..0f856dd05 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/LoginUserBind/LoginUserBind.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/LoginUserBind/LoginUserBind.js @@ -53,16 +53,17 @@ pagination: { rows: param.rows, page: param.page, - sidx: 'Id', + sidx: 'CreateTime desc', sord: 'DESC' }, - queryJson: '{}' + queryJson: JSON.stringify({ CreateUserId: learun.storage.get('userinfo').baseinfo.userId }) }; if (param.multipleData) { + multipleData.CreateUserId = learun.storage.get('userinfo').baseinfo.userId; _postParam.queryJson = JSON.stringify(multipleData); } if (param.begin && param.end) { - _postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end }); + _postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end, CreateUserId: learun.storage.get('userinfo').baseinfo.userId }); } learun.httpget(config.webapi + 'learun/EducationalAdministration/LoginUserBind/pagelist', _postParam, (data) => { $page.find('.lr-badge').text('0'); @@ -78,7 +79,11 @@ rowRender: function (_index, _item, _$item, $page) {// 渲染列表行数据 _$item.addClass('lr-list-item lr-list-item-multi'); _$item.append($('
绑定账号:
').dataFormatter({ value: _item.BindUserAccount })); - _$item.append($('绑定密码:
').dataFormatter({ value: _item.BindUserPassword })); + _$item.append($('绑定时间:
').dataFormatter({ + value: _item.CreateTime, + type: 'datetime', + dateformat: 'yyyy-MM-dd hh:mm:ss' + })); return ''; }, rowClick: function (item, $item, $page) {// 列表行点击触发方法 @@ -95,7 +100,7 @@ learun.layer.loading(false); }); } - }, 'Learun智慧校园提示', ['取消', '确定']); + }, '智慧校园提示', ['取消', '确定']); }, rowBtns: ['删除'] // 列表行左滑按钮 }; diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/LoginUserBind/form/form.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/LoginUserBind/form/form.js index 83bac60f1..76da3018e 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/LoginUserBind/form/form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/LoginUserBind/form/form.js @@ -12,14 +12,14 @@ isScroll: true, init: function ($page, param) { keyValue = param.keyValue; - // 添加头部按钮列表 - var _html = '\ - < div class="lr-form-header-cancel" > 取消\ -