* Fix details.

This commit is contained in:
sgm0422
2021-01-03 15:05:36 +08:00
parent 48335d317f
commit 9b08d19c22
5 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -4102,4 +4102,4 @@ INSERT INTO `zt_lang` (`lang`, `module`, `section`, `key`, `value`, `system`) VA
INSERT INTO `zt_config` (`owner`, `module`, `section`, `key`, `value`) VALUES ('system', 'custom', '', 'hourPoint', '1');
INSERT INTO `zt_config` (`owner`, `module`, `section`, `key`, `value`) VALUES ('system', 'common', '', 'CRProduct', '1');
INSERT INTO `zt_config` (`owner`, `module`, `section`, `key`, `value`) VALUES ('system', 'common', '', 'CRProject', '1');
INSERT INTO `zt_config` (`owner`, `module`, `section`, `key`, `value`) VALUES ('system', 'custom', '', 'URSR', '1');
INSERT INTO `zt_config` (`owner`, `module`, `section`, `key`, `value`) VALUES ('system', 'custom', '', 'URSR', '3');
+1 -1
View File
@@ -176,7 +176,7 @@ $lang->product->viewMenu->roadmap = '路线图|product|roadmap|productID=%s'
$lang->product->viewMenu->dynamic = '动态|product|dynamic|productID=%s';
$lang->product->viewMenu->project = "项目|product|project|status=all&productID=%s";
$lang->product->viewMenu->doc = array('link' => '文档|doc|objectLibs|type=product&objectID=%s&from=product', 'subModule' => 'doc');
$lang->product->viewMenu->set = array('link' => '设置|tree|browse|productID=%s&view=story', 'alias' => 'addwhitelist');
$lang->product->viewMenu->set = array('link' => '设置|tree|browse|productID=%s&view=story', 'subModule' => 'product');
$lang->product->setMenu = new stdclass();
$lang->product->setMenu->module = array('link' => '模块|tree|browse|product={PRODUCT}&view=story', 'subModule' => 'tree');
@@ -21,13 +21,16 @@
<div id='mainContent' class='main-row'>
<div class='main-col main-content main-table'>
<table class='table table-form'>
<thead>
<tr>
<th class='text-left'><?php echo $lang->custom->URConcept;?> </th>
<th class='text-left'><?php echo $lang->custom->SRConcept;?> </th>
<th><?php echo $lang->custom->buildin;?> </th>
<th><?php echo $lang->custom->isDefault;?> </th>
<th class='w-60px text-left'><?php echo $lang->actions;?> </th>
<th class='w-100px text-center'><?php echo $lang->custom->buildin;?> </th>
<th class='w-100px text-center'><?php echo $lang->custom->isDefault;?> </th>
<th class='w-100px text-left'><?php echo $lang->actions;?> </th>
</tr>
</thead>
<tbody>
<?php foreach($URSRList as $key => $URSR):?>
<tr>
<td class='text-left'><?php echo $URSR['URName'];?></td>
@@ -42,6 +45,7 @@
</td>
</tr>
<?php endforeach;?>
</tbody>
</table>
</div>
</div>
+2
View File
@@ -880,6 +880,7 @@ class product extends control
$this->lang->product->switcherMenu = $this->loadModel('product')->getSwitcher($productID, '', 0);
$this->lang->product->mainMenuAction = $this->product->getProductMainAction();
$this->product->setMenu($this->products, $productID, 0);
$this->lang->modulePageNav = '';
echo $this->fetch('personnel', 'whitelist', "objectID=$productID&module=product&browseType=$objectType&orderBy=$orderBy&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID");
}
@@ -901,6 +902,7 @@ class product extends control
$this->product->setMenu($this->products, $productID, $branch);
$moduleIndex = array_search('product', $this->lang->noMenuModule);
if($moduleIndex !== false) unset($this->lang->noMenuModule[$moduleIndex]);
$this->lang->modulePageNav = '';
echo $this->fetch('personnel', 'addWhitelist', "objectID=$productID&dept=$deptID&objectType=product&module=product");
}
+1
View File
@@ -81,6 +81,7 @@ class tree extends control
unset($products[$rootID]);
$currentProduct = key($products);
$this->lang->modulePageNav = '';
$this->view->allProduct = $products;
$this->view->currentProduct = $currentProduct;
$this->view->productModules = $this->tree->getOptionMenu($currentProduct, 'story');