├── Web ├── static │ ├── .gitkeep │ ├── img │ │ └── img.jpg │ ├── css │ │ ├── theme-green │ │ │ ├── fonts │ │ │ │ ├── element-icons.ttf │ │ │ │ └── element-icons.woff │ │ │ └── color-green.css │ │ ├── color-dark.css │ │ ├── main.css │ │ └── datasource.css │ ├── vuetable.json │ ├── datasource.json │ └── data.json ├── .eslintignore ├── src │ ├── store │ │ ├── state.js │ │ ├── index.js │ │ ├── getters.js │ │ ├── mutations.js │ │ └── actions.js │ ├── assets │ │ ├── head.jpg │ │ ├── logo.png │ │ └── test.png │ ├── App.vue │ ├── components │ │ ├── common │ │ │ ├── Home.vue │ │ │ ├── Header.vue │ │ │ └── Sidebar.vue │ │ ├── HelloWorld.vue │ │ └── page │ │ │ ├── Markdown.vue │ │ │ ├── VueEditor.vue │ │ │ ├── BaseCharts.vue │ │ │ ├── Upload.vue │ │ │ ├── ManageScore.vue │ │ │ ├── VueTable.vue │ │ │ ├── Score.vue │ │ │ ├── StuLabDetail.vue │ │ │ ├── Login.vue │ │ │ ├── DragList.vue │ │ │ ├── BaseForm.vue │ │ │ ├── ManagerUser.vue │ │ │ ├── Message.vue │ │ │ ├── OnlineCompile.vue │ │ │ ├── BaseTable.vue │ │ │ ├── GiveMark.vue │ │ │ ├── StuManage.vue │ │ │ ├── ManageCourse.vue │ │ │ ├── OldCharts.vue │ │ │ ├── PersonInfo.vue │ │ │ ├── Forum.vue │ │ │ ├── Blog.vue │ │ │ ├── MyCourse.vue │ │ │ ├── Readme.vue │ │ │ └── MyLab.vue │ ├── utils │ │ └── index.js │ ├── main.js │ └── router │ │ └── index.js ├── build │ ├── logo.png │ ├── vue-loader.conf.js │ ├── build.js │ ├── check-versions.js │ ├── webpack.base.conf.js │ ├── webpack.dev.conf.js │ ├── utils.js │ └── webpack.prod.conf.js ├── config │ ├── prod.env.js │ ├── dev.env.js │ └── index.js ├── .prettierrc ├── .editorconfig ├── .gitignore ├── .postcssrc.js ├── .babelrc ├── index.html ├── README.md ├── .eslintrc.js └── package.json ├── Server └── README.md ├── README.md └── .gitignore /Web/static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Server/README.md: -------------------------------------------------------------------------------- 1 | # LabSystem 2 | 3 | LabSystem 实验管理系统 服务器端 4 | -------------------------------------------------------------------------------- /Web/.eslintignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /config/ 3 | /dist/ 4 | /*.js 5 | -------------------------------------------------------------------------------- /Web/src/store/state.js: -------------------------------------------------------------------------------- 1 | export default { 2 | username: '', 3 | token: '' 4 | } 5 | -------------------------------------------------------------------------------- /Web/build/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fwgood-24/LabSystem/HEAD/Web/build/logo.png -------------------------------------------------------------------------------- /Web/config/prod.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = { 3 | NODE_ENV: '"production"' 4 | } 5 | -------------------------------------------------------------------------------- /Web/src/assets/head.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fwgood-24/LabSystem/HEAD/Web/src/assets/head.jpg -------------------------------------------------------------------------------- /Web/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fwgood-24/LabSystem/HEAD/Web/src/assets/logo.png -------------------------------------------------------------------------------- /Web/src/assets/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fwgood-24/LabSystem/HEAD/Web/src/assets/test.png -------------------------------------------------------------------------------- /Web/static/img/img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fwgood-24/LabSystem/HEAD/Web/static/img/img.jpg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LabSystem 2 | LabSystem 实验管理系统 3 | 4 | 访问地址 http://etms.lli.fun 5 | 测试账号 20151120268 123456 6 | -------------------------------------------------------------------------------- /Web/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "semi": false, 4 | "bracketSpacing": true 5 | } 6 | -------------------------------------------------------------------------------- /Web/static/css/theme-green/fonts/element-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fwgood-24/LabSystem/HEAD/Web/static/css/theme-green/fonts/element-icons.ttf -------------------------------------------------------------------------------- /Web/static/css/theme-green/fonts/element-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fwgood-24/LabSystem/HEAD/Web/static/css/theme-green/fonts/element-icons.woff -------------------------------------------------------------------------------- /Web/config/dev.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const merge = require('webpack-merge') 3 | const prodEnv = require('./prod.env') 4 | 5 | module.exports = merge(prodEnv, { 6 | NODE_ENV: '"development"' 7 | }) 8 | -------------------------------------------------------------------------------- /Web/.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 | -------------------------------------------------------------------------------- /Web/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | /dist/ 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Editor directories and files 9 | .idea 10 | .vscode 11 | *.suo 12 | *.ntvs* 13 | *.njsproj 14 | *.sln 15 | -------------------------------------------------------------------------------- /Web/.postcssrc.js: -------------------------------------------------------------------------------- 1 | // https://github.com/michael-ciniawsky/postcss-load-config 2 | 3 | module.exports = { 4 | "plugins": { 5 | // to edit target browsers: use "browserslist" field in package.json 6 | "postcss-import": {}, 7 | "autoprefixer": {} 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Web/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["env", { 4 | "modules": false, 5 | "targets": { 6 | "browsers": ["> 1%", "last 2 versions", "not ie <= 8"] 7 | } 8 | }], 9 | "stage-2" 10 | ], 11 | "plugins": ["transform-vue-jsx", "transform-runtime"] 12 | } 13 | -------------------------------------------------------------------------------- /Web/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /Web/src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | import state from './state' 4 | import actions from './actions' 5 | import mutations from './mutations' 6 | import getters from './getters' 7 | Vue.use(Vuex) 8 | export default new Vuex.Store({ 9 | state, 10 | actions, 11 | mutations, 12 | getters 13 | }) 14 | -------------------------------------------------------------------------------- /Web/static/css/color-dark.css: -------------------------------------------------------------------------------- 1 | .header{ 2 | background-color: #242f42; 3 | } 4 | .login-wrap{ 5 | background: #324157; 6 | } 7 | .plugins-tips{ 8 | background: #eef1f6; 9 | } 10 | .plugins-tips a{ 11 | color: #20a0ff; 12 | } 13 | .el-upload--text em { 14 | color: #20a0ff; 15 | } 16 | .pure-button{ 17 | background: #20a0ff; 18 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled class file 2 | *.class 3 | 4 | # Log file 5 | *.log 6 | 7 | # BlueJ files 8 | *.ctxt 9 | 10 | # Mobile Tools for Java (J2ME) 11 | .mtj.tmp/ 12 | 13 | # Package Files # 14 | *.jar 15 | *.war 16 | *.ear 17 | *.zip 18 | *.tar.gz 19 | *.rar 20 | 21 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 22 | hs_err_pid* 23 | -------------------------------------------------------------------------------- /Web/src/store/getters.js: -------------------------------------------------------------------------------- 1 | export default { 2 | getUsername(state) { 3 | return state.username || window.localStorage.getItem('username') 4 | }, 5 | getToken(state) { 6 | return state.token || window.localStorage.getItem('token') 7 | }, 8 | getRole(state) { 9 | return state.role || window.localStorage.getItem('role') 10 | }, 11 | getAvatar(state) { 12 | return state.avatar || window.localStorage.getItem('avatar') 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | web 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Web/src/components/common/Home.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 21 | -------------------------------------------------------------------------------- /Web/src/components/HelloWorld.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | 24 | 25 | -------------------------------------------------------------------------------- /Web/README.md: -------------------------------------------------------------------------------- 1 | # web 2 | 3 | > A Vue.js project 4 | 5 | ## Build Setup 6 | 7 | ``` bash 8 | # install dependencies 9 | npm install 10 | 11 | # serve with hot reload at localhost:8080 12 | npm run dev 13 | 14 | # build for production with minification 15 | npm run build 16 | 17 | # build for production and view the bundle analyzer report 18 | npm run build --report 19 | ``` 20 | 21 | For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). 22 | -------------------------------------------------------------------------------- /Web/src/store/mutations.js: -------------------------------------------------------------------------------- 1 | export default { 2 | SET_USERNAME: (state, username) => { 3 | state.username = username 4 | window.localStorage.setItem('username', username) 5 | }, 6 | SET_TOKEN: (state, token) => { 7 | state.token = token 8 | window.localStorage.setItem('token', token) 9 | }, 10 | SET_AVATAR: (state, avatar) => { 11 | state.avatar = avatar 12 | window.localStorage.setItem('avatar', avatar) 13 | }, 14 | SET_ROLE: (state, role) => { 15 | state.role = role 16 | window.localStorage.setItem('role', role) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Web/build/vue-loader.conf.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const utils = require('./utils') 3 | const config = require('../config') 4 | const isProduction = process.env.NODE_ENV === 'production' 5 | const sourceMapEnabled = isProduction 6 | ? config.build.productionSourceMap 7 | : config.dev.cssSourceMap 8 | 9 | module.exports = { 10 | loaders: utils.cssLoaders({ 11 | sourceMap: sourceMapEnabled, 12 | extract: isProduction 13 | }), 14 | cssSourceMap: sourceMapEnabled, 15 | cacheBusting: config.dev.cacheBusting, 16 | transformToRequire: { 17 | video: ['src', 'poster'], 18 | source: 'src', 19 | img: 'src', 20 | image: 'xlink:href' 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Web/.eslintrc.js: -------------------------------------------------------------------------------- 1 | // https://eslint.org/docs/user-guide/configuring 2 | 3 | module.exports = { 4 | root: true, 5 | parser: 'babel-eslint', 6 | parserOptions: { 7 | sourceType: 'module' 8 | }, 9 | env: { 10 | browser: true 11 | }, 12 | // https://github.com/standard/standard/blob/master/docs/RULES-en.md 13 | extends: 'standard', 14 | // required to lint *.vue files 15 | plugins: ['html'], 16 | // add your custom rules here 17 | rules: { 18 | // allow async-await 19 | 'generator-star-spacing': 'off', 20 | // allow debugger during development 21 | 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 22 | 'space-before-function-paren': 'off' 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Web/static/css/theme-green/color-green.css: -------------------------------------------------------------------------------- 1 | .header{ 2 | background-color: #00d1b2; 3 | } 4 | .login-wrap{ 5 | background: rgba(56, 157, 170, 0.82);; 6 | } 7 | .plugins-tips{ 8 | background: #f2f2f2; 9 | } 10 | .plugins-tips a{ 11 | color: #00d1b2; 12 | } 13 | .el-upload--text em { 14 | color: #00d1b2; 15 | } 16 | .pure-button{ 17 | background: #00d1b2; 18 | } 19 | .vue-datasource .btn-primary { 20 | color: #fff; 21 | background-color: #00d1b2 !important; 22 | border-color: #00d1b2 !important; 23 | } 24 | .pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus { 25 | background-color: #00d1b2 !important; 26 | border-color: #00d1b2 !important; 27 | } -------------------------------------------------------------------------------- /Web/static/vuetable.json: -------------------------------------------------------------------------------- 1 | { 2 | "list": [{ 3 | "date": "1997-11-11", 4 | "name": "林丽", 5 | "address": "吉林省 辽源市 龙山区" 6 | }, { 7 | "date": "1987-09-24", 8 | "name": "文敏", 9 | "address": "江西省 萍乡市 芦溪县" 10 | }, { 11 | "date": "1996-08-08", 12 | "name": "杨秀兰", 13 | "address": "黑龙江省 黑河市 五大连池市" 14 | }, { 15 | "date": "1978-06-18", 16 | "name": "魏强", 17 | "address": "广东省 韶关市 始兴县" 18 | }, { 19 | "date": "1977-07-09", 20 | "name": "石秀兰", 21 | "address": "江苏省 宿迁市 宿豫区" 22 | }, { 23 | "date": "1994-09-20", 24 | "name": "朱洋", 25 | "address": "海外 海外 -" 26 | }, { 27 | "date": "1980-01-22", 28 | "name": "傅敏", 29 | "address": "海外 海外 -" 30 | }, { 31 | "date": "1985-10-10", 32 | "name": "毛明", 33 | "address": "内蒙古自治区 包头市 九原区" 34 | }, { 35 | "date": "1975-09-08", 36 | "name": "何静", 37 | "address": "西藏自治区 阿里地区 普兰县" 38 | }, { 39 | "date": "1970-06-07", 40 | "name": "郭秀英", 41 | "address": "四川省 巴中市 恩阳区" 42 | }] 43 | } -------------------------------------------------------------------------------- /Web/build/build.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | require('./check-versions')() 3 | 4 | process.env.NODE_ENV = 'production' 5 | 6 | const ora = require('ora') 7 | const rm = require('rimraf') 8 | const path = require('path') 9 | const chalk = require('chalk') 10 | const webpack = require('webpack') 11 | const config = require('../config') 12 | const webpackConfig = require('./webpack.prod.conf') 13 | 14 | const spinner = ora('building for production...') 15 | spinner.start() 16 | 17 | rm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => { 18 | if (err) throw err 19 | webpack(webpackConfig, (err, stats) => { 20 | spinner.stop() 21 | if (err) throw err 22 | process.stdout.write(stats.toString({ 23 | colors: true, 24 | modules: false, 25 | children: false, 26 | chunks: false, 27 | chunkModules: false 28 | }) + '\n\n') 29 | 30 | if (stats.hasErrors()) { 31 | console.log(chalk.red(' Build failed with errors.\n')) 32 | process.exit(1) 33 | } 34 | 35 | console.log(chalk.cyan(' Build complete.\n')) 36 | console.log(chalk.yellow( 37 | ' Tip: built files are meant to be served over an HTTP server.\n' + 38 | ' Opening index.html over file:// won\'t work.\n' 39 | )) 40 | }) 41 | }) 42 | -------------------------------------------------------------------------------- /Web/src/components/page/Markdown.vue: -------------------------------------------------------------------------------- 1 | 21 | 22 | -------------------------------------------------------------------------------- /Web/build/check-versions.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const chalk = require('chalk') 3 | const semver = require('semver') 4 | const packageConfig = require('../package.json') 5 | const shell = require('shelljs') 6 | 7 | function exec (cmd) { 8 | return require('child_process').execSync(cmd).toString().trim() 9 | } 10 | 11 | const versionRequirements = [ 12 | { 13 | name: 'node', 14 | currentVersion: semver.clean(process.version), 15 | versionRequirement: packageConfig.engines.node 16 | } 17 | ] 18 | 19 | if (shell.which('npm')) { 20 | versionRequirements.push({ 21 | name: 'npm', 22 | currentVersion: exec('npm --version'), 23 | versionRequirement: packageConfig.engines.npm 24 | }) 25 | } 26 | 27 | module.exports = function () { 28 | const warnings = [] 29 | 30 | for (let i = 0; i < versionRequirements.length; i++) { 31 | const mod = versionRequirements[i] 32 | 33 | if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) { 34 | warnings.push(mod.name + ': ' + 35 | chalk.red(mod.currentVersion) + ' should be ' + 36 | chalk.green(mod.versionRequirement) 37 | ) 38 | } 39 | } 40 | 41 | if (warnings.length) { 42 | console.log('') 43 | console.log(chalk.yellow('To use this template, you must update following to modules:')) 44 | console.log() 45 | 46 | for (let i = 0; i < warnings.length; i++) { 47 | const warning = warnings[i] 48 | console.log(' ' + warning) 49 | } 50 | 51 | console.log() 52 | process.exit(1) 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /Web/src/components/page/VueEditor.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 48 | -------------------------------------------------------------------------------- /Web/static/datasource.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": [{ 3 | "id": 1, 4 | "name": "段娜", 5 | "email": "g.rgiuory@kctbut.mw", 6 | "ip": "68.28.4.232" 7 | }, 8 | { 9 | "id": 2, 10 | "name": "蔡洋", 11 | "email": "y.mwjjoje@lpkshev.tg", 12 | "ip": "22.126.12.189" 13 | }, 14 | { 15 | "id": 3, 16 | "name": "陈敏", 17 | "email": "e.voaiiuo@mvng.sn", 18 | "ip": "227.89.13.37" 19 | }, 20 | { 21 | "id": 4, 22 | "name": "朱平", 23 | "email": "e.lduuf@nkfypn.az", 24 | "ip": "9.39.240.243" 25 | }, 26 | { 27 | "id": 5, 28 | "name": "侯平", 29 | "email": "t.czqjyndts@jmwenklns.md", 30 | "ip": "178.162.29.113" 31 | }, 32 | { 33 | "id": 6, 34 | "name": "常超", 35 | "email": "d.dhysgem@uxpcutmlk.tt", 36 | "ip": "192.50.103.170" 37 | }, 38 | { 39 | "id": 7, 40 | "name": "许平", 41 | "email": "g.fiqdonvbc@wanepptw.tv", 42 | "ip": "73.20.99.60" 43 | }, 44 | { 45 | "id": 8, 46 | "name": "毛超", 47 | "email": "w.unyyejh@qus.gt", 48 | "ip": "10.88.135.123" 49 | }, 50 | { 51 | "id": 9, 52 | "name": "周磊", 53 | "email": "e.qbejguqqg@ejpxhltoak.gw", 54 | "ip": "244.221.237.210" 55 | }, 56 | { 57 | "id": 10, 58 | "name": "胡秀英", 59 | "email": "s.dszo@uxaojtj.sy", 60 | "ip": "86.199.17.210" 61 | } 62 | ], 63 | "pagination": { 64 | "total": 15, 65 | "per_page": 15, 66 | "current_page": 1, 67 | "last_page": 1, 68 | "from": 1, 69 | "to": 15 70 | } 71 | } -------------------------------------------------------------------------------- /Web/src/utils/index.js: -------------------------------------------------------------------------------- 1 | import axios from 'axios' 2 | import store from '../store' 3 | import router from '../router' 4 | axios.defaults.timeout = 5000 5 | axios.defaults.baseURL = 'https://sw.helianthus.cc/ETMS/servlet' 6 | axios.interceptors.request.use( 7 | config => { 8 | if (store.getters.getToken) { 9 | config.headers.Authorization = 'Bearer ' + store.getters.getToken 10 | } 11 | return config 12 | }, 13 | err => { 14 | return Promise.reject(err) 15 | } 16 | ) 17 | axios.interceptors.response.use( 18 | response => { 19 | return response 20 | }, 21 | error => { 22 | if (error.response) { 23 | switch (error.response.status) { 24 | case 401: 25 | // 401 清除token信息并跳转到登录页面 26 | router.replace({ 27 | path: '/login' 28 | }) 29 | } 30 | } 31 | // console.log(JSON.stringify(error));//console : Error: Request failed with status code 402 32 | return Promise.reject(error.response.data) 33 | } 34 | ) 35 | export default { 36 | login(username, password) { 37 | return axios.get(`/SignIn?action=SignIn`, { 38 | auth: { 39 | username: username, 40 | password: password 41 | } 42 | }) 43 | }, 44 | compile(language, filename, content, input) { 45 | return axios.post('http://120.79.54.13:3389/', { 46 | language: language, 47 | stdin: input, 48 | files: [ 49 | { 50 | name: filename, 51 | content: content 52 | } 53 | ] 54 | }) 55 | }, 56 | getIndex() { 57 | console.log(store.getters.getToken) 58 | return axios.get('/Courses?action=myIndex') 59 | }, 60 | getPersonInfo() { 61 | return axios.get('/Courses?action=personalData') 62 | }, 63 | getNotice() { 64 | return axios.get('/Courses?action=noticeAll') 65 | }, 66 | getNews() { 67 | return axios.get('/Courses?action=news') 68 | }, 69 | getBlogList(type) { 70 | return axios.get('/Courses?action=blogs', { 71 | params: { 72 | type: type 73 | } 74 | }) 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /Web/src/components/page/BaseCharts.vue: -------------------------------------------------------------------------------- 1 | 27 | 28 | 67 | 68 | 96 | -------------------------------------------------------------------------------- /Web/src/store/actions.js: -------------------------------------------------------------------------------- 1 | import utils from '../utils' 2 | export default { 3 | login: ({ commit, state }, { username, password }) => { 4 | return new Promise((resolve, reject) => { 5 | utils 6 | .login(username, password) 7 | .then(res => { 8 | commit('SET_USERNAME', username) 9 | commit('SET_TOKEN', res.data.token) 10 | commit('SET_AVATAR', res.data.avatar) 11 | commit('SET_ROLE', res.data.jurisdiction) 12 | resolve(res) 13 | }) 14 | .catch(error => { 15 | reject(error) 16 | }) 17 | }) 18 | }, 19 | compile: ({ commit, state }, { language, filename, content, input }) => { 20 | return new Promise((resolve, reject) => { 21 | utils 22 | .compile(language, filename, content, input) 23 | .then(res => { 24 | resolve(res) 25 | }) 26 | .catch(e => { 27 | reject(e) 28 | }) 29 | }) 30 | }, 31 | getIndex() { 32 | return new Promise((resolve, reject) => { 33 | utils 34 | .getIndex() 35 | .then(res => { 36 | resolve(res) 37 | }) 38 | .catch(e => { 39 | reject(e) 40 | }) 41 | }) 42 | }, 43 | getpersoninfo() { 44 | return new Promise((resolve, reject) => { 45 | utils 46 | .getPersonInfo() 47 | .then(res => { 48 | resolve(res) 49 | }) 50 | .catch(e => { 51 | reject(e) 52 | }) 53 | }) 54 | }, 55 | getnotice() { 56 | return new Promise((resolve, reject) => { 57 | utils 58 | .getNotice() 59 | .then(res => { 60 | resolve(res) 61 | }) 62 | .catch(e => { 63 | reject(e) 64 | }) 65 | }) 66 | }, 67 | getnews() { 68 | return new Promise((resolve, reject) => { 69 | utils 70 | .getNews() 71 | .then(res => { 72 | resolve(res) 73 | }) 74 | .catch(e => { 75 | reject(e) 76 | }) 77 | }) 78 | }, 79 | getbloglist(context, type) { 80 | return new Promise((resolve, reject) => { 81 | utils 82 | .getBlogList(type) 83 | .then(res => { 84 | resolve(res) 85 | }) 86 | .catch(e => { 87 | reject(e) 88 | }) 89 | }) 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /Web/src/components/page/Upload.vue: -------------------------------------------------------------------------------- 1 | 38 | 39 | 64 | 65 | -------------------------------------------------------------------------------- /Web/static/css/main.css: -------------------------------------------------------------------------------- 1 | *{margin:0;padding:0;} 2 | html,body,#app,.wrapper{ 3 | width:100%; 4 | height:100%; 5 | overflow: hidden; 6 | } 7 | body{ 8 | font-family:"Helvetica Neue",Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif; 9 | } 10 | a{text-decoration: none} 11 | .content{ 12 | background: none repeat scroll 0 0 #fff; 13 | position: absolute; 14 | left: 250px; 15 | right: 0; 16 | top: 70px; 17 | bottom:0; 18 | width: auto; 19 | padding:40px; 20 | box-sizing: border-box; 21 | overflow-y: scroll; 22 | } 23 | .crumbs{ 24 | margin-bottom: 20px; 25 | } 26 | .pagination{ 27 | margin: 20px 0; 28 | text-align: right; 29 | } 30 | .plugins-tips{ 31 | padding:20px 10px; 32 | margin-bottom: 20px; 33 | } 34 | .el-button+.el-tooltip { 35 | margin-left: 10px; 36 | } 37 | 38 | .el-table tr:hover{ 39 | background: #f6faff; 40 | } 41 | .mgb20{ 42 | margin-bottom: 20px; 43 | } 44 | 45 | .move-enter-active,.move-leave-active{ 46 | transition: opacity .5s; 47 | } 48 | .move-enter,.move-leave{ 49 | opacity: 0; 50 | } 51 | /*BaseForm*/ 52 | .form-box{ 53 | width:600px; 54 | } 55 | .form-box .line{ 56 | text-align: center; 57 | } 58 | .el-time-panel__content::after, .el-time-panel__content::before { 59 | margin-top: -7px; 60 | } 61 | /*Readme*/ 62 | .ms-doc .el-checkbox__input.is-disabled+.el-checkbox__label{ 63 | color: #333; 64 | cursor: pointer; 65 | } 66 | /*Upload*/ 67 | .pure-button{ 68 | width:150px; 69 | height:40px; 70 | line-height: 40px; 71 | text-align: center; 72 | color: #fff; 73 | border-radius: 3px; 74 | } 75 | .g-core-image-corp-container .info-aside{ 76 | height:45px; 77 | } 78 | .el-upload--text { 79 | background-color: #fff; 80 | border: 1px dashed #d9d9d9; 81 | border-radius: 6px; 82 | box-sizing: border-box; 83 | width: 360px; 84 | height: 180px; 85 | text-align: center; 86 | cursor: pointer; 87 | position: relative; 88 | overflow: hidden; 89 | } 90 | .el-upload--text .el-icon-upload { 91 | font-size: 67px; 92 | color: #97a8be; 93 | margin: 40px 0 16px; 94 | line-height: 50px; 95 | } 96 | .el-upload--text { 97 | color: #97a8be; 98 | font-size: 14px; 99 | text-align: center; 100 | } 101 | .el-upload--text em { 102 | font-style: normal; 103 | } 104 | /*VueEditor*/ 105 | .ql-container{ 106 | min-height: 400px; 107 | } 108 | .ql-snow .ql-tooltip{ 109 | transform: translateX(117.5px) translateY(10px) !important; 110 | } 111 | .editor-btn{ 112 | margin-top: 20px; 113 | } -------------------------------------------------------------------------------- /Web/src/components/page/ManageScore.vue: -------------------------------------------------------------------------------- 1 | 27 | 89 | -------------------------------------------------------------------------------- /Web/src/components/page/VueTable.vue: -------------------------------------------------------------------------------- 1 | 19 | 20 | 94 | 95 | -------------------------------------------------------------------------------- /Web/build/webpack.base.conf.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const path = require('path') 3 | const utils = require('./utils') 4 | const config = require('../config') 5 | const vueLoaderConfig = require('./vue-loader.conf') 6 | 7 | function resolve (dir) { 8 | return path.join(__dirname, '..', dir) 9 | } 10 | 11 | const createLintingRule = () => ({ 12 | test: /\.(js|vue)$/, 13 | loader: 'eslint-loader', 14 | enforce: 'pre', 15 | include: [resolve('src'), resolve('test')], 16 | options: { 17 | formatter: require('eslint-friendly-formatter'), 18 | emitWarning: !config.dev.showEslintErrorsInOverlay 19 | } 20 | }) 21 | 22 | module.exports = { 23 | context: path.resolve(__dirname, '../'), 24 | entry: { 25 | app: './src/main.js' 26 | }, 27 | output: { 28 | path: config.build.assetsRoot, 29 | filename: '[name].js', 30 | publicPath: process.env.NODE_ENV === 'production' 31 | ? config.build.assetsPublicPath 32 | : config.dev.assetsPublicPath 33 | }, 34 | resolve: { 35 | extensions: ['.js', '.vue', '.json'], 36 | alias: { 37 | 'vue$': 'vue/dist/vue.esm.js', 38 | '@': resolve('src'), 39 | } 40 | }, 41 | module: { 42 | rules: [ 43 | ...(config.dev.useEslint ? [createLintingRule()] : []), 44 | { 45 | test: /\.vue$/, 46 | loader: 'vue-loader', 47 | options: vueLoaderConfig 48 | }, 49 | { 50 | test: /\.js$/, 51 | loader: 'babel-loader', 52 | include: [resolve('src'), resolve('test')] 53 | }, 54 | { 55 | test: /\.(png|jpe?g|gif|svg)(\?.*)?$/, 56 | loader: 'url-loader', 57 | options: { 58 | limit: 10000, 59 | name: utils.assetsPath('img/[name].[hash:7].[ext]') 60 | } 61 | }, 62 | { 63 | test: /\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/, 64 | loader: 'url-loader', 65 | options: { 66 | limit: 10000, 67 | name: utils.assetsPath('media/[name].[hash:7].[ext]') 68 | } 69 | }, 70 | { 71 | test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/, 72 | loader: 'url-loader', 73 | options: { 74 | limit: 10000, 75 | name: utils.assetsPath('fonts/[name].[hash:7].[ext]') 76 | } 77 | } 78 | ] 79 | }, 80 | node: { 81 | // prevent webpack from injecting useless setImmediate polyfill because Vue 82 | // source contains it (although only uses it if it's native). 83 | setImmediate: false, 84 | // prevent webpack from injecting mocks to Node native modules 85 | // that does not make sense for the client 86 | dgram: 'empty', 87 | fs: 'empty', 88 | net: 'empty', 89 | tls: 'empty', 90 | child_process: 'empty' 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /Web/src/components/page/Score.vue: -------------------------------------------------------------------------------- 1 | 25 | 72 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /Web/src/main.js: -------------------------------------------------------------------------------- 1 | // The Vue build version to load with the `import` command 2 | // (runtime-only or standalone) has been set in webpack.base.conf with an alias. 3 | import Vue from 'vue' 4 | import App from './App' 5 | import router from './router' 6 | import ElementUI from 'element-ui' 7 | import 'element-ui/lib/theme-chalk/index.css' 8 | import store from './store' 9 | import 'babel-polyfill' 10 | import VueQuillEditor from 'vue-quill-editor' 11 | import 'quill/dist/quill.core.css' 12 | import 'quill/dist/quill.snow.css' 13 | import 'quill/dist/quill.bubble.css' 14 | import fundebug from 'fundebug-javascript' 15 | import axios from 'axios' 16 | // import '../static/css/theme-green/index.css'; 17 | Vue.config.productionTip = false 18 | Vue.use(ElementUI) 19 | axios.defaults.timeout = 5000 20 | axios.defaults.baseURL = 'https://sw.helianthus.cc/ETMS/servlet' 21 | axios.interceptors.request.use( 22 | config => { 23 | if (store.getters.getToken) { 24 | config.headers.Authorization = 'Bearer ' + store.getters.getToken 25 | } 26 | return config 27 | }, 28 | err => { 29 | return Promise.reject(err) 30 | } 31 | ) 32 | axios.interceptors.response.use( 33 | response => { 34 | return response 35 | }, 36 | error => { 37 | if (error.response) { 38 | switch (error.response.status) { 39 | case 401: 40 | // 401 清除token信息并跳转到登录页面 41 | router.replace({ 42 | path: '/login' 43 | }) 44 | } 45 | } 46 | // console.log(JSON.stringify(error));//console : Error: Request failed with status code 402 47 | return Promise.reject(error.response.data) 48 | } 49 | ) 50 | Vue.prototype.$axios = axios 51 | fundebug.apikey = 52 | '094c2c03f6a68add85c905d7880cfbb128e59e1dc739080a44f9df7ce0ba5868' 53 | function formatComponentName(vm) { 54 | if (vm.$root === vm) return 'root' 55 | 56 | var name = vm._isVue 57 | ? (vm.$options && vm.$options.name) || 58 | (vm.$options && vm.$options._componentTag) 59 | : vm.name 60 | return ( 61 | (name ? 'component <' + name + '>' : 'anonymous component') + 62 | (vm._isVue && vm.$options && vm.$options.__file 63 | ? ' at ' + (vm.$options && vm.$options.__file) 64 | : '') 65 | ) 66 | } 67 | 68 | Vue.config.errorHandler = function(err, vm, info) { 69 | var componentName = formatComponentName(vm) 70 | var propsData = vm.$options && vm.$options.propsData 71 | fundebug.notifyError(err, { 72 | metaData: { 73 | componentName: componentName, 74 | propsData: propsData, 75 | info: info 76 | } 77 | }) 78 | } 79 | Vue.use(VueQuillEditor /* { default global options } */) 80 | /* eslint-disable no-new */ 81 | new Vue({ 82 | el: '#app', 83 | router, 84 | template: '', 85 | store, 86 | components: { App } 87 | }) 88 | -------------------------------------------------------------------------------- /Web/src/components/page/StuLabDetail.vue: -------------------------------------------------------------------------------- 1 | 32 | 83 | -------------------------------------------------------------------------------- /Web/build/webpack.dev.conf.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const utils = require('./utils') 3 | const webpack = require('webpack') 4 | const config = require('../config') 5 | const merge = require('webpack-merge') 6 | const baseWebpackConfig = require('./webpack.base.conf') 7 | const HtmlWebpackPlugin = require('html-webpack-plugin') 8 | const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin') 9 | const portfinder = require('portfinder') 10 | 11 | const HOST = process.env.HOST 12 | const PORT = process.env.PORT && Number(process.env.PORT) 13 | 14 | const devWebpackConfig = merge(baseWebpackConfig, { 15 | module: { 16 | rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, usePostCSS: true }) 17 | }, 18 | // cheap-module-eval-source-map is faster for development 19 | devtool: config.dev.devtool, 20 | 21 | // these devServer options should be customized in /config/index.js 22 | devServer: { 23 | clientLogLevel: 'warning', 24 | historyApiFallback: true, 25 | hot: true, 26 | compress: true, 27 | host: HOST || config.dev.host, 28 | port: PORT || config.dev.port, 29 | open: config.dev.autoOpenBrowser, 30 | overlay: config.dev.errorOverlay 31 | ? { warnings: false, errors: true } 32 | : false, 33 | publicPath: config.dev.assetsPublicPath, 34 | proxy: config.dev.proxyTable, 35 | quiet: true, // necessary for FriendlyErrorsPlugin 36 | watchOptions: { 37 | poll: config.dev.poll, 38 | } 39 | }, 40 | plugins: [ 41 | new webpack.DefinePlugin({ 42 | 'process.env': require('../config/dev.env') 43 | }), 44 | new webpack.HotModuleReplacementPlugin(), 45 | new webpack.NamedModulesPlugin(), // HMR shows correct file names in console on update. 46 | new webpack.NoEmitOnErrorsPlugin(), 47 | // https://github.com/ampedandwired/html-webpack-plugin 48 | new HtmlWebpackPlugin({ 49 | filename: 'index.html', 50 | template: 'index.html', 51 | inject: true 52 | }), 53 | ] 54 | }) 55 | 56 | module.exports = new Promise((resolve, reject) => { 57 | portfinder.basePort = process.env.PORT || config.dev.port 58 | portfinder.getPort((err, port) => { 59 | if (err) { 60 | reject(err) 61 | } else { 62 | // publish the new Port, necessary for e2e tests 63 | process.env.PORT = port 64 | // add port to devServer config 65 | devWebpackConfig.devServer.port = port 66 | 67 | // Add FriendlyErrorsPlugin 68 | devWebpackConfig.plugins.push(new FriendlyErrorsPlugin({ 69 | compilationSuccessInfo: { 70 | messages: [`Your application is running here: http://${devWebpackConfig.devServer.host}:${port}`], 71 | }, 72 | onErrors: config.dev.notifyOnErrors 73 | ? utils.createNotifierCallback() 74 | : undefined 75 | })) 76 | 77 | resolve(devWebpackConfig) 78 | } 79 | }) 80 | }) 81 | -------------------------------------------------------------------------------- /Web/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "web", 3 | "version": "1.0.0", 4 | "description": "A Vue.js project", 5 | "author": "fwgood ", 6 | "private": true, 7 | "scripts": { 8 | "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", 9 | "start": "npm run dev", 10 | "lint": "eslint --ext .js,.vue src", 11 | "build": "node build/build.js" 12 | }, 13 | "dependencies": { 14 | "axios": "^0.17.1", 15 | "babel-polyfill": "^6.26.0", 16 | "element-ui": "^2.0.8", 17 | "fundebug-javascript": "^0.3.3", 18 | "highlight.js": "^9.12.0", 19 | "markdown": "^0.5.0", 20 | "vue": "^2.5.2", 21 | "vue-core-image-upload": "^2.3.10", 22 | "vue-datasource": "^1.0.9", 23 | "vue-quill-editor": "^3.0.4", 24 | "vue-router": "^3.0.1", 25 | "vue-schart": "^0.1.4", 26 | "vue-simplemde": "^0.4.6", 27 | "vuex": "^3.0.1" 28 | }, 29 | "devDependencies": { 30 | "autoprefixer": "^7.1.2", 31 | "babel-core": "^6.22.1", 32 | "babel-eslint": "^7.1.1", 33 | "babel-helper-vue-jsx-merge-props": "^2.0.3", 34 | "babel-loader": "^7.1.1", 35 | "babel-plugin-syntax-jsx": "^6.18.0", 36 | "babel-plugin-transform-runtime": "^6.22.0", 37 | "babel-plugin-transform-vue-jsx": "^3.5.0", 38 | "babel-preset-env": "^1.3.2", 39 | "babel-preset-stage-2": "^6.22.0", 40 | "chalk": "^2.0.1", 41 | "copy-webpack-plugin": "^4.0.1", 42 | "css-loader": "^0.28.0", 43 | "eslint": "^3.19.0", 44 | "eslint-config-standard": "^10.2.1", 45 | "eslint-friendly-formatter": "^3.0.0", 46 | "eslint-loader": "^1.7.1", 47 | "eslint-plugin-html": "^3.0.0", 48 | "eslint-plugin-import": "^2.7.0", 49 | "eslint-plugin-node": "^5.2.0", 50 | "eslint-plugin-promise": "^3.4.0", 51 | "eslint-plugin-standard": "^3.0.1", 52 | "eventsource-polyfill": "^0.9.6", 53 | "extract-text-webpack-plugin": "^3.0.0", 54 | "file-loader": "^1.1.4", 55 | "friendly-errors-webpack-plugin": "^1.6.1", 56 | "html-webpack-plugin": "^2.30.1", 57 | "node-notifier": "^5.1.2", 58 | "optimize-css-assets-webpack-plugin": "^3.2.0", 59 | "ora": "^1.2.0", 60 | "portfinder": "^1.0.13", 61 | "postcss-import": "^11.0.0", 62 | "postcss-loader": "^2.0.8", 63 | "rimraf": "^2.6.0", 64 | "semver": "^5.3.0", 65 | "shelljs": "^0.7.6", 66 | "uglifyjs-webpack-plugin": "^1.1.1", 67 | "url-loader": "^0.5.8", 68 | "vue-loader": "^13.3.0", 69 | "vue-style-loader": "^3.0.1", 70 | "vue-template-compiler": "^2.5.2", 71 | "webpack": "^3.6.0", 72 | "webpack-bundle-analyzer": "^2.9.0", 73 | "webpack-dev-server": "^2.9.7", 74 | "webpack-merge": "^4.1.0" 75 | }, 76 | "engines": { 77 | "node": ">= 4.0.0", 78 | "npm": ">= 3.0.0" 79 | }, 80 | "browserslist": [ 81 | "> 1%", 82 | "last 2 versions", 83 | "not ie <= 8" 84 | ] 85 | } 86 | -------------------------------------------------------------------------------- /Web/config/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | // Template version: 1.2.6 3 | // see http://vuejs-templates.github.io/webpack for documentation. 4 | 5 | const path = require('path') 6 | 7 | module.exports = { 8 | dev: { 9 | // Paths 10 | assetsSubDirectory: 'static', 11 | assetsPublicPath: '/', 12 | proxyTable: {}, 13 | 14 | // Various Dev Server settings 15 | host: 'localhost', // can be overwritten by process.env.HOST 16 | port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined 17 | autoOpenBrowser: false, 18 | errorOverlay: true, 19 | notifyOnErrors: true, 20 | poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions- 21 | 22 | // Use Eslint Loader? 23 | // If true, your code will be linted during bundling and 24 | // linting errors and warnings will be shown in the console. 25 | useEslint: true, 26 | // If true, eslint errors and warnings will also be shown in the error overlay 27 | // in the browser. 28 | showEslintErrorsInOverlay: false, 29 | 30 | /** 31 | * Source Maps 32 | */ 33 | 34 | // https://webpack.js.org/configuration/devtool/#development 35 | devtool: 'eval-source-map', 36 | 37 | // If you have problems debugging vue-files in devtools, 38 | // set this to false - it *may* help 39 | // https://vue-loader.vuejs.org/en/options.html#cachebusting 40 | cacheBusting: true, 41 | 42 | // CSS Sourcemaps off by default because relative paths are "buggy" 43 | // with this option, according to the CSS-Loader README 44 | // (https://github.com/webpack/css-loader#sourcemaps) 45 | // In our experience, they generally work as expected, 46 | // just be aware of this issue when enabling this option. 47 | cssSourceMap: false 48 | }, 49 | 50 | build: { 51 | // Template for index.html 52 | index: path.resolve(__dirname, '../dist/index.html'), 53 | 54 | // Paths 55 | assetsRoot: path.resolve(__dirname, '../dist'), 56 | assetsSubDirectory: 'static', 57 | assetsPublicPath: '/', 58 | 59 | /** 60 | * Source Maps 61 | */ 62 | 63 | productionSourceMap: true, 64 | // https://webpack.js.org/configuration/devtool/#production 65 | devtool: '#source-map', 66 | 67 | // Gzip off by default as many popular static hosts such as 68 | // Surge or Netlify already gzip all static assets for you. 69 | // Before setting to `true`, make sure to: 70 | // npm install --save-dev compression-webpack-plugin 71 | productionGzip: false, 72 | productionGzipExtensions: ['js', 'css'], 73 | 74 | // Run the build command with an extra argument to 75 | // View the bundle analyzer report after build finishes: 76 | // `npm run build --report` 77 | // Set to `true` or `false` to always turn it on or off 78 | bundleAnalyzerReport: process.env.npm_config_report 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /Web/build/utils.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const path = require('path') 3 | const config = require('../config') 4 | const ExtractTextPlugin = require('extract-text-webpack-plugin') 5 | const packageConfig = require('../package.json') 6 | 7 | exports.assetsPath = function (_path) { 8 | const assetsSubDirectory = process.env.NODE_ENV === 'production' 9 | ? config.build.assetsSubDirectory 10 | : config.dev.assetsSubDirectory 11 | 12 | return path.posix.join(assetsSubDirectory, _path) 13 | } 14 | 15 | exports.cssLoaders = function (options) { 16 | options = options || {} 17 | 18 | const cssLoader = { 19 | loader: 'css-loader', 20 | options: { 21 | sourceMap: options.sourceMap 22 | } 23 | } 24 | 25 | const postcssLoader = { 26 | loader: 'postcss-loader', 27 | options: { 28 | sourceMap: options.sourceMap 29 | } 30 | } 31 | 32 | // generate loader string to be used with extract text plugin 33 | function generateLoaders (loader, loaderOptions) { 34 | const loaders = options.usePostCSS ? [cssLoader, postcssLoader] : [cssLoader] 35 | 36 | if (loader) { 37 | loaders.push({ 38 | loader: loader + '-loader', 39 | options: Object.assign({}, loaderOptions, { 40 | sourceMap: options.sourceMap 41 | }) 42 | }) 43 | } 44 | 45 | // Extract CSS when that option is specified 46 | // (which is the case during production build) 47 | if (options.extract) { 48 | return ExtractTextPlugin.extract({ 49 | use: loaders, 50 | fallback: 'vue-style-loader' 51 | }) 52 | } else { 53 | return ['vue-style-loader'].concat(loaders) 54 | } 55 | } 56 | 57 | // https://vue-loader.vuejs.org/en/configurations/extract-css.html 58 | return { 59 | css: generateLoaders(), 60 | postcss: generateLoaders(), 61 | less: generateLoaders('less'), 62 | sass: generateLoaders('sass', { indentedSyntax: true }), 63 | scss: generateLoaders('sass'), 64 | stylus: generateLoaders('stylus'), 65 | styl: generateLoaders('stylus') 66 | } 67 | } 68 | 69 | // Generate loaders for standalone style files (outside of .vue) 70 | exports.styleLoaders = function (options) { 71 | const output = [] 72 | const loaders = exports.cssLoaders(options) 73 | 74 | for (const extension in loaders) { 75 | const loader = loaders[extension] 76 | output.push({ 77 | test: new RegExp('\\.' + extension + '$'), 78 | use: loader 79 | }) 80 | } 81 | 82 | return output 83 | } 84 | 85 | exports.createNotifierCallback = () => { 86 | const notifier = require('node-notifier') 87 | 88 | return (severity, errors) => { 89 | if (severity !== 'error') return 90 | 91 | const error = errors[0] 92 | const filename = error.file && error.file.split('!').pop() 93 | 94 | notifier.notify({ 95 | title: packageConfig.name, 96 | message: severity + ': ' + error.name, 97 | subtitle: filename || '', 98 | icon: path.join(__dirname, 'logo.png') 99 | }) 100 | } 101 | } 102 | -------------------------------------------------------------------------------- /Web/src/components/page/Login.vue: -------------------------------------------------------------------------------- 1 | 20 | 21 | 71 | 72 | -------------------------------------------------------------------------------- /Web/src/components/page/DragList.vue: -------------------------------------------------------------------------------- 1 | 22 | 23 | 83 | 84 | -------------------------------------------------------------------------------- /Web/src/components/page/BaseForm.vue: -------------------------------------------------------------------------------- 1 | 59 | 60 | -------------------------------------------------------------------------------- /Web/src/components/page/ManagerUser.vue: -------------------------------------------------------------------------------- 1 | 45 | 109 | -------------------------------------------------------------------------------- /Web/src/components/common/Header.vue: -------------------------------------------------------------------------------- 1 | 34 | 83 | 124 | -------------------------------------------------------------------------------- /Web/src/components/page/Message.vue: -------------------------------------------------------------------------------- 1 | 44 | 106 | 107 | 134 | -------------------------------------------------------------------------------- /Web/src/components/page/OnlineCompile.vue: -------------------------------------------------------------------------------- 1 | 38 | 39 | 121 | 122 | 134 | -------------------------------------------------------------------------------- /Web/src/router/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Router from 'vue-router' 3 | 4 | Vue.use(Router) 5 | 6 | export default new Router({ 7 | routes: [ 8 | { 9 | path: '/', 10 | redirect: '/login' 11 | }, 12 | { 13 | path: '/readme', 14 | component: resolve => require(['../components/common/Home.vue'], resolve), 15 | children: [ 16 | { 17 | path: '/', 18 | component: resolve => 19 | require(['../components/page/Readme.vue'], resolve) 20 | }, 21 | { 22 | path: '/basetable', 23 | component: resolve => 24 | require(['../components/page/BaseTable.vue'], resolve) 25 | }, 26 | { 27 | path: '/vuetable', 28 | component: resolve => 29 | require(['../components/page/VueTable.vue'], resolve) // vue-datasource组件 30 | }, 31 | { 32 | path: '/baseform', 33 | component: resolve => 34 | require(['../components/page/BaseForm.vue'], resolve) 35 | }, 36 | { 37 | path: '/vueeditor', 38 | component: resolve => 39 | require(['../components/page/VueEditor.vue'], resolve) // Vue-Quill-Editor组件 40 | }, 41 | { 42 | path: '/markdown', 43 | component: resolve => 44 | require(['../components/page/Markdown.vue'], resolve) // Vue-Quill-Editor组件 45 | }, 46 | { 47 | path: '/upload', 48 | component: resolve => 49 | require(['../components/page/Upload.vue'], resolve) // Vue-Core-Image-Upload组件 50 | }, 51 | { 52 | path: '/onlinecompile', 53 | component: resolve => 54 | require(['../components/page/OnlineCompile.vue'], resolve) // Vue-Core-Image-Upload组件 55 | }, 56 | { 57 | path: '/basecharts', 58 | component: resolve => 59 | require(['../components/page/BaseCharts.vue'], resolve) // vue-schart组件 60 | }, 61 | { 62 | path: '/drag', 63 | component: resolve => 64 | require(['../components/page/DragList.vue'], resolve) // 拖拽列表组件 65 | }, 66 | { 67 | path: '/message', 68 | component: resolve => 69 | require(['../components/page/Message.vue'], resolve) // 拖拽列表组件 70 | }, 71 | { 72 | path: '/personal', 73 | component: resolve => 74 | require(['../components/page/PersonInfo.vue'], resolve) // 拖拽列表组件 75 | }, 76 | { 77 | path: '/forum', 78 | component: resolve => 79 | require(['../components/page/forum.vue'], resolve) // 拖拽列表组件 80 | }, 81 | { 82 | path: '/blog', 83 | component: resolve => 84 | require(['../components/page/Blog.vue'], resolve) 85 | }, 86 | { 87 | path: '/myLab', 88 | component: resolve => 89 | require(['../components/page/MyLab.vue'], resolve) 90 | }, 91 | { 92 | path: '/stuManage', 93 | component: resolve => 94 | require(['../components/page/StuManage.vue'], resolve) 95 | }, 96 | { 97 | path: '/manageUser', 98 | component: resolve => 99 | require(['../components/page/ManagerUser.vue'], resolve) 100 | }, 101 | { 102 | path: '/manageCourse', 103 | component: resolve => 104 | require(['../components/page/ManageCourse.vue'], resolve) 105 | }, 106 | { 107 | path: '/stuManage/:stdId', 108 | component: resolve => 109 | require(['../components/page/StuLabDetail.vue'], resolve) 110 | }, 111 | { 112 | path: '/scoreManage', 113 | component: resolve => 114 | require(['../components/page/ManageScore.vue'], resolve) 115 | }, 116 | { 117 | path: '/checkLab/:lab', 118 | component: resolve => 119 | require(['../components/page/GiveMark.vue'], resolve) 120 | }, 121 | { 122 | path: '/course/:name', 123 | component: resolve => 124 | require(['../components/page/MyCourse.vue'], resolve) 125 | }, 126 | { 127 | path: '/score', 128 | component: resolve => 129 | require(['../components/page/Score.vue'], resolve) 130 | }, 131 | { 132 | path: '/onlineCompile', 133 | component: resolve => 134 | require(['../components/page/OnlineCompile.vue'], resolve) 135 | } 136 | ] 137 | }, 138 | { 139 | path: '/login', 140 | component: resolve => require(['../components/page/Login.vue'], resolve) 141 | } 142 | ] 143 | }) 144 | -------------------------------------------------------------------------------- /Web/src/components/page/BaseTable.vue: -------------------------------------------------------------------------------- 1 | 44 | 45 | 131 | 132 | -------------------------------------------------------------------------------- /Web/src/components/page/GiveMark.vue: -------------------------------------------------------------------------------- 1 | 47 | 156 | 165 | -------------------------------------------------------------------------------- /Web/static/css/datasource.css: -------------------------------------------------------------------------------- 1 | .vue-datasource *{ 2 | box-sizing: border-box; 3 | font-size: 14px; 4 | } 5 | .vue-datasource .panel { 6 | margin-bottom: 22px; 7 | background-color: #fff; 8 | border: 1px solid transparent; 9 | border-radius: 4px; 10 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); 11 | } 12 | .vue-datasource .panel-default { 13 | border-color: #d3e0e9; 14 | } 15 | .vue-datasource .panel-heading { 16 | padding: 10px 15px; 17 | border-bottom: 1px solid transparent; 18 | border-top-right-radius: 3px; 19 | border-top-left-radius: 3px; 20 | } 21 | .vue-datasource .panel-default > .panel-heading { 22 | height:56px; 23 | color: #333333; 24 | background-color: #fff; 25 | border-color: #d3e0e9; 26 | } 27 | .vue-datasource .pull-left { 28 | float: left !important; 29 | } 30 | .vue-datasource .pull-right { 31 | float: right !important; 32 | } 33 | .vue-datasource .form-group { 34 | margin-bottom: 15px; 35 | } 36 | .vue-datasource label { 37 | display: inline-block; 38 | max-width: 100%; 39 | margin-bottom: 5px; 40 | font-weight: bold; 41 | } 42 | .vue-datasource .form-control { 43 | display: block; 44 | width: 100%; 45 | height: 36px; 46 | padding: 6px 12px; 47 | font-size: 14px; 48 | line-height: 1.6; 49 | color: #555555; 50 | background-color: #fff; 51 | background-image: none; 52 | border: 1px solid #ccd0d2; 53 | border-radius: 4px; 54 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); 55 | -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; 56 | transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; 57 | } 58 | .vue-datasource .btn { 59 | display: inline-block; 60 | margin-bottom: 0; 61 | font-weight: normal; 62 | text-align: center; 63 | vertical-align: middle; 64 | touch-action: manipulation; 65 | cursor: pointer; 66 | background-image: none; 67 | border: 1px solid transparent; 68 | white-space: nowrap; 69 | padding: 6px 12px; 70 | font-size: 14px; 71 | line-height: 1.6; 72 | border-radius: 4px; 73 | -webkit-user-select: none; 74 | -moz-user-select: none; 75 | -ms-user-select: none; 76 | user-select: none; 77 | } 78 | .vue-datasource .btn-primary { 79 | color: #fff; 80 | background-color: #3097D1; 81 | border-color: #2a88bd; 82 | } 83 | .vue-datasource .table { 84 | width: 100%; 85 | max-width: 100%; 86 | margin-bottom: 22px; 87 | border-collapse: collapse; 88 | border-spacing: 0; 89 | text-align: center; 90 | } 91 | .vue-datasource .table > thead > tr > th { 92 | vertical-align: bottom; 93 | border-bottom: 2px solid #ddd; 94 | } 95 | .vue-datasource .table th ,.vue-datasource .table td { 96 | padding: 8px; 97 | line-height: 1.6; 98 | vertical-align: top; 99 | border-top: 1px solid #ddd; 100 | } 101 | .vue-datasource .table-striped > tbody > tr:nth-of-type(odd) { 102 | background-color: #f9f9f9; 103 | } 104 | .vue-datasource .success th ,.vue-datasource .success td{ 105 | background-color: #dff0d8; 106 | } 107 | .vue-datasource .pagination { 108 | display: inline-block; 109 | padding-left: 0; 110 | margin: 22px 0; 111 | border-radius: 4px; 112 | } 113 | .vue-datasource .pagination > li { 114 | display: inline; 115 | } 116 | .pagination > li > a,.pagination > li > span { 117 | position: relative; 118 | float: left; 119 | padding: 6px 12px; 120 | line-height: 1.6; 121 | text-decoration: none; 122 | color: #3097D1; 123 | background-color: #fff; 124 | border: 1px solid #ddd; 125 | margin-left: -1px; 126 | } 127 | .pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus { 128 | color: #777777; 129 | background-color: #fff; 130 | border-color: #ddd; 131 | cursor: not-allowed; 132 | } 133 | .pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus { 134 | z-index: 3; 135 | color: #fff; 136 | background-color: #3097D1; 137 | border-color: #3097D1; 138 | cursor: default; 139 | } 140 | .vue-datasource .pagination > li:first-child > a, .vue-datasource .pagination > li:first-child > span { 141 | margin-left: 0; 142 | border-bottom-left-radius: 4px; 143 | border-top-left-radius: 4px; 144 | } 145 | .vue-datasource .text-center { 146 | text-align: center; 147 | } 148 | 149 | 150 | 151 | 152 | @media (min-width: 768px){ 153 | .form-inline .form-group { 154 | display: inline-block; 155 | margin-bottom: 0; 156 | vertical-align: middle; 157 | } 158 | .form-inline .control-label { 159 | margin-bottom: 0; 160 | vertical-align: middle; 161 | } 162 | .form-inline .form-control { 163 | display: inline-block; 164 | width: auto; 165 | vertical-align: middle; 166 | } 167 | } 168 | -------------------------------------------------------------------------------- /Web/src/components/common/Sidebar.vue: -------------------------------------------------------------------------------- 1 | 23 | 24 | 170 | 171 | 185 | -------------------------------------------------------------------------------- /Web/build/webpack.prod.conf.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const path = require('path') 3 | const utils = require('./utils') 4 | const webpack = require('webpack') 5 | const config = require('../config') 6 | const merge = require('webpack-merge') 7 | const baseWebpackConfig = require('./webpack.base.conf') 8 | const CopyWebpackPlugin = require('copy-webpack-plugin') 9 | const HtmlWebpackPlugin = require('html-webpack-plugin') 10 | const ExtractTextPlugin = require('extract-text-webpack-plugin') 11 | const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin') 12 | const UglifyJsPlugin = require('uglifyjs-webpack-plugin') 13 | 14 | const env = require('../config/prod.env') 15 | 16 | const webpackConfig = merge(baseWebpackConfig, { 17 | module: { 18 | rules: utils.styleLoaders({ 19 | sourceMap: config.build.productionSourceMap, 20 | extract: true, 21 | usePostCSS: true 22 | }) 23 | }, 24 | devtool: config.build.productionSourceMap ? config.build.devtool : false, 25 | output: { 26 | path: config.build.assetsRoot, 27 | filename: utils.assetsPath('js/[name].[chunkhash].js'), 28 | chunkFilename: utils.assetsPath('js/[id].[chunkhash].js') 29 | }, 30 | plugins: [ 31 | // http://vuejs.github.io/vue-loader/en/workflow/production.html 32 | new webpack.DefinePlugin({ 33 | 'process.env': env 34 | }), 35 | new UglifyJsPlugin({ 36 | uglifyOptions: { 37 | compress: { 38 | warnings: false 39 | } 40 | }, 41 | sourceMap: config.build.productionSourceMap, 42 | parallel: true 43 | }), 44 | // extract css into its own file 45 | new ExtractTextPlugin({ 46 | filename: utils.assetsPath('css/[name].[contenthash].css'), 47 | // Setting the following option to `false` will not extract CSS from codesplit chunks. 48 | // Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack. 49 | // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, 50 | // increasing file size: https://github.com/vuejs-templates/webpack/issues/1110 51 | allChunks: true, 52 | }), 53 | // Compress extracted CSS. We are using this plugin so that possible 54 | // duplicated CSS from different components can be deduped. 55 | new OptimizeCSSPlugin({ 56 | cssProcessorOptions: config.build.productionSourceMap 57 | ? { safe: true, map: { inline: false } } 58 | : { safe: true } 59 | }), 60 | // generate dist index.html with correct asset hash for caching. 61 | // you can customize output by editing /index.html 62 | // see https://github.com/ampedandwired/html-webpack-plugin 63 | new HtmlWebpackPlugin({ 64 | filename: config.build.index, 65 | template: 'index.html', 66 | inject: true, 67 | minify: { 68 | removeComments: true, 69 | collapseWhitespace: true, 70 | removeAttributeQuotes: true 71 | // more options: 72 | // https://github.com/kangax/html-minifier#options-quick-reference 73 | }, 74 | // necessary to consistently work with multiple chunks via CommonsChunkPlugin 75 | chunksSortMode: 'dependency' 76 | }), 77 | // keep module.id stable when vender modules does not change 78 | new webpack.HashedModuleIdsPlugin(), 79 | // enable scope hoisting 80 | new webpack.optimize.ModuleConcatenationPlugin(), 81 | // split vendor js into its own file 82 | new webpack.optimize.CommonsChunkPlugin({ 83 | name: 'vendor', 84 | minChunks (module) { 85 | // any required modules inside node_modules are extracted to vendor 86 | return ( 87 | module.resource && 88 | /\.js$/.test(module.resource) && 89 | module.resource.indexOf( 90 | path.join(__dirname, '../node_modules') 91 | ) === 0 92 | ) 93 | } 94 | }), 95 | // extract webpack runtime and module manifest to its own file in order to 96 | // prevent vendor hash from being updated whenever app bundle is updated 97 | new webpack.optimize.CommonsChunkPlugin({ 98 | name: 'manifest', 99 | minChunks: Infinity 100 | }), 101 | // This instance extracts shared chunks from code splitted chunks and bundles them 102 | // in a separate chunk, similar to the vendor chunk 103 | // see: https://webpack.js.org/plugins/commons-chunk-plugin/#extra-async-commons-chunk 104 | new webpack.optimize.CommonsChunkPlugin({ 105 | name: 'app', 106 | async: 'vendor-async', 107 | children: true, 108 | minChunks: 3 109 | }), 110 | 111 | // copy custom static assets 112 | new CopyWebpackPlugin([ 113 | { 114 | from: path.resolve(__dirname, '../static'), 115 | to: config.build.assetsSubDirectory, 116 | ignore: ['.*'] 117 | } 118 | ]) 119 | ] 120 | }) 121 | 122 | if (config.build.productionGzip) { 123 | const CompressionWebpackPlugin = require('compression-webpack-plugin') 124 | 125 | webpackConfig.plugins.push( 126 | new CompressionWebpackPlugin({ 127 | asset: '[path].gz[query]', 128 | algorithm: 'gzip', 129 | test: new RegExp( 130 | '\\.(' + 131 | config.build.productionGzipExtensions.join('|') + 132 | ')$' 133 | ), 134 | threshold: 10240, 135 | minRatio: 0.8 136 | }) 137 | ) 138 | } 139 | 140 | if (config.build.bundleAnalyzerReport) { 141 | const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin 142 | webpackConfig.plugins.push(new BundleAnalyzerPlugin()) 143 | } 144 | 145 | module.exports = webpackConfig 146 | -------------------------------------------------------------------------------- /Web/src/components/page/StuManage.vue: -------------------------------------------------------------------------------- 1 | 54 | 162 | 167 | -------------------------------------------------------------------------------- /Web/src/components/page/ManageCourse.vue: -------------------------------------------------------------------------------- 1 | 77 | 155 | 156 | 165 | -------------------------------------------------------------------------------- /Web/static/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": { 3 | "total": 15, 4 | "per_page": 15, 5 | "current_page": 1, 6 | "last_page": 1, 7 | "from": 1, 8 | "to": 15 9 | }, 10 | "data": [ 11 | { 12 | "id": 1, 13 | "name": "Jaylen Schmidt", 14 | "email": "aheaney@example.org", 15 | "city": "Conroyburgh", 16 | "company": "Kunde, Gerhold and Runte", 17 | "job": "Soil Scientist", 18 | "created_at": "2017-01-13 19:17:16", 19 | "updated_at": "2017-01-13 19:17:16" 20 | }, 21 | { 22 | "id": 2, 23 | "name": "Ms. Desiree Franecki III", 24 | "email": "pweissnat@example.net", 25 | "city": "New Mathew", 26 | "company": "Davis Ltd", 27 | "job": "Customer Service Representative", 28 | "created_at": "2017-01-13 19:17:16", 29 | "updated_at": "2017-01-13 19:17:16" 30 | }, 31 | { 32 | "id": 3, 33 | "name": "Clyde Corwin", 34 | "email": "rolfson.lexus@example.com", 35 | "city": "East Ron", 36 | "company": "Zieme and Sons", 37 | "job": "Claims Taker", 38 | "created_at": "2017-01-13 19:17:16", 39 | "updated_at": "2017-01-13 19:17:16" 40 | }, 41 | { 42 | "id": 4, 43 | "name": "Mr. Tyrese Kuphal", 44 | "email": "libby.heaney@example.com", 45 | "city": "Cristianland", 46 | "company": "Abernathy LLC", 47 | "job": "Occupational Health Safety Technician", 48 | "created_at": "2017-01-13 19:17:16", 49 | "updated_at": "2017-01-13 19:17:16" 50 | }, 51 | { 52 | "id": 5, 53 | "name": "Ms. Amya West PhD", 54 | "email": "uheller@example.org", 55 | "city": "Treutelmouth", 56 | "company": "Mraz-Effertz", 57 | "job": "Hazardous Materials Removal Worker", 58 | "created_at": "2017-01-13 19:17:16", 59 | "updated_at": "2017-01-13 19:17:16" 60 | }, 61 | { 62 | "id": 6, 63 | "name": "Murphy Stamm IV", 64 | "email": "ckautzer@example.com", 65 | "city": "Myleneshire", 66 | "company": "Sporer-Wolf", 67 | "job": "Pipelaying Fitter", 68 | "created_at": "2017-01-13 19:17:16", 69 | "updated_at": "2017-01-13 19:17:16" 70 | }, 71 | { 72 | "id": 7, 73 | "name": "Elsa Jast", 74 | "email": "kaitlyn.lang@example.net", 75 | "city": "Mariahstad", 76 | "company": "Hackett LLC", 77 | "job": "Record Clerk", 78 | "created_at": "2017-01-13 19:17:16", 79 | "updated_at": "2017-01-13 19:17:16" 80 | }, 81 | { 82 | "id": 8, 83 | "name": "Hardy Mosciski DVM", 84 | "email": "soledad44@example.net", 85 | "city": "Jasminborough", 86 | "company": "Haley Ltd", 87 | "job": "Kindergarten Teacher", 88 | "created_at": "2017-01-13 19:17:16", 89 | "updated_at": "2017-01-13 19:17:16" 90 | }, 91 | { 92 | "id": 9, 93 | "name": "Demarcus Littel", 94 | "email": "americo84@example.com", 95 | "city": "New Lilaton", 96 | "company": "Satterfield Group", 97 | "job": "Plant Scientist", 98 | "created_at": "2017-01-13 19:17:16", 99 | "updated_at": "2017-01-13 19:17:16" 100 | }, 101 | { 102 | "id": 10, 103 | "name": "Dr. Shad Gleichner", 104 | "email": "eleanora23@example.com", 105 | "city": "Lake Whitneyberg", 106 | "company": "Fay Group", 107 | "job": "Rotary Drill Operator", 108 | "created_at": "2017-01-13 19:17:16", 109 | "updated_at": "2017-01-13 19:17:16" 110 | }, 111 | { 112 | "id": 11, 113 | "name": "Milford Mann", 114 | "email": "shartmann@example.net", 115 | "city": "Lake Austinport", 116 | "company": "Sporer-Langosh", 117 | "job": "Social and Human Service Assistant", 118 | "created_at": "2017-01-13 19:17:16", 119 | "updated_at": "2017-01-13 19:17:16" 120 | }, 121 | { 122 | "id": 12, 123 | "name": "Prof. Mustafa Lindgren Sr.", 124 | "email": "lizeth.morissette@example.net", 125 | "city": "Roweborough", 126 | "company": "Mitchell-Ratke", 127 | "job": "Shoe Machine Operators", 128 | "created_at": "2017-01-13 19:17:16", 129 | "updated_at": "2017-01-13 19:17:16" 130 | }, 131 | { 132 | "id": 13, 133 | "name": "Mrs. Brittany Bode Sr.", 134 | "email": "wiegand.mozelle@example.org", 135 | "city": "South Maxwellville", 136 | "company": "Reilly Inc", 137 | "job": "Bridge Tender OR Lock Tender", 138 | "created_at": "2017-01-13 19:17:16", 139 | "updated_at": "2017-01-13 19:17:16" 140 | }, 141 | { 142 | "id": 14, 143 | "name": "Dariana Bauch", 144 | "email": "dessie.schamberger@example.net", 145 | "city": "East Linnie", 146 | "company": "Wuckert PLC", 147 | "job": "Elementary and Secondary School Administrators", 148 | "created_at": "2017-01-13 19:17:16", 149 | "updated_at": "2017-01-13 19:17:16" 150 | }, 151 | { 152 | "id": 15, 153 | "name": "Jalon Renner", 154 | "email": "lulu45@example.net", 155 | "city": "New Rashad", 156 | "company": "Muller-Kuhn", 157 | "job": "Manufactured Building Installer", 158 | "created_at": "2017-01-13 19:17:16", 159 | "updated_at": "2017-01-13 19:17:16" 160 | } 161 | ] 162 | } -------------------------------------------------------------------------------- /Web/src/components/page/OldCharts.vue: -------------------------------------------------------------------------------- 1 | 33 | 34 | 198 | 199 | -------------------------------------------------------------------------------- /Web/src/components/page/PersonInfo.vue: -------------------------------------------------------------------------------- 1 | 101 | 165 | 166 | 214 | -------------------------------------------------------------------------------- /Web/src/components/page/Forum.vue: -------------------------------------------------------------------------------- 1 | 77 | 172 | 214 | -------------------------------------------------------------------------------- /Web/src/components/page/Blog.vue: -------------------------------------------------------------------------------- 1 | 86 | 215 | 278 | -------------------------------------------------------------------------------- /Web/src/components/page/MyCourse.vue: -------------------------------------------------------------------------------- 1 | 103 | 220 | 265 | -------------------------------------------------------------------------------- /Web/src/components/page/Readme.vue: -------------------------------------------------------------------------------- 1 | 105 | 106 | 169 | 170 | -------------------------------------------------------------------------------- /Web/src/components/page/MyLab.vue: -------------------------------------------------------------------------------- 1 | 116 | 316 | 324 | --------------------------------------------------------------------------------