This commit is contained in:
liumengyi
2023-03-01 07:05:35 +00:00
parent 2bcf84cf2a
commit ba064c9aa8
2 changed files with 2 additions and 8 deletions
+1 -7
View File
@@ -115,14 +115,8 @@ $(function()
$('[data-toggle="popover"]').popover();
if(isStage)
if(isWaterfall)
{
$('#attribute').change(function()
{
var attribute = $(this).val();
hidePlanBox(attribute);
})
hidePlanBox(executionAttr);
}
})
+1 -1
View File
@@ -14,7 +14,7 @@
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<?php js::import($jsRoot . 'misc/date.js');?>
<?php js::set('isStage', $execution->type == 'stage');?>
<?php js::set('isWaterfall', (isset($project) and ($project->model == 'waterfall' or $project->model == 'waterfallplus')));?>
<?php js::set('executionAttr', $execution->attribute);?>
<?php js::set('manageProductsLang', $lang->project->manageProducts);?>
<?php js::set('manageProductPlanLang', $lang->project->manageProductPlan);?>