diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/config/config.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/config/config.js index bbf9d244a..c0c70d1fc 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/config/config.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/config/config.js @@ -1,5 +1,5 @@ -var config = { - webapi: 'http://localhost:8088/', +var config = { + webapi: 'http://123.57.209.16:31173/', web: "http://localhost:8087/"//web地址,用于配置logo }; //var config = { @@ -16,13 +16,18 @@ // webapi: 'http://localhost:8081/', // web: "http://localhost:8080/"//web地址,用于配置logo //}; -//var config = { -// webapi: 'http://123.57.209.16:31174/', +// var config = { +// webapi: 'http://123.57.209.16:31173/', // web: "http://123.57.209.16:31175/"//web地址,用于配置logo -//}; +// }; //金隅 //var config = { // webapi: 'http://192.168.100.225:31173/', // web:"http://192.168.100.225:8081/"//web地址,用于配置logo -//}; \ No newline at end of file +//}; + +// var config = { +// webapi: 'http://123.57.209.16:31174/', +// web: "http://123.57.209.16:31175/"//web地址,用于配置logo +// }; \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/Ask.html b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/Ask.html index 9b931577d..7521cae2d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/Ask.html +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/Ask.html @@ -1,4 +1,4 @@ -
+
总共0条 @@ -16,7 +16,4 @@
-
\ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/Ask.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/Ask.js index a1d65332a..477036bd5 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/Ask.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/Ask.js @@ -1,4 +1,4 @@ -(function () { +(function () { var multipleData = null; var page = { grid: null, @@ -26,6 +26,7 @@ }, lclass: 'lr-list', loadData: function (param, callback, $page) {// 列表加载后台数据 + console.log(param) var _postParam = { pagination: { rows: param.rows, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/AskPaper/AskPaper.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/AskPaper/AskPaper.js index f606e9a72..6ca0fb479 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/AskPaper/AskPaper.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/AskPaper/AskPaper.js @@ -2,6 +2,7 @@ var page = { isScroll: true, init: function($page, param) { + console.log(param) var path = config.webapi; learun.layer.loading(true,"加载数据中..."); learun.httpget(path + "/learun/ask/paper", { @@ -10,6 +11,7 @@ learun.layer.loading(false); $page.find('.inSecTitle').html(res.VTitle).end().find('.inSecTime').html(res.VStartTime + ' - ' + res.VStopTime) var dataList = res.Ask_Questions; + console.log(dataList) var otherHtml = '
'+ '其他'+ '
'+ @@ -92,7 +94,7 @@ return } // return - learun.httpget(path + "/learun/ask/savepaper", + learun.httppost(path + "/learun/ask/savepaper", { VID: param.VID, LessonNo: param.LessonNo, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryItemList/Ass_InventoryItemList.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryItemList/Ass_InventoryItemList.js index 33135cc3e..27e5d334f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryItemList/Ass_InventoryItemList.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryItemList/Ass_InventoryItemList.js @@ -1,4 +1,4 @@ -/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) +/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) * Copyright (c) 2013-2018 北京泉江科技有限公司 * 创建人:超级管理员 * 日 期:2019-10-17 17:22 @@ -144,6 +144,7 @@ }); } learun.httpget(config.webapi + 'learun/AssetManagementSystem/InventoryItem/pagelist', _postParam, (data) => { + console.log(data) $page.find('.lr-badge').text('0'); if (data) { $page.find('.lr-badge').text(data.records); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryItemList/Form/form.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryItemList/Form/form.js index 96450d451..8d426ba9b 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryItemList/Form/form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/AssetManagementSystem/Ass_InventoryResult/Ass_InventoryItemList/Form/form.js @@ -1,4 +1,4 @@ -/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) +/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) * Copyright (c) 2013-2018 北京泉江科技有限公司 * 创建人:超级管理员 * 日 期:2019-10-24 16:51 @@ -89,6 +89,7 @@ var _postData = {} _postData.keyValue = keyValue; _postData.strEntity = JSON.stringify($page.find('.lr-form-container').lrformGet()); + console.log(_postData) learun.layer.loading(true, '正在提交数据'); learun.httppost(config.webapi + 'learun/AssetManagementSystem/InventoryItem/save', _postData, (data) => { learun.layer.loading(false); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/OpenLessonPlanOfElectiveStudent/form/form.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/OpenLessonPlanOfElectiveStudent/form/form.js index 8830da9a6..8476450d3 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/OpenLessonPlanOfElectiveStudent/form/form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/OpenLessonPlanOfElectiveStudent/form/form.js @@ -1,4 +1,4 @@ -(function () { +(function () { var keyValue = ''; var weekChina = ["一", "二", "三", "四", "五", "六", "日"]; var $header = null; @@ -31,11 +31,11 @@ config.webapi + 'learun/EducationalAdministration/OpenLessonPlanOfElectiveStudent/GetApplyResult', _postData, - ( - dataresult, inforesult) => { + (dataresult, inforesult) => { learun.layer.loading(false); clearInterval(timer); - learun.layer.toast(inforesult); + //learun.layer.toast(inforesult); + learun.layer.toast(dataresult.msg); learun.nav.closeCurrent(); var prepage = learun.nav.getpage('EducationalAdministration/OpenLessonPlanOfElectiveStudent'); prepage.grid.reload(); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/OpenLessonPlanOfElectiveStudentPre/OpenLessonPlanOfElectiveStudentPre.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/OpenLessonPlanOfElectiveStudentPre/OpenLessonPlanOfElectiveStudentPre.js index 773b795ec..3b5be792c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/OpenLessonPlanOfElectiveStudentPre/OpenLessonPlanOfElectiveStudentPre.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/OpenLessonPlanOfElectiveStudentPre/OpenLessonPlanOfElectiveStudentPre.js @@ -1,4 +1,4 @@ -(function () { +(function () { var weekChina = ["一", "二", "三", "四", "五", "六", "日"]; var begin = ''; var end = ''; @@ -13,6 +13,7 @@ lclass: page.lclass, rows: 10, // 每页行数 getData: function (param, callback) {// 获取数据 param 分页参数,callback 异步回调 + console.log(param) param.multipleData = multipleData; page.loadData(param, callback, $page); }, @@ -48,6 +49,7 @@ _postParam.queryJson = JSON.stringify({ StuNo: JSON.parse(localStorage.userinfo).baseinfo.account, StuMajorNo: JSON.parse(localStorage.userinfo).baseinfo.majorno, StuGrade: JSON.parse(localStorage.userinfo).baseinfo.grade }); } learun.httpget(config.webapi + 'learun/EducationalAdministration/OpenLessonPlanOfElectiveStudent/pagelist', _postParam, (data) => { + console.log(data) $page.find('.lr-badge').text('0'); if (data) { $page.find('.lr-badge').text(data.records); @@ -116,9 +118,15 @@ _postData.keyValue = item.Id; _postData.StuNo = JSON.parse(localStorage.userinfo).baseinfo.account; learun.layer.loading(true, '正在取消报名...'); + console.log(123); learun.httppost(config.webapi + 'learun/EducationalAdministration/OpenLessonPlanOfElectiveStudent/CancelPre', _postData, (data, info) => { + console.log(data) + console.log(info) if (data) {// 成功 - learun.layer.toast(info); + console.log(1111111111) + console.log(data) + console.log(info) + //learun.layer.toast(info); page.grid.reload(); } learun.layer.loading(false); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/OpenLessonPlanOfElectiveStudentPre/form/form.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/OpenLessonPlanOfElectiveStudentPre/form/form.js index fa3702041..91bd59fd0 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/OpenLessonPlanOfElectiveStudentPre/form/form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/OpenLessonPlanOfElectiveStudentPre/form/form.js @@ -1,4 +1,4 @@ -(function () { +(function () { var keyValue = ''; var weekChina = ["一", "二", "三", "四", "五", "六", "日"]; var $header = null; @@ -26,7 +26,8 @@ learun.httppost(config.webapi + 'learun/EducationalAdministration/OpenLessonPlanOfElectiveStudent/SignInPre', _postData, (data,info) => { learun.layer.loading(false); if (data) {// 表单数据保存成功 - learun.layer.toast(info); + //learun.layer.toast(info); + learun.layer.toast(data.msg); learun.nav.closeCurrent(); var prepage = learun.nav.getpage('EducationalAdministration/OpenLessonPlanOfElectiveStudentPre'); prepage.grid.reload(); @@ -35,10 +36,12 @@ }); page.bind($page, param); if (keyValue) { + console.log(keyValue) $page.find('.lr-form-container').setFormRead(); // 获取表单数据 learun.layer.loading(true, '获取表单数据'); learun.httpget(config.webapi + 'learun/EducationalAdministration/OpenLessonPlanOfElectiveStudent/form', keyValue, (data) => { + console.log(data) if (data) { for (var id in data) { if (data[id].length) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/R_EnterBuilding/R_EnterBuilding.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/R_EnterBuilding/R_EnterBuilding.js index c4a9ca181..c9e5bfda1 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/R_EnterBuilding/R_EnterBuilding.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/R_EnterBuilding/R_EnterBuilding.js @@ -1,104 +1,99 @@ -/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) +/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) * Copyright (c) 2013-2018 北京泉江科技有限公司 * 创建人:超级管理员 * 日 期:2020-04-21 09:23 * 描 述:扫码入教学楼统计 */ -(function () { - var page = { - grid: null, - init: function ($page) { - - - - - var ua = navigator.userAgent.toLowerCase(); - if (/(html5plus)/i.test(ua)) { - //if (false) { - $('.bcidBox').css('display', 'block'); - var scan = new plus.barcode.Barcode('bcid'); - scan.onmarked = function onmarked(type, result) { - scan.close(); - $('.bcidBox').css('display', 'none'); - - var loginInfo = learun.storage.get('userinfo'); - var buildEntity = {}; - buildEntity.SId = loginInfo.baseinfo.account; - - buildEntity.BId = result;//'1d13cb80-d66a-4c55-a633-f88dc0b80df7'; - - var param = {}; - param.keyValue = ''; - param.strEntity = JSON.stringify(buildEntity); - - - learun.layer.loading(true, '正在提交数据'); - learun.httppost(config.webapi + 'learun/EducationalAdministration/R_EnterBuilding/save', param, (data) => { - learun.layer.loading(false); - if (data) {// 表单数据保存成功 - learun.layer.toast("扫描成功"); - learun.nav.closeCurrent(); - //var prepage = learun.nav.getpage('EducationalAdministration/R_EnterBuilding'); - //prepage.grid.reload(); - } - }); - }; - scan.start(); - } else if (/micromessenger/.test(ua)) { - $.ajax({ - url: config.webapi + "weixinapi/getweixinwebaccess_token?url=" + encodeURIComponent(window.location.href), - type: "get", - success: function (res) { - wx.config({ - debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 - appId: res.data.appid, // 必填,公众号的唯一标识 - timestamp: res.data.timestamp, // 必填,生成签名的时间戳 - nonceStr: res.data.noncestr, // 必填,生成签名的随机串 - signature: res.data.certificate, // 必填,签名 - jsApiList: ["scanQRCode"] // 必填,需要使用的JS接口列表 - }); - - wx.ready(function () { - wx.scanQRCode({ - needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果, - scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有 - success: function (res) { - learun.layer.toast(res); - //res.resultStr - var loginInfo = learun.storage.get('userinfo'); - var buildEntity = {}; - buildEntity.SId = loginInfo.baseinfo.account; - - buildEntity.BId = res.resultStr;//'1d13cb80-d66a-4c55-a633-f88dc0b80df7'; - - var param = {}; - param.keyValue = ''; - param.strEntity = JSON.stringify(buildEntity); - - - learun.layer.loading(true, '正在提交数据'); - learun.httppost(config.webapi + 'learun/EducationalAdministration/R_EnterBuilding/save', param, (data) => { - learun.layer.loading(false); - if (data) {// 表单数据保存成功 - learun.layer.toast("扫描成功"); - learun.nav.closeCurrent(); - //var prepage = learun.nav.getpage('EducationalAdministration/R_EnterBuilding'); - //prepage.grid.reload(); - } - }); - } - }); - }) - - - } - }); - - - } else { - learun.layer.warning('请下载app或者到微信浏览器打开网页'); - } - } - }; - return page; +(function() { + var page = { + grid: null, + init: function($page) { + var ua = navigator.userAgent.toLowerCase(); + if (/(html5plus)/i.test(ua)) { + //if (false) { + $('.bcidBox').css('display', 'block'); + var scan = new plus.barcode.Barcode('bcid'); + scan.onmarked = function onmarked(type, result) { + scan.close(); + $('.bcidBox').css('display', 'none'); + + var loginInfo = learun.storage.get('userinfo'); + var buildEntity = {}; + buildEntity.SId = loginInfo.baseinfo.account; + + buildEntity.BId = result; //'1d13cb80-d66a-4c55-a633-f88dc0b80df7'; + + var param = {}; + param.keyValue = ''; + param.strEntity = JSON.stringify(buildEntity); + + + learun.layer.loading(true, '正在提交数据'); + learun.httppost(config.webapi + 'learun/EducationalAdministration/R_EnterBuilding/save', param, (data) => { + learun.layer.loading(false); + if (data) { // 表单数据保存成功 + learun.layer.toast("扫描成功"); + learun.nav.closeCurrent(); + //var prepage = learun.nav.getpage('EducationalAdministration/R_EnterBuilding'); + //prepage.grid.reload(); + } + }); + }; + scan.start(); + } else if (/micromessenger/.test(ua)) { + $.ajax({ + url: config.webapi + "weixinapi/getweixinwebaccess_token?url=" + encodeURIComponent(window.location.href), + type: "get", + success: function(res) { + wx.config({ + debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 + appId: res.data.appid, // 必填,公众号的唯一标识 + timestamp: res.data.timestamp, // 必填,生成签名的时间戳 + nonceStr: res.data.noncestr, // 必填,生成签名的随机串 + signature: res.data.certificate, // 必填,签名 + jsApiList: ["scanQRCode"] // 必填,需要使用的JS接口列表 + }); + + wx.ready(function() { + wx.scanQRCode({ + needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果, + scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有 + success: function(res) { + learun.layer.toast(res); + //res.resultStr + var loginInfo = learun.storage.get('userinfo'); + var buildEntity = {}; + buildEntity.SId = loginInfo.baseinfo.account; + + buildEntity.BId = res.resultStr; //'1d13cb80-d66a-4c55-a633-f88dc0b80df7'; + + var param = {}; + param.keyValue = ''; + param.strEntity = JSON.stringify(buildEntity); + + + learun.layer.loading(true, '正在提交数据'); + learun.httppost(config.webapi + 'learun/EducationalAdministration/R_EnterBuilding/save', param, ( + data) => { + learun.layer.loading(false); + if (data) { // 表单数据保存成功 + learun.layer.toast("扫描成功"); + learun.nav.closeCurrent(); + //var prepage = learun.nav.getpage('EducationalAdministration/R_EnterBuilding'); + //prepage.grid.reload(); + } + }); + } + }); + }) + } + }); + + + } else { + learun.layer.warning('请下载app或者到微信浏览器打开网页'); + } + } + }; + return page; })(); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/R_EnterSchool/R_EnterSchool.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/R_EnterSchool/R_EnterSchool.js index a66f2624d..66f7f5a63 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/R_EnterSchool/R_EnterSchool.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/R_EnterSchool/R_EnterSchool.js @@ -1,4 +1,4 @@ -/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) +/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) * Copyright (c) 2013-2018 北京泉江科技有限公司 * 创建人:超级管理员 * 日 期:2020-04-21 09:27 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/PayFee.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/PayFee.js index 2a85df13b..baf19c4f7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/PayFee.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/PayFee.js @@ -1,4 +1,4 @@ -/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) +/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) * Copyright (c) 2013-2018 北京泉江科技有限公司 * 创建人:超级管理员 * 日 期:2019-12-26 14:43 @@ -71,6 +71,8 @@ if (param.begin && param.end) { _postParam.queryJson = JSON.stringify({ StartTime: param.begin, EndTime: param.end }); } + console.log(param.multipleData) + // return learun.httpget(config.webapi + 'StuInfoFresh/pageList', _postParam, (data) => { $page.find('.lr-badge').text('0'); if (data) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/form/form.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/form/form.js index 1b9f3015a..e80751769 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/form/form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/PayFee/form/form.js @@ -1,4 +1,4 @@ -/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) +/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) * Copyright (c) 2013-2018 北京泉江科技有限公司 * 创建人:超级管理员 * 日 期:2019-12-26 14:43 @@ -91,6 +91,8 @@ var _postData = {} _postData.keyValue = keyValue; _postData.strEntity = JSON.stringify(data); + console.log(_postData) + // return learun.layer.loading(true, '正在提交数据'); learun.httppost(config.webapi + 'StuInfoFresh/save', _postData, (data) => { learun.layer.loading(false); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/AbNormalSerious/AbNormalSerious.css b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/AbNormalSerious/AbNormalSerious.css index d79970a72..f92d126ce 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/AbNormalSerious/AbNormalSerious.css +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/AbNormalSerious/AbNormalSerious.css @@ -1,149 +1,149 @@ -#sQrCode { - height: 100%; - background-color: #EEF2F3; - padding-bottom: 30px; +#sQrCode { + height: 100%; + background-color: #EEF2F3; + padding-bottom: 30px; } .sQrLogo { - background-image: url(images/xcBg.jpg); - background-size: 100% 100%; - text-align: center; - line-height: 0; - padding: 20px 0 70px; + background-image: url(images/xcBg.jpg); + background-size: 100% 100%; + text-align: center; + line-height: 0; + padding: 20px 0 70px; } .sQrLogoImg1 img { - width: 20%; + width: 20%; } .sQrLogoImg1 { - margin-bottom: 10px; + margin-bottom: 10px; } .sQrLogoImg2 img { - width: 50%; + width: 50%; } .sQrBox { - margin: -50px 20px 0; - background-color: #fff; - padding: 30px 38px; - border-radius: 10px; - -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, .1); - -moz-box-shadow: 0 4px 10px rgba(0, 0, 0, .1); - box-shadow: 0 4px 10px rgba(0, 0, 0, .1); - /* overflow: hidden; */ + margin: -50px 20px 0; + background-color: #fff; + padding: 30px 38px; + border-radius: 10px; + -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, .1); + -moz-box-shadow: 0 4px 10px rgba(0, 0, 0, .1); + box-shadow: 0 4px 10px rgba(0, 0, 0, .1); + /* overflow: hidden; */ } .sQrT2 { - font-weight: bold; - text-align: center; - font-size: 24px; - margin-bottom: 20px; - color: #CC0000; + font-weight: bold; + text-align: center; + font-size: 24px; + margin-bottom: 20px; + color: #CC0000; } .sQrList { - background-color: #F8F8F8; - margin: 0 10px; - padding: 10px 30px; - border-radius: 4px + background-color: #F8F8F8; + margin: 0 10px; + padding: 10px 30px; + border-radius: 4px } - .sQrList div { - padding: 7px 10px; - font-size: 14px; - color: #000; - border-top: 1px solid #D7D7D7; - } +.sQrList div { + padding: 7px 10px; + font-size: 14px; + color: #000; + border-top: 1px solid #D7D7D7; +} - .sQrList div:first-child { - border: 0; - } +.sQrList div:first-child { + border: 0; +} - .sQrList div span { - color: #AEAEAE; - margin-right: 10px; - } +.sQrList div span { + color: #AEAEAE; + margin-right: 10px; +} .sQrType3 { - background-color: #CC0000; - padding: 20px 0; - text-align: center; - color: #fff; - margin: 30px -38px -30px; - border-radius: 0 0 10px 10px; + background-color: #CC0000; + padding: 20px 0; + text-align: center; + color: #fff; + margin: 30px -38px -30px; + border-radius: 0 0 10px 10px; } - .sQrType3 > * { - display: inline-block; - vertical-align: middle; - text-align: left; - } +.sQrType3>* { + display: inline-block; + vertical-align: middle; + text-align: left; +} .sQrTypeT { - font-size: 14px; + font-size: 14px; } .sQrTypeTxt { - font-size: 24px; - font-weight: bold; - margin-top: 3px; + font-size: 24px; + font-weight: bold; + margin-top: 3px; } .sQrTypeImg { - margin-left: 15px; - width: 43px; - line-height: 0; + margin-left: 15px; + width: 43px; + line-height: 0; } - .sQrTypeImg img { - width: 100%; - } +.sQrTypeImg img { + width: 100%; +} .sQrTxt1 { - margin: 30px 50px 20px; - font-size: 14px; - color: #AEAEAE; + margin: 30px 50px 20px; + font-size: 14px; + color: #AEAEAE; } .sQrBtn2 { - margin: 20px 20px 0; - background-color: #CED0D0; - /* -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .1); + margin: 20px 20px 0; + background-color: #CED0D0; + /* -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .1); -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .1); box-shadow: 0 0 10px rgba(0, 0, 0, .1); */ - border-radius: 8px; - height: 50px; - line-height: 50px; - font-weight: bold; - color: #fff; - font-size: 16px; - text-align: center; -} - - .sQrBtn2 img { - width: 23px; - margin-right: 10px; - position: relative; - top: 2px; - } + border-radius: 8px; + height: 50px; + line-height: 50px; + font-weight: bold; + color: #fff; + font-size: 16px; + text-align: center; +} + +.sQrBtn2 img { + width: 23px; + margin-right: 10px; + position: relative; + top: 2px; +} .sQrType3 .sQrTypePhoto { - border: 4px solid #CC0000; - border-radius: 4px; - width: 85px; - margin: -30px 10px -30px 0; - background: #fff; + border: 4px solid #CC0000; + border-radius: 4px; + width: 85px; + margin: -30px 10px -30px 0; + background: #fff; } .sQrTypePhoto div { - height: 0; - overflow: hidden; - padding-bottom: 139.516129%; - line-height: 0; + height: 0; + overflow: hidden; + padding-bottom: 139.516129%; + line-height: 0; } .sQrTypePhoto img { - width: 100%; + width: 100%; } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/AbNormalWeak/AbNormalWeak.css b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/AbNormalWeak/AbNormalWeak.css index 03f57ea17..1ed8ff0c7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/AbNormalWeak/AbNormalWeak.css +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/AbNormalWeak/AbNormalWeak.css @@ -1,149 +1,149 @@ -#sQrCode { - height: 100%; - background-color: #EEF2F3; - padding-bottom: 30px; +#sQrCode { + height: 100%; + background-color: #EEF2F3; + padding-bottom: 30px; } .sQrLogo { - background-image: url(images/xcBg.jpg); - background-size: 100% 100%; - text-align: center; - line-height: 0; - padding: 20px 0 70px; + background-image: url(images/xcBg.jpg); + background-size: 100% 100%; + text-align: center; + line-height: 0; + padding: 20px 0 70px; } .sQrLogoImg1 img { - width: 20%; + width: 20%; } .sQrLogoImg1 { - margin-bottom: 10px; + margin-bottom: 10px; } .sQrLogoImg2 img { - width: 50%; + width: 50%; } .sQrBox { - margin: -50px 20px 0; - background-color: #fff; - padding: 30px 38px; - border-radius: 10px; - -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, .1); - -moz-box-shadow: 0 4px 10px rgba(0, 0, 0, .1); - box-shadow: 0 4px 10px rgba(0, 0, 0, .1); - /* overflow: hidden; */ + margin: -50px 20px 0; + background-color: #fff; + padding: 30px 38px; + border-radius: 10px; + -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, .1); + -moz-box-shadow: 0 4px 10px rgba(0, 0, 0, .1); + box-shadow: 0 4px 10px rgba(0, 0, 0, .1); + /* overflow: hidden; */ } .sQrT2 { - font-weight: bold; - text-align: center; - font-size: 24px; - margin-bottom: 20px; - color: #F8B500; + font-weight: bold; + text-align: center; + font-size: 24px; + margin-bottom: 20px; + color: #F8B500; } .sQrList { - background-color: #F8F8F8; - margin: 0 10px; - padding: 10px 30px; - border-radius: 4px + background-color: #F8F8F8; + margin: 0 10px; + padding: 10px 30px; + border-radius: 4px } - .sQrList div { - padding: 7px 10px; - font-size: 14px; - color: #000; - border-top: 1px solid #D7D7D7; - } +.sQrList div { + padding: 7px 10px; + font-size: 14px; + color: #000; + border-top: 1px solid #D7D7D7; +} - .sQrList div:first-child { - border: 0; - } +.sQrList div:first-child { + border: 0; +} - .sQrList div span { - color: #AEAEAE; - margin-right: 10px; - } +.sQrList div span { + color: #AEAEAE; + margin-right: 10px; +} .sQrType2 { - background-color: #F8B500; - padding: 20px 0; - text-align: center; - color: #fff; - margin: 30px -38px -30px; - border-radius: 0 0 10px 10px; + background-color: #F8B500; + padding: 20px 0; + text-align: center; + color: #fff; + margin: 30px -38px -30px; + border-radius: 0 0 10px 10px; } - .sQrType2 > * { - display: inline-block; - vertical-align: middle; - text-align: left; - } +.sQrType2>* { + display: inline-block; + vertical-align: middle; + text-align: left; +} .sQrTypeT { - font-size: 14px; + font-size: 14px; } .sQrTypeTxt { - font-size: 24px; - font-weight: bold; - margin-top: 3px; + font-size: 24px; + font-weight: bold; + margin-top: 3px; } .sQrTypeImg { - margin-left: 15px; - width: 43px; - line-height: 0; + margin-left: 15px; + width: 43px; + line-height: 0; } - .sQrTypeImg img { - width: 100%; - } +.sQrTypeImg img { + width: 100%; +} .sQrTxt1 { - margin: 30px 50px 20px; - font-size: 14px; - color: #AEAEAE; + margin: 30px 50px 20px; + font-size: 14px; + color: #AEAEAE; } .sQrBtn3 { - margin: 20px 20px 0; - background-color: #CED0D0; - /* -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .1); + margin: 20px 20px 0; + background-color: #CED0D0; + /* -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .1); -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .1); box-shadow: 0 0 10px rgba(0, 0, 0, .1); */ - border-radius: 8px; - height: 50px; - line-height: 50px; - font-weight: bold; - color: #fff; - font-size: 16px; - text-align: center; -} - - .sQrBtn3 img { - width: 23px; - margin-right: 10px; - position: relative; - top: 2px; - } + border-radius: 8px; + height: 50px; + line-height: 50px; + font-weight: bold; + color: #fff; + font-size: 16px; + text-align: center; +} + +.sQrBtn3 img { + width: 23px; + margin-right: 10px; + position: relative; + top: 2px; +} .sQrType2 .sQrTypePhoto { - border: 4px solid #F8B500; - border-radius: 4px; - width: 85px; - margin: -30px 10px -30px 0; - background: #fff; + border: 4px solid #F8B500; + border-radius: 4px; + width: 85px; + margin: -30px 10px -30px 0; + background: #fff; } .sQrTypePhoto div { - height: 0; - overflow: hidden; - padding-bottom: 139.516129%; - line-height: 0; + height: 0; + overflow: hidden; + padding-bottom: 139.516129%; + line-height: 0; } .sQrTypePhoto img { - width: 100%; + width: 100%; } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/AbNormalWeak/AbNormalWeak.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/AbNormalWeak/AbNormalWeak.js index 43251ef68..f22754d14 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/AbNormalWeak/AbNormalWeak.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/AbNormalWeak/AbNormalWeak.js @@ -1,4 +1,4 @@ -(function () { +(function () { var $header = null; var stuNo = ''; var page = { @@ -7,7 +7,7 @@ stuNo = param.stuNo; // 添加头部按钮列表 $header = $page.parents('.f-page').find('.f-page-header'); - learun.httpget(config.webapi + 'learun/EducationalAdministration/StuInfoBasic/stuinfoDetail',stuNo, function (data) { + learun.httpget(config.webapi + 'learun/adms/EducationalAdministration/StuInfoBasic/stuinfoDetail',stuNo, function (data) { console.log(data); $('.sQrList div strong').eq(0).html(data.stuInfo.StuName); $('.sQrList div strong').eq(1).html(data.majorInfo.MajorName); @@ -19,7 +19,6 @@ $('.sQrTypePhoto img').attr('src', config.web + data.stuInfo.Photo); } else { if (data.stuInfo.GenderNo) { - $('.sQrTypePhoto img').attr('src', '/images/on-boy.jpg'); } else { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/Normal/Normal.css b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/Normal/Normal.css index 8c274f680..4d6463f60 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/Normal/Normal.css +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/Normal/Normal.css @@ -1,149 +1,149 @@ -#sQrCode { - height: 100%; - background-color: #EEF2F3; - padding-bottom: 30px; +#sQrCode { + height: 100%; + background-color: #EEF2F3; + padding-bottom: 30px; } .sQrLogo { - background-image: url(images/xcBg.jpg); - background-size: 100% 100%; - text-align: center; - line-height: 0; - padding: 20px 0 70px; + background-image: url(images/xcBg.jpg); + background-size: 100% 100%; + text-align: center; + line-height: 0; + padding: 20px 0 70px; } .sQrLogoImg1 img { - width: 20%; + width: 20%; } .sQrLogoImg1 { - margin-bottom: 10px; + margin-bottom: 10px; } .sQrLogoImg2 img { - width: 50%; + width: 50%; } .sQrBox { - margin: -50px 20px 0; - background-color: #fff; - padding: 30px 38px; - border-radius: 10px; - -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, .1); - -moz-box-shadow: 0 4px 10px rgba(0, 0, 0, .1); - box-shadow: 0 4px 10px rgba(0, 0, 0, .1); - /* overflow: hidden; */ + margin: -50px 20px 0; + background-color: #fff; + padding: 30px 38px; + border-radius: 10px; + -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, .1); + -moz-box-shadow: 0 4px 10px rgba(0, 0, 0, .1); + box-shadow: 0 4px 10px rgba(0, 0, 0, .1); + /* overflow: hidden; */ } .sQrT2 { - font-weight: bold; - text-align: center; - font-size: 24px; - margin-bottom: 20px; - color: #21A737; + font-weight: bold; + text-align: center; + font-size: 24px; + margin-bottom: 20px; + color: #21A737; } .sQrList { - background-color: #F8F8F8; - margin: 0 10px; - padding: 10px 30px; - border-radius: 4px + background-color: #F8F8F8; + margin: 0 10px; + padding: 10px 30px; + border-radius: 4px } - .sQrList div { - padding: 7px 10px; - font-size: 14px; - color: #000; - border-top: 1px solid #D7D7D7; - } +.sQrList div { + padding: 7px 10px; + font-size: 14px; + color: #000; + border-top: 1px solid #D7D7D7; +} - .sQrList div:first-child { - border: 0; - } +.sQrList div:first-child { + border: 0; +} - .sQrList div span { - color: #AEAEAE; - margin-right: 10px; - } +.sQrList div span { + color: #AEAEAE; + margin-right: 10px; +} .sQrType1 { - background-color: #21A737; - padding: 20px 0; - text-align: center; - color: #fff; - margin: 30px -38px -30px; - border-radius: 0 0 10px 10px; + background-color: #21A737; + padding: 20px 0; + text-align: center; + color: #fff; + margin: 30px -38px -30px; + border-radius: 0 0 10px 10px; } - .sQrType1 > * { - display: inline-block; - vertical-align: middle; - text-align: left; - } +.sQrType1>* { + display: inline-block; + vertical-align: middle; + text-align: left; +} .sQrTypeT { - font-size: 14px; + font-size: 14px; } .sQrTypeTxt { - font-size: 24px; - font-weight: bold; - margin-top: 3px; + font-size: 24px; + font-weight: bold; + margin-top: 3px; } .sQrTypeImg { - margin-left: 15px; - width: 43px; - line-height: 0; + margin-left: 15px; + width: 43px; + line-height: 0; } - .sQrTypeImg img { - width: 100%; - } +.sQrTypeImg img { + width: 100%; +} .sQrTxt1 { - margin: 30px 50px 20px; - font-size: 14px; - color: #AEAEAE; + margin: 30px 50px 20px; + font-size: 14px; + color: #AEAEAE; } .sQrBtn1 { - margin: 20px 20px 0; - background-color: #fff; - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .1); - -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .1); - box-shadow: 0 0 10px rgba(0, 0, 0, .1); - border-radius: 8px; - height: 50px; - line-height: 50px; - font-weight: bold; - color: #339933; - font-size: 16px; - text-align: center; -} - - .sQrBtn1 img { - width: 23px; - margin-right: 10px; - position: relative; - top: 2px; - } + margin: 20px 20px 0; + background-color: #fff; + -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .1); + -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .1); + box-shadow: 0 0 10px rgba(0, 0, 0, .1); + border-radius: 8px; + height: 50px; + line-height: 50px; + font-weight: bold; + color: #339933; + font-size: 16px; + text-align: center; +} + +.sQrBtn1 img { + width: 23px; + margin-right: 10px; + position: relative; + top: 2px; +} .sQrType1 .sQrTypePhoto { - border: 4px solid #21A737; - border-radius: 4px; - width: 85px; - margin: -30px 10px -30px 0; - background: #fff; + border: 4px solid #21A737; + border-radius: 4px; + width: 85px; + margin: -30px 10px -30px 0; + background: #fff; } .sQrTypePhoto div { - height: 0; - overflow: hidden; - padding-bottom: 139.516129%; - line-height: 0; + height: 0; + overflow: hidden; + padding-bottom: 139.516129%; + line-height: 0; } .sQrTypePhoto img { - width: 100%; + width: 100%; } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/StudentQRCode.html b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/StudentQRCode.html index 0a3e48a65..080caba4a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/StudentQRCode.html +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/StudentQRCode.html @@ -1,11 +1,6 @@ -
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/StudentQRCode.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/StudentQRCode.js index a0f88bff7..8cf9a80cf 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/StudentQRCode.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StudentQRCode/StudentQRCode.js @@ -1,4 +1,4 @@ -(function () { +(function () { var keyValue = ''; var $header = null; var page = { @@ -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) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Thermography/Thermography.html b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Thermography/Thermography.html index 7a7efdade..9e3982c31 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Thermography/Thermography.html +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/Thermography/Thermography.html @@ -1,7 +1,7 @@ -
+
- 总共0条 + 总共10