|
@@ -77,6 +77,39 @@ class ProjectController extends BaseController |
|
@@ -77,6 +77,39 @@ class ProjectController extends BaseController |
|
77
|
}
|
77
|
}
|
|
78
|
|
78
|
|
|
79
|
/**
|
79
|
/**
|
|
|
|
80
|
+ * @remark :项目列表
|
|
|
|
81
|
+ * @name :lists
|
|
|
|
82
|
+ * @author :lyh
|
|
|
|
83
|
+ * @method :post
|
|
|
|
84
|
+ * @time :2023/8/30 10:11
|
|
|
|
85
|
+ */
|
|
|
|
86
|
+ public function lists(){
|
|
|
|
87
|
+
|
|
|
|
88
|
+ }
|
|
|
|
89
|
+
|
|
|
|
90
|
+ /**
|
|
|
|
91
|
+ * @remark :type类型
|
|
|
|
92
|
+ * @name :searchType
|
|
|
|
93
|
+ * @author :lyh
|
|
|
|
94
|
+ * @method :post
|
|
|
|
95
|
+ * @time :2023/8/30 10:14
|
|
|
|
96
|
+ */
|
|
|
|
97
|
+ public function searchType($type){
|
|
|
|
98
|
+ if(isset($this->param['type']) && $this->param['type'] == Project::TYPE_ZERO){
|
|
|
|
99
|
+ $this->param['type'] = Project::TYPE_ZERO;
|
|
|
|
100
|
+ }
|
|
|
|
101
|
+ if(isset($this->param['type']) && $this->param['type'] == Project::TYPE_THREE){
|
|
|
|
102
|
+ $this->param['type'] = ['in',[Project::TYPE_FOUR,Project::TYPE_SIX]];
|
|
|
|
103
|
+ }
|
|
|
|
104
|
+ if(isset($this->param['type']) && $this->param['type'] == Project::TYPE_TWO){
|
|
|
|
105
|
+ $this->param['type'] = ['in',[Project::TYPE_TWO,Project::TYPE_THREE]];
|
|
|
|
106
|
+ }
|
|
|
|
107
|
+ if(isset($this->param['type']) && $this->param['type'] == Project::TYPE_ONE){
|
|
|
|
108
|
+ $this->param['type'] = Project::TYPE_ONE;
|
|
|
|
109
|
+ }
|
|
|
|
110
|
+ }
|
|
|
|
111
|
+
|
|
|
|
112
|
+ /**
|
|
80
|
* @remark :获取数据详情
|
113
|
* @remark :获取数据详情
|
|
81
|
* @name :info
|
114
|
* @name :info
|
|
82
|
* @author :lyh
|
115
|
* @author :lyh
|