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