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}`