*Fix bug 49283

This commit is contained in:
zhengrunyu
2022-02-18 10:40:09 +08:00
parent aa444513d6
commit 22f29fd8d4
8 changed files with 30 additions and 3 deletions
+23
View File
@@ -0,0 +1,23 @@
ALTER TABLE `zt_userquery` ADD`common` enum('0','1') NOT NULL DEFAULT '0';
ALTER TABLE `zt_project` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `order`;
ALTER TABLE `zt_product` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `order`;
ALTER TABLE `zt_task` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `deleted`;
ALTER TABLE `zt_projectstory` ADD INDEX `story` (`story`);
ALTER TABLE `zt_group` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `project`;
ALTER TABLE `zt_lang` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `system`;
ALTER TABLE `zt_lang` DROP INDEX `lang`, ADD UNIQUE `lang` (`lang`,`module`,`section`,`key`,`vision`);
ALTER TABLE `zt_doc` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `id`;
ALTER TABLE `zt_doclib` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `type`;
ALTER TABLE `zt_action` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `read`;
ALTER TABLE `zt_searchindex` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `id`;
ALTER TABLE `zt_config` ADD `vision` varchar(10) NOT NULL DEFAULT '' AFTER `id`;
ALTER TABLE `zt_config` DROP INDEX `unique`, ADD UNIQUE `unique` (`vision`,`owner`,`module`,`section`,`key`);
ALTER TABLE `zt_todo` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `deleted`;
ALTER TABLE `zt_block` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `account`;
ALTER TABLE `zt_block` DROP INDEX `account_module_type_order`, ADD UNIQUE `account_vision_module_type_order` (`account`, `vision`, `module`, `type`, `order`);
ALTER TABLE `zt_effort` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `id`;
ALTER TABLE `zt_story` ADD `vision` varchar(10) NOT NULL DEFAULT 'rnd' AFTER `id`;
ALTER TABLE `zt_user` ADD `visions` varchar(20) NOT NULL AFTER `visits`;
UPDATE `zt_user` SET `visions`='rnd,lite';
+1
View File
@@ -41,6 +41,7 @@ $lang->my->requirement = "My {$lang->URCommon}";
$lang->my->testtask = 'My Test Task';
$lang->my->testcase = 'My Case';
$lang->my->storyConcept = 'Story Concept';
$lang->my->pri = 'Priority';
$lang->my->indexAction = 'My Index';
$lang->my->calendarAction = 'My Calendar';
+1
View File
@@ -41,6 +41,7 @@ $lang->my->requirement = "我的{$lang->URCommon}";
$lang->my->testtask = '我的测试单';
$lang->my->testcase = '我的用例';
$lang->my->storyConcept = $config->URAndSR ? '默认需求概念组合' : '默认需求概念';
$lang->my->pri = '优先级';
$lang->my->indexAction = '地盘仪表盘';
$lang->my->calendarAction = '我的日程';
+1 -1
View File
@@ -58,7 +58,7 @@
<?php endif;?>
<?php common::printOrderLink('id', $orderBy, $vars, $lang->idAB);?>
</th>
<th class='c-pri' title=<?php echo $lang->task->pri;?>><?php common::printOrderLink('pri', $orderBy, $vars, $lang->priAB);?></th>
<th class='c-pri' title=<?php echo $lang->my->pri;?>><?php common::printOrderLink('pri', $orderBy, $vars, $lang->priAB);?></th>
<th class='c-name'> <?php common::printOrderLink('title', $orderBy, $vars, $lang->my->name);?></th>
<th class='c-product'> <?php common::printOrderLink('productTitle', $orderBy, $vars, $lang->story->product);?></th>
<th class='c-plan'> <?php common::printOrderLink('plan', $orderBy, $vars, $lang->story->plan);?></th>
+1 -1
View File
@@ -35,7 +35,7 @@
</div>
</th>
<th class='c-id-sm'><?php echo $lang->idAB;?></th>
<th class='c-pri'> <?php echo $lang->priAB;?></th>
<th class='c-pri' title=<?php echo $lang->testcase->pri;?>> <?php echo $lang->priAB;?></th>
<th class='c-title text-left'><?php echo $lang->testcase->title;?></th>
<th class='c-type'> <?php echo $lang->typeAB;?></th>
<th class='c-user'> <?php echo $lang->testtask->lastRunAccount;?></th>
+1
View File
@@ -24,6 +24,7 @@ $lang->testsuite->deleted = 'Deleted';
$lang->testsuite->successSaved = 'Saved';
$lang->testsuite->id = 'ID';
$lang->testsuite->pri = 'Priority';
$lang->testsuite->common = 'Test Suite';
$lang->testsuite->project = 'Project';
$lang->testsuite->product = $lang->productCommon;
+1
View File
@@ -24,6 +24,7 @@ $lang->testsuite->deleted = '已删除';
$lang->testsuite->successSaved = '保存成功';
$lang->testsuite->id = '编号';
$lang->testsuite->pri = '优先级';
$lang->testsuite->common = '套件';
$lang->testsuite->project = '所属项目';
$lang->testsuite->product = '所属' . $lang->productCommon;
+1 -1
View File
@@ -60,7 +60,7 @@
<?php endif;?>
<?php common::printOrderLink('id', $orderBy, $vars, $lang->idAB);?></nobr>
</th>
<th class='c-pri w-50px'><?php common::printOrderLink('pri', $orderBy, $vars, $lang->priAB);?></th>
<th class='c-pri w-50px' title=<?php echo $lang->testsuite->pri;?>><?php common::printOrderLink('pri', $orderBy, $vars, $lang->priAB);?></th>
<th class='w-100px'><?php common::printOrderLink('module', $orderBy, $vars, $lang->testcase->module);?></th>
<th class='c-name'><?php common::printOrderLink('title', $orderBy, $vars, $lang->testcase->title);?></th>
<th class='w-90px'><?php common::printOrderLink('type', $orderBy, $vars, $lang->testcase->type);?></th>