{"id":13781839,"url":"https://github.com/saucxs/weekly","last_synced_at":"2025-09-12T02:16:45.031Z","repository":{"id":34013275,"uuid":"146450083","full_name":"saucxs/weekly","owner":"saucxs","description":"周报系统的技术栈主要是node+vue+redis+mysql+es6，一个企业管理系统，企业员工汇报每周工作情况，以及完成情况，各级负责人可以查看和提醒相应未写周报人员，后端完全使用nodeJS，数据库使用mysql，基于nodejs的thinkjs框架搭建的，如果喜欢nodeJS写的后端，支持大前端，支持全栈开发。地址：http://weekly.mwcxs.top","archived":false,"fork":false,"pushed_at":"2022-12-12T12:26:26.000Z","size":5140,"stargazers_count":200,"open_issues_count":30,"forks_count":61,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-07-02T11:53:03.235Z","etag":null,"topics":["es6","mysql","nodejs","redis","vue2","vuex","weekly"],"latest_commit_sha":null,"homepage":"http://weekly.mwcxs.top","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saucxs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-28T13:15:52.000Z","updated_at":"2025-06-21T09:11:04.000Z","dependencies_parsed_at":"2023-01-15T04:01:29.224Z","dependency_job_id":null,"html_url":"https://github.com/saucxs/weekly","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saucxs/weekly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saucxs%2Fweekly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saucxs%2Fweekly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saucxs%2Fweekly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saucxs%2Fweekly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saucxs","download_url":"https://codeload.github.com/saucxs/weekly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saucxs%2Fweekly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274743175,"owners_count":25341133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["es6","mysql","nodejs","redis","vue2","vuex","weekly"],"created_at":"2024-08-03T18:01:29.942Z","updated_at":"2025-09-12T02:16:44.965Z","avatar_url":"https://github.com/saucxs.png","language":"Vue","readme":"# [weekly](https://github.com/saucxs/weekly)\n[![](https://img.shields.io/badge/Powered%20by-saucxs%20-brightgreen.svg)](https://github.com/saucxs/weekly)\n[![GitHub license](https://img.shields.io/github/license/saucxs/weekly.svg?style=popout)](https://github.com/saucxs/weekly/blob/master/LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/saucxs/weekly.svg?style=popout)](https://github.com/saucxs/weekly/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/saucxs/weekly.svg?style=popout)](https://github.com/saucxs/weekly/network)\n[![GitHub issues](https://img.shields.io/github/issues/saucxs/weekly.svg?style=popout)](https://github.com/saucxs/weekly/issues)\n\n周报系统的技术栈主要是node+vue+redis+mysql+es6，一个企业管理系统，企业员工汇报每周工作情况，以及完成情况，各级负责人可以查看和提醒相应未写周报人员，后端完全使用`nodeJS`，数据库使用`mysql`，基于`nodejs的thinkjs框架搭建的`，如果喜欢`nodeJS`写的后端，支持大前端，支持全栈开发，请请`star`并`fork`项目。\n\n\u003e + 系统演示地址为：[周报线上地址](http://weekly.mwcxs.top)。因为个别人原因，总会删除下面的账号test和teststaff，\n\u003e + （公司负责人）账号：testadmin，密码：a123456   \n\u003e + （部门经理）账号：test，密码：a123456\n\u003e + （成员）账号：teststaff，密码：a123456\n\n如有使用问题请留言。\n\n### 公告：\n\u003e + 1.不要删除默认的账号，以及相关东西 \n\u003e + 2.自己可以新建账号来测试，玩耍 \n\u003e + 3.每一个公司（组织机构）都是独立，每一个部门是独立，互不干扰 \n\u003e + 4.如果有商务要求，可以对接我，邮箱:saucxs@163.com，新建自己公司（组织机构）统一管理。\n\u003e + 5、**数据库文件，其实没有数据库，你可以看sql语句，你就知道表中需要的字段，可以参考https://github.com/saucxs/structure-admin 里的数据库表weekly_user，地址在structure-admin-node/src/common/mysql/structure_admin.sql**\n\n### 功能点：\n\u003e + 1、所有人周报提交修改；\n\u003e + 2、所有人周报自身周报历史查看；\n\u003e + 3、部门经理查看部门周报填写情况，增改部门人员；\n\u003e + 4、总监（或公司拥有者）查看和修改所有人的周报填写情况，增删改公司人员，增改公司部门；\n\u003e + 5、管理员权限，增删改公司总监，增删改部门人员，增删改公司部门，查看和编辑所有所有的周报，以及所有所有周报填写情况；\n\n### 一、技术栈\n\u003e + ThinkJS（ Node端框架） [官方网站](https://thinkjs.org/)\n\u003e + Vue.js（客户端双向数据绑定框架）  [官方网站](https://cn.vuejs.org/)\n\n### 二、版本功能\n- [x] Element UI\n- [x] 登录/注销\n- [x] 个人中心\n- [x] 修改用户信息\n- [x] 修改密码\n- [x] mysql\n- [x] 写周报\n- [x] 个人历史周报\n- [x] 部门人员管理\n- [x] 部门周报情况\n- [x] 公司的部门新建，修改，删除\n\n+ 2018.09.18\n   - 完成基本版本的功能\n+ 2018.09.20\n    - 部门经理权限优化\n    - 左侧增加首页\n    - 部门人员管理增加查询，可根据用户名，工号，公司名，部门名称，查询部门成员\n+ 2018.10.12   \n    - 优化权限管理\n\n### 三、系统截图\n#### 3.1 登录页\n![image](./shot_pic_1.png)\n#### 3.2 成员页面\n![image](./shot_pic_staff.png)\n#### 3.3 部门经理页面\n![image](./shot_pic_2_manger.png)\n#### 3.4 总监页面\n![image](./shot_pic_2_big_manger.png)\n#### 3.5 管理员页面\n![image](./shot_pic_admin.png)\n\n### 四、本地运行程序\n1、首先你的环境是nodejs，不会安装配置参考：[nodejs安装和环境配置（Windows）](http://www.mwcxs.top/page/420.html)\n\n2、clone下来项目\n````\ngit clone https://github.com/saucxs/weekly.git\n````\n3、分别针对前端vue的weekly-web的文件夹和node后端weekly-node，安装相应依赖\n````\nnpm install\n````\n4、安装redis（可以考虑安装RedisDesktopManager）\n\n参考：[安装window下的redis，redis可视化管理工具（Redis Desktop Manager）安装，基础使用，实例化项目](http://www.mwcxs.top/page/421.html)\n\n5、安装mysql，这个就不赘述\n\n6、修改nodejs的后端的配置文件adapter.js，config.js这两个文件中\n\n````\nadapter.js\n\nexports.cache = {\n    type: 'redis',\n    common: {\n        timeout: 24 * 60 * 60 * 1000 // millisecond\n    },\n    redis: {\n        handle: redisCache,\n        host: '127.0.0.1',\n        port: 6379,\n        password: 'a123456'  //redis安装时候设置的秘密\n    }\n};\n//\n//\nexports.model = {\n  type: 'mysql',\n  common: {\n    logConnect: true,\n    logSql: true,\n    logger: msg =\u003e think.logger.info(msg)\n  },\n  mysql: {\n    handle: mysql,\n    database: 'weekly',\n    prefix: 'week_',\n    encoding: 'utf8',\n    host: '127.0.0.1',   //本地数据库\n    port: '3306',　　　　　//数据库端口\n    user: 'root',    //数据库的用户名\n    password: '123456',    //数据库该用户名的密码\n    dateStrings: true\n  }\n};\n````\n7、分别对前后端分离的项目启动\n\n(1)前端vue的weekly-web的启动\n````\nnpm run dev\n ````\n\n(2)和node后端weekly-node的启动\n````\nnpm start\n ````\n\n### 五、欢迎关注\n欢迎关注Github：https://github.com/saucxs\n\n后续会出更多知识体系构建，技术分享，项目实战，实验室等，欢迎关注本公众号:**[松宝写代码]**\n\n![欢迎关注](http://static.chengxinsong.cn/image/author/intro.jpg?width=600)\n\n\u003e微信公众号：**[松宝写代码]**\nsongEagle开发知识体系构建，技术分享，项目实战，实验室，带你一起学习新技术，总结学习过程，让你进阶到高级资深工程师，学习项目管理，思考职业发展，生活感悟，充实中成长起来。问题或建议，请公众号留言。\n\n\u003e微信群：**【写代码】研发进阶群**\n一个成长交流的产研群，帮忙拉产研的同学们进群，聚聚人气😘😘。\n每一个开发同学都应该形成自己的[知识体系](https://github.com/saucxs/full_stack_knowledge_list)，做到提纲挈领🧐🧐🧐\n","funding_links":[],"categories":["Projects by ThinkJS"],"sub_categories":["websocket"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaucxs%2Fweekly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaucxs%2Fweekly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaucxs%2Fweekly/lists"}