表格样式
<template>
<el-table
:cell-style="{
'text-align':'center'}"
:header-cell-style="{
'text-align':'center'}"
style=" background-color: rgba(255,255,255,0.1);font-size: 20px"
v-bind:data="tableData.results"
v-bind:height="(fulHeight-210)+'px'"
>
<el-table-column
label="ID"
min-width="8%"
prop="id"
/>
<el-table-column
label="添加日期"
min-width="40%"
prop="create_date"
/>
<el-table-column
label="操作详情"
min-width="20%"
prop="action"
/>
<el-table-column
label="用户名"
min-width="15%"
prop="user.username"
/>
<el-table-column
label="操作"
min-width="15%"
>
<template slot-scope="scope">
<el-button type="info" @click="dialogFormVisible = true" style="width: 70%;font-size: 20px">添加</el-button>
<el-button type="info" @click="deletelist(scope.row)" style="width: 70%;font-size: 20px">删除</el-button>
<el-button type="info" @click="fixlist(scope.row)" style="width: 70%;font-size: 20px">修改</el-button>
</template>
</el-table-column>
</el-table>
</template>
<el-dialog