├── .babelrc
├── .editorconfig
├── .gitignore
├── .vscode
└── temp.sql
├── Makefile
├── README.md
├── debug.log
├── package-lock.json
├── package.json
├── postcss.config.js
├── src
├── App.vue
├── components
│ ├── Schedule.vue
│ ├── Searchcourse.vue
│ ├── TopNav.vue
│ └── Waitcourse.vue
├── index.html
├── main.js
└── vendor.js
├── webpack.config.js
└── yarn.lock
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["es2015", { "modules": false }]
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | dist/
4 | npm-debug.log
5 | .idea
6 | data.sqlite
--------------------------------------------------------------------------------
/.vscode/temp.sql:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cosformula/CourseSchedulingHelper/c99e6f8e957d2f9efecbaabd205516753b6e2d24/.vscode/temp.sql
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | .PHONY: dist build
2 | install:
3 | @npm install
4 |
5 | dev: install
6 | @npm run dev
7 |
8 | build:
9 | @npm run build
10 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # CourseSchedulingHelper
2 |
3 | [instance](http://xk.shuhelper.cn)
4 |
5 |
6 | ## Environment
7 |
8 | `Node >= 6`
9 |
10 | ## Start
11 |
12 | - Clone or download this repository
13 | - Enter your local directory, and install dependencies:
14 |
15 | ``` bash
16 | npm install
17 | ```
18 |
19 | ## Develop
20 |
21 | ``` bash
22 | # serve with hot reload at localhost:8010
23 | npm run dev
24 |
25 | # backend at localhost:8080
26 | python app.py
27 |
28 | ```
29 |
30 | ## Build
31 |
32 | ``` bash
33 | # build for production with minification
34 | npm run build
35 | ```
36 |
--------------------------------------------------------------------------------
/debug.log:
--------------------------------------------------------------------------------
1 | [0131/212349:ERROR:tcp_listen_socket.cc(76)] Could not bind socket to 127.0.0.1:6004
2 | [0131/212350:ERROR:node_debugger.cc(86)] Cannot start debugger server
3 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "element-starter",
3 | "description": "A Vue.js project",
4 | "author": "yi.shyang@ele.me",
5 | "private": true,
6 | "scripts": {
7 | "dev": "webpack-dev-server -d --inline --hot --env.dev",
8 | "build": "rimraf dist && webpack -p --progress --hide-modules"
9 | },
10 | "dependencies": {
11 | "element-ui": "^2.3.9",
12 | "vue": "^2.5.16",
13 | "vue-resource": "^1.1.1"
14 | },
15 | "engines": {
16 | "node": ">=6"
17 | },
18 | "devDependencies": {
19 | "autoprefixer": "^6.6.0",
20 | "babel-core": "^6.21.0",
21 | "babel-eslint": "^7.1.1",
22 | "babel-loader": "^6.2.10",
23 | "babel-preset-es2015": "^6.13.2",
24 | "css-loader": "^0.26.1",
25 | "eslint": "^3.12.2",
26 | "eslint-config-enough": "^0.2.2",
27 | "eslint-loader": "^1.6.1",
28 | "file-loader": "^0.9.0",
29 | "html-loader": "^0.4.4",
30 | "html-webpack-plugin": "^2.24.1",
31 | "postcss-loader": "^1.2.1",
32 | "rimraf": "^2.5.4",
33 | "style-loader": "^0.13.1",
34 | "url-loader": "^0.5.7",
35 | "vue-loader": "^10.0.0",
36 | "vue-template-compiler": "^2.5.16",
37 | "webpack": "^2.2.0-rc.4",
38 | "webpack-dev-server": "2.5.1"
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: [
3 | require('autoprefixer')()
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 | 链接生成中请耐心等待... 短链接已生成,您现在可以在任何地方通过
76 | http://xk.shuhelper.cn/{{ code }}访问您的课表,也可以将这个链接分享给他人。 排课助手(xk.shuhelper.cn)是SHUhelper的一部分,主要是为了解决排课过程中的困难而制作的小工具,主要实现了搜索课程并从心仪的课程中排列出一份完美的课表的功能。 欢迎关注我们的微信公众号 搜索:
81 | shuhelper
82 | 也请考虑赞助以支持我们的发展(*˘︶˘*).。.:*♡
84 |
86 |
91 | 开源代码
92 |
94 | {{week}} {{detail.coursename}} {{detail.teachname}} 课程名: {{ scope.row.course_name }} 课程号: {{ scope.row.course_no }} 教师名: {{ scope.row.teacher_name }} 教师号: {{ scope.row.teacher_no }} 选课人数: {{ scope.row.enroll }}/{{ scope.row.capacity }} 开课学院: {{ scope.row.school }} 标签: {{ scope.row.tag }} 课程名: {{ scope.row.course_name }} 课程号: {{ scope.row.course_no }} 教师名: {{ scope.row.teacher_name }} 教师号: {{ scope.row.teacher_no }} 选课人数: {{ scope.row.enroll }}/{{ scope.row.capacity }} 开课学院: {{ scope.row.school }} 标签: {{ scope.row.tag }}别忘了选形势与政策哦 ≧ω≦
62 |
63 |
67 |
课程号:{{item.course_no}}
教师号:{{item.teacher_no}}
65 |
87 |
88 |
89 |
95 |
96 |
97 |
遇到问题请加qq群:
99 | 368238744 反馈
100 | Version 0.11.0 | admin@shuhelper.cn | SHUhelper 开发委员会
101 |
102 | ♥
103 | Do have faith in what you're doing.
104 |
105 |
108 |
111 |
115 |