|
|
@@ -22,18 +22,18 @@ |
|
|
|
var logininfo = learun.storage.get('userinfo'); |
|
|
|
|
|
|
|
//learun.httpget(config.webapi + 'learun/EducationalAdministration/StuInfoBasic/stuinfoDetail',logininfo.baseinfo.account, function (data) { |
|
|
|
////learun.httpget(config.webapi + 'learun/EducationalAdministration/StuInfoBasic/stuinfoDetail','2018010108', function (data) { |
|
|
|
// console.log(data); |
|
|
|
// $('.sQrList div strong').eq(0).html(data.stuInfo.StuName); |
|
|
|
// $('.sQrList div strong').eq(1).html(data.majorInfo.MajorName); |
|
|
|
// $('.sQrList div strong').eq(2).html(data.classInfo.ClassName); |
|
|
|
// $('.sQrList div strong').eq(3).html(data.stuInfo.StuNo); |
|
|
|
// $('.sQrList div strong').eq(4).html(data.roomInfo); |
|
|
|
// //$('.sQrList div strong').eq(4).html(data.stuInfo.Photo); //学生照片 |
|
|
|
learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/StuInfoBasic/stuinfoDetail','2018010108', function (data) { |
|
|
|
console.log(data); |
|
|
|
$('.sQrList div strong').eq(0).html(data.stuInfo.StuName); |
|
|
|
$('.sQrList div strong').eq(1).html(data.majorInfo.MajorName); |
|
|
|
$('.sQrList div strong').eq(2).html(data.classInfo.ClassName); |
|
|
|
$('.sQrList div strong').eq(3).html(data.stuInfo.StuNo); |
|
|
|
$('.sQrList div strong').eq(4).html(data.roomInfo); |
|
|
|
//$('.sQrList div strong').eq(4).html(data.stuInfo.Photo); //学生照片 |
|
|
|
|
|
|
|
// learun.code.encode({ id: 'lr_mycode_qrcode', text: data.stuInfo.StuNo }); |
|
|
|
//}) |
|
|
|
learun.code.encode({ id: 'lr_mycode_qrcode', text: '2019010211' }); |
|
|
|
learun.code.encode({ id: 'lr_mycode_qrcode', text: data.stuInfo.StuNo }); |
|
|
|
}) |
|
|
|
//learun.code.encode({ id: 'lr_mycode_qrcode', text: '2019010211' }); |
|
|
|
|
|
|
|
}, |
|
|
|
bind: function ($page, param) { |
|
|
|