From 0d1b79f064371cf56c7a7af885238824fb08dd04 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Mon, 18 Mar 2024 09:09:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E8=B7=AF=E5=BE=84=E5=9B=BE?= =?UTF-8?q?=E6=B5=8B=E8=AF=84=E5=AF=BC=E5=87=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/router/RouterEvaluationManage.vue | 3 +++ src/views/learningpath/LevelAdd.vue | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/drawers/router/RouterEvaluationManage.vue b/src/components/drawers/router/RouterEvaluationManage.vue index 892376b4..c682cc3d 100644 --- a/src/components/drawers/router/RouterEvaluationManage.vue +++ b/src/components/drawers/router/RouterEvaluationManage.vue @@ -429,6 +429,9 @@ export default { // 导出数据 function exportTaskStu() { console.log(`${process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?currentStageId=${props.datasource.chapterId}&type=${2}&pid=${props.datasource.routerId}&taskId=${props.datasource.routerTaskId}&taskType=${props.datasource.type}`) + if(!props.datasource.routerTaskId){ + props.datasource.routerTaskId = '' + } window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?currentStageId=${props.datasource.chapterId}&type=${2}&pid=${props.datasource.routerId}&taskId=${props.datasource.routerTaskId}&taskType=${props.datasource.type}`) // window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?pageNo=${state.currentPage}&pageSize=${state.pageSize}¤tStageId=${props.datasource.chapterId}&type=${2}&pid=${props.datasource.routerId}&taskId=${props.datasource.routerTaskId}&status=${state.name}&studentName=${state.projectName}`) } diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue index 93f83ba8..d76cd0df 100644 --- a/src/views/learningpath/LevelAdd.vue +++ b/src/views/learningpath/LevelAdd.vue @@ -2299,7 +2299,7 @@ export default { state.addLoading = true; getOverview(); - // myGetRouterDetail(); + myGetRouterDetail(); reget(); }); const closePub = () => {