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
<!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>