update:更新表单action

This commit is contained in:
JaguarJack
2021-04-03 10:35:21 +08:00
parent 7fd87caa36
commit 0bbb39696b
4 changed files with 74 additions and 410 deletions

View File

@@ -82,6 +82,17 @@ class Table
*/
protected $filterParams;
/**
* @var string
*/
protected $importRoute;
/**
* @var string
*/
protected $exportRoute;
/**
* Table constructor.
* @param string $ref
@@ -234,6 +245,35 @@ class Table
return $this;
}
/**
* 导出路由
*
* @time 2021年04月02日
* @param string $route
* @return $this
*/
public function withImportRoute(string $route): Table
{
$this->importRoute = $route;
return $this;
}
/**
* 导出路由
*
* @time 2021年04月02日
* @param string $route
* @return $this
*/
public function withExportRoute(string $route): Table
{
$this->exportRoute = $route;
return $this;
}
/**
* 变成 tree table
*