电脑桌面
添加蚂蚁七词文库到电脑桌面
安装后可以在桌面快捷访问

评分页面附件默认显示到页面【V8.8+】

来源:金蝶云社区作者:金蝶2024-09-223

评分页面附件默认显示到页面【V8.8+】

【适用版本】 

s-HR Cloud V8.8及以上

【应用场景】 

附件默认显示到页面,不需点击弹框查看

【操作步骤】

1、找到\eas\server\deploy\easweb.ear\shr_web.war\addon\perfweb\web\js\shr\perfweb\portal\目录下的perfscore.js、perfscoreNew.js文件,如图位置新增方法:

    showAllAttachs: function(data){

        for (var i = 0; i < data.length; i++) {

            var tempData = data[i];

            var url = that._assembleDownloadUrl(tempData.id, tempData.attachKey);

            data[i].url = url;

            data[i].canDel = tempData.isSelf && tempData.isSelf == "true" ? true : false;

            data[i].canDowload = tempData.simpleName.toUpperCase() == "TXT" || tempData.simpleName.toUpperCase() == "PDF" || tempData.simpleName.toUpperCase() == "GIF" || tempData.simpleName.toUpperCase() == "JPG" || tempData.simpleName.toUpperCase() == "PNG" || tempData.simpleName.toUpperCase() == "BMP" ? true : false;

        }

        var tpl =

            ['<div>',

                '<table>',

                    '<thead>',

                        '<tr>',

                            '<th width="294">',

                            (jsBizMultLan.perfweb_perfscoreJuicer_1586254515419_i18n_35 || '文档名称'),

                            '</th>',

                            '<th>',

                            (jsBizMultLan.perfweb_perfscoreJuicer_1586254515419_i18n_28 || '上传人'),

                            '</th>',

                            '<th>',

                            $.perfwebI18n.tableConstant.msg10,

                            '</th>',

                            //'<th>操作</th>',

                            '<th>',

                            (jsBizMultLan.perfweb_perfscoreJuicer_zw20201229_i18n_01 || '操作'),'</th>',

                        '</tr>',

                    '</thead>',

                    '<tbody>',

                        '{@each rows as tempData,i}',

                        '<tr>',

                            '<td class="

评分页面附件默认显示到页面【V8.8+】

【适用版本】 s-HR Cloud V8.8及以上【应用场景】 附件默认显示到页面,不需点击弹框查看【操作步骤】1、找到\eas\server\deploy\easweb....
点击下载文档文档为doc格式

声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。如若本站内容侵犯了原著者的合法权益,可联系本站删除。

已经是第一篇
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息
QQ群
  • 答案:my7c点击这里加入QQ群
支持邮箱
微信
  • 微信