master
yujialong 4 years ago
parent efff30f302
commit c80fc22a1f
  1. 4
      src/components/page/Login.vue
  2. 12
      src/components/page/Student.vue

@ -67,8 +67,8 @@ export default {
data: function() { data: function() {
return { return {
param: { param: {
username: 'admin', username: '',
password: 'admin' password: ''
}, },
rules: { rules: {
username: [{ required: true, message: '请输入用户名', trigger: 'blur' }], username: [{ required: true, message: '请输入用户名', trigger: 'blur' }],

@ -342,6 +342,12 @@ export default {
tooltip: { tooltip: {
trigger: 'item' trigger: 'item'
}, },
grid: {
left: '3%',
right: '10%',
bottom: '3%',
containLabel: true
},
xAxis: { xAxis: {
name: '次数', name: '次数',
type: 'value', type: 'value',
@ -349,7 +355,7 @@ export default {
}, },
yAxis: { yAxis: {
type: 'category', type: 'category',
data: schoolList, data: schoolList.reverse(),
}, },
series: [{ series: [{
data: frequencyList, data: frequencyList,
@ -389,13 +395,13 @@ export default {
}, },
yAxis: { yAxis: {
type: 'category', type: 'category',
data: schoolList1 data: schoolList1.reverse()
}, },
series: [ series: [
{ {
name: '平均实验时间:', name: '平均实验时间:',
type: 'bar', type: 'bar',
data: timeList, data: timeList.reverse(),
color: ['#9278ff'] color: ['#9278ff']
}, },
] ]

Loading…
Cancel
Save