学生作业增加预览

This commit is contained in:
曹磊 2024-05-24 20:52:44 +08:00
parent 5a8a4a171c
commit b46e311044
2 changed files with 1 additions and 3 deletions

View File

@ -173,7 +173,6 @@
//
function handlePreview(record){
console.log(record);
record.isYl = true;
ZyInfoStudentModalPage.value.disableSubmit = true;
ZyInfoStudentModalPage.value.edit(record);

View File

@ -87,7 +87,6 @@
* 编辑
*/
function edit(record) {
console.log(record);
nextTick(() => {
resetFields();
//
@ -145,7 +144,7 @@
function openPdf(record){
if(record.stuPdfPath){
var url2 = getFileAccessHttpUrl(record.pdfPath)
var url2 = getFileAccessHttpUrl(record.stuPdfPath)
let url = baseApiUrl+"/generic/web/viewer.html?file="+encodeURIComponent(url2);
window.open(url,"_blank")
}else{