Merge branch '15.0.beta3' of https://gitlab.zcorp.cc/easycorp/zentaopms into 15.0.beta3
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->doclib->control;?></th>
|
||||
<?php if($lib->type == 'product' or $lib->type == 'execution' or ($config->systemMode == 'classic' and $lib->type != 'custom' )):?>
|
||||
<?php if($lib->type == 'product' or $lib->type == 'execution' or ($config->systemMode == 'classic' and $lib->type != 'custom')):?>
|
||||
<td>
|
||||
<?php echo html::radio('acl', $lang->doclib->aclListA, $lib->acl, "onchange='toggleAcl(this.value, \"lib\")'")?>
|
||||
<span class='text-info' id='noticeAcl'><?php echo $lang->doc->noticeAcl['lib'][$lib->type][$lib->acl];?></span>
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
<?php foreach($program as $lineID => $line):?>
|
||||
<?php if(isset($line['lineName'])):?>
|
||||
<?php
|
||||
if($this->config->systemMode == 'new')
|
||||
if($this->config->systemMode == 'new' and $programID)
|
||||
{
|
||||
$trAttrs = "data-id='line.$lineID' data-parent='program.$programID'";
|
||||
$trClass .= ' is-nest-child table-nest';
|
||||
@@ -110,9 +110,11 @@
|
||||
$trClass = '';
|
||||
if($product->line)
|
||||
{
|
||||
$path = "$product->line,$product->id";
|
||||
if($this->config->systemMode == 'new' and $product->program) $path = "$product->program,$path";
|
||||
$trAttrs = "data-id='$product->id' data-parent='line.$product->line'";
|
||||
$trClass .= ' is-nest-child table-nest';
|
||||
$trAttrs .= " data-nest-parent='line.$product->line' data-nest-path='line.$product->program,$product->line,$product->id'";
|
||||
$trAttrs .= " data-nest-parent='line.$product->line' data-nest-path='line.{$path}'";
|
||||
}
|
||||
elseif($product->program)
|
||||
{
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
|
||||
foreach($modulePath as $key => $module)
|
||||
{
|
||||
if($this->app->openApp == 'qa')
|
||||
if($this->app->openApp == 'qa' || $this->app->openApp == 'ops')
|
||||
{
|
||||
if($isLibCase)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user