fix: bug
This commit is contained in:
+4
-4
@@ -15,14 +15,14 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
|
||||
|
||||
# h5专用地址
|
||||
|
||||
#VITE_APP_BASE_H5_API_Url = 'http://25.16.122.65:7001'
|
||||
#VITE_APP_BASE_H5_API_Url = 'http://25.18.122.21:9786'
|
||||
# VITE_APP_BASE_H5_API_Url = 'http://25.16.122.65:7001'
|
||||
# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.21:9786'
|
||||
# VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7002'
|
||||
|
||||
# dev
|
||||
VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001'
|
||||
# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001'
|
||||
# sit
|
||||
#VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786'
|
||||
VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786'
|
||||
|
||||
# UAT
|
||||
# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786'
|
||||
|
||||
@@ -88,15 +88,8 @@ watch(
|
||||
}
|
||||
)
|
||||
const mdText = computed(() => {
|
||||
//#ifndef APP-PLUS
|
||||
// h5 假数据
|
||||
let _text = (props.dataInfo?.talkingText|| '').replace(/\\n/g, `\n`);
|
||||
return _text
|
||||
// #endif
|
||||
//#ifdef APP-PLUS
|
||||
return (props.dataInfo?.talkingText|| '')
|
||||
// #endif
|
||||
|
||||
})
|
||||
const fileList = computed(() => props.dataInfo?.talkingFiles || [])
|
||||
const crsList = computed(() => props.dataInfo?.talkingCrsList || [])
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<TouchBtn class="talk-btns" @uploadVoice="uploadRecordNow" @submitAnswer="submitAnswerNow" @startRecord="startRecordCallback" :loadingText="sendLoadingText" :isLoading="!answerIsOver" :adjustPosition="true" :isDisabled="false" />
|
||||
<TouchBtn class="talk-btns" @uploadVoice="uploadRecordNow" @submitAnswer="submitAnswerNow" @startRecord="startRecordCallback" :loadingText="sendLoadingText" :isLoading="!answerIsOver" :adjustPosition="true" :isDisabled="isHistory" />
|
||||
<History ref="historyRef" @showDetail="showHistoryDetail"></History>
|
||||
<PreviewVue ref="previewRef" />
|
||||
</scroll-view>
|
||||
@@ -159,6 +159,7 @@ const createNewDialog = () => {
|
||||
const showModelComfirm = ref(false)
|
||||
const reconcatNum = ref(1)
|
||||
const initsocketTask = () => {
|
||||
isHistory.value = false
|
||||
socketStore.creatSocket('/traask/asksocket/open?summary=')
|
||||
// unref(SocketObj).on('open', (res)=>{
|
||||
// if(!answerIsOver.value){
|
||||
@@ -431,15 +432,14 @@ const toMePage = () => {
|
||||
showMenuList.value = false
|
||||
common.switchTab('/pages/me/index')
|
||||
}
|
||||
|
||||
const isHistory = ref(false)
|
||||
const showHistoryDetail = item => {
|
||||
isHistory.value = true
|
||||
queryAskHisByBatchIdPaging({
|
||||
batchId: item.reqBatch,
|
||||
page: 1,
|
||||
limit: 100
|
||||
}).then(res => {
|
||||
console.log(res)
|
||||
|
||||
talkingList.value = (res.body || []).map((t, index) => {
|
||||
// let _obj = JSON.parse( t.respContent)
|
||||
// console.log(_obj,0)
|
||||
|
||||
Reference in New Issue
Block a user