|
|
|
@@ -319,6 +319,7 @@ |
|
|
|
{{ row.clientStageName || "--" }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="pickCount" label="客户标签命中数" width="150" align="center"></el-table-column> |
|
|
|
<el-table-column prop="visitRecord" label="到访次数" align="center"> |
|
|
|
<template slot-scope="{ row }"> |
|
|
|
{{ row.visitRecord || "0" }} |
|
|
|
@@ -398,10 +399,14 @@ |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="dialogVisible = false;agentId = '';">取 消</el-button> |
|
|
|
<el-button type="primary" @click="confirmTransfer" |
|
|
|
>确 定</el-button |
|
|
|
<el-button |
|
|
|
@click=" |
|
|
|
dialogVisible = false; |
|
|
|
agentId = ''; |
|
|
|
" |
|
|
|
>取 消</el-button |
|
|
|
> |
|
|
|
<el-button type="primary" @click="confirmTransfer">确 定</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
@@ -567,7 +572,7 @@ export default { |
|
|
|
transItem: null, // 转移客户保存的数据 |
|
|
|
isBand: true, // 批量转交按钮状态 |
|
|
|
selectMoreIds: "", // 多选客户id |
|
|
|
agentId: '', // 移交员工的id |
|
|
|
agentId: "", // 移交员工的id |
|
|
|
}; |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
@@ -593,10 +598,10 @@ export default { |
|
|
|
// 确认提交转移 |
|
|
|
confirmTransfer() { |
|
|
|
if (!this.agentId) { |
|
|
|
this.$message.error('请选择转交员工') |
|
|
|
return |
|
|
|
this.$message.error("请选择转交员工"); |
|
|
|
return; |
|
|
|
} |
|
|
|
this.theCirculation({ ids: this.selectMoreIds, agentId: this.agentId }) |
|
|
|
this.theCirculation({ ids: this.selectMoreIds, agentId: this.agentId }); |
|
|
|
}, |
|
|
|
|
|
|
|
// 单个转交 |
|
|
|
@@ -609,10 +614,21 @@ export default { |
|
|
|
// 转移客户至其他顾问 |
|
|
|
theCirculation(query) { |
|
|
|
this.$api.http.theCirculation(query).then((res) => { |
|
|
|
this.$message({ |
|
|
|
message: res.message, |
|
|
|
type: "warning", |
|
|
|
}); |
|
|
|
if (res.code == 0) { |
|
|
|
this.$message({ |
|
|
|
message: res.msg, |
|
|
|
type: "success", |
|
|
|
}); |
|
|
|
// 获取楼盘列表 |
|
|
|
this.findbypage(); |
|
|
|
} else { |
|
|
|
this.$message({ |
|
|
|
message: res.msg, |
|
|
|
type: "error", |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
this.dialogVisible = false; |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
@@ -620,13 +636,13 @@ export default { |
|
|
|
handleSelectionChange(val) { |
|
|
|
if (val.length > 0) { |
|
|
|
this.isBand = false; |
|
|
|
let arr = val.map(item => { |
|
|
|
return item.id |
|
|
|
}) |
|
|
|
this.selectMoreIds = arr.join(',') |
|
|
|
let arr = val.map((item) => { |
|
|
|
return item.id; |
|
|
|
}); |
|
|
|
this.selectMoreIds = arr.join(","); |
|
|
|
} else { |
|
|
|
this.isBand = true; |
|
|
|
this.selectMoreIds = ''; |
|
|
|
this.selectMoreIds = ""; |
|
|
|
} |
|
|
|
console.log(val); |
|
|
|
}, |
|
|
|
@@ -705,7 +721,7 @@ export default { |
|
|
|
this.findUserListByHouseId(); |
|
|
|
this.getclientStage(); |
|
|
|
// 获取违禁词 |
|
|
|
// this.sensitivewordsList() |
|
|
|
this.sensitivewordsList(); |
|
|
|
}, |
|
|
|
// 违禁词 |
|
|
|
sensitivewordsList() { |
|
|
|
|