Ver código fonte

小程序修改

master
zhichao lei 3 anos atrás
pai
commit
8a3057bcc5
2 arquivos alterados com 11 adições e 20 exclusões
  1. +11
    -11
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/StudentQRCode.js
  2. +0
    -9
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/_sgbak/database.config.31244.2.2019-11-26.11-41-13.0935

+ 11
- 11
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/StudentQRCode.js Ver arquivo

@@ -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) {


+ 0
- 9
Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/_sgbak/database.config.31244.2.2019-11-26.11-41-13.0935 Ver arquivo

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<connectionStrings>
<add name="BaseDb" connectionString="Server=192.168.2.126;Initial Catalog=adms7ultimate2;User ID=sa;Password=bjqj@2015!" providerName="System.Data.SqlClient" />
<add name="CollegeMIS" connectionString="Server=192.168.2.126;Initial Catalog=CollegeMIS;User ID=sa;Password=bjqj@2015!" providerName="System.Data.SqlClient" />
<!--demo.quanjiang.com-->
<!--<add name="BaseDb" connectionString="Server=123.57.209.16;Initial Catalog=adms7ultimate2;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" />
<add name="CollegeMIS" connectionString="Server=123.57.209.16;Initial Catalog=CollegeMIS;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" />
<add name="hangfireString" connectionString="Server=123.57.209.16;Initial Catalog=Hangfire;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" />-->
</connectionStrings>

Carregando…
Cancelar
Salvar