瀏覽代碼

转写

newStyle
corala 1 年之前
父節點
當前提交
6e481b2ecd
共有 3 個檔案被更改,包括 37 行新增25 行删除
  1. +0
    -2
      src/views/Receive/index.vue
  2. +35
    -21
      src/views/ReceivingRecords/index.vue
  3. +2
    -2
      vue.config.js

+ 0
- 2
src/views/Receive/index.vue 查看文件

@@ -927,8 +927,6 @@
</div>
<div class="avatar">
<div :style="[spackerColor1(item.speaker)]">
<!-- <img style="margin: 0 auto" v-if="item.isShow == 1"
src="http://121.42.63.138:9091/autoSR/static/plugins/audio/images/A.png" alt="" /> -->
<div>{{ item.speaker | toCapital }}</div>
</div>
</div>


+ 35
- 21
src/views/ReceivingRecords/index.vue 查看文件

@@ -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


+ 2
- 2
vue.config.js 查看文件

@@ -2,11 +2,11 @@
* 配置参考:
* https://cli.vuejs.org/zh/config/
*/
const url = 'http://192.168.31.160:9999' //长龙
// const url = 'http://192.168.31.160:9999' //长龙
// const url = 'http://192.168.31.149:9999' // 胜浩
// const url = 'http://127.0.0.1:9999' // 本地

// const url = 'http://39.97.244.65:9999' // 测试服务器
const url = 'http://39.97.244.65:9999' // 测试服务器

// const url = 'http://62.234.122.43:9999' //正式服务器1
// const url = 'http://82.156.35.22:9999' // 正式服务器2


Loading…
取消
儲存