From 3e5ec39464c8bf251d1366141815a361e4884dab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A7=9A=E4=B8=B9ab?= <1421553879@qq.com>
Date: Tue, 29 Nov 2022 23:15:47 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../resources/templates/teacherIndex.html | 110 +++++++++---------
.../jlw/courseInfo/courseConfigureNew.html | 1 +
2 files changed, 54 insertions(+), 57 deletions(-)
diff --git a/admin-core/src/main/resources/templates/teacherIndex.html b/admin-core/src/main/resources/templates/teacherIndex.html
index 64a5dd8d..9f811c78 100644
--- a/admin-core/src/main/resources/templates/teacherIndex.html
+++ b/admin-core/src/main/resources/templates/teacherIndex.html
@@ -67,7 +67,7 @@
- 校园动态授权码:{{d.universitiesCollegesAuthCode}}
+ 校园动态授权码:
@@ -284,7 +284,6 @@
var adminIndexDetailData = [];
var adminIndexBarchartData = [];
var isSignRole = $("input[name='isSignRole']").val();
-
//日期时间范围选择
laydate.render({
elem: '#allDate'
@@ -304,76 +303,73 @@
if (isSignRole == 1) {
getTpl = admin_Demo.innerHTML;
view = document.getElementById('admin_view');
+ var chartDom = document.getElementById('monitor');
+ var myChart= echarts.init(chartDom);
+ var option = {
+ tooltip: {
+ trigger: 'axis',
+ axisPointer: {
+ type: 'shadow'
+ }
+ },
+ grid: {
+ left: '3%',
+ right: '4%',
+ bottom: '3%',
+ containLabel: true
+ },
+ xAxis: [
+ {
+ type: 'category',
+ data: adminIndexBarchartData.xList,
+ axisTick: {
+ alignWithLabel: true
+ }
+ }
+ ],
+ yAxis: [
+ {
+ type: 'value'
+ }
+ ],
+ color: ['#5470c6'],
+ series: [
+ {
+ name: 'Direct',
+ type: 'bar',
+ barWidth: '10%',
+ data: adminIndexBarchartData.yList,
+ label: {
+ normal: {
+ show: true,//开启显示
+ position: 'top',//柱形上方
+ textStyle: { //数值样式
+ color: '#000'
+ }
+ }
+ }
+ }
+ ]
+ };
+ option && myChart.setOption(option);
} else {
getTpl = uniAdmin_Demo.innerHTML;
view = document.getElementById('uniAdmin_view');
+
}
loadInfo();
- var chartDom = document.getElementById('monitor');
- var myChart = echarts.init(chartDom);
- var option = {
- tooltip: {
- trigger: 'axis',
- axisPointer: {
- type: 'shadow'
- }
- },
- grid: {
- left: '3%',
- right: '4%',
- bottom: '3%',
- containLabel: true
- },
- xAxis: [
- {
- type: 'category',
- data: adminIndexBarchartData.xList,
- axisTick: {
- alignWithLabel: true
- }
- }
- ],
- yAxis: [
- {
- type: 'value'
- }
- ],
- color: ['#5470c6'],
- series: [
- {
- name: 'Direct',
- type: 'bar',
- barWidth: '10%',
- data: adminIndexBarchartData.yList,
- label: {
- normal: {
- show: true,//开启显示
- position: 'top',//柱形上方
- textStyle: { //数值样式
- color: '#000'
- }
- }
- }
- }
- ]
- };
- option && myChart.setOption(option);
-
function loadInfo(sTime, eTime) {
var ret = Common.getAjax("/api/statisticalAnalysis/adminIndexDetail.do", {stime: sTime, etime: eTime});
- var retChart = Common.getAjax("/api/statisticalAnalysis/adminIndexBarchart.do", {
- stime: sTime,
- etime: eTime
- });
+ var retChart = Common.getAjax("/api/statisticalAnalysis/adminIndexBarchart.do", {stime: sTime,etime: eTime});
if (retChart.code == 0) {
adminIndexBarchartData = retChart.data;
}
if (ret.code == 0) {
adminIndexDetailData = ret.data;
}
-
+ $("#universitiesCollegesAuthCode").text(adminIndexDetailData.universitiesCollegesAuthCode)
laytpl(getTpl).render(adminIndexDetailData, function (html) {
view.innerHTML = html;
});
diff --git a/web/src/main/resources/templates/jlw/courseInfo/courseConfigureNew.html b/web/src/main/resources/templates/jlw/courseInfo/courseConfigureNew.html
index 535d7b1c..7b305cfc 100644
--- a/web/src/main/resources/templates/jlw/courseInfo/courseConfigureNew.html
+++ b/web/src/main/resources/templates/jlw/courseInfo/courseConfigureNew.html
@@ -207,6 +207,7 @@
addOpen("",'子章节名称',"",param);
}else if (obj.event === 'updateResources') {//上传资源
+
}else if (obj.event === 'addLine') {//添加链接
}else if (obj.event === 'addWP') {//添加图文