diff --git a/src/views/Receive/index.vue b/src/views/Receive/index.vue index db6b9e1..1436fda 100644 --- a/src/views/Receive/index.vue +++ b/src/views/Receive/index.vue @@ -927,8 +927,6 @@
-
{{ item.speaker | toCapital }}
diff --git a/src/views/ReceivingRecords/index.vue b/src/views/ReceivingRecords/index.vue index 5eea7a1..e8cfef1 100644 --- a/src/views/ReceivingRecords/index.vue +++ b/src/views/ReceivingRecords/index.vue @@ -290,7 +290,7 @@ > -
+
@@ -363,10 +363,10 @@
请等待录音合并之后再重新转写!
- + - + @@ -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 diff --git a/vue.config.js b/vue.config.js index 17e4763..49b7ff2 100644 --- a/vue.config.js +++ b/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