diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndex.js index dfcc7d79b..119d13c16 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndex.js @@ -138,7 +138,16 @@ var bootstrap = function ($, learun) { edit: { type: 'select', init: function (data, $edit) {// 在点击单元格的时候触发,可以用来初始化输入控件,行数据和控件对象 - + if (data.IsSlow == true) { + $edit[0]._lrselect.dfop._index = "0"; + $edit.find('.lr-select-placeholder').html('是'); + } else if (data.IsSlow == false) { + $edit[0]._lrselect.dfop._index = "1"; + $edit.find('.lr-select-placeholder').html('否'); + } else { + $edit[0]._lrselect.dfop._index = "-1"; + $edit.find('.lr-select-placeholder').html(''); + } }, change: function (row, num, item) {// 行数据和行号,下拉框选中数据 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndexInTeacher.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndexInTeacher.js index 878dfc854..bfe3975cc 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndexInTeacher.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScore/InputScoreIndexInTeacher.js @@ -144,7 +144,16 @@ var bootstrap = function ($, learun) { edit: { type: 'select', init: function (data, $edit) {// 在点击单元格的时候触发,可以用来初始化输入控件,行数据和控件对象 - + if (data.IsSlow == true) { + $edit[0]._lrselect.dfop._index = "0"; + $edit.find('.lr-select-placeholder').html('是'); + } else if (data.IsSlow == false) { + $edit[0]._lrselect.dfop._index = "1"; + $edit.find('.lr-select-placeholder').html('否'); + } else { + $edit[0]._lrselect.dfop._index = "-1"; + $edit.find('.lr-select-placeholder').html(''); + } }, change: function (row, num, item) {// 行数据和行号,下拉框选中数据 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndex.js index 2823059e1..3133dca64 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndex.js @@ -138,7 +138,16 @@ var bootstrap = function ($, learun) { edit: { type: 'select', init: function (data, $edit) {// 在点击单元格的时候触发,可以用来初始化输入控件,行数据和控件对象 - + if (data.IsSlow == true) { + $edit[0]._lrselect.dfop._index = "0"; + $edit.find('.lr-select-placeholder').html('是'); + } else if (data.IsSlow == false) { + $edit[0]._lrselect.dfop._index = "1"; + $edit.find('.lr-select-placeholder').html('否'); + } else { + $edit[0]._lrselect.dfop._index = "-1"; + $edit.find('.lr-select-placeholder').html(''); + } }, change: function (row, num, item) {// 行数据和行号,下拉框选中数据 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndexInTeacher.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndexInTeacher.js index 8258d78a4..9162204d4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndexInTeacher.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuScoreNotPass/InputScoreIndexInTeacher.js @@ -143,7 +143,16 @@ var bootstrap = function ($, learun) { edit: { type: 'select', init: function (data, $edit) {// 在点击单元格的时候触发,可以用来初始化输入控件,行数据和控件对象 - + if (data.IsSlow == true) { + $edit[0]._lrselect.dfop._index = "0"; + $edit.find('.lr-select-placeholder').html('是'); + } else if (data.IsSlow == false) { + $edit[0]._lrselect.dfop._index = "1"; + $edit.find('.lr-select-placeholder').html('否'); + } else { + $edit[0]._lrselect.dfop._index = "-1"; + $edit.find('.lr-select-placeholder').html(''); + } }, change: function (row, num, item) {// 行数据和行号,下拉框选中数据 diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js index e1e5d8074..52cd68012 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/mixins.js @@ -797,7 +797,8 @@ export default { // }, //高德地图ak 两个ak交替使用 GET_AK() { - let ak = ['b07d0a74e059a6f132ede93ff3826515','6f461c2f11d1ae36ac12e4fa327c15b1'] + // let ak = ['b07d0a74e059a6f132ede93ff3826515','6f461c2f11d1ae36ac12e4fa327c15b1'] + let ak = ['4e0f7f050a74345787739b7abb403a91','bdc8eaaa7b04e77c5561f9950f0ab529'] let current = this.GET_STORAGE('gaodeAK') if(!current){ let ri = Math.floor(Math.random()*2);