<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>执行巡检</title>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/HtmlEditor.html" /]
|
[#include "/component/DatePicker.html" /]
|
[#include "/component/newupload.html" /]
|
<script type="text/javascript">
|
$(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},
|
[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
$("#start_time").formValidator({empty: false, onShow:"请选择开始时间!",onFocus: "开始时间不能为空"}).inputValidator({min: 1,onError: "开始时间不能为空"});
|
|
$("#finish_time").formValidator({empty: false, onShow:"请选择结束时间!",onFocus: "结束时间不能为空"}).inputValidator({min: 1,onError: "结束时间不能为空"});
|
});
|
</script>
|
|
</head>
|
|
<body class="end_task_body">
|
<div class="end_task">
|
<form id="myform" method="post" action="">
|
<input type="hidden" name="patrolCiId" value='${RequestParameters.patrolCiId}'>
|
<input type="hidden" name="flowId" value='${RequestParameters.flowId}'>
|
<table class="basicinfo2">
|
<tr>
|
<th>处理状态:</th>
|
<td>
|
<input class="audit" name="deal_state" [#if info.deal_state==3 || info.deal_state==1]checked="checked"[/#if]" type="radio" value="1"/><span>已完成</span>
|
<input class="audit" name="deal_state" [#if info.deal_state==2]checked="checked"[/#if]" type="radio" value="2"/><span>进行中</span>
|
</td>
|
<th >配置状态:</th>
|
<td>
|
<input class="audit" name="ci_state" [#if !info.ci_state?? || info.ci_state==1]checked="checked"[/#if]" type="radio" value="1"/><span>正常</span>
|
<input class="audit" name="ci_state" [#if info.ci_state==2]checked="checked"[/#if]" type="radio" value="2"/><span>告警</span>
|
<input class="audit" name="ci_state" [#if info.ci_state==3]checked="checked"[/#if]" type="radio" value="3"/><span>异常</span>
|
</td>
|
</tr>
|
|
<tr>
|
<th>开始时间:</th>
|
<td>
|
[@datepicker id="start_time" value="${info.start_time}" class="general" length=14/]
|
<div id="start_timeTip" style="display:inline-block;"></div>
|
</td>
|
<th >结束时间:</th>
|
<td>
|
[@datepicker id="finish_time" value="${info.finish_time}" class="general" length=14/]
|
<div id="finish_timeTip" style="display:inline-block;"></div>
|
</td>
|
</tr>
|
|
|
<tr><th style="text-align:right;">备注:</th>
|
<td colspan="3">
|
<textarea id="order_note" name="order_note" class="general">${info.order_note}</textarea>
|
</td></tr>
|
|
</table>
|
</form>
|
</div>
|
<script type="text/javascript">
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
window.top.confirmInfo('提示', '确定要提交吗?', function(){
|
$("#myform").submit();
|
})
|
}
|
}
|
</script>
|
|
</body>
|
</html>
|