Skip to content

Instantly share code, notes, and snippets.

@pandada8
Created December 21, 2017 05:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pandada8/3dfa723083a8e13458c81ba89f6463ef to your computer and use it in GitHub Desktop.
Save pandada8/3dfa723083a8e13458c81ba89f6463ef to your computer and use it in GitHub Desktop.
电子科技大学教务系统
sem = $("input[name='semester.id']").val()
$('a:contains("进行评教")').each((_, x) => {
const [course, teacherId] = $(x).attr('href').match(/'(\d+,\d+)'/)[1].split(',')
$.post('http://eams.uestc.edu.cn/eams/evaluateStd!save.action', {
teacherId,
select6:15,
select2:25,
select4:35,
select1:5,
"semester.id": sem,
"lesson.id": course,
"teacher.ids": teacherId
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment