/*
Navicat Premium Data Transfer
Source Server : localhost_3306
Source Server Type : MySQL
Source Server Version : 50740
Source Host : localhost:3306
Source Schema : dormitory
Target Server Type : MySQL
Target Server Version : 50740
File Encoding : 65001
Date: 09/03/2023 13:48:38
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for authority
-- ----------------------------
DROP TABLE IF EXISTS `authority`;
CREATE TABLE `authority` (
`authority_id` int(10) NOT NULL COMMENT '权限ID',
`authority_pid` int(10) NULL DEFAULT NULL COMMENT '父权限ID',
`authority_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限中文名',
`authority_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限名',
`authority_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限路由',
`authority_type` int(10) NOT NULL COMMENT '权限类型 0:路由权限 1:操作权限',
PRIMARY KEY (`authority_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of authority
-- ----------------------------
INSERT INTO `authority` VALUES (1, 0, '常规路由', 'Common', '/common', 0);
INSERT INTO `authority` VALUES (3, 0, '宿舍管理', 'DormManage', '/dorm-manage', 0);
INSERT INTO `authority` VALUES (4, 0, '用户信息管理', 'UserInfoManage', '/userInfo-manage', 0);
INSERT INTO `authority` VALUES (5, 0, '后勤服务', 'LogisticsService', '/logistics-service', 0);
INSERT INTO `authority` VALUES (6, 0, '权限管理', 'AuthorityManage', '/authority-manage', 0);
INSERT INTO `authority` VALUES (101, 1, '欢迎', 'Welcome', '/welcome', 0);
INSERT INTO `authority` VALUES (102, 1, '个人中心', 'PersonalCenter', '/personal-center', 0);
INSERT INTO `authority` VALUES (301, 3, '宿舍楼管理', 'BuildManage', '/build-manage', 0);
INSERT INTO `authority` VALUES (302, 3, '宿舍房间管理', 'RoomManage', '/room-Manage', 0);
INSERT INTO `authority` VALUES (401, 4, '职工信息管理', 'EmployeeManage', '/employee-manage', 0);
INSERT INTO `authority` VALUES (402, 4, '学生信息管理', 'StudentManage', '/student-manage', 0);
INSERT INTO `authority` VALUES (501, 5, '后勤报修', 'LogisticsRepair', '/logistics-repair', 0);
INSERT INTO `authority` VALUES (502, 5, '报修列表', 'LogisticsList', '/logistics-list', 0);
INSERT INTO `authority` VALUES (601, 6, '权限列表', 'AuthorityList', '/authority-list', 0);
INSERT INTO `authority` VALUES (602, 6, '角色权限管理', 'RoleAuthority', '/role-authority', 0);
INSERT INTO `authority` VALUES (603, 6, '用户权限管理', 'UserAuthority', '/user-authority', 0);
INSERT INTO `authority` VALUES (3011, 301, '浏览宿舍楼信息', 'BrowseDormBuildInfo', '', 1);
INSERT INTO `authority` VALUES (3012, 301, '添加宿舍楼信息', 'AddDormBuildInfo', '', 1);
INSERT INTO `authority` VALUES (3013, 301, '编辑宿舍楼信息', 'EditDormBuildInfo', '', 1);
INSERT INTO `authority` VALUES (3014, 301, '删除宿舍楼信息', 'DeleteDormBuildInfo', '', 1);
INSERT INTO `authority` VALUES (3021, 302, '浏览宿舍列表', 'BrowseDormList', '', 1);
INSERT INTO `authority` VALUES (3022, 302, '添加宿舍', 'AddDorm', '', 1);
INSERT INTO `authority` VALUES (3023, 302, '添加宿舍人员', 'AddDormStaff', '', 1);
INSERT INTO `authority` VALUES (3034, 302, '换宿', 'ChangeDorm', '', 1);
INSERT INTO `authority` VALUES (3035, 302, '退宿', 'CheckOut', '', 1);
INSERT INTO `authority` VALUES (4011, 401, '浏览职工信息', 'BrowseEmployeeInfo', '', 1);
INSERT INTO `authority` VALUES (4012, 401, '添加职工信息', 'AddEmployeeInfo', NULL, 1);
INSERT INTO `authority` VALUES (4013, 401, '删除职工信息', 'DeleteEmployeeInfo', NULL, 1);
INSERT INTO `authority` VALUES (4014, 401, '编辑职工信息', 'EditEmployeeInfo', NULL, 1);
INSERT INTO `authority` VALUES (4021, 402, '浏览学生信息', 'BrowseStudentInfo', '', 1);
INSERT INTO `authority` VALUES (4022, 402, '添加学生信息', 'AddStudentInfo', NULL, 1);
INSERT INTO `authority` VALUES (4023, 402, '删除学生信息', 'DeleteStudentInfo', NULL, 1);
INSERT INTO `authority` VALUES (4024, 402, '编辑学生信息', 'EditStudentInfo', NULL, 1);
INSERT INTO `authority` VALUES (5021, 502, '以楼栋搜索', 'SearchByDormBuild', '', 1);
INSERT INTO `authority` VALUES (5022, 502, '浏览报修列表', 'BrowseRepairList', '', 1);
INSERT INTO `authority` VALUES (5023, 502, '编辑报修单', 'EditRepairBill', '', 1);
INSERT INTO `authority` VALUES (5024, 502, '删除报修单', 'DeleteRepairBill', '', 1);
INSERT INTO `authority` VALUES (5025, 502, '改变报修单状态', 'ChangeRepairStatus', '', 1);
INSERT INTO `authority` VALUES (6011, 601, '浏览权限列表', 'BrowseAuthorityList', '', 1);
INSERT INTO `authority` VALUES (6012, 601, '添加权限', 'AddAuthority', '', 1);
INSERT INTO `authority` VALUES (6013, 601, '删除权限', 'DeleteAuthority', '', 1);
INSERT INTO `authority` VALUES (6014, 601, '编辑权限', 'EditAuthority', '', 1);
INSERT INTO `authority` VALUES (6021, 602, '添加角色', 'AddRole', '', 1);
INSERT INTO `authority` VALUES (6022, 602, '编辑角色', 'EditRole', '', 1);
INSERT INTO `authority` VALUES (6023, 602, '删除角色', 'DeleteRole', '', 1);
INSERT INTO `authority` VALUES (6024, 602, '更改角色权限', 'UpdateRoleAuthority', '', 1);
INSERT INTO `authority` VALUES (6031, 603, '更改职工权限', 'UpdateEmployeeAuthority', '', 1);
INSERT INTO `authority` VALUES (6032, 603, '更改学生权限', 'UpdateStudentAuthority', '', 1);
-- ----------------------------
-- Table structure for college
-- ----------------------------
DROP TABLE IF EXISTS `college`;
CREATE TABLE `college` (
`college_id` tinyint(4) NOT NULL AUTO_INCREMENT COMMENT '学院ID',
`college_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '学院名',
PRIMARY KEY (`college_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of college
-- ----------------------------
INSERT INTO `college` VALUES (1, '马克思主义学院');
INSERT INTO `college` VALUES (2, '文学与传媒学院');
INSERT INTO `college` VALUES (3, '化学与材料工程学院');
INSERT INTO `college` VALUES (4, '计算机科学与工程学院');
INSERT INTO `college` VALUES (5, '电子信息与电气工程学院');
INSERT INTO `college` VALUES (6, '外国语学院');
INSERT INTO `college` VALUES (7, '生命科学学院');
INSERT INTO `college` VALUES (8, '旭日广东服装学院');
INSERT INTO `college` VALUES (9, '地理与旅游学院');
INSERT INTO `college` VALUES (10, '体育学院');
INSERT INTO `college` VALUES (11, '经济管理学院');
INSERT INTO `college` VALUES (12, '美术与设计学院');
INSERT INTO `college` VALUES (13, '建筑与土木工程学院');
INSERT INTO `college` VALUES (14, '音乐学院');
INSERT INTO `college` VALUES (15, '政法学院');
INSERT INTO `college` VALUES (16, '教育科学学院');
INSERT INTO `college` VALUES (17, '数学与统计学院');
-- ----------------------------
-- Table structure for dorm
-- ----------------------------
DROP TABLE IF EXISTS `dorm`;
CREATE TABLE `dorm` (
`id` int(255) NOT NULL AUTO_INCREMENT,
`dorm_build_id` int(10) NOT NULL,
`dorm_number` int(10) NOT NULL COMMENT '宿舍号',
`dorm_population` int(10) NOT NULL COMMENT '宿舍人数',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8801 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of dorm
-- ----------------------------
INSERT INTO `dorm` VALUES (1, 1, 101, 5);
INSERT INTO `dorm` VALUES (2, 1, 102, 6);
INSERT INTO `dorm` VALUES (3
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
1.项目代码功能经验证ok,确保稳定可靠运行。欢迎下载使用! 2.主要针对各个计算机相关专业,包括计科、信息安全、数据科学与大数据技术、人工智能、通信、物联网等领域的在校学生、专业教师或企业员工使用。 3.项目具有丰富的拓展空间,不仅可作为入门进阶,也可直接作为毕设、课程设计、大作业、初期项目立项演示等用途。 4.当然也鼓励大家基于此进行二次开发。在使用过程中,如有问题或建议,请及时私信沟通。 5.期待你能在项目中找到乐趣和灵感,也欢迎你的分享和反馈! 【资源说明】 基于Nodejs+TypeScript+Koa+MySQL实现的宿舍管理系统源码(前端+后端)+使用说明+sql数据库.zip基于Nodejs+TypeScript+Koa+MySQL实现的宿舍管理系统源码(前端+后端)+使用说明+sql数据库.zip基于Nodejs+TypeScript+Koa+MySQL实现的宿舍管理系统源码(前端+后端)+使用说明+sql数据库.zip 本项目是宿舍管理系统的后台服务,技术栈是Nodejs+TypeScript+Koa+MySQL,核心模块是权限模块,权限是基于角色权限上针对用户去进行用户权限的扩展 安装和使用 - 获取项目代码 csdn下载项目压缩包 解压并重命名为dorm_management_node - 安装模块 ``` cd dorm_management_node npm install ``` - 运行 ``` npm start ``` - 构建 ``` npm run build ```
资源推荐
资源详情
资源评论
收起资源包目录
基于Nodejs+TypeScript+Koa+MySQL实现的宿舍管理系统源码(前端+后端)+使用说明+sql数据库.zip (232个子文件)
.eslintrc.cjs 3KB
commit-msg 117B
.env.development 356B
.env 151B
.env 38B
.env 38B
.eslintignore 98B
index.html 3KB
favicon.ico 154KB
HZU.jpg 1.16MB
logistics.jpg 442KB
commitlint.config.js 4KB
stylelint.config.js 2KB
postcss.config.js 62B
package-lock.json 605KB
package-lock.json 65KB
package-lock.json 65KB
tsconfig.json 11KB
tsconfig.json 11KB
package.json 2KB
tsconfig.json 2KB
settings.json 2KB
settings.json 1KB
settings.json 1KB
package.json 768B
package.json 768B
.prettierrc.json 212B
nodemon.json 126B
nodemon.json 126B
extensions.json 75B
base.less 573B
global.less 106B
variable.module.less 62B
yarn.lock 325KB
yarn.lock 43KB
yarn.lock 43KB
使用说明.md 649B
使用说明.md 642B
使用说明.md 642B
4.png 1.7MB
1.png 1.62MB
2.png 1.4MB
3.png 1.39MB
5.png 1.36MB
logo.png 154KB
logoWhite.png 7KB
pre-push 709B
.prettierignore 71B
common.sh 179B
dormitory.sql 459KB
dormitory.sql 459KB
.stylelintignore 33B
IonLanguage.svg 752B
logout.svg 723B
authority.ts 21KB
authority.ts 21KB
userInfo.ts 13KB
userInfo.ts 13KB
index.ts 10KB
logistics.ts 9KB
logistics.ts 9KB
Axios.ts 6KB
user.ts 6KB
user.ts 6KB
dorm.ts 6KB
dorm.ts 6KB
score.ts 5KB
score.ts 5KB
dormBuild.ts 4KB
dormBuild.ts 4KB
common.ts 3KB
common.ts 3KB
authority.ts 3KB
utils.ts 3KB
user.ts 3KB
vite.config.ts 3KB
is.ts 2KB
sys.ts 2KB
checkStatus.ts 2KB
userInfo.ts 2KB
index.ts 2KB
useLocale.ts 2KB
role.ts 2KB
role.ts 2KB
index.ts 2KB
app.ts 2KB
app.ts 2KB
buildConf.ts 2KB
serverConfig.ts 2KB
axiosCancel.ts 1KB
axiosTransform.ts 1KB
user.ts 1KB
repair.ts 1KB
setupI18n.ts 1KB
locale.ts 1KB
dorm.ts 1KB
score.ts 1KB
index.ts 1KB
axios.d.ts 1KB
helper.ts 1KB
共 232 条
- 1
- 2
- 3
资源评论
- u0106563672024-04-25终于找到了超赞的宝藏资源,果断冲冲冲,支持!
北航程序员小C
- 粉丝: 2222
- 资源: 1823
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Docker容器配置进阶
- tensorflow-gpu-2.7.4-cp37-cp37m-manylinux2010-x86-64.whl
- 多段线、 圆、弧转多段线(仅我可见)
- tensorflow-2.7.2-cp38-cp38-manylinux2010-x86-64.whl
- yeyue-p8Yi4-ve4a83792.apk
- tensorflow-gpu-2.7.3-cp38-cp38-manylinux2010-x86-64.whl
- 五相感应电机矢量控制模型MATLAB
- RGLED (1) (1).circ
- IMG_20240427_215747.jpg
- python下前端WEB学习笔记
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功