This commit is contained in:
yanran200730
2022-01-26 09:40:38 +08:00
parent b4d98ab335
commit be95736987
2 changed files with 17 additions and 5 deletions

View File

@@ -61,7 +61,7 @@
:current.sync="search.current"
:size.sync="search.size"
@getList="getList">
<el-table-column slot="isPublic" label="是否公开">
<el-table-column slot="isPublic" label="是否公开" align="center">
<template slot-scope="{ row }">
<el-switch
v-model="row.isPublic"
@@ -71,7 +71,7 @@
</el-switch>
</template>
</el-table-column>
<el-table-column slot="options" width="180px" fixed="right" label="操作" align="center">
<el-table-column slot="options" width="120px" fixed="right" label="操作" align="center">
<template slot-scope="{ row }">
<div class="table-options">
<el-button type="text" @click="toAdd(row.id)">编辑</el-button>
@@ -117,8 +117,7 @@
{prop: 'type', label: '类型', align: 'center'},
{prop: 'phone', label: '电话', align: 'center'},
{prop: 'createTime', align: 'center', label: '创建时间'},
{slot: 'isPublic', label: '是否公开', align: 'center'},
{slot: 'options', label: '操作'}
{slot: 'isPublic', label: '是否公开', align: 'center'}
],
areaName: '',
unitName: '',