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() {
return {
param: {
username: 'admin',
password: 'admin'
username: '',
password: ''
},
rules: {
username: [{ required: true, message: '请输入用户名', trigger: 'blur' }],

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

Loading…
Cancel
Save