From 538126d95c3bd8cf3008c529504cdff73a5a92c7 Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Mon, 29 Jan 2024 15:49:21 +0800 Subject: [PATCH] update --- .../lists/bid/BidBiddingDecisionLists.php | 30 ++----------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/app/adminapi/lists/bid/BidBiddingDecisionLists.php b/app/adminapi/lists/bid/BidBiddingDecisionLists.php index d507e13da..e7e97f43c 100644 --- a/app/adminapi/lists/bid/BidBiddingDecisionLists.php +++ b/app/adminapi/lists/bid/BidBiddingDecisionLists.php @@ -17,7 +17,6 @@ namespace app\adminapi\lists\bid; use app\adminapi\lists\BaseAdminDataLists; use app\common\lists\ListsExcelInterface; -use app\common\lists\ListsSortInterface; use app\common\model\bid\BidBiddingDecision; use app\common\lists\ListsSearchInterface; use app\common\model\custom\Custom; @@ -29,7 +28,7 @@ use app\common\model\project\Project; * Class BidBiddingDecisionLists * @package app\adminapi\listsbid */ -class BidBiddingDecisionLists extends BaseAdminDataLists implements ListsSearchInterface, ListsExcelInterface, ListsSortInterface +class BidBiddingDecisionLists extends BaseAdminDataLists implements ListsSearchInterface,ListsExcelInterface { @@ -135,8 +134,8 @@ class BidBiddingDecisionLists extends BaseAdminDataLists implements ListsSearchI return [ 'id' => '投标决策id', 'code' => '投标决策编码', - 'custom_name' => '客户名称', - 'project_name' => '项目名称', +// 'custom_name' => '客户名称', +// 'project_name' => '项目名称', 'project_estimation' => '项目估算', 'bidding_project_fund_source' => '资金来源', 'bidding_time' => '投标时间', @@ -150,28 +149,5 @@ class BidBiddingDecisionLists extends BaseAdminDataLists implements ListsSearchI 'project_assurance' => '项目把握度', ]; } - - /** - * @notes 设置支持排序字段 - * @return string[] - * @author 段誉 - * @date 2021/12/29 10:07 - * @remark 格式: ['前端传过来的字段名' => '数据库中的字段名']; - */ - public function setSortFields(): array - { - return ['create_time' => 'create_time', 'id' => 'id']; - } - - /** - * @notes 设置默认排序 - * @return string[] - * @author 段誉 - * @date 2021/12/29 10:06 - */ - public function setDefaultOrder(): array - { - return ['id' => 'desc']; - } } \ No newline at end of file