Quellcode durchsuchen

小程序修改

master
zhichao lei vor 3 Jahren
Ursprung
Commit
8a3057bcc5
2 geänderte Dateien mit 11 neuen und 20 gelöschten Zeilen
  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 Datei anzeigen

@@ -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 Datei anzeigen

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

Laden…
Abbrechen
Speichern