From f9a87acab24494f5d3de42129a6b70cb480f5f8b Mon Sep 17 00:00:00 2001 From: hdm Date: Sat, 27 Nov 2021 11:20:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/home/common.php | 8 ++++++++ app/install/data/gouguoa.sql | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/app/home/common.php b/app/home/common.php index a6a951c..a88c2ff 100644 --- a/app/home/common.php +++ b/app/home/common.php @@ -290,6 +290,14 @@ function add_log($type, $param_id = '', $param = []) case 'check': $action = '审核'; break; + case 'leave': + $action = '离职'; + break; + case 'disable': + $action = '禁用'; + break; + case 'recovery': + $action = '恢复'; break; case 'reset': $action = '重新设置'; diff --git a/app/install/data/gouguoa.sql b/app/install/data/gouguoa.sql index 730b5d7..13770ea 100644 --- a/app/install/data/gouguoa.sql +++ b/app/install/data/gouguoa.sql @@ -483,7 +483,7 @@ CREATE TABLE `oa_department_change` ( `uid` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '用户ID', `from_did` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '原部门id', `to_did` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '调到部门id', - `remark` text CHARACTER SET utf8 COLLATE NULL COMMENT '备注', + `remark` varchar(1000) NULL DEFAULT '' COMMENT '备注', `admin_id` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建人', `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1启用', `move_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '调到时间', @@ -499,10 +499,10 @@ DROP TABLE IF EXISTS `oa_personal_quit`; CREATE TABLE `oa_personal_quit` ( `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, `uid` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '用户ID', - `remark` text CHARACTER SET utf8 COLLATE NULL COMMENT '备注', + `remark` varchar(1000) NULL DEFAULT '' COMMENT '备注', `admin_id` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建人', `lead_admin_id` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '部门负责人', - `connect_uids` varchar(100) CHARACTER SET utf8 COLLATE NOT NULL DEFAULT '' COMMENT '交接人', + `connect_uids` varchar(100) NOT NULL DEFAULT '' COMMENT '交接人', `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1启用', `quit_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '离职时间', `create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间',