diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index ac39562a7..c51c0d5e1 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -19,25 +19,25 @@ function locationurl(list){ let hashTimeout // TODO 开发期多个身份切换 -let debugType ="" -if (isDev) { - const _search = window.location.search; - let parsed = {}; - if (_search) { - parsed = queryString.parse(_search); - } - debugType = window.location.search.indexOf('debug=t') != -1 ? 'teacher' : - window.location.search.indexOf('debug=s') != -1 ? 'student' : - window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin' -} -// 超管 -// debugType="admin"; -// 老师 -//ebugType="teacher"; -// 学生 -// debugType="student"; - -window._debugType = debugType; +// let debugType ="" +// if (isDev) { +// const _search = window.location.search; +// let parsed = {}; +// if (_search) { +// parsed = queryString.parse(_search); +// } +// debugType = window.location.search.indexOf('debug=t') != -1 ? 'teacher' : +// window.location.search.indexOf('debug=s') != -1 ? 'student' : +// window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin' +// } +// // 超管 +// // debugType="admin"; +// // 老师 +// //ebugType="teacher"; +// // 学生 +// // debugType="student"; +// +// window._debugType = debugType; export function initAxiosInterceptors(props) { initOnlineOfflineListener() diff --git a/public/react/src/college/College.js b/public/react/src/college/College.js index eaed9747c..c204ab65b 100644 --- a/public/react/src/college/College.js +++ b/public/react/src/college/College.js @@ -1037,7 +1037,7 @@ class College extends Component {

教师排名 @@ -1112,7 +1112,7 @@ class College extends Component {

@@ -1145,7 +1145,7 @@ class College extends Component {

学生排名 @@ -1218,7 +1218,7 @@ class College extends Component {

{b} : {c} ({d}%)" + formatter: "{d}%
" }, legend: { // orient: 'vertical', // top: 'middle', - bottom: 40, + bottom: 50, left: 'center', data: datanane }, @@ -68,7 +68,7 @@ class Colleagechart extends Component {
diff --git a/public/react/src/college/colleagechart/Colleagechartzu.js b/public/react/src/college/colleagechart/Colleagechartzu.js index c65d2f6f2..ff1b6fb6b 100644 --- a/public/react/src/college/colleagechart/Colleagechartzu.js +++ b/public/react/src/college/colleagechart/Colleagechartzu.js @@ -15,8 +15,8 @@ function startechart(names, values){ backgroundColor: '#fff', grid: { left: '3%', - right: '4%', - bottom: '10%', + right: '10%', + bottom: '15%', containLabel: true }, @@ -133,7 +133,7 @@ class Colleagechartzu extends Component {