JLBA202505130001_关于吉林银行新建AI智能培训系统的需求_fix
This commit is contained in:
+3
-3
@@ -7,7 +7,7 @@ ENV = 'development'
|
||||
#VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7002'
|
||||
|
||||
|
||||
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7003'
|
||||
#VITE_APP_BASE_API_Url = 'http://25.64.32.154:9601'
|
||||
|
||||
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
|
||||
# VITE_APP_BASE_API_Url = 'http://192.168.247.200'
|
||||
@@ -16,7 +16,7 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7003'
|
||||
# dev
|
||||
|
||||
|
||||
#VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
|
||||
VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
|
||||
|
||||
|
||||
# sit
|
||||
@@ -47,7 +47,7 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7003'
|
||||
|
||||
# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786'
|
||||
|
||||
# VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.32.150:9601'
|
||||
VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.32.154:9601'
|
||||
# VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.130:9602'
|
||||
|
||||
# VITE_APP_BASE_H5_API_Url_TRAASK = 'http://25.64.16.144:9605'
|
||||
|
||||
@@ -60,8 +60,8 @@
|
||||
</view>
|
||||
<view class="voice-input-box">
|
||||
<uv-textarea ref="inputRef" v-model="answerValue" :maxlength="props.textValueLength" v-show="!transLoading"
|
||||
@click.stop customStyle="background: #ffffff00; padding-bottom: 50rpx; color: #fff; caret-color: #fff" height="200rpx"
|
||||
text-style="color: #fff"
|
||||
@click.stop customStyle="background: #ffffff00; padding-bottom: 50rpx; color: #fff; caret-color: #fff"
|
||||
height="200rpx" text-style="color: #fff"
|
||||
placeholderStyle="color:#999999;font-size:26rpx;border-color: #ffffff00 !important;"
|
||||
placeholder=""></uv-textarea>
|
||||
</view>
|
||||
@@ -151,9 +151,9 @@
|
||||
adjustPosition,
|
||||
formatType
|
||||
} = toRefs(props);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
const isLoadingState = computed(() => props.isLoading);
|
||||
|
||||
const showTalkingModel = ref(false);
|
||||
@@ -301,6 +301,15 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
unref(recordObjCom).onError((err) => {
|
||||
isRecording.value = false
|
||||
isGettingPermission.value = false
|
||||
if (showTalkingModel.value) {
|
||||
closeModel();
|
||||
}
|
||||
common.msg(err)
|
||||
// common.msg(err'语音输入错误,请重试!')
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -326,15 +335,16 @@
|
||||
const stopRecord = () => {
|
||||
isStopNum.value = isStartNum.value;
|
||||
try {
|
||||
if (unref(recordObjCom).stop) {
|
||||
if (isRecording.value && unref(recordObjCom).stop) {
|
||||
setTimeout(() => {
|
||||
isGettingPermission.value = false
|
||||
}, 1000)
|
||||
unref(recordObjCom).stop();
|
||||
if (!transVoiceIng.value) {
|
||||
console.log('1234')
|
||||
setTimeout(() => {
|
||||
closeModel()
|
||||
}, 300)
|
||||
}
|
||||
setTimeout(() => {
|
||||
closeModel()
|
||||
}, 300)
|
||||
} else {
|
||||
isGettingPermission.value = false
|
||||
closeModel();
|
||||
}
|
||||
} catch {
|
||||
@@ -618,7 +628,9 @@
|
||||
onHide(() => {
|
||||
isGettingPermission.value = true
|
||||
})
|
||||
defineExpose({clearInputText})
|
||||
defineExpose({
|
||||
clearInputText
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user