|
|
@ -46,8 +46,8 @@
|
|
|
|
<div class="row-label">客户类型</div>
|
|
|
|
<div class="row-label">客户类型</div>
|
|
|
|
<div class="row-content">
|
|
|
|
<div class="row-content">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
v-model="baseFrom.customer_type" multiple filterable allow-create default-first-option
|
|
|
|
v-model="baseFrom.customer_type" :placeholder="placeholderText" multiple filterable allow-create
|
|
|
|
placeholder="请选择客户类型" class="customer_select">
|
|
|
|
default-first-option class="customer_select">
|
|
|
|
<el-option v-for="item in options" :key="item.index" :label="item.index" :value="item" />
|
|
|
|
<el-option v-for="item in options" :key="item.index" :label="item.index" :value="item" />
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -193,6 +193,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
|
|
|
|
placeholderText: '',
|
|
|
|
options: [],
|
|
|
|
options: [],
|
|
|
|
loading: false,
|
|
|
|
loading: false,
|
|
|
|
baseFrom: null,
|
|
|
|
baseFrom: null,
|
|
|
@ -275,6 +276,7 @@ export default {
|
|
|
|
item.type = 'user'
|
|
|
|
item.type = 'user'
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
this.placeholderText = data.customer_type
|
|
|
|
this.baseFrom = {
|
|
|
|
this.baseFrom = {
|
|
|
|
pool_name: data.pool_name,
|
|
|
|
pool_name: data.pool_name,
|
|
|
|
adminUsers: data.admin_user_info,
|
|
|
|
adminUsers: data.admin_user_info,
|
|
|
@ -344,6 +346,7 @@ export default {
|
|
|
|
users: [],
|
|
|
|
users: [],
|
|
|
|
strucs: []
|
|
|
|
strucs: []
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
customer_type: '',
|
|
|
|
before_owner_conf: 0, // 前负责人领取规则 0不限制 1限制
|
|
|
|
before_owner_conf: 0, // 前负责人领取规则 0不限制 1限制
|
|
|
|
before_owner_day: '',
|
|
|
|
before_owner_day: '',
|
|
|
|
receive_conf: 0, // 0 不启用 1 启用
|
|
|
|
receive_conf: 0, // 0 不启用 1 启用
|
|
|
@ -524,7 +527,6 @@ export default {
|
|
|
|
params.customer_type = this.baseFrom.customer_type.map(item => {
|
|
|
|
params.customer_type = this.baseFrom.customer_type.map(item => {
|
|
|
|
return item
|
|
|
|
return item
|
|
|
|
}).join(',')
|
|
|
|
}).join(',')
|
|
|
|
console.log(params.customer_type)
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
params[key] = this.baseFrom[key]
|
|
|
|
params[key] = this.baseFrom[key]
|
|
|
|
}
|
|
|
|
}
|
|
|
|