* Adjust the program and project operation buttons.

This commit is contained in:
leiyong
2020-12-25 13:35:01 +08:00
parent 73eb92159a
commit 576fa7d7bf
11 changed files with 120 additions and 30 deletions
+1
View File
@@ -556,6 +556,7 @@ class programModel extends model
if($action == 'pgmclose') return $program->status != 'closed';
if($action == 'pgmactivate') return $program->status == 'done' or $program->status == 'closed';
if($action == 'pgmsuspend') return $program->status == 'wait' or $program->status == 'doing';
if($action == 'prjstart') return $program->status == 'wait' or $program->status == 'suspended';
if($action == 'prjfinish') return $program->status == 'wait' or $program->status == 'doing';