💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 属性 `$ttToolbarFilter array 工具栏筛选` ## 方法 设置树形表格工具栏筛选: ~~~ $treeTableBuilder->setTtToolbarFilter([ 'keyword' => $this->ttToolbarFilter->text()->label('关键词')->placeholder('请输入账号/姓名')->defaultValue()->attribute(['test' => 1]), //'username' => $this->ttToolbarFilter->datetime()->style(['width' => '800px'])->label('注册时间')->placeholder('请选择注册时间'), //'username' => $this->ttToolbarFilter->datetime()->label('注册时间')->placeholder('请选择注册时间'), 'status' => $this->ttToolbarFilter->select()->label('用户状态')->placeholder('请选择用户状态')->options([ '测试' => [ 'normal' => '正常', 'deny' => '禁用', ], '测试2' => [ 'normal1' => '正常1', 'deny1' => '禁用1', ], ])->disabled(['normal']), 'link1' => $this->ttToolbarFilter->selectLink()->label('联动1')->placeholder('请选择')->route('admin/link')->initOptions([ 'AAA' => [ 'a' => 'A', 'b' => 'B' ], 'BBB' => [ 'c' => 'C', 'd' => 'D' ], ])->disabled(['c'])->targetLink('link2')->start(), 'link2' => $this->ttToolbarFilter->selectLink()->label('联动2')->placeholder('请选择')->route('admin/link')->targetLink('link3')->through(), 'link3' => $this->ttToolbarFilter->selectLink()->label('联动3')->placeholder('请选择')->route('admin/link')->targetLink('link4')->through(), 'link4' => $this->ttToolbarFilter->selectLink()->label('联动2')->placeholder('请选择')->end(), ]) ~~~ 获取工具筛选项: ```php $tableBuilder->getTtToolbarFilter(); // array ```