|
@@ -15,7 +15,7 @@
|
|
|
<el-option label="排序" value="px"></el-option>
|
|
|
</el-select> -->
|
|
|
<span style="margin-left:20px;">按操作模块查看:</span>
|
|
|
- <el-select style="width:120px;" v-model="params.type" placeholder="请选择">
|
|
|
+ <el-select style="width:140px;" v-model="params.type" placeholder="请选择">
|
|
|
<el-option label="全部" value=""></el-option>
|
|
|
<el-option label="展示管理" value="展示管理"></el-option>
|
|
|
<el-option label="文物库" value="文物库"></el-option>
|
|
@@ -24,7 +24,8 @@
|
|
|
</el-select>
|
|
|
<el-input style="width:220px;margin:0 20px;" v-model="params.description" placeholder="请输入操作事件内容"></el-input>
|
|
|
<el-button type="primary" @click="handleSearchBtnClick">查找</el-button>
|
|
|
- <el-button @click="params.description = ''">重置</el-button>
|
|
|
+ <!-- <el-button @click="params.description = ''">重置</el-button> -->
|
|
|
+ <el-button @click="reset">重置</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-table :data="tableData" style="width: 100%">
|
|
@@ -112,6 +113,11 @@ export default {
|
|
|
this.getLogs()
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 点击重置
|
|
|
+ reset () {
|
|
|
+ this.params.type = this.params.description = ''
|
|
|
+ this.handleSearchBtnClick()
|
|
|
+ },
|
|
|
getLogs () {
|
|
|
this.$http.post('/log/list', this.params).then(res => {
|
|
|
this.tableData = res.data.list
|