Commit 8486e54f authored by youjie's avatar youjie

no message

parent b9a6f68b
......@@ -412,29 +412,29 @@
</li>
</div>
<div class="_mc_addbox">
<li :class="{active:type==2}" @click="type=2;clickGetList(2)">
<li :class="{active:msg.CustomerStatus==2}" @click="clickGetList(2)">
{{$t('salesModule.InformalClient')}}
<div class="divActive" v-show="type==2"></div>
<div class="divActive" v-show="msg.CustomerStatus==2"></div>
</li>
<li :class="{active:type==1}" @click="type=1;clickGetList(1)">
<li :class="{active:msg.CustomerStatus==1}" @click="clickGetList(1)">
{{$t('salesModule.notInformalClient')}}
<div class="divActive" v-show="type==1"></div>
<div class="divActive" v-show="msg.CustomerStatus==1"></div>
</li>
<li :class="{active:type==3}" @click="type=3;clickGetList(3)">
<li :class="{active:msg.CustomerStatus==3}" @click="clickGetList(3)">
{{$t('salesModule.UnapprovedClient')}}
<div class="divActive" v-show="type==3"></div>
<div class="divActive" v-show="msg.CustomerStatus==3"></div>
</li>
<li :class="{active:type==4}" @click="type=4;clickGetList(4)">
<li :class="{active:msg.CustomerStatus==4}" @click="clickGetList(4)">
{{$t('salesModule.BlackListCustomers')}}
<div class="divActive" v-show="type==4"></div>
<div class="divActive" v-show="msg.CustomerStatus==4"></div>
</li>
<li :class="{active:type==5}" @click="type=5;clickGetList(5)">
<li :class="{active:msg.CustomerStatus==0}" @click="clickGetList(0)">
签约客户
<div class="divActive" v-show="type==5"></div>
<div class="divActive" v-show="msg.CustomerStatus==0"></div>
</li>
</div>
<div class="_mc_list _scrollbar" :class="addShow==true?'_edHeight':''">
<table v-if="type!=5" class="MycustomerTable singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<table v-if="msg.CustomerStatus!=0" class="MycustomerTable singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<tr>
<th>姓名</th>
<th>联系电话</th>
......@@ -1054,6 +1054,7 @@
methods: {
reSearchPage(){
this.msg.pageIndex = 1
this.currentPage = 1
this.getList()
},
clickAdd(){
......@@ -1527,15 +1528,13 @@
})
},
clickGetList(type) {
this.msg.pageIndex = 1
this.currentPage = 1
this.msg.CustomerStatus = type!=5?type:0
if(type==5){
this.msg.CustomerStatus = type
if(type==0){
this.msg.SigningType=1
}else{
this.msg.SigningType=0
}
this.getList()
this.reSearchPage()
},
// 获取列表数据
getList() {
......
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