diff --git a/js/accessory/child/accessory_out_bound_detail.js b/js/accessory/child/accessory_out_bound_detail.js index 303351f..d91f623 100644 --- a/js/accessory/child/accessory_out_bound_detail.js +++ b/js/accessory/child/accessory_out_bound_detail.js @@ -148,17 +148,18 @@ function getPartDetails() { $('#codeValue').html(obj.code + '查看概述'); $('#type').html(obj.type === '0' ? '设备' : '工器具'); $('#applyNum').html(obj.applyNum); + let suffix = "data:image/jpeg;base64," if(obj.lyUrl){ - $('#lyUrl').html(''); + $('#lyUrl').html(''); } if(obj.zdUrl){ - $('#zdUrl').html(''); + $('#zdUrl').html(''); } if(obj.ckUrl){ - $('#lyUrl').html(''); + $('#lyUrl').html(''); } if(obj.shUrl){ - $('#shUrl').html(''); + $('#shUrl').html(''); } setFileTable(obj.fileList); if (objParam.type === '0') { // 设备 diff --git a/js/demandPlan/delivery_list.js b/js/demandPlan/delivery_list.js index 24522c8..5483fc7 100644 --- a/js/demandPlan/delivery_list.js +++ b/js/demandPlan/delivery_list.js @@ -82,6 +82,7 @@ function queryTable(type) { // 刷新页面数据 function reloadData() { reloadTable(1); + getStatistics(); } // 重载表格 diff --git a/js/public.js b/js/public.js index e5670c5..35bcf26 100644 --- a/js/public.js +++ b/js/public.js @@ -178,7 +178,7 @@ function getUrlParam(key) { // 预览文件 function commonViewFile(params) { - let path = fileUrl + params; - let time = encrypt(Math.floor(Date.now()).toString()) - window.open(viewFileUrl + path + '&token=' + encrypt(time)); +    let path = fileUrl + params + "&auth=" + sessionStorage.getItem("gz-token"); +    let time = encrypt(Math.floor(Date.now()).toString()) +    window.open(viewFileUrl + path + '&token=' + encrypt(time)); } \ No newline at end of file