JLBA202505130001_关于吉林银行新建AI智能培训系统的需求:fix; bug

This commit is contained in:
杨航
2025-12-20 11:15:58 +08:00
parent 2de3859c30
commit 263e028bef
3 changed files with 24 additions and 5 deletions
+3 -3
View File
@@ -2,14 +2,14 @@
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'
# VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.32.154:9601'
# VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.32.158:9601'
# VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.32.154:9602'
VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.32.154:9602'
+9
View File
@@ -203,4 +203,13 @@ export const setStudyTeacherApi = (data) => {
toastErrors: true,
data
});
};
// 预览切换顾问
export const setPreviewTeacherApi = (data) => {
return request({
url: base_url + '/traStdyTeacher/setStudyTeacherPreview ',
method: 'post',
toastErrors: true,
data
});
};
+12 -2
View File
@@ -130,7 +130,16 @@ import { onLoad, onShow, onUnload, onHide } from '@dcloudio/uni-app'
import { previewFile, downloadFile, commonUploadVoiceFile, downloadVoiceFile, uploadVoiceFile } from '@/api/common.js'
import { getToken, getPhoneEnvBool } from '@/common/common.js'
import { get_base_url, goto_login_fun } from '@/api/request'
import { getCourseStudyInfoApi, afreshStudyCourseApi, queryQuestionEvalateApi, textChartApi, setStudyTeacherApi, textChartPreviewApi, previewAfreshStudyCourse, studyEndApi, studyStartApi } from '@/api/study.js'
import { getCourseStudyInfoApi,
afreshStudyCourseApi,
queryQuestionEvalateApi,
textChartApi,
setStudyTeacherApi,
setPreviewTeacherApi,
textChartPreviewApi,
previewAfreshStudyCourse,
studyEndApi,
studyStartApi } from '@/api/study.js'
import common from '@/common/common'
import TalkingItem from '@/pages/course/components/talkingItem.vue'
import ImagePreview from '@/components/image-preview/image-preview.vue'
@@ -302,7 +311,8 @@ const choiceTeacherInfo = computed(() => {
const changeTeacherVoiceNow = async item => {
if (item.teacherNo === choiceTeacher.value) return
try {
const res = await setStudyTeacherApi({
let _ajax = isPreview.value ? setPreviewTeacherApi : setStudyTeacherApi
const res = await _ajax({
stdyId: stdyId.value,
teacherNo: item.teacherNo
})