Commit 15d897c1 authored by zhengke's avatar zhengke

修改

parent c7ae379e
......@@ -45,13 +45,55 @@
</div>
<div class="content">
<div>
<div class="searchInput" style="width:250px">
<el-input @keyup.enter.native="msg.pageIndex=1,getList()" @clear="msg.pageIndex=1,getList()"
style="display:inline-block;width:225px;height:30px" placeholder="活动名称" v-model="msg.ActivityName"
size="small" clearable>
<el-select size="small" v-model="msg.UserId" :filter-method="ChangeListName" filterable
@change="(msg.pageIndex = 1), getList()" placeholder="用户昵称">
<el-option label="不限" :value="0"></el-option>
<el-option v-for="item in userList" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option>
</el-select>
<div class="searchInput" style="width: 250px; margin-left: 20px">
<el-input
@keyup.enter.native="(msg.pageIndex = 1), getList()"
@clear="(msg.pageIndex = 1), getList()"
style="display: inline-block; width: 225px; height: 30px"
placeholder="公司"
v-model="msg.CompanyName"
size="small"
clearable
>
</el-input>
<span @click="msg.pageIndex=1,getList()" class="el-icon-search"
style="color:#979dad;font-size:14px;position:relative;top:1px"></span>
<span
@click="(msg.pageIndex = 1), getList()"
class="el-icon-search"
style="
color: #979dad;
font-size: 14px;
position: relative;
top: 1px;
"
></span>
</div>
<div class="searchInput" style="width: 250px; margin-bottom: 10px">
<el-input
@keyup.enter.native="(msg.pageIndex = 1), getList()"
@clear="(msg.pageIndex = 1), getList()"
style="display: inline-block; width: 225px; height: 30px"
placeholder="联系人"
v-model="msg.LinkMan"
size="small"
clearable
>
</el-input>
<span
@click="(msg.pageIndex = 1), getList()"
class="el-icon-search"
style="
color: #979dad;
font-size: 14px;
position: relative;
top: 1px;
"
></span>
</div>
<div style="float:right;">
<el-button style="float:right;margin-top: -5px;" size="small" type="primary" @click="Export()">导出</el-button>
......@@ -150,9 +192,22 @@
msg: {
pageIndex: 1,
pageSize: 10,
ActivityId: 0
ActivityId: 0,
LinkMan: '', //联系人
CompanyName: '', //公司
UserId: '' //用户昵称
},
usermsg: {
pageIndex: 1,
pageSize: 20,
Name: '',
Source: 0,
MemberGrade: 0,
Id: 0,
Moblie: ''
},
tableData: [],
userList: [],
total: 0,
};
},
......@@ -162,8 +217,21 @@
this.msg.ActivityId = this.$route.query.Id;
}
this.getList();
this.getuserList();
},
methods: {
ChangeListName(val) {
this.usermsg.Name=val;
this.getuserList();
},
getuserList() {
this.apipost("/api/user/GetMemberUserDropDownList", this.usermsg, res => {
if (res.data.resultCode == 1) {
let pageData = res.data.data.pageData;
this.userList = pageData;
}
})
},
getList() {
this.loading = true;
this.apipost("/api/Trade/GetConsultStaticPage", this.msg, res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment