搜索提示

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="footer">
<div class="flex-end"> <div class="flex-end">
<div> <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> </div>
<div class="flex footer_h"> <div class="flex footer_h">

@ -10,7 +10,7 @@
<div class="footer"> <div class="footer">
<div class="flex-end"> <div class="flex-end">
<div> <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> </div>
<div class="flex footer_h"> <div class="flex footer_h">
@ -115,22 +115,25 @@ export default {
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.pageNo = val; this.$get(this.api.queryUserIds).then(res => {
let data = { this.pageNo = val;
systemId: this.systemId, let data = {
userId: this.userId, systemId: this.systemId,
pageNum: this.pageNo, userId: this.userId,
pageSize: this.pageSize, pageNum: this.pageNo,
judgmentPointsName: this.keyword pageSize: this.pageSize,
} judgmentPointsName: this.keyword,
this.$get(this.api.queryListTrading,data) userIdList: res.message.retvalue.join()
.then(res => { }
this.tableData = res.message.rows this.$get(this.api.queryListTrading,data)
this.dataTotal = res.message.total .then(res => {
}) this.tableData = res.message.rows
.catch(err => { this.dataTotal = res.message.total
console.log(err); })
}); .catch(err => {
console.log(err);
});
}).catch(res => {})
}, },
// setCookie(name, value) { // setCookie(name, value) {
// if (value) { // if (value) {

Loading…
Cancel
Save