fix: 学习分析bug

This commit is contained in:
杨航
2025-12-09 20:29:25 +08:00
parent 422dd1715f
commit f3235a706f
3 changed files with 22 additions and 2 deletions
+2 -2
View File
@@ -2,10 +2,10 @@
ENV = 'development.yh'
# 'development.yh'
VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001'
# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001'
# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786'
# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786'
VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786'
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
# VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.32.154:9604'
# VITE_APP_BASE_H5_API_Url_TRAPRACTICE = 'http://25.64.32.156:9603'
+1
View File
@@ -62,6 +62,7 @@ export const partnerChatReportTrigger = (data) => {
export const partnerChatPrompt = (data) => {
return request({
url: base_url + '/traPartnerChat/partnerChatPrompt',
timeout: 60000,
method: 'post',
data
});
+19
View File
@@ -16,6 +16,8 @@
:current="currentTab" class="font_pf my_tabs"
:inactive-style="{ color: '#333333', fontSize: '28rpx', fontWeight: '500' }"
:activeStyle="{ color: '#333333', fontSize: '28rpx', fontWeight: '600' }"></uv-tabs>
<view class="tab-btn" v-show="!overLoading" @click="showToast"></view>
<!-- v-if="!overLoading" -->
</view>
<!-- <view class="calendar-box" @click="openCalendar">统计周期</view>
<uv-calendar ref="calendarRef" mode="range" @confirm="calendarConfirm" minDate="2025-01-01" :maxDate="maxDate" monthNum="100" :allowSameDay="true"></uv-calendar> -->
@@ -229,6 +231,12 @@
const loading2 = ref(false)
const loading3 = ref(false)
const loading4 = ref(false)
const overLoading = computed(()=>{
return !loading.value && !loading1.value && !loading2.value && !loading3.value && !loading4.value
})
const showToast = () => {
common.msg('学习分析生成中,请稍后再试!')
}
const getInfoNow = async (params) => {
loading.value = true
loading2.value = true
@@ -440,6 +448,17 @@
.tabs-box {
width: 600rpx;
height: 88rpx;
position: relative;
.tab-btn{
position: absolute;
width: 600rpx;
height: 88rpx;
top: 0;
left: 0;
z-index: 23;
// background-color: #ccc;
}
}
.analytics-items {