update timeFilter
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
<script>
|
||||
import { calcMaxHeight } from '@/utils'
|
||||
import { timeFilter } from '@/utils/filters'
|
||||
// import AddOrUpdate from './equipmentPlcConnect-add-or-update'
|
||||
import AddOrUpdate from '@/components/base-dialog/addOrUpdate'
|
||||
import BaseTable from '@/components/base-table'
|
||||
@@ -116,7 +117,7 @@ export default {
|
||||
const categories = res.data.list.map(item => ({ label: item.name, value: item.id }))
|
||||
this.tableConfigs = [
|
||||
{ type: 'index', name: '序号' },
|
||||
{ prop: 'createTime', name: '创建时间', width: 200 },
|
||||
{ prop: 'createTime', name: '创建时间', filter: timeFilter, width: 200 },
|
||||
{ prop: 'fileName', name: '报表名称' },
|
||||
{ prop: 'category', name: '报表分类', subcomponent: CategoryList, options: categories },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user