no message
This commit is contained in:
parent
5a5af8c10a
commit
c946a580da
@ -20,6 +20,7 @@ final class ArticleBaseController extends ListController
|
||||
'id' => 'id',
|
||||
'sCode' => 'sCode',
|
||||
'sAuthorCode'=> 'sAuthorCode',
|
||||
'status' => 'status',
|
||||
'aOpt' => 'aOpt',
|
||||
'aSchemaPro'=> 'aSchemaPro',
|
||||
'created_at'=> 'created_at',
|
||||
@ -27,8 +28,8 @@ final class ArticleBaseController extends ListController
|
||||
];
|
||||
|
||||
protected array $aValueStyle = [ // 特定文字渲染样式
|
||||
// '关闭' => "<span class='text-danger'>关闭</span>",
|
||||
// '开启' => "<span class='text-success'>开启</span>"
|
||||
'关闭' => "<span class='text-danger'>关闭</span>",
|
||||
'开启' => "<span class='text-success'>开启</span>"
|
||||
];
|
||||
|
||||
protected array $aFieldTypes = [
|
||||
@ -66,10 +67,10 @@ final class ArticleBaseController extends ListController
|
||||
];
|
||||
|
||||
protected array $aValueFields = [ // 值映射
|
||||
// 'status' => [
|
||||
// '1' => '开启',
|
||||
// '0' => '关闭',
|
||||
// ]
|
||||
'status' => [
|
||||
'1' => '开启',
|
||||
'0' => '关闭',
|
||||
]
|
||||
];
|
||||
|
||||
protected array $aCcExtFields = [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user