From 41d9baded406562a483d5ba280c8f8b9d2f2f347 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Wed, 8 Feb 2023 17:58:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/api.js | 2 +- src/views/ReceivingRecords/index.vue | 10 ++++++---- src/views/building/index.vue | 7 ++++--- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/api/modules/api.js b/src/api/modules/api.js index d007afa..f2ddc99 100644 --- a/src/api/modules/api.js +++ b/src/api/modules/api.js @@ -460,7 +460,7 @@ export function invalidList(query) { // 转写方式数据获取 export function findTransferMethod(query) { return request({ - url: '/autoSR/properties/findTransferMethod', + url: '/autoSR/zkhouse/findTransferMethod', method:'get', params:query }) diff --git a/src/views/ReceivingRecords/index.vue b/src/views/ReceivingRecords/index.vue index fcbd914..d49f78d 100644 --- a/src/views/ReceivingRecords/index.vue +++ b/src/views/ReceivingRecords/index.vue @@ -732,9 +732,10 @@ export default { // 转写方式数据获取 findTransferMethod() { this.$api.api.findTransferMethod().then((res) => { - if (res.data && res.data.obj) { - this.projectList = res.data.data || []; - this.languageList = (res.data.data && res.data.data[0].list) || []; + console.log(res,' sajdklasjdklasjdklsajkdls') + if (res.data) { + this.projectList = res.data || []; + this.languageList = (res.data && res.data[0].list) || []; } }); }, @@ -943,7 +944,8 @@ export default { this.searchForm.projectId = res.data[0].id; } this.houseChange(); - + // 获取转写方式 + this.findTransferMethod() // 获取销讲业务 this.getMarketingBusiness(); }); diff --git a/src/views/building/index.vue b/src/views/building/index.vue index 6ea2cf9..e5612cf 100644 --- a/src/views/building/index.vue +++ b/src/views/building/index.vue @@ -367,8 +367,8 @@ - - + + 转写 不转写 @@ -791,7 +791,6 @@ export default { agentName: "", operationalPeople: "", operationStaffId: "", - shortRecordingSetting: 0, // 短录音是否转写 是否转写短录音 0 转写(默认) 1 不转写 }, areaList: [], operaList: [], @@ -892,6 +891,7 @@ export default { tagMatching: 0, // 客户标签匹配 transliterationMethod: '',//转写方式 language:'',//语言 + shortRecordingSetting: 0, // 短录音是否转写 是否转写短录音 0 转写(默认) 1 不转写 }, ruleForm1: {}, optionsagentId: [], @@ -1414,6 +1414,7 @@ export default { ]; // console.log(this.time) this.ruleForm = Object.assign({}, row); + this.ruleForm.shortRecordingSetting = row.shortRecordingSetting || 0 this.ruleForm.area = [this.ruleForm.provinceId, this.ruleForm.cityId]; this.ruleForm.time = row.time || "22:00"; if (row.offLine && row.offLine.indexOf('~') != -1) {