<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>例行维护执行计划</title>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/business/pages/include/print.html" /]
|
[#include "/component/newupload.html" /]
|
[#include "/component/DatePicker.html" /]
|
[#include "/component/excExport.html" /]
|
</head>
|
|
<body class="fullscreen">
|
[#include "/business/pages/include/header.html" /]
|
[#assign focusLabel = 'lxwhjhbb']
|
[#include "/business/pages/include/remindHeader.html" /]
|
<div class="fs_navpath">
|
<h3>当前位置</h3>
|
<span></span>
|
<a>例行维护</a>
|
<span></span>
|
</div>
|
<div class="check_date">
|
<div class="year_month">
|
<!-- 年份 -->
|
<div class="icon_select">
|
<a class="mainbtn">
|
<span><em year="${year}" id="yearPanel">${year}年</em></span>
|
</a>
|
<div class="ins_con">
|
[#if years?? && years?size>0]
|
[#list years as year]
|
<a year="${year}">${year}年</a>
|
[/#list]
|
[/#if]
|
</div>
|
</div>
|
|
<!-- 月 -->
|
<div class="ym_month">
|
[#list 1..12 as day]
|
[#if day<10]
|
<a href="javascript:queryReport('0${day}');" [#if mon == ("0"+day)]class="focus"[/#if]>0${day}月</a>
|
[#else]
|
<a href="javascript:queryReport('${day}');" [#if mon == day]class="focus"[/#if]>${day}月</a>
|
[/#if]
|
[/#list]
|
</div>
|
</div>
|
</div>
|
|
<div class="check_btn clearfix">
|
<a class="common close" href="javascript:window.close();"><span>关闭</span></a>
|
[@excExp id="printDiv" name="" /]
|
<a class="common print" href="javascript:printA4(2,'printDiv');"><span>打印</span></a>
|
</div>
|
|
<div class="device" id="printDiv" style="padding:0;border:0;">
|
|
<table class="reportTable tablew">
|
<tr class="titleTr">
|
<td colspan="32">${format(month,"yyyy年MM月")}例行维护计划表</td>
|
</tr>
|
<tr class="nameTr">
|
<td colspan="5">${Constants.CUSTOMER_CONSTANTS}名称:${customerName}</td>
|
</tr>
|
<tr>
|
<td class="tdbg" rowspan="2">序号</td>
|
<td class="tdbg" rowspan="2">${Constants.UNIT_CONSTANTS}名称</td>
|
<td class="tdbg" colspan="${days?size}">${format(month,"yyyy年MM月")}</td>
|
</tr>
|
|
<tr>
|
[#list days as day]
|
<td class="tdbg">${DateUtil.format("dd",day)}</td>
|
[/#list]
|
</tr>
|
|
[#if subList?? && subList?size>0]
|
[#list subList as sub]
|
<tr>
|
<td>${sub_index+1}</td>
|
<td>${sub.CUSTOMER_NAME}</td>
|
[#list sub.isMarkList as mark]
|
[#if mark.yzx != 0 || mark.zjh != 0]
|
<td title="已执行/全部" [#if mark.yzx==mark.zjh]class="go_checking"[#else][#if mark.yzx==0]class="have_checked"[#elseif mark.yzx!=0 && mark.yzx!=0]class="checking"[/#if][/#if]><a href="javascript:showPlan('${mark.day}','${sub.ID}')">${mark.yzx}/${mark.zjh}</a></td>
|
[#else]
|
<td></td>
|
[/#if]
|
[/#list]
|
</tr>
|
[/#list]
|
[/#if]
|
<tr>
|
<td colspan="${days?size+2}" align="left" style="border:none;">
|
<b>说明:</b>
|
<font class="go_checking">已全部执行</font>
|
<font class="checking">有未执行</font>
|
<font class="have_checked">全部未执行</font>
|
</td>
|
</tr>
|
|
</table>
|
</div>
|
|
<script type="text/javascript">
|
var customerId = '${customerId}';
|
//var projectId = '${projectId}';
|
|
function queryReport(mon) {
|
var year = $("#yearPanel").attr("year");
|
var month = year+mon;
|
window.location.href="${base}/business/pages/ciremind/orderdeal/getRemindItemSubTimerTaskData.html?customer_id="+customerId+"&month="+month;
|
}
|
|
$(function() {
|
$(".ins_con>a").click(function() {
|
var year = $(this).attr("year");
|
$("#yearPanel").attr("year",year);
|
$("#yearPanel").text(year+"年");
|
});
|
})
|
|
function showPlan(day,subCustomerId) {
|
window.top.openDialog("0","执行计划",
|
{},
|
{"width":85,"height":80},
|
[],
|
"${base}/business/pages/ciremind/orderdeal/remindPlan.html?customerId="+customerId+"&subCustomerId="+subCustomerId+"&day="+day);
|
}
|
|
</script>
|
</body>
|
</html>
|