fs-danaus
2022-12-27 88ac29061662d138f2edeea2d96112c389343917
WebRoot/js/index/funcLink.js
@@ -480,19 +480,27 @@
                        jsons[i].unid + "@p@" + jsons[i].seq, jsons[i].domain, jsons[i].dbid,
                        false, 60, 60, jsons[i].orgFileType);
                    //文件显示信息
                    let title = '文件名: ' + jsons[i].originalFileName +
                        ' \n类型: ' + jsons[i].fileType +
                        ' \n大小: ' + jsons[i].fileSizeStr +
                        ' \n上传者: ' + jsons[i].authorName +
                        ' \n上传时间: ' + jsons[i].uploadTimeStr +
                        ' \n\n总查看次数: ' + jsons[i].totalViewNums +
                        ' \n总下载次数: ' + jsons[i].totalDownNums;
                    let title = '文件名:' + jsons[i].originalFileName +
                        ' \n类型:' + jsons[i].fileType +
                        ' \n大小:' + jsons[i].fileSizeStr +
                        ' \n上传者:' + jsons[i].authorName +
                        ' \n上传时间:' + jsons[i].uploadTimeStr +
                        ' \n\n总查看次数:' + jsons[i].totalViewNums +
                        ' \n总下载次数:' + jsons[i].totalDownNums;
                        if(jsons[i].hasPermission){
                            title += ' \n\n上传者【' + jsons[i].authorName + '】授权您:'
                            title += ' \n允许查看次数: ' + jsons[i].allowViewNums +
                                ' \n您已查看: ' + jsons[i].viewNums + '\n';
                            title += ' \n允许下载次数: ' + jsons[i].allowDownNums +
                                ' \n您已下载: ' + jsons[i].downNums;
                            title += ' \n允许查看次数:' + jsons[i].allowViewNums +
                                ' \n您已查看:' + jsons[i].viewNums + '\n';
                            title += ' \n允许下载次数:' + jsons[i].allowDownNums +
                                ' \n您已下载:' + jsons[i].downNums;
                            let msg="无时间限制"
                            if(jsons[i].dateFlag==0){
                                msg="允许访问:"+jsons[i].startTime.split(" ")[1]+" ~ "+jsons[i].endTime.split(" ")[1];
                            }
                            if(jsons[i].dateFlag==1){
                                msg="允许访问:"+jsons[i].startTime.substring(0,jsons[i].startTime.length-3)+" ~ "+jsons[i].endTime.substring(0,jsons[i].endTime.length-3);
                            }
                            title +='\n\n'+msg;
                        }
                    //下载地址
                    let Down = jsons[i].domain + "/attachment/downLoadAttachment.do?filePath=" +
@@ -1106,7 +1114,7 @@
                type: 2,//可传入的值有:0(信息框,默认)1(页面层)2(iframe层)3(加载层)4(tips层)。 若你采用layer.open({type: 1})方式调用
                shade: 0.1,
                title: "维护附件上传权限", //不显示标题
                area: ['1280px', '650px'], //宽高
                area: ['1300px', '650px'], //宽高
                content: '/general/fileInputoa/uploadPromission.html?unid='+s[0]+'&seq='+s[1],
                cancel: function () {
                    layer.closeAll();
@@ -1864,18 +1872,9 @@
    if(info.indexOf("buildv2.do") > -1){ // 生成页面 by danaus 13-6-28 增加返回生成页面和打开多个功能号多张单的功能
        $.get(info);
    }else if(info.indexOf("open.callBack|") ==0){//处理第三方返回的数据,打开另一个页卡
        var url=info.replace("open.callBack|","");
      //  showLayerGrid(url,1,'900px','600px');
    var perContent= layer.open({
            type: 2,
            title: '德立测量单信息',
            maxmin: false,
            skin: 'layui-layer-molv',
            shadeClose: true, //点击遮罩关闭层
            area : ['1300px' , '800px'],
            content:  url       //'/app/67/0/cnzh/110502/1/index.jsp'
        });
        layer.full(perContent);
        info=info.replace("open.callBack|","").split("|");
        var obj=JSON.parse(info[1]);
        window.open(info[0]+obj.Url,'','width=800px;height=800px');
    }else{ // 打开页面
        var tt=info.split("|");
        for(var i=0;i<tt.length;i++){