cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>关联文档</title>
</head>
 
<body>
[#include "/business/pages/include/static.html" /]
[#include "/component/docupload.html" /]
<div class="deal_switch_con" style="display:block;">
        <div class="deal_record_tittle" style="position:relative;float:right;height:22px;">
            <a>添加文档附件</a>
            [@ajaxupload id="managerPhotos" style="position:absolute;top:30px;left:10px;" callback="query" businessId='${RequestParameters.orderId}' /]
        </div>
        <div id="main" style="margin-top:40px;"></div>
</div>
 
 
<script type="text/javascript">
function delFile(fileId) {
    window.top.confirmInfo('提示', '确定要删除吗?', function(){
                $.post("${base}/business/pages/releaseManage/delRemindFile.html",{"fileId":fileId},function(data,textStatus) {
                        if(data==1) {
                            query();
                            window.top.popupTips("删除成功");
                        } else {
                            window.top.popupTips("删除失败");
                        }
                })
            })
}
 
 
function query() {
    $.post("${base}/business/pages/releaseManage/releaseFilesData.html",{"orderId":'${RequestParameters.orderId}'},function(data,textStatus) {
        $("#main").html(data);
    })
}
 
$(function() {
    query();
})
</script>
</body>
</html>