JLBA202505130001_关于吉林银行新建AI智能培训系统的需求:fix; bug
This commit is contained in:
+3
-3
@@ -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'
|
||||
|
||||
|
||||
@@ -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
|
||||
});
|
||||
};
|
||||
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user