From b72f57a9efe8d6ea5840039b24bcf814fc95bb20 Mon Sep 17 00:00:00 2001 From: hdm Date: Sat, 11 Jun 2022 00:38:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=A8=A1=E6=9D=BF=E6=96=87?= =?UTF-8?q?=E6=A1=88=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/install/data/gouguoa.sql | 29 ++-- app/install/data/oa_reset.sql | 264 +++------------------------------- config/message.php | 10 +- 3 files changed, 36 insertions(+), 267 deletions(-) diff --git a/app/install/data/gouguoa.sql b/app/install/data/gouguoa.sql index 36d2004..4d48b04 100644 --- a/app/install/data/gouguoa.sql +++ b/app/install/data/gouguoa.sql @@ -68,7 +68,8 @@ CREATE TABLE `oa_admin_group` ( -- Records of cms_admin_group -- ---------------------------- INSERT INTO `oa_admin_group` VALUES (1, '超级员工权限', 1, '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142', '超级员工权限,拥有系统的最高权限,不可修改', 0, 0); -INSERT INTO `oa_admin_group` VALUES (2, '人事总监权限', 1, '2,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,3,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,4,78,79,80,81,82,83,84,85,86,87,5,88,89,90,91,6,92,93,94,95,96,7,97,99,100,101,98,8,102,104,105,106,103,107,109,110,111,112,108,113,114,115,116,117,9,118,119,120,122,123,124,125,127,128,129,131,132,133,134', '人力资源部门领导的最高管理权限', 0, 0); +INSERT INTO `oa_admin_group` VALUES (2, '人事总监权限', 1, '2,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,3,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,4,78,79,80,81,82,83,84,85,86,87,5,88,89,90,91,6,92,93,94,95,96,7,97,100,101,102,98,99,8,103,105,106,107,104,108,110,111,112,113,109,114,115,116,117,118,9,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,10,142', '人力资源部门领导的最高管理权限', 0, 0); + -- ---------------------------- -- Table structure for oa_admin_log @@ -527,23 +528,23 @@ INSERT INTO `oa_flow_type` VALUES (4, 1, '加班', 'jiaban', 'icon-xueshengcheng INSERT INTO `oa_flow_type` VALUES (5, 2, '会议室预定', 'huiyishi', 'icon-kehuguanli', 1, 1641802939, 0); INSERT INTO `oa_flow_type` VALUES (6, 2, '公文流转', 'gongwen', 'icon-jiaoxuejihua', 1, 1641802976, 0); INSERT INTO `oa_flow_type` VALUES (7, 2, '物品维修', 'weixiu', 'icon-chuangjianxitong', 1, 1641803005, 0); -INSERT INTO `oa_flow_type` VALUES (8, 2, '用章申请', 'yongzhang', 'icon-shenpishezhi', 1, 1641804126, 0); -INSERT INTO `oa_flow_type` VALUES (9, 2, '用车申请', 'yongche', 'icon-dongtaiguanli', 1, 1641804283, 0); +INSERT INTO `oa_flow_type` VALUES (8, 2, '用章', 'yongzhang', 'icon-shenpishezhi', 1, 1641804126, 0); +INSERT INTO `oa_flow_type` VALUES (9, 2, '用车', 'yongche', 'icon-dongtaiguanli', 1, 1641804283, 0); INSERT INTO `oa_flow_type` VALUES (10, 2, '用车归还', 'yongcheguihai', 'icon-kaoheguanli', 1, 1641804411, 0); -INSERT INTO `oa_flow_type` VALUES (11, 3, '借款申请', 'jiekuan', 'icon-zhangbuguanli', 1, 1641804537, 0); -INSERT INTO `oa_flow_type` VALUES (12, 3, '付款申请', 'fukuan', 'icon-gongziguanli', 1, 1641804601, 0); -INSERT INTO `oa_flow_type` VALUES (13, 3, '奖励申请', 'jiangli', 'icon-bulujiesuan', 1, 1641804711, 0); -INSERT INTO `oa_flow_type` VALUES (14, 3, '采购申请', 'caigou', 'icon-shoufeiguanli', 1, 1641804917, 0); +INSERT INTO `oa_flow_type` VALUES (11, 3, '借款', 'jiekuan', 'icon-zhangbuguanli', 1, 1641804537, 0); +INSERT INTO `oa_flow_type` VALUES (12, 3, '付款', 'fukuan', 'icon-gongziguanli', 1, 1641804601, 0); +INSERT INTO `oa_flow_type` VALUES (13, 3, '奖励', 'jiangli', 'icon-bulujiesuan', 1, 1641804711, 0); +INSERT INTO `oa_flow_type` VALUES (14, 3, '采购', 'caigou', 'icon-shoufeiguanli', 1, 1641804917, 0); INSERT INTO `oa_flow_type` VALUES (15, 3, '活动经费', 'huodong', 'icon-shoufeipeizhi', 1, 1641805110, 0); -INSERT INTO `oa_flow_type` VALUES (16, 4, '入职申请', 'ruzhi', 'icon-xueshengdaoru', 1, 1641893853, 0); -INSERT INTO `oa_flow_type` VALUES (17, 4, '转正申请', 'zhuanzheng', 'icon-wodeshenpi', 1, 1641893926, 0); -INSERT INTO `oa_flow_type` VALUES (18, 4, '离职申请', 'lizhi', 'icon-xuexitongji', 1, 1641894048, 0); -INSERT INTO `oa_flow_type` VALUES (19, 4, '转岗申请', 'zhuangang', 'icon-xueshengyidong', 1, 1654681664, 0); +INSERT INTO `oa_flow_type` VALUES (16, 4, '入职', 'ruzhi', 'icon-xueshengdaoru', 1, 1641893853, 0); +INSERT INTO `oa_flow_type` VALUES (17, 4, '转正', 'zhuanzheng', 'icon-wodeshenpi', 1, 1641893926, 0); +INSERT INTO `oa_flow_type` VALUES (18, 4, '离职', 'lizhi', 'icon-xuexitongji', 1, 1641894048, 0); +INSERT INTO `oa_flow_type` VALUES (19, 4, '转岗', 'zhuangang', 'icon-xueshengyidong', 1, 1654681664, 0); INSERT INTO `oa_flow_type` VALUES (20, 4, '招聘需求', 'zhaopin', 'icon-xiaoxizhongxin', 1, 1641894080, 0); INSERT INTO `oa_flow_type` VALUES (21, 5, '通用审批', 'tongyong', 'icon-zhaoshengzhunbei', 1, 1654685923, 0); -INSERT INTO `oa_flow_type` VALUES (22, 6, '报销审批', 'baoxiao', 'icon-jizhang', 1, 1641804488, 0); -INSERT INTO `oa_flow_type` VALUES (23, 7, '发票审批', 'fapiao', 'icon-fuwuliebiao', 1, 1642904833, 0); -INSERT INTO `oa_flow_type` VALUES (24, 8, '合同审批', 'hetong', 'icon-hetongshezhi', 1, 1654692083, 0); +INSERT INTO `oa_flow_type` VALUES (22, 6, '报销', 'baoxiao', 'icon-jizhang', 1, 1641804488, 0); +INSERT INTO `oa_flow_type` VALUES (23, 7, '发票', 'fapiao', 'icon-fuwuliebiao', 1, 1642904833, 0); +INSERT INTO `oa_flow_type` VALUES (24, 8, '合同', 'hetong', 'icon-hetongshezhi', 1, 1654692083, 0); -- ---------------------------- -- Table structure for oa_flow diff --git a/app/install/data/oa_reset.sql b/app/install/data/oa_reset.sql index 0752802..16767a7 100644 --- a/app/install/data/oa_reset.sql +++ b/app/install/data/oa_reset.sql @@ -18,7 +18,7 @@ CREATE TABLE `oa_admin_group` ( -- Records of cms_admin_group -- ---------------------------- INSERT INTO `oa_admin_group` VALUES (1, '超级员工权限', 1, '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142', '超级员工权限,拥有系统的最高权限,不可修改', 0, 0); -INSERT INTO `oa_admin_group` VALUES (2, '人事总监权限', 1, '2,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,3,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,4,78,79,80,81,82,83,84,85,86,87,5,88,89,90,91,6,92,93,94,95,96,7,97,99,100,101,98,8,102,104,105,106,103,107,109,110,111,112,108,113,114,115,116,117,9,118,119,120,122,123,124,125,127,128,129,131,132,133,134', '人力资源部门领导的最高管理权限', 0, 0); +INSERT INTO `oa_admin_group` VALUES (2, '人事总监权限', 1, '2,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,3,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,4,78,79,80,81,82,83,84,85,86,87,5,88,89,90,91,6,92,93,94,95,96,7,97,100,101,102,98,99,8,103,105,106,107,104,108,110,111,112,113,109,114,115,116,117,118,9,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,10,142', '人力资源部门领导的最高管理权限', 0, 0); -- ---------------------------- -- Table structure for oa_admin_module @@ -251,50 +251,6 @@ INSERT INTO `oa_admin_rule` VALUES (140, 138, 'finance/income/view', '查看', ' INSERT INTO `oa_admin_rule` VALUES (141, 138, 'finance/income/delete', '删除', '到账记录', 'CF', '', 2, 1, 1, 0, 0); INSERT INTO `oa_admin_rule` VALUES (142, 10, 'business/analysis/index', '智能分析', '智能分析', 'BI', '', 1, 1, 1, 0, 0); --- ---------------------------- --- Table structure for oa_article_cate --- ---------------------------- -DROP TABLE IF EXISTS `oa_article_cate`; -CREATE TABLE `oa_article_cate` ( - `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, - `pid` int(11) NOT NULL DEFAULT 0 COMMENT '父类ID', - `sort` int(5) NOT NULL DEFAULT 0 COMMENT '排序', - `title` varchar(255) NOT NULL DEFAULT '' COMMENT '分类标题', - `desc` varchar(1000) NULL DEFAULT '' COMMENT '描述', - `create_time` int(11) NOT NULL DEFAULT 0 COMMENT '添加时间', - `update_time` int(11) NOT NULL DEFAULT 0 COMMENT '修改时间', - PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COMMENT = '知识文章分类表'; - --- ---------------------------- --- Records of oa_article_cate --- ---------------------------- -INSERT INTO `oa_article_cate` VALUES (1, 0, 0, '办公技巧', '', 1637984651, 0); -INSERT INTO `oa_article_cate` VALUES (2, 0, 0, '行业技能', '', 1637984739, 0); - --- ---------------------------- --- Table structure for oa_article_keywords --- ---------------------------- -DROP TABLE IF EXISTS `oa_article_keywords`; -CREATE TABLE `oa_article_keywords` ( - `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, - `aid` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '知识文章ID', - `keywords_id` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '关联关键字id', - `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1启用', - `create_time` int(11) NOT NULL DEFAULT 0 COMMENT '创建时间', - PRIMARY KEY (`id`) USING BTREE, - INDEX `aid`(`aid`) USING BTREE, - INDEX `inid`(`keywords_id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COMMENT = '知识文章关联表'; - --- ---------------------------- --- Records of oa_article_keywords --- ---------------------------- -INSERT INTO `oa_article_keywords` VALUES (1, 1, 1, 1, 1638093082); -INSERT INTO `oa_article_keywords` VALUES (2, 2, 2, 1, 1638093082); -INSERT INTO `oa_article_keywords` VALUES (3, 3, 3, 3, 1638093082); -INSERT INTO `oa_article_keywords` VALUES (4, 4, 4, 4, 1638093082); - -- ---------------------------- -- Table structure for oa_config -- ---------------------------- @@ -416,23 +372,23 @@ INSERT INTO `oa_flow_type` VALUES (4, 1, '加班', 'jiaban', 'icon-xueshengcheng INSERT INTO `oa_flow_type` VALUES (5, 2, '会议室预定', 'huiyishi', 'icon-kehuguanli', 1, 1641802939, 0); INSERT INTO `oa_flow_type` VALUES (6, 2, '公文流转', 'gongwen', 'icon-jiaoxuejihua', 1, 1641802976, 0); INSERT INTO `oa_flow_type` VALUES (7, 2, '物品维修', 'weixiu', 'icon-chuangjianxitong', 1, 1641803005, 0); -INSERT INTO `oa_flow_type` VALUES (8, 2, '用章申请', 'yongzhang', 'icon-shenpishezhi', 1, 1641804126, 0); -INSERT INTO `oa_flow_type` VALUES (9, 2, '用车申请', 'yongche', 'icon-dongtaiguanli', 1, 1641804283, 0); +INSERT INTO `oa_flow_type` VALUES (8, 2, '用章', 'yongzhang', 'icon-shenpishezhi', 1, 1641804126, 0); +INSERT INTO `oa_flow_type` VALUES (9, 2, '用车', 'yongche', 'icon-dongtaiguanli', 1, 1641804283, 0); INSERT INTO `oa_flow_type` VALUES (10, 2, '用车归还', 'yongcheguihai', 'icon-kaoheguanli', 1, 1641804411, 0); -INSERT INTO `oa_flow_type` VALUES (11, 3, '借款申请', 'jiekuan', 'icon-zhangbuguanli', 1, 1641804537, 0); -INSERT INTO `oa_flow_type` VALUES (12, 3, '付款申请', 'fukuan', 'icon-gongziguanli', 1, 1641804601, 0); -INSERT INTO `oa_flow_type` VALUES (13, 3, '奖励申请', 'jiangli', 'icon-bulujiesuan', 1, 1641804711, 0); -INSERT INTO `oa_flow_type` VALUES (14, 3, '采购申请', 'caigou', 'icon-shoufeiguanli', 1, 1641804917, 0); +INSERT INTO `oa_flow_type` VALUES (11, 3, '借款', 'jiekuan', 'icon-zhangbuguanli', 1, 1641804537, 0); +INSERT INTO `oa_flow_type` VALUES (12, 3, '付款', 'fukuan', 'icon-gongziguanli', 1, 1641804601, 0); +INSERT INTO `oa_flow_type` VALUES (13, 3, '奖励', 'jiangli', 'icon-bulujiesuan', 1, 1641804711, 0); +INSERT INTO `oa_flow_type` VALUES (14, 3, '采购', 'caigou', 'icon-shoufeiguanli', 1, 1641804917, 0); INSERT INTO `oa_flow_type` VALUES (15, 3, '活动经费', 'huodong', 'icon-shoufeipeizhi', 1, 1641805110, 0); -INSERT INTO `oa_flow_type` VALUES (16, 4, '入职申请', 'ruzhi', 'icon-xueshengdaoru', 1, 1641893853, 0); -INSERT INTO `oa_flow_type` VALUES (17, 4, '转正申请', 'zhuanzheng', 'icon-wodeshenpi', 1, 1641893926, 0); -INSERT INTO `oa_flow_type` VALUES (18, 4, '离职申请', 'lizhi', 'icon-xuexitongji', 1, 1641894048, 0); -INSERT INTO `oa_flow_type` VALUES (19, 4, '转岗申请', 'zhuangang', 'icon-xueshengyidong', 1, 1654681664, 0); +INSERT INTO `oa_flow_type` VALUES (16, 4, '入职', 'ruzhi', 'icon-xueshengdaoru', 1, 1641893853, 0); +INSERT INTO `oa_flow_type` VALUES (17, 4, '转正', 'zhuanzheng', 'icon-wodeshenpi', 1, 1641893926, 0); +INSERT INTO `oa_flow_type` VALUES (18, 4, '离职', 'lizhi', 'icon-xuexitongji', 1, 1641894048, 0); +INSERT INTO `oa_flow_type` VALUES (19, 4, '转岗', 'zhuangang', 'icon-xueshengyidong', 1, 1654681664, 0); INSERT INTO `oa_flow_type` VALUES (20, 4, '招聘需求', 'zhaopin', 'icon-xiaoxizhongxin', 1, 1641894080, 0); INSERT INTO `oa_flow_type` VALUES (21, 5, '通用审批', 'tongyong', 'icon-zhaoshengzhunbei', 1, 1654685923, 0); -INSERT INTO `oa_flow_type` VALUES (22, 6, '报销审批', 'baoxiao', 'icon-jizhang', 1, 1641804488, 0); -INSERT INTO `oa_flow_type` VALUES (23, 7, '发票审批', 'fapiao', 'icon-fuwuliebiao', 1, 1642904833, 0); -INSERT INTO `oa_flow_type` VALUES (24, 8, '合同审批', 'hetong', 'icon-hetongshezhi', 1, 1654692083, 0); +INSERT INTO `oa_flow_type` VALUES (22, 6, '报销', 'baoxiao', 'icon-jizhang', 1, 1641804488, 0); +INSERT INTO `oa_flow_type` VALUES (23, 7, '发票', 'fapiao', 'icon-fuwuliebiao', 1, 1642904833, 0); +INSERT INTO `oa_flow_type` VALUES (24, 8, '合同', 'hetong', 'icon-hetongshezhi', 1, 1654692083, 0); -- ---------------------------- -- Table structure for oa_flow @@ -445,7 +401,7 @@ CREATE TABLE `oa_flow` ( `type` tinyint(4) NOT NULL COMMENT '应用模块,1假勤,2行政,3财务,4人事,5其他,6报销,7发票,8合同', `flow_cate` tinyint(11) NOT NULL DEFAULT 0 COMMENT '应用审批类型id', `department_ids` varchar(500) NOT NULL DEFAULT '' COMMENT '应用部门ID(0为全部)1,2,3', - `copy_uids` varchar(500) NOT NULL DEFAULT '' COMMENT '抄送人ID,如:1,2,3,', + `copy_uids` varchar(500) NOT NULL DEFAULT '' COMMENT '抄送人ID', `remark` varchar(500) NOT NULL DEFAULT '' COMMENT '流程说明', `flow_list` varchar(1000) NULL DEFAULT '' COMMENT '流程数据序列化', `admin_id` int(11) NOT NULL COMMENT '创建人ID', @@ -483,192 +439,4 @@ INSERT INTO `oa_flow` VALUES (20, '招聘需求审批', 2, 4, 20, '', '', '招 INSERT INTO `oa_flow` VALUES (21, '通用审批', 2, 5, 21, '', '', '通用审批流程', 'a:1:{i:0;a:2:{s:9:\"flow_type\";s:1:\"1\";s:9:\"flow_uids\";s:0:\"\";}}', 1, 1654686338, 0, 1, 0, 0); INSERT INTO `oa_flow` VALUES (22, '报销审批', 2, 6, 22, '', '', '报销审批流程', 'a:1:{i:0;a:2:{s:9:\"flow_type\";s:1:\"1\";s:9:\"flow_uids\";s:0:\"\";}}', 1, 1644490024, 0, 1, 0, 0); INSERT INTO `oa_flow` VALUES (23, '发票审批', 2, 7, 23, '', '', '发票审批流程', 'a:1:{i:0;a:2:{s:9:\"flow_type\";s:1:\"1\";s:9:\"flow_uids\";s:0:\"\";}}', 1, 1644490053, 0, 1, 0, 0); -INSERT INTO `oa_flow` VALUES (24, '合同审批', 2, 8, 24, '', '', '合同审批流程', 'a:1:{i:0;a:2:{s:9:\"flow_type\";s:1:\"1\";s:9:\"flow_uids\";s:0:\"\";}}', 1, 1654692519, 0, 1, 0, 0); - --- ---------------------------- --- Table structure for oa_cost_cate --- ---------------------------- -DROP TABLE IF EXISTS `oa_cost_cate`; -CREATE TABLE `oa_cost_cate` ( - `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, - `title` varchar(100) NOT NULL DEFAULT '' COMMENT '费用类型名称', - `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1启用', - `create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间', - `update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '更新时间', - PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COMMENT = '费用类型'; - --- ---------------------------- --- Records of oa_cost_cate --- ---------------------------- -INSERT INTO `oa_cost_cate` VALUES (1, '差旅费', 1, 1639898199, 0); -INSERT INTO `oa_cost_cate` VALUES (2, '办公费', 1, 1639898434, 0); -INSERT INTO `oa_cost_cate` VALUES (3, '招待费', 1, 1639898564, 0); -INSERT INTO `oa_cost_cate` VALUES (4, '交通费', 1, 1639898564, 0); -INSERT INTO `oa_cost_cate` VALUES (5, '通讯费', 1, 1639898564, 0); -INSERT INTO `oa_cost_cate` VALUES (6, '采购付款', 1, 1639898564, 0); -INSERT INTO `oa_cost_cate` VALUES (7, '其他', 1, 1639898564, 0); - --- ---------------------------- --- Table structure for oa_seal_cate --- ---------------------------- -DROP TABLE IF EXISTS `oa_seal_cate`; -CREATE TABLE `oa_seal_cate` ( - `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, - `title` varchar(100) NOT NULL DEFAULT '' COMMENT '印章类型名称', - `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1启用', - `create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间', - `update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '更新时间', - PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COMMENT = '印章类型'; - --- ---------------------------- --- Records of oa_seal_cate --- ---------------------------- -INSERT INTO `oa_seal_cate` VALUES (1, '公章', 1, 1639899124, 0); -INSERT INTO `oa_seal_cate` VALUES (2, '合同章', 1, 1639899140, 0); -INSERT INTO `oa_seal_cate` VALUES (3, '法人章', 1, 1639899148, 0); -INSERT INTO `oa_seal_cate` VALUES (4, '其他', 1, 1639899158, 0); - --- ---------------------------- --- Table structure for oa_car_cate --- ---------------------------- -DROP TABLE IF EXISTS `oa_car_cate`; -CREATE TABLE `oa_car_cate` ( - `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, - `title` varchar(100) NOT NULL DEFAULT '' COMMENT '车辆名称', - `name` varchar(100) NOT NULL DEFAULT '' COMMENT '车辆号码', - `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1启用', - `create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间', - `update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '更新时间', - PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COMMENT = '用车类型'; - --- ---------------------------- --- Records of oa_car_cate --- ---------------------------- -INSERT INTO `oa_car_cate` VALUES (1, '宝马X5', '粤A55555', 1, 1639900555, 0); -INSERT INTO `oa_car_cate` VALUES (2, '哈弗H6', '粤A66666', 1, 1639900666, 0); -INSERT INTO `oa_car_cate` VALUES (3, '奥迪Q8', '粤A88888', 1, 1639900888, 0); - --- ---------------------------- --- Table structure for oa_expense_cate --- ---------------------------- -DROP TABLE IF EXISTS `oa_expense_cate`; -CREATE TABLE `oa_expense_cate` ( - `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, - `title` varchar(100) NOT NULL DEFAULT '' COMMENT '报销类型名称', - `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1启用', - `create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间', - `update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '更新时间', - PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COMMENT = '报销类型'; - --- ---------------------------- --- Records of oa_expense_cate --- ---------------------------- -INSERT INTO `oa_expense_cate` VALUES (1, '交通费', 1, 1637987189, 0); -INSERT INTO `oa_expense_cate` VALUES (2, '住宿费', 1, 1637987199, 0); -INSERT INTO `oa_expense_cate` VALUES (3, '餐补费', 1, 1638088518, 0); -INSERT INTO `oa_expense_cate` VALUES (4, '招待费', 1, 1637987199, 0); -INSERT INTO `oa_expense_cate` VALUES (5, '汽油费', 1, 1637987199, 0); -INSERT INTO `oa_expense_cate` VALUES (6, '其他费', 1, 1637987199, 0); - --- ---------------------------- --- Table structure for oa_invoice_subject --- ---------------------------- -DROP TABLE IF EXISTS `oa_invoice_subject`; -CREATE TABLE `oa_invoice_subject` ( - `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, - `title` varchar(100) NOT NULL DEFAULT '' COMMENT '主体名称', - `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1启用', - `create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间', - `update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '更新时间', - PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COMMENT = '发票主体名称'; - --- ---------------------------- --- Records of oa_invoice_subject --- ---------------------------- -INSERT INTO `oa_invoice_subject` VALUES (1, '勾股信息科技有限公司', 1, 1638006751, 0); - --- ---------------------------- --- Table structure for oa_keywords --- ---------------------------- -DROP TABLE IF EXISTS `oa_keywords`; -CREATE TABLE `oa_keywords` ( - `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, - `title` varchar(255) NOT NULL DEFAULT '' COMMENT '关键字名称', - `sort` int(11) NOT NULL DEFAULT 0 COMMENT '排序', - `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1启用', - `create_time` int(11) NOT NULL DEFAULT 0 COMMENT '创建时间', - `update_time` int(11) NOT NULL DEFAULT 0 COMMENT '更新时间', - PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COMMENT = '关键字表'; - --- ---------------------------- --- Records of oa_keywords --- ---------------------------- -INSERT INTO `oa_keywords` VALUES (1, '勾股OA', 1, 1, 1638006730, 0); -INSERT INTO `oa_keywords` VALUES (2, '勾股CMS', 1, 1, 1638006730, 0); -INSERT INTO `oa_keywords` VALUES (3, '勾股BLOG', 1, 1, 1638006730, 0); -INSERT INTO `oa_keywords` VALUES (3, '勾股DEV', 1, 1, 1638006730, 0); - --- ---------------------------- --- Table structure for oa_note_cate --- ---------------------------- -DROP TABLE IF EXISTS `oa_note_cate`; -CREATE TABLE `oa_note_cate` ( - `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, - `pid` int(11) NOT NULL DEFAULT 0 COMMENT '父类ID', - `sort` int(5) NOT NULL DEFAULT 0 COMMENT '排序', - `title` varchar(50) NOT NULL DEFAULT '' COMMENT '标题', - `create_time` int(11) NOT NULL DEFAULT 0 COMMENT '添加时间', - `update_time` int(11) NOT NULL DEFAULT 0 COMMENT '修改时间', - PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COMMENT = '公告分类'; - --- ---------------------------- --- Records of oa_note_cate --- ---------------------------- -INSERT INTO `oa_note_cate` VALUES (1, 0, 1, '普通公告', 1637984265, 1637984299); -INSERT INTO `oa_note_cate` VALUES (2, 0, 2, '紧急公告', 1637984283, 1637984310); - --- ---------------------------- --- Table structure for oa_position --- ---------------------------- -DROP TABLE IF EXISTS `oa_position`; -CREATE TABLE `oa_position` ( - `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, - `title` varchar(100) NOT NULL DEFAULT '' COMMENT '岗位名称', - `work_price` int(10) NOT NULL DEFAULT 0 COMMENT '工时单价', - `remark` varchar(1000) NULL DEFAULT '' COMMENT '备注', - `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1启用', - `create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间', - `update_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '更新时间', - PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COMMENT = '岗位职称'; - --- ---------------------------- --- Records of oa_position --- ---------------------------- -INSERT INTO `oa_position` VALUES (1, '超级岗位', 1000, '超级岗位,不能轻易修改权限', 1, 0, 0); -INSERT INTO `oa_position` VALUES (2, '人事总监', 1000, '人事部的最大领导', 1, 0, 0); - --- ---------------------------- --- Table structure for oa_position_group --- ---------------------------- -DROP TABLE IF EXISTS `oa_position_group`; -CREATE TABLE `oa_position_group` ( - `pid` int(11) UNSIGNED NULL DEFAULT NULL COMMENT '岗位id', - `group_id` int(11) NULL DEFAULT NULL COMMENT '权限id', - `create_time` int(11) NOT NULL DEFAULT 0 COMMENT '创建时间', - `update_time` int(11) NOT NULL DEFAULT 0 COMMENT '更新时间', - UNIQUE INDEX `pid_group_id`(`pid`, `group_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COMMENT = '权限分组和岗位的关联表'; - --- ---------------------------- --- Records of oa_position_group --- ---------------------------- -INSERT INTO `oa_position_group` VALUES (1, 1, 1635755739, 0); -INSERT INTO `oa_position_group` VALUES (2, 2, 1638007427, 0); \ No newline at end of file +INSERT INTO `oa_flow` VALUES (24, '合同审批', 2, 8, 24, '', '', '合同审批流程', 'a:1:{i:0;a:2:{s:9:\"flow_type\";s:1:\"1\";s:9:\"flow_uids\";s:0:\"\";}}', 1, 1654692519, 0, 1, 0, 0); \ No newline at end of file diff --git a/config/message.php b/config/message.php index c829fb3..c9e6229 100644 --- a/config/message.php +++ b/config/message.php @@ -13,18 +13,18 @@ return [ 'link' => '查看详情', ], 21 => [ - 'title' => '{from_user}提交了一个『{title}申请』,请及时审批', + 'title' => '{from_user}提交了一个『{title}』,请及时审批', 'content' => '您有一个新的『{title}审批』需要处理。', 'link' => '去审批', ], 22 => [ - 'title' => '您提交的『{title}申请』已被审批通过', - 'content' => '您在{create_time}提交的『{title}申请』已于{date}被审批通过。', + 'title' => '您提交的『{title}』已被审批通过', + 'content' => '您在{create_time}提交的『{title}』已于{date}被审批通过。', 'link' => '查看详情', ], 23 => [ - 'title' => '您提交的『{title}申请』已被驳回拒绝', - 'content' => '您在{create_time}提交的『{title}申请』已于{date}被驳回拒绝。', + 'title' => '您提交的『{title}』已被驳回拒绝', + 'content' => '您在{create_time}提交的『{title}』已于{date}被驳回拒绝。', 'link' => '查看详情', ], 31 => [