This commit is contained in:
yanran200730
2022-01-06 17:28:39 +08:00
parent 252ea72212
commit b82cf2a0e1
4 changed files with 18 additions and 8 deletions

View File

@@ -10,14 +10,14 @@
</template>
<template slot="right">
<el-input
v-model="search.title"
v-model="search.groupName"
class="search-input"
size="small"
@keyup.enter.native="search.current = 1, getList()"
placeholder="请输入事件分"
placeholder="请输入事件分组名称"
clearable
@change="getList"
@clear="search.current = 1, search.title = '', getList()"
@clear="search.current = 1, search.groupName = '', getList()"
suffix-icon="iconfont iconSearch">
</el-input>
</template>
@@ -79,7 +79,7 @@
search: {
current: 1,
size: 10,
title: ''
groupName: ''
},
form: {
groupName: '',
@@ -131,6 +131,7 @@
onClose () {
this.id = ''
this.form.showIndex = ''
this.form.groupName = ''
},