From 9180bfd5fe7211e4667fd58f2e915aa59eb8696a Mon Sep 17 00:00:00 2001 From: hdm Date: Thu, 24 Nov 2022 09:17:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=A1=B9=E7=9B=AE=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E3=80=81=E4=BB=BB=E5=8A=A1=E5=88=97=E8=A1=A8=E5=9B=BA?= =?UTF-8?q?=E5=AE=9A=E8=A1=A8=E5=A4=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/install/data/gouguoa.sql | 13 +++++++++---- app/project/view/index/index.html | 1 + public/index.php | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/app/install/data/gouguoa.sql b/app/install/data/gouguoa.sql index 273a508..cd0f4f7 100644 --- a/app/install/data/gouguoa.sql +++ b/app/install/data/gouguoa.sql @@ -380,6 +380,7 @@ INSERT INTO `oa_admin_rule` VALUES (195, 194, 'article/index/add', '新建/编 INSERT INTO `oa_admin_rule` VALUES (196, 194, 'article/index/view', '查看', '知识文章', 'article', '', 2, 0, 1, 1656143065, 0); INSERT INTO `oa_admin_rule` VALUES (197, 194, 'article/index/delete', '删除', '知识文章', 'article', '', 2, 0, 1, 1656143065, 0); + -- ---------------------------- -- Table structure for oa_admin_group -- ---------------------------- @@ -417,9 +418,13 @@ CREATE TABLE `oa_data_auth` ( `expected_1` int(11) NOT NULL DEFAULT 0 COMMENT '预备字段1,可作为预备权限的控制', `expected_2` int(11) NOT NULL DEFAULT 0 COMMENT '预备字段2,可作为预备权限的控制', `expected_3` int(11) NOT NULL DEFAULT 0 COMMENT '预备字段3,可作为预备权限的控制', + `expected_4` int(11) NOT NULL DEFAULT 0 COMMENT '预备字段4,可作为预备权限的控制', + `expected_5` int(11) NOT NULL DEFAULT 0 COMMENT '预备字段5,可作为预备权限的控制', `conf_1` text NULL COMMENT '配置字段1,可作为预配置内容', `conf_2` text NULL COMMENT '配置字段2,可作为预配置内容', `conf_3` text NULL COMMENT '配置字段3,可作为预配置内容', + `conf_4` text NULL COMMENT '配置字段4,可作为预配置内容', + `conf_5` text NULL COMMENT '配置字段5,可作为预配置内容', `create_time` int(11) NOT NULL DEFAULT 0 COMMENT '创建时间', `update_time` int(11) NOT NULL DEFAULT 0 COMMENT '更新时间', PRIMARY KEY (`id`) USING BTREE @@ -428,10 +433,10 @@ CREATE TABLE `oa_data_auth` ( -- ---------------------------- -- Records of oa_data_auth -- ---------------------------- -INSERT INTO `oa_data_auth` VALUES (1, '财务管理员','finance_admin','拥有该权限的员工开具发票、报销打款、财务到账。', 'finance', '',0,0,0,'','','',1656143065, 0); -INSERT INTO `oa_data_auth` VALUES (2, '客户管理员','customer_admin','拥有该权限的员工可以查看、转移所有客户。', 'customer', '',10,0,0,'','','',1656143065, 0); -INSERT INTO `oa_data_auth` VALUES (3, '合同管理员','contract_admin','拥有该权限的员工可以查看、编辑、作废、中止所有合同。', 'contract', '',1,1,0,'','','',1656143065, 0); -INSERT INTO `oa_data_auth` VALUES (4, '项目管理员','project_admin','拥有该权限的员工可以查看所有项目。', 'project', '',0,0,0,'立项阶段|实施阶段|验收阶段|交付阶段','','',1656143065, 0); +INSERT INTO `oa_data_auth` VALUES (1, '财务管理员','finance_admin','拥有该权限的员工开具发票、报销打款、财务到账。', 'finance', '',0,0,0,0,0,'','','','','',1656143065, 0); +INSERT INTO `oa_data_auth` VALUES (2, '客户管理员','customer_admin','拥有该权限的员工可以查看、转移所有客户。', 'customer', '',0,0,0,0,0,'','','','','',1656143065, 0); +INSERT INTO `oa_data_auth` VALUES (3, '合同管理员','contract_admin','拥有该权限的员工可以查看、编辑、作废、中止所有合同。', 'contract', '',0,0,0,0,0,'','','','','',1656143065, 0); +INSERT INTO `oa_data_auth` VALUES (4, '项目管理员','project_admin','拥有该权限的员工可以查看所有项目。', 'project', '',0,0,0,0,0,'立项阶段|实施阶段|验收阶段|交付阶段','','','','',1656143065, 0); -- ---------------------------- -- Table structure for oa_config diff --git a/app/project/view/index/index.html b/app/project/view/index/index.html index 3da578c..3021275 100644 --- a/app/project/view/index/index.html +++ b/app/project/view/index/index.html @@ -25,6 +25,7 @@ cellMinWidth: 220, page: true, //开启分页 limit: 20, + height: 'full-24', url: "/project/index/index", //数据接口 cols: [[ { diff --git a/public/index.php b/public/index.php index b59e6e8..32f4511 100644 --- a/public/index.php +++ b/public/index.php @@ -15,7 +15,7 @@ if (empty(file_exists(__DIR__ . '/../vendor/autoload.php'))) { require __DIR__ . '/../vendor/autoload.php'; // 定义当前版本号 -define('CMS_VERSION','4.10.20'); +define('CMS_VERSION','4.11.24'); // 定义Layui版本号 define('LAYUI_VERSION','2.7.6');