|
|
@@ -290,7 +290,7 @@ |
|
|
|
></el-option> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<div class="div-lab"> |
|
|
|
<!-- <div class="div-lab"> |
|
|
|
<div class="label">销讲业务:</div> |
|
|
|
<el-select v-model="searchForm.marketingBusiness" class="div-inp" clearable placeholder="请选择"> |
|
|
|
<el-option |
|
|
@@ -300,7 +300,7 @@ |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="app-titel" style="margin-top: 15px"> |
|
|
@@ -363,10 +363,10 @@ |
|
|
|
<div style="text-align: center;font-size: 16px" v-if="show">请等待录音合并之后再重新转写!</div> |
|
|
|
<el-form :model="form" v-else> |
|
|
|
<el-form-item label="转写方式" :label-width="80"> |
|
|
|
<el-select v-model="form.project" placeholder="请选择项目" @change="changeFun"> |
|
|
|
<el-select v-model="form.project" placeholder="请选择" @change="changeFun"> |
|
|
|
<el-option v-for="(item,index) in projectList" :label="item.name" :key="index" :value="item.code"></el-option> |
|
|
|
</el-select> |
|
|
|
<el-select v-model="form.language" placeholder="请选择语种"> |
|
|
|
<el-select v-model="form.language" placeholder="请选择"> |
|
|
|
<el-option v-for="(item,index) in languageList" :label="item.name" :key="index" :value="item.code"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
@@ -396,7 +396,7 @@ export default { |
|
|
|
form: { |
|
|
|
language: '', |
|
|
|
project:'' |
|
|
|
}, |
|
|
|
},//重新转写 |
|
|
|
tableIdName: "ReceivingRecordsIndex", // 当前页面需要的变量 |
|
|
|
tableOption: this.$tableOption.ReceivingRecordsIndex, // 当前table配置项 |
|
|
|
tableLoading: false, // 是否显示加载中 |
|
|
@@ -661,6 +661,21 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
// 获取话术 |
|
|
|
findQuestionList() { |
|
|
|
axios({ |
|
|
|
url: `/autoSR/zk/keywords/findQuestionList`, |
|
|
|
method: 'get', |
|
|
|
params: { |
|
|
|
houseId: this.houseId |
|
|
|
} |
|
|
|
}).then(data => { |
|
|
|
if (data.code == 0) { |
|
|
|
this.questionList = data.data; |
|
|
|
this.questionList.length = 20 |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 无效接待原因列表 |
|
|
|
getMarketingInvalidList () { |
|
|
|
this.$api.api.invalidList({houseId: this.houseId}).then((res) => { |
|
|
@@ -672,6 +687,7 @@ export default { |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
// 转写方式切换 |
|
|
|
changeFun(value){ |
|
|
|
// console.log(value) |
|
|
|
this.form.language = '' |
|
|
@@ -694,22 +710,20 @@ export default { |
|
|
|
}, |
|
|
|
// 确定重新转写 |
|
|
|
checkFun(){ |
|
|
|
if(this.form.project===''||this.form.language===''){ |
|
|
|
this.$message.error('请先选择转写方式') |
|
|
|
return; |
|
|
|
} |
|
|
|
this.$api.api.toTransferData({ |
|
|
|
id:this.currentRow.id, |
|
|
|
transferMethod:this.form.project, |
|
|
|
transferLanguage: this.form.language |
|
|
|
}).then((res) => { |
|
|
|
console.log(res); |
|
|
|
this.dialogVisible = false |
|
|
|
this.getorgCode() |
|
|
|
this.$message.success('操作成功') |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
if(this.form.project===''||this.form.language===''){ |
|
|
|
this.$message.error('请先选择转写方式') |
|
|
|
return; |
|
|
|
} |
|
|
|
this.$api.api.toTransferData({ |
|
|
|
id:this.currentRow.id, |
|
|
|
transferMethod:this.form.project, |
|
|
|
transferLanguage: this.form.language |
|
|
|
}).then((res) => { |
|
|
|
console.log(res); |
|
|
|
this.dialogVisible = false |
|
|
|
this.getorgCode() |
|
|
|
this.$message.success('操作成功') |
|
|
|
}); |
|
|
|
}, |
|
|
|
reWriteagain(row){ |
|
|
|
this.dialogVisible = true |
|
|
|