|  | @@ -5,7 +5,7 @@
 | 
	
		
			
				|  |  |            <el-select filterable  v-model="queryParams.companyId" placeholder="请选择公司名" clearable size="small">
 | 
	
		
			
				|  |  |                <el-option
 | 
	
		
			
				|  |  |                  v-for="item in companys"
 | 
	
		
			
				|  |  | -                :key="item.companyId"
 | 
	
		
			
				|  |  | +                :key="'companyId'+item.companyId"
 | 
	
		
			
				|  |  |                  :label="item.companyName"
 | 
	
		
			
				|  |  |                  :value="item.companyId"
 | 
	
		
			
				|  |  |                />
 | 
	
	
		
			
				|  | @@ -42,7 +42,7 @@
 | 
	
		
			
				|  |  |          <el-select v-model="queryParams.status" placeholder="请选择客户状态" clearable size="small">
 | 
	
		
			
				|  |  |             <el-option
 | 
	
		
			
				|  |  |                  v-for="item in statusOptions"
 | 
	
		
			
				|  |  | -                :key="item.dictValue"
 | 
	
		
			
				|  |  | +                :key="'status'+item.dictValue"
 | 
	
		
			
				|  |  |                  :label="item.dictLabel"
 | 
	
		
			
				|  |  |                  :value="item.dictValue"
 | 
	
		
			
				|  |  |                />
 | 
	
	
		
			
				|  | @@ -52,7 +52,7 @@
 | 
	
		
			
				|  |  |          <el-select multiple v-model="ctsTypeArr" placeholder="请选择客户类型" clearable size="small">
 | 
	
		
			
				|  |  |             <el-option
 | 
	
		
			
				|  |  |                  v-for="item in typeOptions"
 | 
	
		
			
				|  |  | -                :key="item.dictValue"
 | 
	
		
			
				|  |  | +                :key="'type'+item.dictValue"
 | 
	
		
			
				|  |  |                  :label="item.dictLabel"
 | 
	
		
			
				|  |  |                  :value="item.dictValue"
 | 
	
		
			
				|  |  |                />
 | 
	
	
		
			
				|  | @@ -71,7 +71,7 @@
 | 
	
		
			
				|  |  |          <el-select multiple v-model="sourceArr" placeholder="请选择客户来源" clearable size="small">
 | 
	
		
			
				|  |  |             <el-option
 | 
	
		
			
				|  |  |                  v-for="item in sourceOptions"
 | 
	
		
			
				|  |  | -                :key="item.dictValue"
 | 
	
		
			
				|  |  | +                :key="'source'+item.dictValue"
 | 
	
		
			
				|  |  |                  :label="item.dictLabel"
 | 
	
		
			
				|  |  |                  :value="item.dictValue"
 | 
	
		
			
				|  |  |                />
 | 
	
	
		
			
				|  | @@ -81,7 +81,7 @@
 | 
	
		
			
				|  |  |          <el-select multiple v-model="tagIds" placeholder="请选择客户标签" clearable size="small">
 | 
	
		
			
				|  |  |             <el-option
 | 
	
		
			
				|  |  |                  v-for="item in tagsOptions"
 | 
	
		
			
				|  |  | -                :key="item.dictValue"
 | 
	
		
			
				|  |  | +                :key="'tags'+item.dictValue"
 | 
	
		
			
				|  |  |                  :label="item.dictLabel"
 | 
	
		
			
				|  |  |                  :value="item.dictValue"
 | 
	
		
			
				|  |  |                />
 | 
	
	
		
			
				|  | @@ -145,7 +145,7 @@
 | 
	
		
			
				|  |  |        <el-table-column label="手机" align="center" prop="mobile" />
 | 
	
		
			
				|  |  |        <el-table-column  label="性别" align="center" prop="sex">
 | 
	
		
			
				|  |  |          <template slot-scope="scope">
 | 
	
		
			
				|  |  | -            <el-tag prop="status" v-for="(item, index) in sexOptions"    v-if="scope.row.sex==item.dictValue">{{item.dictLabel}}</el-tag>
 | 
	
		
			
				|  |  | +            <el-tag prop="sex" v-for="(item, index) in sexOptions" :key="'sex'+index"   v-if="scope.row.sex==item.dictValue">{{item.dictLabel}}</el-tag>
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |        </el-table-column>
 | 
	
		
			
				|  |  |        <el-table-column label="微信号" align="center" prop="weixin" />
 | 
	
	
		
			
				|  | @@ -153,17 +153,19 @@
 | 
	
		
			
				|  |  |        <el-table-column label="标签" align="center" prop="tags" />
 | 
	
		
			
				|  |  |        <el-table-column  label="客户来源" align="center" prop="source">
 | 
	
		
			
				|  |  |          <template slot-scope="scope">
 | 
	
		
			
				|  |  | -            <el-tag prop="status" v-for="(item, index) in sourceOptions"    v-if="scope.row.source==item.dictValue">{{item.dictLabel}}</el-tag>
 | 
	
		
			
				|  |  | +            <el-tag prop="source" v-for="(item, index) in sourceOptions"  :key="'source'+index"    v-if="scope.row.source==item.dictValue">{{item.dictLabel}}</el-tag>
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |        </el-table-column>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        <el-table-column  label="客户类型" align="center" prop="customerType">
 | 
	
		
			
				|  |  |          <template slot-scope="scope">
 | 
	
		
			
				|  |  | -            <el-tag prop="status" v-for="(item, index) in typeOptions"    v-if="scope.row.customerType==item.dictValue">{{item.dictLabel}}</el-tag>
 | 
	
		
			
				|  |  | +            <el-tag prop="customerType" v-for="(item, index) in typeOptions" :key="'customerType'+index"   v-if="scope.row.customerType==item.dictValue">{{item.dictLabel}}</el-tag>
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |        </el-table-column>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        <el-table-column  label="客户状态" align="center" prop="status">
 | 
	
		
			
				|  |  |          <template slot-scope="scope">
 | 
	
		
			
				|  |  | -            <el-tag prop="status" v-for="(item, index) in statusOptions"    v-if="scope.row.status==item.dictValue">{{item.dictLabel}}</el-tag>
 | 
	
		
			
				|  |  | +            <el-tag prop="status" v-for="(item, index) in statusOptions"  :key="'status'+index"  v-if="scope.row.status==item.dictValue">{{item.dictLabel}}</el-tag>
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |        </el-table-column>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -202,6 +204,7 @@
 | 
	
		
			
				|  |  |      <pagination
 | 
	
		
			
				|  |  |        v-show="total>0"
 | 
	
		
			
				|  |  |        :total="total"
 | 
	
		
			
				|  |  | +      :page-sizes="pageSizes"
 | 
	
		
			
				|  |  |        :page.sync="queryParams.pageNum"
 | 
	
		
			
				|  |  |        :limit.sync="queryParams.pageSize"
 | 
	
		
			
				|  |  |        @pagination="getList"
 | 
	
	
		
			
				|  | @@ -343,6 +346,7 @@ export default {
 | 
	
		
			
				|  |  |        typeOptions:[],
 | 
	
		
			
				|  |  |        sourceOptions:[],
 | 
	
		
			
				|  |  |        sexOptions:[],
 | 
	
		
			
				|  |  | +      pageSizes: [10, 20, 30, 50,100,500 ],
 | 
	
		
			
				|  |  |        show:{
 | 
	
		
			
				|  |  |          title:"客户详情",
 | 
	
		
			
				|  |  |          open:false,
 |