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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>响应支持类满意度调查详情</title>
    [#include "/component/excExport.html" /]
</head>
 
<body class="fullscreen">
[#include "/business/pages/include/static.html" /]
[#include "/business/pages/include/header.html" /]
[#include "/business/pages/include/print.html" /]
<div class="fs_navpath">
    <h3>当前位置</h3>
    <span></span>
    <a>满意度管理 </a>
    <span></span>
    <a href="${base}/business/pages/satisfaction/incisatisList.html" >响应支持类满意度 </a>
    <span></span>
    <em>响应支持类满意度调查详情</em>
</div>
<div class="fs_main">
    <div class="check_btn clearfix">
        [@excExp id="printDiv" name="${printName}" /]
        <a class="common print" href="javascript:printA4(1,'printDiv');"><span>打印</span></a>
        <a id="cardYy" class="common photoprint" href="javascript:orderImage();"><span>影印版</span></a>
        <a class="common template" href="javascript:cardTemplate();"><span>模板</span></a>
    </div>
    <div class="device" id="printDiv" style="padding:0;border:0;">
        <table  border="0" class="reportTable" >
                  <tr class="titleTr">
                  <td   colspan="8">响应支持类满意度调查表</td>
                </tr>
               <tr class="nameTr">
                   <td   colspan="4" align="left">${Constants.CUSTOMER_CONSTANTS}:${customerMap.CUSTOMER_NAME}</td>
                   <td   colspan="4" align="right" nowrap="nowrap"  style="text-align:right;">编号:${customerMap.CODE}</td>
                </tr>
                <tr>
                  <td align="center" colspan="1" >工单名称:</td>
                  <td align="left" colspan="7" >
                        <a href="${base}/business/pages/order/orderInfo.html?orderId=${customerMap.BUS_ID}&flowId=${customerMap.FLOWID}&orderType=${customerMap.BUSINESSTYPE}" target="_blank" >${customerMap.WFNAME}</a>
                  </td>
                  </tr>
                  <tr> 
                  <td align="center" colspan="1" >工单编号:</td>
                  <td align="left" colspan="3" >
                        <a href="${base}/business/pages/order/orderInfo.html?orderId=${customerMap.BUS_ID}&flowId=${customerMap.FLOWID}&orderType=${customerMap.BUSINESSTYPE}" target="_blank" >${customerMap.ORDER_CODE}</a>
                  </td>
                  <td align="center" colspan="1" >工单类型:</td>
                  <td align="left" colspan="3" >${customerMap.BUSINESSTYPE_TEXT}</td>
                </tr>
                 [#list orderitem.itemYjList as card]
                 <tr>
                  [#if card_index == 0]
                  <td align="center" rowspan="${orderitem.count}" colspan="1" >调查内容:</td>
                  [/#if]
                  <td align="left" colspan="7"  >${card.ITEM_NAME}</td>
                  </tr>
                  [#list card.itemList as item]
                  <tr>
                  <td align="left" colspan="4"  >${item.ITEM_NAME}</td>
                  <td align="center" colspan="3"  >
                  [#list item.EVALUATION as eva]
                   [#if eva.check == 1]
                      <span style="vertical-align:text-top;margin:0px 3px 0px 7px;">
                   <img src="${common_static}/static/ui/images/dayprint-y.gif"/>
                   </span>${eva.EVA_NAME}
                      [/#if]
                  [/#list]
                  </td>
                  </tr>
                  [/#list]
                [/#list]
                <tr>
                  <td height="80" align="left" colspan="8" width="15%" style="vertical-align:top;"  >客户评价:<br/>${StringUtil.str2Html(customerMap.SUGGESTION)}
                  </td>
                </tr>
                 <tr>
                  <td align="center" colspan="2"  width="13%">${Constants.CUSTOMER_CONSTANTS}联系人:</td>
                  <td align="center" colspan="2"  width="37%">${customerMap.CUSTOMER_CONTACT_NAME}</td>
                  <td align="center" colspan="2"  width="13%">联系方式:</td>
                  <td align="center" colspan="2"  width="37%">${customerMap.CUSTOMER_CONTACT_PHONE}</td>
                </tr>
                  <tr>
                  <td align="center" colspan="2">调查人:</td>
                  <td align="center" colspan="2">${customerMap.INVEST_USER_NAME} </td>
                  <td align="center" colspan="2">调查日期:</td>
                  <td align="center" colspan="2">${DateUtil.format("yyyy-MM-dd",customerMap.INVEST_TIME)}</td>
                </tr>
              </table>
        
    </div>
</div>
[#include "/business/pages/include/footer.html" /]
</body>
 
<script type="text/javascript">
    var busId = '${busId}';                     
    var type = '${RequestParameters.type}';                     
    function cardTemplate(){
         var url = "${base}/business/pages/satisfaction/orderreportview.html?type="+type;
         window.top.openDialog("template","报表模板",
             {},
             {"width":80,"height":80},
             [{btnId:"btnPrint", btnName:"打印", btnStyle:"bluebtn"},
              {btnId:"btnExport", btnName:"导出", btnStyle:"bluebtn"}],url);
    }
    
    function orderImage(){
     var cardId = $("#cardId").val();
    window.top.openDialog("0","报表影印",
                         {},
                         {"width":80,"height":80},
                         [],
                         "${base}/business/pages/satisfaction/orderImage.html?busId="+busId);
    }
    
    </script>
</html>