提交 af8147cb authored 作者: 王鹏飞's avatar 王鹏飞

修改实验类型为“人工智能应用实验”时,右侧显示SAAS-BI的页面

上级 572ce603
...@@ -7,3 +7,4 @@ VITE_QA_CENTER_URL=https://qa-center.ezijing.com ...@@ -7,3 +7,4 @@ VITE_QA_CENTER_URL=https://qa-center.ezijing.com
VITE_X_LEARNING_URL=https://x-learning.ezijing.com VITE_X_LEARNING_URL=https://x-learning.ezijing.com
VITE_EXAM_SHOW_URL=https://exam-show.ezijing.com VITE_EXAM_SHOW_URL=https://exam-show.ezijing.com
VITE_SWSJFXS_LOGIN_URL=https://login.ezijing.com/swsjfxs/login/index VITE_SWSJFXS_LOGIN_URL=https://login.ezijing.com/swsjfxs/login/index
VITE_SAAS_BI_URL=https://saas-bi.ezijing.com/data/dashboard
...@@ -105,9 +105,11 @@ const examURL = ref('') ...@@ -105,9 +105,11 @@ const examURL = ref('')
const cookies = useCookies(['TGC']) const cookies = useCookies(['TGC'])
const LAB_URL: any = computed(() => { const LAB_URL: any = computed(() => {
if (tabActive.value === 'exam' && examURL.value && experimentInfo?.exam_status === 1) return examURL.value if (tabActive.value === 'exam' && examURL.value && experimentInfo?.exam_status === 1) return examURL.value
return experimentInfo?.type === 4 if (experimentInfo?.type === 4)
? `${appConfig.dmlURL || import.meta.env.VITE_DML_URL}?experiment_id=${form.experiment_id}` return `${appConfig.dmlURL || import.meta.env.VITE_DML_URL}?experiment_id=${form.experiment_id}`
: `${appConfig.dmlURL || import.meta.env.VITE_LAB_URL}&token=${cookies.get('TGC')}` if (experimentInfo?.type === 5)
return `${appConfig.dmlURL || import.meta.env.VITE_SAAS_BI_URL}?experiment_id=${form.experiment_id}`
return `${appConfig.dmlURL || import.meta.env.VITE_LAB_URL}&token=${cookies.get('TGC')}`
}) })
let iframeKey = $ref(Date.now()) let iframeKey = $ref(Date.now())
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论