From 32a5412509f7592c748bdc8d15ec7f858b8f852b Mon Sep 17 00:00:00 2001 From: sunguangming Date: Tue, 30 Dec 2025 01:17:38 +0000 Subject: [PATCH 1/3] * [misc] remove unused field. --- db/demo.sql | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/db/demo.sql b/db/demo.sql index 3769ecfa97..c33a3aa1b7 100644 --- a/db/demo.sql +++ b/db/demo.sql @@ -215,15 +215,15 @@ REPLACE INTO `zt_casestep` (`id`, `parent`, `case`, `version`, `type`, `desc`, ` (5, 4, 2, 1, 'step', '点击新闻中心', '进入新闻中心'), (6, 0, 3, 1, 'step', '进入新闻中心', '正常显示'), (7, 0, 4, 1, 'step', '进入成果展示', '正常显示'); -REPLACE INTO `zt_dept` (`id`, `name`, `parent`, `path`, `grade`, `order`, `position`, `function`, `manager`) VALUES -(1, '经理', 0, ',1,', 1, 0, '', '', ''), -(2, '开发', 0, ',2,', 1, 0, '', '', ''), -(3, '测试', 0, ',3,', 1, 0, '', '', ''), -(4, '市场', 0, ',4,', 1, 0, '', '', ''), -(5, '产品', 1, ',1,5,', 2, 0, '', '', ''), -(6, '项目', 1, ',1,6,', 2, 0, '', '', ''), -(7, '编程', 2, ',2,7,', 2, 0, '', '', ''), -(8, '美工', 2, ',2,8,', 2, 0, '', '', ''); +REPLACE INTO `zt_dept` (`id`, `name`, `parent`, `path`, `grade`, `order`, `function`, `manager`) VALUES +(1, '经理', 0, ',1,', 1, 0, '', ''), +(2, '开发', 0, ',2,', 1, 0, '', ''), +(3, '测试', 0, ',3,', 1, 0, '', ''), +(4, '市场', 0, ',4,', 1, 0, '', ''), +(5, '产品', 1, ',1,5,', 2, 0, '', ''), +(6, '项目', 1, ',1,6,', 2, 0, '', ''), +(7, '编程', 2, ',2,7,', 2, 0, '', ''), +(8, '美工', 2, ',2,8,', 2, 0, '', ''); REPLACE INTO `zt_doclib` (`id`, `type`, `vision`, `product`, `project`, `execution`, `name`, `baseUrl`, `acl`, `groups`, `users`, `main`, `collector`, `desc`, `order`, `addedBy`, `addedDate`, `deleted`) VALUES (2, 'product', 'rnd', 1, 0, 0, '产品主库', '', 'default', '', NULL, '1', NULL, NULL, 0, 'admin', '2024-04-02 14:30:13', '0'), (3, 'product', 'rnd', 2, 0, 0, '产品主库', '', 'default', '', NULL, '1', NULL, NULL, 0, 'admin', '2024-04-02 14:30:55', '0'), From dbfdeebe28c49466dc8a89499556204c5bd356e6 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Tue, 30 Dec 2025 01:18:24 +0000 Subject: [PATCH 2/3] * [misc] remove unused field. --- db/demo.sql | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/db/demo.sql b/db/demo.sql index c33a3aa1b7..f8f2f7e23f 100644 --- a/db/demo.sql +++ b/db/demo.sql @@ -215,15 +215,15 @@ REPLACE INTO `zt_casestep` (`id`, `parent`, `case`, `version`, `type`, `desc`, ` (5, 4, 2, 1, 'step', '点击新闻中心', '进入新闻中心'), (6, 0, 3, 1, 'step', '进入新闻中心', '正常显示'), (7, 0, 4, 1, 'step', '进入成果展示', '正常显示'); -REPLACE INTO `zt_dept` (`id`, `name`, `parent`, `path`, `grade`, `order`, `function`, `manager`) VALUES -(1, '经理', 0, ',1,', 1, 0, '', ''), -(2, '开发', 0, ',2,', 1, 0, '', ''), -(3, '测试', 0, ',3,', 1, 0, '', ''), -(4, '市场', 0, ',4,', 1, 0, '', ''), -(5, '产品', 1, ',1,5,', 2, 0, '', ''), -(6, '项目', 1, ',1,6,', 2, 0, '', ''), -(7, '编程', 2, ',2,7,', 2, 0, '', ''), -(8, '美工', 2, ',2,8,', 2, 0, '', ''); +REPLACE INTO `zt_dept` (`id`, `name`, `parent`, `path`, `grade`, `order`, `manager`) VALUES +(1, '经理', 0, ',1,', 1, 0, ''), +(2, '开发', 0, ',2,', 1, 0, ''), +(3, '测试', 0, ',3,', 1, 0, ''), +(4, '市场', 0, ',4,', 1, 0, ''), +(5, '产品', 1, ',1,5,', 2, 0, ''), +(6, '项目', 1, ',1,6,', 2, 0, ''), +(7, '编程', 2, ',2,7,', 2, 0, ''), +(8, '美工', 2, ',2,8,', 2, 0, ''); REPLACE INTO `zt_doclib` (`id`, `type`, `vision`, `product`, `project`, `execution`, `name`, `baseUrl`, `acl`, `groups`, `users`, `main`, `collector`, `desc`, `order`, `addedBy`, `addedDate`, `deleted`) VALUES (2, 'product', 'rnd', 1, 0, 0, '产品主库', '', 'default', '', NULL, '1', NULL, NULL, 0, 'admin', '2024-04-02 14:30:13', '0'), (3, 'product', 'rnd', 2, 0, 0, '产品主库', '', 'default', '', NULL, '1', NULL, NULL, 0, 'admin', '2024-04-02 14:30:55', '0'), From 975b0d2340e54d5564c1ceabc0ff3ea219ab4d49 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Tue, 30 Dec 2025 03:28:46 +0000 Subject: [PATCH 3/3] * [bug#66053,done,0.2h] fix bug. --- module/story/ui/batchcreate.html.php | 1 - 1 file changed, 1 deletion(-) diff --git a/module/story/ui/batchcreate.html.php b/module/story/ui/batchcreate.html.php index d7b92e9886..0a346c22c3 100644 --- a/module/story/ui/batchcreate.html.php +++ b/module/story/ui/batchcreate.html.php @@ -68,7 +68,6 @@ $fnGenerateFields = function() use ($app, $lang, $type, $fields, $stories, $cust if($colName == 'grade' && $gradeRule == 'stepwise') $cols[$index]['disabled'] = true; if($colName == 'grade' && $hiddenGrade) $cols[$index]['hidden'] = true; if($colName == 'parent' && $storyID > 0 ) $cols[$index]['hidden'] = true; - if($colName == 'spec') unset($cols[$index]['control']); if($colName == 'source') $cols[$index]['items'] = $lang->{$type}->sourceList; if($colName == 'category') $cols[$index]['items'] = $lang->{$type}->categoryList; if($colName == 'roadmap') $cols[$index]['items'] = $roadmaps;