1
0

feat(all): 增加股票上市状态

This commit is contained in:
2025-08-30 22:19:26 +08:00
parent cbab5afeab
commit 877f460c26
4 changed files with 36 additions and 3 deletions

View File

@@ -33,6 +33,7 @@ function StockList() {
inside: {
market: '${filter_market|default:undefined}',
industry: '${filter_industry|default:undefined}',
listed: '${filter_listed|default:true|asArray}',
},
},
page: {
@@ -94,6 +95,16 @@ function StockList() {
checkAll: true,
checkAllBySearch: true,
},
{
name: 'filter_listed',
label: '状态',
...remoteOptions('select', 'stock_listed'),
multiple: true,
extractValue: true,
joinValues: false,
clearable: true,
checkAll: true,
},
],
},
columns: [
@@ -111,10 +122,18 @@ function StockList() {
name: 'fullname',
label: '全名',
},
{
name: 'listed',
label: '状态',
width: 100,
align: 'center',
...remoteMappings('stock_listed', 'listed'),
},
{
name: 'market',
label: '市场',
width: 100,
align: 'center',
...remoteMappings('stock_market', 'market'),
},
{