This commit is contained in:
yanran200730
2021-12-24 15:02:28 +08:00
parent cee0a1112f
commit 4253d7eb8e

View File

@@ -11,7 +11,7 @@
<el-input <el-input
v-model="search.title" v-model="search.title"
size="small" size="small"
placeholder="请输入名称" placeholder="请输入标题/联系电话"
clearable clearable
@keyup.enter.native="search.current = 1, getList()" @keyup.enter.native="search.current = 1, getList()"
@clear="search.current = 1, search.title = '', getList()" @clear="search.current = 1, search.title = '', getList()"
@@ -31,7 +31,7 @@
@getList="getList"> @getList="getList">
<el-table-column slot="options" width="120px" fixed="right" label="操作" align="center"> <el-table-column slot="options" width="120px" fixed="right" label="操作" align="center">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<div class="table-options" style="padding-right: 30px;"> <div class="table-options">
<el-button type="text" @click="remove(row.id)">删除</el-button> <el-button type="text" @click="remove(row.id)">删除</el-button>
</div> </div>
</template> </template>