update
This commit is contained in:
parent
4a3de31f29
commit
ddfb430b64
@ -16,6 +16,7 @@ namespace app\adminapi\lists\bid;
|
|||||||
|
|
||||||
|
|
||||||
use app\adminapi\lists\BaseAdminDataLists;
|
use app\adminapi\lists\BaseAdminDataLists;
|
||||||
|
use app\common\lists\ListsExcelInterface;
|
||||||
use app\common\model\bid\BidBiddingDecision;
|
use app\common\model\bid\BidBiddingDecision;
|
||||||
use app\common\lists\ListsSearchInterface;
|
use app\common\lists\ListsSearchInterface;
|
||||||
use app\common\model\custom\Custom;
|
use app\common\model\custom\Custom;
|
||||||
@ -27,7 +28,7 @@ use app\common\model\project\Project;
|
|||||||
* Class BidBiddingDecisionLists
|
* Class BidBiddingDecisionLists
|
||||||
* @package app\adminapi\listsbid
|
* @package app\adminapi\listsbid
|
||||||
*/
|
*/
|
||||||
class BidBiddingDecisionLists extends BaseAdminDataLists implements ListsSearchInterface
|
class BidBiddingDecisionLists extends BaseAdminDataLists implements ListsSearchInterface,ListsExcelInterface
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
@ -111,4 +112,42 @@ class BidBiddingDecisionLists extends BaseAdminDataLists implements ListsSearchI
|
|||||||
return BidBiddingDecision::where($this->searchWhere)->where($where)->count();
|
return BidBiddingDecision::where($this->searchWhere)->where($where)->count();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @notes 导出文件名
|
||||||
|
* @return string
|
||||||
|
* @author 段誉
|
||||||
|
* @date 2022/11/24 16:17
|
||||||
|
*/
|
||||||
|
public function setFileName(): string
|
||||||
|
{
|
||||||
|
return '投标决策列表';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @notes 导出字段
|
||||||
|
* @return string[]
|
||||||
|
* @author 段誉
|
||||||
|
* @date 2022/11/24 16:17
|
||||||
|
*/
|
||||||
|
public function setExcelFields(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'id' => '投标决策id',
|
||||||
|
'code' => '投标决策编码',
|
||||||
|
'custom_name' => '客户名称',
|
||||||
|
'project_name' => '项目名称',
|
||||||
|
'project_estimation' => '项目估算',
|
||||||
|
'bidding_project_fund_source' => '资金来源',
|
||||||
|
'bidding_time' => '投标时间',
|
||||||
|
'bid_opening_date' => '开标日期',
|
||||||
|
'bid_type' => '招标方式',
|
||||||
|
'competitor' => '竞争对手',
|
||||||
|
'is_margin' => '是否需要保证金',
|
||||||
|
'margin_amount' => '保证金金额',
|
||||||
|
'margin_amount_return_date' => '保证金退还时间',
|
||||||
|
'is_internal_resources' => '有无内部资源',
|
||||||
|
'project_assurance' => '项目把握度',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user