diff --git a/app/project/controller/Index.php b/app/project/controller/Index.php
index 05df692..6a74e15 100644
--- a/app/project/controller/Index.php
+++ b/app/project/controller/Index.php
@@ -72,8 +72,8 @@ class Index extends BaseController
$item->tasks_pensent = "100%";
}
- if($item->status == 2){
- $step = Db::name('Step')->where(['action_id' => $item->id,'sort'=>$item->step_sort,'type'=>2,'delete_time'=>0])->find();
+ $step = Db::name('Step')->where(['action_id' => $item->id,'sort'=>$item->step_sort,'type'=>2,'delete_time'=>0])->find();
+ if(!empty($step)){
$item->step_user = Db::name('Admin')->where(['id'=>$step['flow_uid']])->value('name');
$item->step = $step['flow_name'] . '-' . $item->step_user;
}
diff --git a/app/project/view/index/view_overview.html b/app/project/view/index/view_overview.html
index 8f96c85..a8594d6 100644
--- a/app/project/view/index/view_overview.html
+++ b/app/project/view/index/view_overview.html
@@ -4,7 +4,6 @@
项目状态:
{$detail.status_name}
-
负责人:
{$detail.director_name}