Commit ab07a9b7 authored by 332784038@qq.com's avatar 332784038@qq.com

6

parent 418a6372
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
<el-form-item :label="$t('联系方式')" prop="contactPhone"> <el-form-item :label="$t('联系方式')" prop="contactPhone">
<el-input v-model.trim="followForm.contactPhone" clearable @keyup.enter.native="handleQuery" /> <el-input v-model.trim="followForm.contactPhone" clearable @keyup.enter.native="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item :label="$t('客户经理')" prop="salesmanIds"> <el-form-item :label="$t('客户经理')" prop="followUserIds">
<user-selector v-model="followForm.salesmanIds" multiple clearable @change="handleQuery" /> <user-selector v-model="followForm.followUserIds" multiple clearable @change="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item :label="$t('下次跟进时间')"> <el-form-item :label="$t('下次跟进时间')">
<el-date-picker v-model="followFormTmp.nextTime" type="datetimerange" range-separator="-" :start-placeholder="$t('开始日期')" :end-placeholder="$t('结束日期')" value-format="yyyy-MM-dd HH:mm:ss" @change="handleQuery"> </el-date-picker> <el-date-picker v-model="followFormTmp.nextTime" type="datetimerange" range-separator="-" :start-placeholder="$t('开始日期')" :end-placeholder="$t('结束日期')" value-format="yyyy-MM-dd HH:mm:ss" @change="handleQuery"> </el-date-picker>
...@@ -26,10 +26,10 @@ ...@@ -26,10 +26,10 @@
</el-form-item> </el-form-item>
<el-form-item :label="$t('跟进类型')"> <el-form-item :label="$t('跟进类型')">
<dict-selector clearable :type="DICT_TYPE.CUSTOMER_FOLLOWUP_TYPE" v-model="followForm.followType" @change="handleQuery"></dict-selector> <dict-selector clearable :type="DICT_TYPE.CUSTOMER_FOLLOWUP_TYPE" v-model="followForm.followType" @input="handleQuery"></dict-selector>
</el-form-item> </el-form-item>
<el-form-item :label="$t('跟进方式')"> <el-form-item :label="$t('跟进方式')">
<dict-selector clearable :type="DICT_TYPE.CUSTOMER_FOLLOWUP_METHOD" v-model="followForm.followMethod" @change="handleQuery"></dict-selector> <dict-selector clearable :type="DICT_TYPE.CUSTOMER_FOLLOWUP_METHOD" v-model="followForm.followMethod" @input="handleQuery"></dict-selector>
</el-form-item> </el-form-item>
<el-form-item :label="$t('跟进结果')"> <el-form-item :label="$t('跟进结果')">
<el-select clearable v-model="followForm.resultType" :placeholder="$t('请选择')" size="small" @change="handleQuery"> <el-select clearable v-model="followForm.resultType" :placeholder="$t('请选择')" size="small" @change="handleQuery">
...@@ -181,6 +181,8 @@ export default { ...@@ -181,6 +181,8 @@ export default {
return obj return obj
}, },
handleQuery() { handleQuery() {
console.log(this.followForm)
this.followForm.pageNo = 1 this.followForm.pageNo = 1
this.customerFollowTotal = 0 this.customerFollowTotal = 0
this.customerFollowList = [] this.customerFollowList = []
...@@ -211,7 +213,10 @@ export default { ...@@ -211,7 +213,10 @@ export default {
}, },
reset() { reset() {
this.followFormTmp.nextTime = ["", ""] this.followFormTmp.nextTime = ["", ""]
this.followForm = { pageNo: 1, pageSize: 10 } this.followForm = {
pageNo: 1,
pageSize: 10
}
this.getCustomerFollowList() this.getCustomerFollowList()
} }
} }
......
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