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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<meta name="keywords" content="此页面关键词">
<meta name="description" content="网站描述">
[#include "/business/pages/include/static.html" /]
<style type="text/css" >
        
        .reportTable_txt{
         background:#e9f1f5;
         width:96%;
         padding-left:2%;
         height:20px;
         border:1px solid #d6e6ee;
         }
         .calendarimg{
            float:left;
            margin:3px 0px 0px 5px;
          }
          .reportTable_rad{
            margin:0px 3px 0px 7px;
            vertical-align:text-top;
          }
}
</style>
<script type="text/javascript" src="${common_static}/static/plugins/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
    var  nowdate = '${nowdate}';
    $(document).ready(function() {
    $.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
        document.getElementById("myform").target = window.top.openDialog("0","操作",
                             {},
                             {"width":40,"height":40,"noclose":true},
                             [{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
                             return true;
    }});
   });
 
    function onDialogBtnClick(btnID, dialogID, config){//此函数放在子页面
        var satis_note = $("#satis_note").val();
        var invest_time = $("#invest_time").val();
        if($.util.isEmpty(invest_time)){
          popupTips("请选择调查时间");
          return;
        }
        
        if($.util.isEmpty(satis_note)){
          popupTips("请填写调查备注");
          return;
        }
        $("#myform").submit();
    }
    
    function showdate(dateFormat){
        if(!dateFormat)dateFormat="yyyy-MM-dd";
          WdatePicker({
              lang:'zh-cn',
            dateFmt:dateFormat,
            isShowOthers: false,
            isShowToday:false,
            isShowClear:false,
            minDate:"1900年01月",
            maxDate:nowdate
            });
      }
      function show(path){
         var url = "${base}/business/pages/satisfaction/showImage.html?path="+path;
         window.top.openDialog("template","影印",
             {},
             {"width":70,"height":70},
             [],url);
    
    }
</script>
</head>
 
<body>
<div class="ucMain clearfix">
        <form id="myform" action="" method="post">
            <table  border="0" class="reportTable" >
                  <tr class="titleTr">
                  <td class="reportTd" colspan="6">驻场服务监督卡</td>
                </tr>
               <tr class="nameTr">
                   <td   colspan="2" align="left">${Constants.CUSTOMER_CONSTANTS}名称:${customerMap.CUSTOMER_NAME}</td>
                   <td   colspan="2" style="text-align:center;">${Constants.UNIT_CONSTANTS}:[#if customerMap.SUB_CUSTOMER_NAME??]${customerMap.SUB_CUSTOMER_NAME}[#else]-[/#if]</td>
                   
                   <td   colspan="2"  nowrap="nowrap" style="text-align:right;" >驻场月份:${DateUtil.format("yyyy年MM月",customerMap.CARD_MONTH)}</td>
                </tr>
                <tr>
                  <td align="center" colspan="1"  >监督项目</td>
                  <td align="center" colspan="3"  >监督内容</td>
                  <td align="center" colspan="2"   align="center">评价</td>
                </tr>
                 [#list zcitem.itemYjList as card]
                 [#list card.itemList as item]
                 [#if item_index == 0]
                 <tr>
                 <td align="center" rowspan="${card.ROWSPAN}" colspan="1"  >${card.ITEM_NAME}</td>
                  <td align="left" colspan="3"  >${item.ITEM_NAME}</td>
                  <td align="center" colspan="2"  >
                  [#list item.EVALUATION as eva]
                    <span style="width:13px;height:13px;display:inline-block;margin:0px 3px 0px 0px;">
                   [#if eva.check == 1]
                   <img src="${common_static}/static/ui/images/dayprint-y.gif"/>
                   [#else]
                   <img src="${common_static}/static/ui/images/dayprint-m.gif"/>
                   [/#if]
                   </span>${eva.EVA_NAME}
                  [/#list]
                  </td>
                  </tr>
                  [#else]
                  <tr>
                  <td align="left" colspan="3"  >${item.ITEM_NAME}</td>
                  <td align="center" colspan="2"  >
                  [#list item.EVALUATION as eva]
                    <span style="width:13px;height:13px;display:inline-block;margin:0px 3px 0px 0px;">
                   [#if eva.check == 1]
                   <img src="${common_static}/static/ui/images/dayprint-y.gif"/>
                   [#else]
                   <img src="${common_static}/static/ui/images/dayprint-m.gif"/>
                   [/#if]
                   </span>${eva.EVA_NAME}
                  [/#list]
                  </td>
                  </tr>
                  [/#if]
                  [/#list]
                
                [/#list]
                <tr>
                      <td class="nopbot"   colspan="6" >客户评价:</td>
                   </tr>
                   <tr>
                          <td class="noptobo" colspan="6">
                              ${StringUtil.str2Html(customerMap.SUGGESTION)}
                          </td>
                   </tr>
                 <tr>
                      <td class="nopbot"   colspan="6" >审批意见:</td>
                   </tr>
                   <tr>
                          <td class="noptobo" colspan="6">
                              ${StringUtil.str2Html(customerMap.SHENP_NOTE)}
                          </td>
                   </tr>
                   <tr>
                      <td class="noptop" colspan="6">
                          审批人:${customerMap.SHENP_NAME}&nbsp;&nbsp;
                          审批时间:${DateUtil.format("yyyy-MM-dd",customerMap.SHENP_TIME)}&nbsp;&nbsp;
                      </td>
                </tr>
                <tr>
                  <td align="center"    width="12%">客户签字</td>
                  <td align="center" colspan="2" width="38%">${customerMap.CUSTOMER_CONTACT_NAME}</td>
                  <td align="center"    width="10%">日期</td>
                  <td align="center" colspan="2" width="38%">${DateUtil.format("yyyy-MM-dd",customerMap.SUBMIT_TIME)}</td>
                </tr>
                 <tr>
                  <td align="center"   >工程师签字</td>
                  <td align="center" colspan="2"  >${customerMap.USER_NAME}</td>
                  <td align="center"   >日期</td>
                  <td align="center" colspan="2"  >${DateUtil.format("yyyy-MM-dd",customerMap.SUBMIT_TIME)}</td>
                </tr>
                  <tr>
                  <td align="center"    width="10%">调查人</td>
                  <td align="center" colspan="2" >${customerMap.INVEST_USER_NAME}</td>
                  <td align="center"    width="10%">日期</td>
                  <td align="center" colspan="2" >
                  <input  type="text" style="width:30%;" class="reportTable_txt" onclick="showdate('yyyy-MM-dd');" readOnly id="invest_time" name="invest_time" value="${format(DateUtil.getCurrentDate8(),'yyyy-MM-dd')}" /></td>
                </tr>
                 <tr>
                  <td height="80" align="left" colspan="6" width="15%" style="vertical-align:top;"  >调查备注:
                  <textarea class="reportTable_txt"  style="height:50px;margin:5px 6px 8px;" id="satis_note" name="satis_note" ></textarea>
                  </td>
                </tr>
                <tr class="nameTr">
                  <td height="80" align="left" colspan="6" width="15%"  >
                  [#if filelist?size > 0]
                  [#list filelist as file]
                   <a href="javascript:show('${file.FILE_PATH}')">${file.FILE_NAME}</a>
                  [/#list]
                  [/#if]
                  </td>
                </tr>
              </table>
              </form>
</div>
</body>
</html>