From 75b2dcba7283865132c3a7ddbb7ee05847b8d46c Mon Sep 17 00:00:00 2001 From: zxj Date: Wed, 19 Nov 2025 18:04:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=A4=BE=E6=8B=9B=E6=96=B0=E5=91=98?= =?UTF-8?q?=E5=B7=A5=E9=A1=B9=E7=9B=AE=E5=AF=BC=E5=87=BA=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/student/TableStudent.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/student/TableStudent.vue b/src/components/student/TableStudent.vue index 816431fc..f7b15950 100644 --- a/src/components/student/TableStudent.vue +++ b/src/components/student/TableStudent.vue @@ -845,6 +845,13 @@ function search() { // 导出数据 function exportTaskStu() { console.log("props.datasource", props); + if(props.isNewEmployee){ + window.open( + `${process.env.VUE_APP_BASE_API + }/admin/student/exportProjectStudent?type=${1}&taskType=${0}&thirdType=${10}&pid=${props.id}&studentName=${tableParam.value.studentName === null ? '' : tableParam.value.studentName}&studentDepartName=${tableParam.value.studentDepartName === null ? '' : tableParam.value.studentDepartName}&topFlag=${tableParam.value.topFlag === null ? '' : tableParam.value.topFlag}&approvalResults=${tableParam.value.approvalResults === null ? '' : tableParam.value.approvalResults}&studyStatus=${tableParam.value.studyStatus === null ? '' : tableParam.value.studyStatus}&enrollYear=${tableParam.value.enrollYear === null ? '' : tableParam.value.enrollYear}` + ); + return; + } window.open( `${process.env.VUE_APP_BASE_API }/admin/student/exportTaskStudent?type=${1}&pid=${props.id}&studentName=${tableParam.value.studentName === null ? '' : tableParam.value.studentName}&studentDepartName=${tableParam.value.studentDepartName === null ? '' : tableParam.value.studentDepartName}&topFlag=${tableParam.value.topFlag === null ? '' : tableParam.value.topFlag}`