This commit is contained in:
Zongjun Lan
2022-04-11 10:21:17 +08:00
parent bc910099e5
commit c5aed66c8e
3 changed files with 22 additions and 2 deletions
@@ -0,0 +1,10 @@
<?php
helper::importControl('execution');
class myExecution extends execution
{
public function create($projectID = '', $executionID = 0, $copyExecutionID = '', $planID = 0, $confirm = 'no', $productID = 0, $extra = '')
{
$this->config->execution->create->requiredFields = 'name,code,begin,end';
parent::create($projectID, $executionID, $copyExecutionID, $planID, $confirm, $productID, $extra);
}
}
@@ -0,0 +1,10 @@
<?php
helper::importControl('execution');
class myExecution extends execution
{
public function edit($executionID, $action = 'edit', $extra = '')
{
$this->config->execution->edit->requiredFields = 'name,code,begin,end';
parent::edit($executionID, $action, $extra);
}
}
@@ -1,7 +1,7 @@
<script>
<?php if(trim($config->visions, ',') == 'lite'): ?>
$('#headerActions').css("right", '130px');
$('#headerActions').css("right", '110px');
<?php else: ?>
$('#headerActions').css("right", '210px');
$('#headerActions').css("right", '190px');
<?php endif; ?>
</script>