<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>基本信息</title>
|
</head>
|
|
<body>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/DatePicker.html" /]
|
|
<div class="fs_main fs_edit">
|
<div class="edit_title"><h3>基本信息</h3></div>
|
<form id="myform" method="post" action="${base}/business/pages/ciremind/orderdeal/ServerDispatch.html">
|
|
|
<table class="edit_layout basicinfo" width="100%">
|
<tr>
|
<th nowrap><label>${Constants.CUSTOMER_CONSTANTS}名称:</label></th>
|
<td><span class="infotxt">${info.customer_name}</span></td>
|
<th nowrap><label>${Constants.UNIT_CONSTANTS}:</label></th>
|
<td><span class="infotxt">${info.sub_customer_name}</span></td>
|
|
|
</tr>
|
|
<tr>
|
<th nowrap><label>联系人:</label></th>
|
<td>
|
<span class="infotxt">${info.contacts_name}</span>
|
</td>
|
<th nowrap><label>联系方式:</label></th>
|
<td>
|
<span class="infotxt">${info.contacts_tel}</span>
|
</td>
|
</tr>
|
<tr>
|
<th style="width:120px"><label>计划巡检时间:</label></th>
|
<td>
|
${DateUtil.format("yyyy-MM-dd",info.plan_execution_date)}
|
</td>
|
<th nowrap style="width:120px"><label>要求完成时间:</label></th>
|
<td>
|
<span class="infotxt">${DateUtil.format("yyyy-MM-dd",info.require_date)}</span>
|
</td>
|
</tr>
|
<tr>
|
<th class="postop" nowrap="nowrap"><label>服务内容说明:</label></th>
|
<td colspan="3">
|
${info.service_content}
|
</td>
|
</tr>
|
|
</table>
|
</form>
|
<br/>
|
<div class="edit_title"><h3>巡检配置</h3></div>
|
<div class="table_basic">
|
<table id="myList">
|
<tr class="title">
|
<td style="width:5%">序号</td>
|
<td style="width:10%">配置名称</td>
|
<td style="width:9%">执行人</td>
|
<td style="width:30%">存放位置</td>
|
<td style="width:6%">状态</td>
|
<td style="width:6%">操作</td>
|
</tr>
|
|
[#if ciList??&&ciList?size>0]
|
[#list ciList as item]
|
<tr>
|
<td>${item_index+1}</td>
|
<td nowrap><!-- ${base}/business/pages/cmdb/propform/viewprop.html?cate=${item.CATEID}&ciId=${item.CIID} -->
|
<a class="blue_txt lb_button" target="_blank" href="${base}/business/pages/cfg/cfgInfoIndex.html?id=${item.CIID}">${item.CINAME}</a>
|
</td>
|
<td nowrap>${item.USER_NAME}</td>
|
<td>${item.POSITION}</td>
|
<td>
|
[#if item.DEAL_STATE==1]
|
已完成
|
[#elseif item.DEAL_STATE==2]
|
未完成
|
[#elseif item.DEAL_STATE==3]
|
未执行
|
[/#if]
|
</td>
|
<td>
|
<input type="hidden" name="patrolId" value="${item.ID}"/>
|
<a class='edit'>明细</a>
|
</td>
|
</tr>
|
[/#list]
|
[#else]
|
<td colspan="6" align="center">暂无信息</td>
|
[/#if]
|
|
</table>
|
</div>
|
|
</div>
|
<script type="text/javascript">
|
|
function formSubmit(executorIds,executorNames,main_executorId,flowNote) {
|
$("#executorIds").val(executorIds);
|
$("#executorNames").val(executorNames);
|
$("#main_executorId").val(main_executorId);
|
$("#flowNote").val(flowNote);
|
$("#myform").submit();
|
}
|
|
$(document).ready(function(){
|
$.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
|
document.getElementById("myform").target = window.top.openDialog("1","操作",
|
{},
|
{"width":40,"height":40},
|
[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
|
//执行巡检
|
$("a.edit").live("click",function() {
|
var patrolId = $(this).parent().find("input[name=patrolId]").val();
|
window.top.openDialog("1","巡检执行",
|
{},
|
{"width":"70","height":"70"},
|
[],
|
"${base}/business/pages/ciremind/orderdeal/remindPatrolInfo.html?patrolId="+patrolId+"&flowId=${RequestParameters.flowId}");
|
});
|
});
|
</script>
|
</body>
|
</html>
|