|
@@ -239,7 +239,6 @@ |
|
|
<div class="div-lab"> |
|
|
<div class="div-lab"> |
|
|
<div class="label">销讲执行:</div> |
|
|
<div class="label">销讲执行:</div> |
|
|
<el-select v-model="searchForm.fraction" class="div-inp" clearable filterable placeholder="请选择"> |
|
|
<el-select v-model="searchForm.fraction" class="div-inp" clearable filterable placeholder="请选择"> |
|
|
<el-option label="全部" value=""></el-option> |
|
|
|
|
|
<el-option label="30%及以下" :value="1"></el-option> |
|
|
<el-option label="30%及以下" :value="1"></el-option> |
|
|
<el-option label="31%~50%" :value="2"></el-option> |
|
|
<el-option label="31%~50%" :value="2"></el-option> |
|
|
<el-option label="51%~70%" :value="3"></el-option> |
|
|
<el-option label="51%~70%" :value="3"></el-option> |
|
@@ -249,7 +248,6 @@ |
|
|
<div class="div-lab"> |
|
|
<div class="div-lab"> |
|
|
<div class="label">需求挖掘:</div> |
|
|
<div class="label">需求挖掘:</div> |
|
|
<el-select v-model="searchForm.wordFraction" class="div-inp" clearable filterable placeholder="请选择"> |
|
|
<el-select v-model="searchForm.wordFraction" class="div-inp" clearable filterable placeholder="请选择"> |
|
|
<el-option label="全部" value=""></el-option> |
|
|
|
|
|
<el-option label="30%及以下" :value="1"></el-option> |
|
|
<el-option label="30%及以下" :value="1"></el-option> |
|
|
<el-option label="31%~50%" :value="2"></el-option> |
|
|
<el-option label="31%~50%" :value="2"></el-option> |
|
|
<el-option label="51%~70%" :value="3"></el-option> |
|
|
<el-option label="51%~70%" :value="3"></el-option> |
|
@@ -386,10 +384,10 @@ import { exportMethodPost } from "@/util/util"; |
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
|
|
|
show: false, |
|
|
questionList: [],//挖掘话术 |
|
|
questionList: [],//挖掘话术 |
|
|
marketingInvalidList: [], // 无效接待原因列表 |
|
|
marketingInvalidList: [], // 无效接待原因列表 |
|
|
xiaojianglist: [], //销讲业务 |
|
|
xiaojianglist: [], //销讲业务 |
|
|
desc: '请等待录音合并之后再重新转写!', |
|
|
|
|
|
dialogVisible: false, |
|
|
dialogVisible: false, |
|
|
projectList: [], |
|
|
projectList: [], |
|
|
languageList: [], |
|
|
languageList: [], |
|
@@ -539,6 +537,7 @@ export default { |
|
|
rec_index_text: false, // 按钮权限 |
|
|
rec_index_text: false, // 按钮权限 |
|
|
rec_index_voice: false, // 按钮权限 |
|
|
rec_index_voice: false, // 按钮权限 |
|
|
rec_index_downLoad: false, // 按钮权限 |
|
|
rec_index_downLoad: false, // 按钮权限 |
|
|
|
|
|
mergeFlag: false,//重新转写 |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
@@ -563,7 +562,6 @@ export default { |
|
|
this.time = this.$route.query.date.split(","); |
|
|
this.time = this.$route.query.date.split(","); |
|
|
this.searchForm.staDate = this.time[0]; |
|
|
this.searchForm.staDate = this.time[0]; |
|
|
this.searchForm.endDate = this.time[1]; |
|
|
this.searchForm.endDate = this.time[1]; |
|
|
console.log("时间"); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (this.$route.query.validInvalid) { |
|
|
if (this.$route.query.validInvalid) { |
|
@@ -618,7 +616,6 @@ export default { |
|
|
this.time = this.$route.query.date.split(","); |
|
|
this.time = this.$route.query.date.split(","); |
|
|
this.searchForm.staDate = this.time[0]; |
|
|
this.searchForm.staDate = this.time[0]; |
|
|
this.searchForm.endDate = this.time[1]; |
|
|
this.searchForm.endDate = this.time[1]; |
|
|
console.log("时间"); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (this.$route.query.validInvalid) { |
|
|
if (this.$route.query.validInvalid) { |
|
@@ -640,11 +637,7 @@ export default { |
|
|
this.searchForm.projectId = this.$route.query.houseId; |
|
|
this.searchForm.projectId = this.$route.query.houseId; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if ( |
|
|
|
|
|
this.$route.query.endDate && |
|
|
|
|
|
this.$route.query.staDate && |
|
|
|
|
|
this.time.length == 0 |
|
|
|
|
|
) { |
|
|
|
|
|
|
|
|
if (this.$route.query.endDate && this.$route.query.staDate && this.time.length == 0) { |
|
|
this.searchForm.dateType = null; |
|
|
this.searchForm.dateType = null; |
|
|
this.time = [this.$route.query.staDate, this.$route.query.endDate]; |
|
|
this.time = [this.$route.query.staDate, this.$route.query.endDate]; |
|
|
} |
|
|
} |
|
@@ -654,11 +647,11 @@ export default { |
|
|
this.rec_index_text = this.permissions["rec_index_text"]; |
|
|
this.rec_index_text = this.permissions["rec_index_text"]; |
|
|
this.rec_index_voice = this.permissions["rec_index_voice"]; |
|
|
this.rec_index_voice = this.permissions["rec_index_voice"]; |
|
|
this.rec_index_downLoad = this.permissions["rec_index_downLoad"]; |
|
|
this.rec_index_downLoad = this.permissions["rec_index_downLoad"]; |
|
|
|
|
|
this.mergeFlag = this.permissions["mergeFlag"]; |
|
|
}, |
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
// 获取项目列表 |
|
|
// 获取项目列表 |
|
|
this.zkhousePage(); |
|
|
this.zkhousePage(); |
|
|
this.findQuestionList() |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
methods: { |
|
|
methods: { |
|
@@ -668,19 +661,17 @@ export default { |
|
|
url: `/autoSR/zk/keywords/findQuestionList`, |
|
|
url: `/autoSR/zk/keywords/findQuestionList`, |
|
|
method: 'get', |
|
|
method: 'get', |
|
|
params: { |
|
|
params: { |
|
|
houseId: this.searchForm.projectId |
|
|
|
|
|
|
|
|
houseId: this.searchForm.projectId |
|
|
} |
|
|
} |
|
|
}).then(data => { |
|
|
}).then(data => { |
|
|
if (data.code == 0) { |
|
|
if (data.code == 0) { |
|
|
this.questionList = data.data; |
|
|
|
|
|
this.questionList.length = 20 |
|
|
|
|
|
|
|
|
this.questionList = data.data||[]; |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
// 无效接待原因列表 |
|
|
// 无效接待原因列表 |
|
|
getMarketingInvalidList () { |
|
|
getMarketingInvalidList () { |
|
|
this.$api.api.invalidList({houseId: this.houseId}).then((res) => { |
|
|
this.$api.api.invalidList({houseId: this.houseId}).then((res) => { |
|
|
console.log(res); |
|
|
|
|
|
if(res.data&&res.data.obj){ |
|
|
if(res.data&&res.data.obj){ |
|
|
this.marketingInvalidList = res.data.obj |
|
|
this.marketingInvalidList = res.data.obj |
|
|
}else{ |
|
|
}else{ |
|
@@ -702,7 +693,6 @@ export default { |
|
|
// 转写方式数据获取 |
|
|
// 转写方式数据获取 |
|
|
findTransferMethod(){ |
|
|
findTransferMethod(){ |
|
|
this.$api.api.findTransferMethod().then((res) => { |
|
|
this.$api.api.findTransferMethod().then((res) => { |
|
|
console.log(res); |
|
|
|
|
|
if(res.data&&res.data.obj){ |
|
|
if(res.data&&res.data.obj){ |
|
|
this.projectList = res.data.data||[] |
|
|
this.projectList = res.data.data||[] |
|
|
this.languageList = res.data.data&&res.data.data[0].list||[] |
|
|
this.languageList = res.data.data&&res.data.data[0].list||[] |
|
@@ -712,18 +702,19 @@ export default { |
|
|
// 确定重新转写 |
|
|
// 确定重新转写 |
|
|
checkFun(){ |
|
|
checkFun(){ |
|
|
if(this.form.project===''||this.form.language===''){ |
|
|
if(this.form.project===''||this.form.language===''){ |
|
|
this.$message.error('请先选择转写方式') |
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
this.$message.error('请先选择转写方式') |
|
|
|
|
|
return; |
|
|
} |
|
|
} |
|
|
this.$api.api.toTransferData({ |
|
|
this.$api.api.toTransferData({ |
|
|
id:this.currentRow.id, |
|
|
id:this.currentRow.id, |
|
|
transferMethod:this.form.project, |
|
|
transferMethod:this.form.project, |
|
|
transferLanguage: this.form.language |
|
|
transferLanguage: this.form.language |
|
|
}).then((res) => { |
|
|
}).then((res) => { |
|
|
console.log(res); |
|
|
|
|
|
|
|
|
if(res.code==0){ |
|
|
this.dialogVisible = false |
|
|
this.dialogVisible = false |
|
|
this.getorgCode() |
|
|
this.getorgCode() |
|
|
this.$message.success('操作成功') |
|
|
this.$message.success('操作成功') |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
reWriteagain(row){ |
|
|
reWriteagain(row){ |
|
@@ -846,6 +837,7 @@ export default { |
|
|
houseChange() { |
|
|
houseChange() { |
|
|
this.findbypage(); |
|
|
this.findbypage(); |
|
|
this.findKeywords(); |
|
|
this.findKeywords(); |
|
|
|
|
|
this.findQuestionList() |
|
|
// 获取置业顾问列表 |
|
|
// 获取置业顾问列表 |
|
|
this.findUserListByHouseId(); |
|
|
this.findUserListByHouseId(); |
|
|
}, |
|
|
}, |
|
@@ -898,6 +890,7 @@ export default { |
|
|
this.searchForm.projectId = res.data[0].id; |
|
|
this.searchForm.projectId = res.data[0].id; |
|
|
} |
|
|
} |
|
|
this.houseChange(); |
|
|
this.houseChange(); |
|
|
|
|
|
this.findQuestionList() |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
// 置业顾问列表 |
|
|
// 置业顾问列表 |
|
|