|
|
@@ -61,11 +61,11 @@ const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(queryp
|
|
|
})
|
|
|
|
|
|
const tableColumns = ref<Model.TableColumn[]>([
|
|
|
- { field: 'title', label: '标题' },
|
|
|
- { field: 'sort', label: '排序' },
|
|
|
- { field: 'isshow', label: '是否展示', formatValue: (val) => flagEnum.getEnumTypeName(val) },
|
|
|
- { field: 'imagepath', label: '图片', },
|
|
|
- { field: 'updatedate', label: '更新时间', formatValue: (val) => formatDate(val) },
|
|
|
+ { field: 'title', label: 'base.banner.title' },
|
|
|
+ { field: 'sort', label: 'base.banner.sort' },
|
|
|
+ { field: 'isshow', label: 'base.banner.isshow', formatValue: (val) => flagEnum.getEnumTypeName(val) },
|
|
|
+ { field: 'imagepath', label: 'base.banner.imagepath', },
|
|
|
+ { field: 'updatedate', label: 'base.banner.updatedate', formatValue: (val) => formatDate(val) },
|
|
|
{ field: 'operate', label: 'common.operate', fixed: 'right' }
|
|
|
])
|
|
|
|
|
|
@@ -73,17 +73,17 @@ const { filterOption, getQueryParams, resetFilters } = useDataFilter<Base.Pictur
|
|
|
filters: [
|
|
|
{
|
|
|
field: 'imagetype',
|
|
|
- label: '图片类型',
|
|
|
+ label: t('base.banner.imagetype'),
|
|
|
options: () => imagetypeEnum.getEnumOptions()
|
|
|
},
|
|
|
{
|
|
|
field: 'title',
|
|
|
- label: '标题',
|
|
|
+ label: t('base.banner.title'),
|
|
|
placeholder: t('common.placeholder'),
|
|
|
},
|
|
|
{
|
|
|
field: 'isshow',
|
|
|
- label: '是否展示',
|
|
|
+ label: t('base.banner.isshow'),
|
|
|
options: () => flagEnum.getEnumOptions()
|
|
|
}
|
|
|
],
|