This commit is contained in:
zhoutianchi
2026-02-03 11:51:30 +08:00
parent a158c29b66
commit 399096e062

View File

@@ -154,7 +154,7 @@
{label:'高校教师资格证',value:'highCer_高校教师资格证'}, {label:'高校教师资格证',value:'highCer_高校教师资格证'},
{label:'中等教师资格证',value:'midCer_中等教师资格证'}, {label:'中等教师资格证',value:'midCer_中等教师资格证'},
{label:'教师上岗证',value:'priCer_教师上岗证'}, {label:'教师上岗证',value:'priCer_教师上岗证'},
{label:'共同居住人',value:'livewith_共同居住人'}, // {label:'共同居住人',value:'livewith_共同居住人'},
] ]
// 导出文件函数 // 导出文件函数
@@ -169,7 +169,7 @@
'Content-Type': 'application/json' 'Content-Type': 'application/json'
} }
}) })
const blob = new Blob([res.data]) const blob = new Blob([res])
const fileName = fileNameStr const fileName = fileNameStr
const elink = document.createElement('a') const elink = document.createElement('a')
elink.download = fileName elink.download = fileName
@@ -239,7 +239,7 @@
"teacherBaseDTO": searchData "teacherBaseDTO": searchData
} }
await exportForModel(params, "教职工信息.xls", "/professional/teacherbase/exportTeacherInfoBySelf") await exportForModel(params, "教职工信息.xls", "/professional/file/exportTeacherInfoBySelf")
setTimeout(() => { setTimeout(() => {
exportLoading.value = false exportLoading.value = false