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
68
69
70
71
72
73
74
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>总结</title> 
[#include "/business/pages/include/static.html" /]
<script type="text/javascript">
    $(function() {
        
        $("#fb_submit").click(function(){
            var note = $("#note").val();
            var summaryType = "${RequestParameters.type}";
            var summaryDate = "${RequestParameters.selDate}";
            var cusId = "${RequestParameters.cusId}";
            var id = "${info.id}";
            var param = {'id':id,'note':note,'summaryType':summaryType,'summaryDate':summaryDate,'cusId':cusId};
            $.post("${base}/uc/workReport/workSummary.html",param,function(res){
                if(res==1){
                    $("#note").attr("readonly",true);
                    $("#fb_submit").hide();
                    $("#fb_edit").show();
                    popupTips('保存成功', 1);
                }
            });
        });
        
        $("#fb_edit").click(function(){
            $("#note").attr("readonly",false);
            $(this).hide();
            $("#fb_submit").show();
        });
    });
</script>
</head>
 
<body class="fullscreen">
<div class="monitor_report clearfix">
<form id="myform" method="post">
    <div class="monitoring">
        <table class="monitor_flow" style="margin-top: 0px;">
            <tr>
              <td class="monitor_sysinfocon">
                  <div class="edit_title">
                  <h3>报告总结</h3>
                </div>
              </td>
            </tr>
        </table>
        
        <table class="pab_con" style="margin:0 auto;">
            <tr>
                <td style="padding:0;">
                  <textarea class="general" style="width:95%;height:150px;border:0;" id="note" name="note" readonly>${info.note}</textarea>
               </td>
            </tr>
        </table>
        
        [#if editflag=='true']
          <div class="fs_navtitle" id="fsNavtitle">
            <div class="fsnt_btn">
                <div class="fs_navtitle_con">
                <a id="fb_edit" class="fb_submit" ><span>编辑</span></a>
                <a id="fb_submit" class="fb_submit" style="display: none;"><span>提交</span></a>
                </div>
            </div>
        </div>
        [/#if]
        
    </div>
</form>
</div>
</body>
 
</html>