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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>问题基本信息</title>
</head>
 
<body>
[#include "/business/pages/include/static.html" /]
 
<div class="deal_switch_con" style="display:block;">
    <div class="deal_record_tittle"></div>
       <div id="main"></div>
</div>
<script type="text/javascript">
    var orderId = '${RequestParameters.orderId}';
    var flowId = '${RequestParameters.flowId}';
    var curnodeId = '${RequestParameters.curnodeId}';
    //诊断报告
    function addZdReport() {
        window.top.openDialog("2","诊断报告",
                         {},
                         {"width":60,"height":80},
                         [{btnId:"btnSure", btnName:"提交", btnStyle:"bluebtn"}],
                         "${base}/business/pages/question/questionZdReport.html?flowId="+flowId);
    }
    //诊断报告
    function editZdReport(id,type) {
        window.top.openDialog("2","诊断报告",
                         {},
                         {"width":60,"height":80},
                         [{btnId:"btnSure", btnName:"提交", btnStyle:"bluebtn"}],
                         "${base}/business/pages/question/questionZdReport.html?id="+id+"&type="+type+"&flowId="+flowId);
    }
    
    
    //查询诊断报告
    function queryRecord() {
        $.post("${base}/business/pages/question/questionzdmsgdata.html",{"flowId":flowId,"orderId":orderId,"curnodeId":curnodeId},function(data,textStatus) {
                $("#main").html(data);
                eventIframe();
        })
    }
    
    $(function() {
        queryRecord();
        
        $(".deleteBtn").live("click",function() {
            var dom = $(this);
            window.top.confirmInfo('提示', '确定要删除吗?', function(){
                var reportId = dom.attr("recordId");
                $.post("${base}/business/pages/question/delReport.html",{"reportId":reportId},function(data,textStatus) {
                        if(data==1) {
                            queryRecord();
                            window.top.popupTips("删除成功");
                        } else {
                            window.top.popupTips("删除失败");
                        }
                })
            })
        });
        
        
    })
</script>
</body>
</html>