Commit a615a77a authored by zhengke's avatar zhengke

no message

parent ed2ff8fb
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<h1>线索管理</h1> <h1>线索管理</h1>
</div> </div>
<div style="width: 340px;"> <div style="width: 340px;">
<el-input placeholder="请输入线索名称/手机" v-model="msg.CustomerName" class="input-with-select"> <el-input placeholder="请输入线索名称/手机" v-model="CustomerTypeText" class="input-with-select">
<el-button slot="append" icon="el-icon-search" @click="getList"></el-button> <el-button slot="append" icon="el-icon-search" @click="getList"></el-button>
</el-input> </el-input>
</div> </div>
...@@ -352,7 +352,9 @@ ...@@ -352,7 +352,9 @@
CustomerIds: [], CustomerIds: [],
EmpId: '', EmpId: '',
}, },
CustomerTypeText:"",// 线索名称搜索
msg: { msg: {
KeyWord:'',
CustomerName: '', CustomerName: '',
Contact: '', Contact: '',
pageIndex: 1, pageIndex: 1,
...@@ -675,6 +677,13 @@ ...@@ -675,6 +677,13 @@
{ {
this.isShowGuestInfo=false; this.isShowGuestInfo=false;
} }
if(this.msg.CustomerType!=1){
this.msg.CustomerName = this.CustomerTypeText
this.msg.KeyWord=""
}else{
this.msg.KeyWord = this.CustomerTypeText
this.msg.CustomerName=""
}
this.tableData = [] this.tableData = []
this.loading = true this.loading = true
this.apipost('/api/Customer/GetCustomerCluePage', this.msg, res => { this.apipost('/api/Customer/GetCustomerCluePage', 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