搜索提示

master
yujialong 4 years ago
parent 2feb9dd602
commit 148c6df2bb
  1. 2
      src/views/Home.vue
  2. 37
      src/views/List.vue

@ -10,7 +10,7 @@
<div class="footer">
<div class="flex-end">
<div>
<el-input placeholder="请输入考核名称" prefix-icon="el-icon-search" v-model="keyword" clearable></el-input>
<el-input placeholder="请输入判分点名称" prefix-icon="el-icon-search" v-model="keyword" clearable></el-input>
</div>
</div>
<div class="flex footer_h">

@ -10,7 +10,7 @@
<div class="footer">
<div class="flex-end">
<div>
<el-input placeholder="请输入考核名称" prefix-icon="el-icon-search" v-model="keyword" clearable></el-input>
<el-input placeholder="请输入判分点名称" prefix-icon="el-icon-search" v-model="keyword" clearable></el-input>
</div>
</div>
<div class="flex footer_h">
@ -115,22 +115,25 @@ export default {
},
handleCurrentChange(val) {
this.pageNo = val;
let data = {
systemId: this.systemId,
userId: this.userId,
pageNum: this.pageNo,
pageSize: this.pageSize,
judgmentPointsName: this.keyword
}
this.$get(this.api.queryListTrading,data)
.then(res => {
this.tableData = res.message.rows
this.dataTotal = res.message.total
})
.catch(err => {
console.log(err);
});
this.$get(this.api.queryUserIds).then(res => {
this.pageNo = val;
let data = {
systemId: this.systemId,
userId: this.userId,
pageNum: this.pageNo,
pageSize: this.pageSize,
judgmentPointsName: this.keyword,
userIdList: res.message.retvalue.join()
}
this.$get(this.api.queryListTrading,data)
.then(res => {
this.tableData = res.message.rows
this.dataTotal = res.message.total
})
.catch(err => {
console.log(err);
});
}).catch(res => {})
},
// setCookie(name, value) {
// if (value) {

Loading…
Cancel
Save