爱江山,更爱美人 哪个英雄好汉宁愿孤单 好儿郎 浑身是胆 壮志豪情四海远名扬 人生短短几个秋啊 不醉不罢休
- vuex -- 状态管理
- vue-router -- 路由
- vue-resource --http
- element-ui --界面
src
├ assets
├ components // 组件
│ ├ Common // 公共模块 比如自定义按钮什么额
│ ├ Header // 存放头部
│ ├ Project // projectItem.vue
│ ├ Task // tasklist taskstate
│ └ ....
│
├ pages
│ ├ mainPage.vue // 首页
│ ├ Login // 登陆
│ ├ My // 我的
│ ├ project // 项目
│ │ ├ projectList.vue // 项目列表
│ │ ├ projectDetails.vue // 项目详情
│ │ └ ProjectDetails // 项目任务、考勤等
│ ├ Register // 注册
│ ├ Search // 搜索
│ └ ....
├ router
│ └ index.js
├ store
│ ├ index.js // 主模块
│ └ modules
│ ├ attendanceIndex.js // 考勤模块
│ ├ staffIndex.js // 人员模块
│ ├ taskIndex.js //任务模块
│ └ ....
├ App.vue
└ main.js
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
小驼峰式:(little camel-case) 第一个单词首字母小写,后面其他单词首字母大写。
大驼峰式:(big camel-case) 每个单词的第一个字母都大写;
- 增、删、改、查
- 增、删、改、查
- 新增考勤
- 修改考勤记录
- 缺课统计
- 增、删、改、查
- 作业提交统计
- 成绩录入
- 成绩统计