增加课题统计

This commit is contained in:
东宝书记 committed 2021-05-05 00:02:16 +08:00
1 parent 7989875d7a
commit dcdcfd82ec
23 files changed
+692 -313

No files matched your search

+9 -10
View File
@@ -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)
{
+3
View File
@@ -157,6 +157,9 @@
<tr>
<th>开发者</th>
<td>大连巴掌(w86112@vip.163.com)</td></tr>
<tr>
<th>备案</th>
<td>辽ICP备19005631号</td></tr>
</tbody>
</table>
</div>
+4 -225
View File
@@ -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,
// });
// });
// }
</script>
</html>
Loaded 3 of 23 files, more files were not shown because too many files have changed in this diff. Show more