|
|
@@ -86,7 +86,7 @@ class Entrust extends Backend
|
|
|
* 搜索栏检测项目下拉列表
|
|
|
*/
|
|
|
public function companyselect(){
|
|
|
- $company = Db::name('item_judge')->column('name,name');
|
|
|
+ $company = Db::name('item_judge')->where('delete',null)->order('weigh asc')->column('name,name');
|
|
|
if (empty($company)){
|
|
|
return $this->error('没有检测项目数据');
|
|
|
}else{
|