|
@@ -2,7 +2,10 @@
|
|
|
<div class="mod-log">
|
|
|
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
|
|
|
<el-form-item>
|
|
|
- <el-input v-model="dataForm.key" placeholder="用户名/用户操作" clearable></el-input>
|
|
|
+ <el-input v-model="dataForm.username" placeholder="用户名" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="dataForm.operation" placeholder="用户操作" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button @click="getDataList()">查询</el-button>
|
|
@@ -86,7 +89,8 @@
|
|
|
data () {
|
|
|
return {
|
|
|
dataForm: {
|
|
|
- key: ''
|
|
|
+ username: '',
|
|
|
+ operation: ''
|
|
|
},
|
|
|
dataList: [],
|
|
|
pageIndex: 1,
|
|
@@ -109,8 +113,8 @@
|
|
|
params: this.$http.adornParams({
|
|
|
'current': this.pageIndex,
|
|
|
'size': this.pageSize,
|
|
|
- 'username': this.dataForm.key,
|
|
|
- 'operation': this.dataForm.key
|
|
|
+ 'username': this.dataForm.username,
|
|
|
+ 'operation': this.dataForm.operation
|
|
|
})
|
|
|
}).then(({data}) => {
|
|
|
if (data && data.code === '200') {
|