diff --git a/pages/customer/followup.vue b/pages/customer/followup.vue index e1237ed..f4a3a9f 100644 --- a/pages/customer/followup.vue +++ b/pages/customer/followup.vue @@ -15,7 +15,7 @@ {{$t('customer.followtime')}} - + @@ -327,10 +327,10 @@ var options = {}; var that = this; options.engine = 'baidu'; - that.form.bf_desc = ""; + that.form.audio_text = ""; plus.speech.startRecognize(options, function (s) { console.log(s); - that.form.bf_desc += s; + that.form.audio_text += s; }, function (e) { console.log("语音识别失败:" + e.message); }); @@ -345,13 +345,13 @@ // TODO ios 在没有请求过权限之前无法得知是否有相关权限,这种状态下需要直接调用语音,会弹出正在识别的toast var options = {}; var that = this; - that.form.mom_desc = ""; + that.form.remark = ""; options.engine = 'iFly'; options.punctuation = false; // 是否需要标点符号 options.timeout = 10 * 1000; //语音录入持续时长 plus.speech.startRecognize(options, function(s) { console.log(s); - that.form.mom_desc += s; + that.form.remark += s; // 关闭语音 plus.speech.stopRecognize(); }, function (e) {