{"action":"created","issue":{"url":"https://api.github.com/repos/laohyx/electsys/issues/14","repository_url":"https://api.github.com/repos/laohyx/electsys","labels_url":"https://api.github.com/repos/laohyx/electsys/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/laohyx/electsys/issues/14/comments","events_url":"https://api.github.com/repos/laohyx/electsys/issues/14/events","html_url":"https://github.com/laohyx/electsys/issues/14","id":177709544,"number":14,"title":"“查询绩点”和“我的成绩单”页面的bug","user":{"login":"gousaiyang","id":15073518,"avatar_url":"https://avatars.githubusercontent.com/u/15073518?v=3","gravatar_id":"","url":"https://api.github.com/users/gousaiyang","html_url":"https://github.com/gousaiyang","followers_url":"https://api.github.com/users/gousaiyang/followers","following_url":"https://api.github.com/users/gousaiyang/following{/other_user}","gists_url":"https://api.github.com/users/gousaiyang/gists{/gist_id}","starred_url":"https://api.github.com/users/gousaiyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gousaiyang/subscriptions","organizations_url":"https://api.github.com/users/gousaiyang/orgs","repos_url":"https://api.github.com/users/gousaiyang/repos","events_url":"https://api.github.com/users/gousaiyang/events{/privacy}","received_events_url":"https://api.github.com/users/gousaiyang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/laohyx/electsys/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-19T06:05:55Z","updated_at":"2016-09-20T03:00:18Z","closed_at":null,"body":"- \"查询绩点\"页面，第一次点击“全选”的时候，按钮文字没有变成“全不选”，从第二次开始才会变。这样当下面的项目已经全部选中时，上面的按钮还是“全选”；当下面的项目全部没有选中的时候，上面的按钮却是“全不选”了。状态恰好相反了，可能代码里有错误？\r\n- “我的成绩单”页面，因为有的成绩不是数值，而是P/F制（如“通过”）或者等级制（如“A-”），这时候全选的平均分计算值就是NaN。希望可以优化一下？\r\n- 还有一个问题，是\"查询绩点\"和“我的成绩单”页面共有的，就是如果先点击“全选”按钮，然后去掉一项，然后又重新选上刚才去掉的一项（通过点击行的方式，而不是再点“全选”按钮），那么现在是处于全选状态的。但插件并不能识别这种情况，“全选”按钮上面的字还是“全选”，点一次之后下面的项目也还是全选状态的。如果能够在用户每次点击一行的时候判断当前是不是已经处于全选状态，如果已经全选就把“全选”按钮的字改成“全不选”，并相应地更新按钮的行为。这样是不是会更智能一些？"},"comment":{"url":"https://api.github.com/repos/laohyx/electsys/issues/comments/248188770","html_url":"https://github.com/laohyx/electsys/issues/14#issuecomment-248188770","issue_url":"https://api.github.com/repos/laohyx/electsys/issues/14","id":248188770,"user":{"login":"at15","id":5621298,"avatar_url":"https://avatars.githubusercontent.com/u/5621298?v=3","gravatar_id":"","url":"https://api.github.com/users/at15","html_url":"https://github.com/at15","followers_url":"https://api.github.com/users/at15/followers","following_url":"https://api.github.com/users/at15/following{/other_user}","gists_url":"https://api.github.com/users/at15/gists{/gist_id}","starred_url":"https://api.github.com/users/at15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at15/subscriptions","organizations_url":"https://api.github.com/users/at15/orgs","repos_url":"https://api.github.com/users/at15/repos","events_url":"https://api.github.com/users/at15/events{/privacy}","received_events_url":"https://api.github.com/users/at15/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T03:00:18Z","updated_at":"2016-09-20T03:00:18Z","body":"头像好评，我是来打酱油的"}}
{"actor":{"display_login":"at15"}}