学生作业增加预览
This commit is contained in:
parent
5a8a4a171c
commit
b46e311044
|
@ -173,7 +173,6 @@
|
||||||
|
|
||||||
//预览
|
//预览
|
||||||
function handlePreview(record){
|
function handlePreview(record){
|
||||||
console.log(record);
|
|
||||||
record.isYl = true;
|
record.isYl = true;
|
||||||
ZyInfoStudentModalPage.value.disableSubmit = true;
|
ZyInfoStudentModalPage.value.disableSubmit = true;
|
||||||
ZyInfoStudentModalPage.value.edit(record);
|
ZyInfoStudentModalPage.value.edit(record);
|
||||||
|
|
|
@ -87,7 +87,6 @@
|
||||||
* 编辑
|
* 编辑
|
||||||
*/
|
*/
|
||||||
function edit(record) {
|
function edit(record) {
|
||||||
console.log(record);
|
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
resetFields();
|
resetFields();
|
||||||
//赋值
|
//赋值
|
||||||
|
@ -145,7 +144,7 @@
|
||||||
|
|
||||||
function openPdf(record){
|
function openPdf(record){
|
||||||
if(record.stuPdfPath){
|
if(record.stuPdfPath){
|
||||||
var url2 = getFileAccessHttpUrl(record.pdfPath)
|
var url2 = getFileAccessHttpUrl(record.stuPdfPath)
|
||||||
let url = baseApiUrl+"/generic/web/viewer.html?file="+encodeURIComponent(url2);
|
let url = baseApiUrl+"/generic/web/viewer.html?file="+encodeURIComponent(url2);
|
||||||
window.open(url,"_blank")
|
window.open(url,"_blank")
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue