zoukankan      html  css  js  c++  java
  • 四十二、在线预览pdf文件

    //文档在线观看
    			checkWoc(type, id, taskId, smsId, stsId) {
    				if(type == "zip" || type == "7z" || type == "rar") {
    					this.$notify({
    						title: '警告',
    						message: '不支持的格式,请下载观看!',
    						type: 'warning'
    					});
    					return;
    				} else {
                            //使用的是插件查看(路径为插件的路径) var href = "../../../static/pdfjs/web/viewer.html?file=" + "/myCourses/watchDoc/" + id window.open(href); //更新文档进度及任务 let params = { 'id': id, 'taskId': taskId, 'smsId': smsId, 'stsId': stsId } this.postRequest("/myCourses/updateDocAndTaskSchedule", params, 'json').then(resp => {}) } },

      

  • 相关阅读:
    docker 笔记
    XML解析
    P1047 校门外的树
    4829 [DP]数字三角形升级版
    1996 矿场搭建
    5524 割点
    4817 江哥的dp题d
    4809 江哥的dp题c
    4816 江哥的dp题b
    4815 江哥的dp题a
  • 原文地址:https://www.cnblogs.com/deng-jie/p/10789378.html
Copyright © 2011-2022 走看看