角色时间显示
This commit is contained in:
@@ -57,10 +57,10 @@
|
|||||||
>
|
>
|
||||||
<el-table-column type="selection" width="55"/>
|
<el-table-column type="selection" width="55"/>
|
||||||
<el-table-column prop="name" label="名称" min-width="100" show-overflow-tooltip/>
|
<el-table-column prop="name" label="名称" min-width="100" show-overflow-tooltip/>
|
||||||
<el-table-column show-overflow-tooltip prop="description" label="描述"/>
|
<el-table-column show-overflow-tooltip prop="remark" label="描述"/>
|
||||||
<el-table-column show-overflow-tooltip width="135px" prop="createTime" label="创建日期">
|
<el-table-column show-overflow-tooltip width="135px" prop="create_time" label="创建日期">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
<span>{{ parseTime(scope.row.create_time) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -131,7 +131,7 @@ import crudOperation from '@crud/CRUD.operation'
|
|||||||
import udOperation from '@crud/UD.operation'
|
import udOperation from '@crud/UD.operation'
|
||||||
import pagination from '@crud/Pagination'
|
import pagination from '@crud/Pagination'
|
||||||
|
|
||||||
const defaultForm = { role_id: null, name: null, description: null }
|
const defaultForm = { role_id: null, name: null, remark: null }
|
||||||
export default {
|
export default {
|
||||||
name: 'Role',
|
name: 'Role',
|
||||||
components: { pagination, crudOperation, rrOperation, udOperation, crudMenu },
|
components: { pagination, crudOperation, rrOperation, udOperation, crudMenu },
|
||||||
|
|||||||
Reference in New Issue
Block a user