* Adjust the programplan modue code.

This commit is contained in:
leiyong
2021-01-13 11:47:15 +08:00
parent 21dbd833af
commit 2c4c3105e5

View File

@@ -727,7 +727,7 @@ class programplanModel extends model
{
$class = 'c-' . $id;
$title = '';
$idList = array('id','name','output','percent','attribute','version','begin','end','realBegan','realEnd');
$idList = array('id','name','output','percent','attribute','version','begin','end','realBegan','realEnd', 'openedBy', 'openedDate');
if(in_array($id,$idList))
{
$class .= ' text-left';
@@ -784,6 +784,12 @@ class programplanModel extends model
case 'editedDate':
echo substr($plan->editedDate, 5, 11);
break;
case 'openedBy':
echo zget($users, $plan->openedBy);
break;
case 'openedDate':
echo substr($plan->openedDate, 5, 11);
break;
case 'actions':
common::printIcon('project', 'start', "projectID={$plan->id}", $plan, 'list', '', '', 'iframe', true);
$class = !empty($plan->children) ? 'disabled' : '';