diff --git a/app/common.php b/app/common.php
index 7bf953a4..2f917e25 100755
--- a/app/common.php
+++ b/app/common.php
@@ -21,6 +21,15 @@
// return $list;
// }
+// // 单位列表
+// function danweiJibie($low = '班级', $high = '其它级', $order = 'asc')
+// {
+// // 实例化单位模型
+// $sch = new \app\system\model\School;
+// $data = $sch->srcJibie($low, $high, $order);
+// return $data;
+// }
+
// 班级列表
function banJiNamelist()
@@ -31,16 +40,6 @@
return $njList;
}
- // // 单位列表
- // function danweiJibie($low = '班级', $high = '其它级', $order = 'asc')
- // {
- // // 实例化单位模型
- // $sch = new \app\system\model\School;
- // $data = $sch->srcJibie($low, $high, $order);
- // return $data;
- // }
-
-
// 查询统计项目
function srcTjxm($category_id)
{
diff --git a/app/index/view/index/welcome.html b/app/index/view/index/welcome.html
index 0ad08284..e1756b6b 100755
--- a/app/index/view/index/welcome.html
+++ b/app/index/view/index/welcome.html
@@ -157,6 +157,9 @@
| 开发者 |
大连巴掌(w86112@vip.163.com) |
+
+ | 备案 |
+ 辽ICP备19005631号 |
diff --git a/app/kaohao/view/index/read.html b/app/kaohao/view/index/read.html
index 8707eec9..bb32cdc4 100755
--- a/app/kaohao/view/index/read.html
+++ b/app/kaohao/view/index/read.html
@@ -134,236 +134,15 @@ layui.use(['element','table','myEchart','form'], function() {
kaohao_id: "{$list.id}"
};
- echart.yibiao('/tools/onestudentchengji/yibiao', val, '总成绩仪表图');
- echart.leida('/tools/onestudentchengji/leida', val, '学科成绩雷达图');
- echart.tiaoxing('myDefenlv', '/tools/onestudentchengji/xkdfl', val, '得分率');
- echart.tiaoxing('myQweizhi', '/tools/onestudentchengji/xkwz', val, '成绩位置');
+ echart.yibiao('/tools/onestudentchengji/yibiao', val, '');
+ echart.leida('/tools/onestudentchengji/leida', val, '');
+ echart.tiaoxing('myDefenlv', '/tools/onestudentchengji/xkdfl', val, '');
+ echart.tiaoxing('myQweizhi', '/tools/onestudentchengji/xkwz', val, '');
echart.baogao(val.kaohao_id);
}
});
-
-
-// // 雷达图
-// function getLeiDa(kaohao_id) {
-// var url = '/tools/onestudentchengji/leida';
-// var title = '学科成绩雷达图';
-// var val = {
-// kaohao_id: kaohao_id
-// };
-// createLeiDa(url, val, title);
-// }
-
-// // 仪表图
-// function getYiBiao(kaohao_id) {
-// var url = '/tools/onestudentchengji/yibiao';
-// var title = '总成绩仪表图';
-// var val = {
-// kaohao_id: kaohao_id
-// };
-// createYiBiao(url, val, title);
-// }
-
-
-// // 条形统计图--优秀率
-// function getDefenlv(kaohao_id) {
-// var id = 'myDefenlv';
-// var url = '/tools/onestudentchengji/xkdfl';
-// var val = {
-// kaohao_id: kaohao_id
-// };
-// var title = '';
-// createTiaoxing(id, url, val, title);
-// }
-
-
-// // 条形统计图--优秀率
-// function getQweizhi(kaohao_id) {
-// var id = 'myQweizhi';
-// var url = '/tools/onestudentchengji/xkwz';
-// var val = {
-// kaohao_id: kaohao_id
-// };
-// var title = '';
-// createTiaoxing(id, url, val, title);
-// }
-
-
-// // 获取学生成绩报告
-// function getBaogao(kaohao_id) {
-// $.ajax({
-// url: '/tools/onestudentchengji/baogao',
-// type: 'POST',
-// data: {
-// 'kaohao_id': kaohao_id
-// },
-// success: function(result) {
-// if (result.val == 1) {
-// $('#baogao').text(result.baogao);
-// } else {
-// layer.msg(result.msg);
-// }
-// },
-// error: function(result) {
-// layer.msg('数据扔半道啦。', function() {});
-// },
-// });
-// }
-
-
-
-// /**
-// * 异步获取图表中的数据
-// *
-// * @access public
-// * @param id 要添加数据的div
-// * @param url 异步地址
-// * @param val 异步时携带的参数
-// * @param val 图表标题
-// * @return array 返回类型
-// */
-// function createLeiDa(url, val, title) {
-// var myLeiDa = echarts.init(document.getElementById('leida'));
-// $.post(url, val).done(function(data) {
-// myLeiDa.setOption({
-// title: {
-// text: '',
-// },
-// tooltip: {},
-// legend: {
-// data: data.legend,
-// top: 40,
-// left: 0,
-// orient: 'vertical',
-// },
-// grid: {
-// left: '10%',
-// right: '10%',
-// top: '30%',
-// bottom: '10%',
-// height: 'auto',
-// },
-// toolbox: {
-// id: 'leida',
-// show: true,
-// orient: 'horizontal',
-// showTitle: true,
-// feature: {
-// saveAsImage: { //保存文件
-// show: true
-// },
-// },
-// },
-// radar: {
-// // shape: 'circle',
-// name: {
-// textStyle: {
-// color: '#fff',
-// backgroundColor: '#999',
-// borderRadius: 3,
-// padding: [3, 5]
-// }
-// },
-// indicator: data.indicator
-// },
-// series: data.series
-// })
-// });
-// }
-
-
-// /**
-// * 异步获取图表中的数据
-// * @access public
-// * @param id 要添加数据的div
-// * @param url 异步地址
-// * @param val 异步时携带的参数
-// * @param val 图表标题
-// * @return array 返回类型
-// */
-// function createYiBiao(url, val, title) {
-// var myYiBiao = echarts.init(document.getElementById('yibiao'));
-// $.post(url, val).done(function(data) {
-// myYiBiao.setOption({
-// title: {
-// text: data.title,
-// },
-// tooltip: {},
-// toolbox: {
-// id: 'yibiao',
-// show: true,
-// orient: 'horizontal',
-// showTitle: true,
-// feature: {
-// saveAsImage: { //保存文件
-// show: true
-// },
-// },
-// },
-// series: {
-// name: data.series.name,
-// type: data.series.type,
-// data: data.series.data,
-// detail: { formatter: data.series.data[0].value + '%' }
-// }
-// })
-// });
-// }
-
-// /**
-// * 异步获取图表中的数据
-// * @access public
-// * @param id 要添加数据的div
-// * @param url 异步地址
-// * @param val 异步时携带的参数
-// * @param val 图表标题
-// * @return array 返回类型
-// */
-// function createTiaoxing(id, url, val, title) {
-// var myTiaoxing = echarts.init(document.getElementById(id), 'infographic');
-// $.post(url, val).done(function(data) {
-// myTiaoxing.setOption({
-// title: {
-// text: title,
-// left: 'center',
-// },
-// legend: {
-// top: '10%',
-// },
-// grid: {
-// left: '10%',
-// top: '20%',
-// right: '10%',
-// bottom: '15%'
-// },
-// tooltip: {
-// show: true,
-// axisPointer: {
-// type: 'shadow'
-// }
-// },
-// toolbox: {
-// id: id,
-// show: true,
-// orient: 'horizontal',
-// showTitle: true,
-// feature: {
-// saveAsImage: { //保存文件
-// show: true
-// },
-// },
-// },
-// dataset: {
-// source: data.data
-// },
-// xAxis: data.xAxis,
-// yAxis: data.yAxis,
-// series: data.series,
-// });
-// });
-// }
-