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
<!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">
<link rel="stylesheet" type="text/css" href="${common_static}/static/style/ci/dialog.css"/>
[@new_ui_static_file /]
<title>equipment</title>
 
<script type="text/javascript">
    $(document).ready(function() {
        
        $.formValidator.initConfig({formID:"myform",onError:function(msg){alert(msg)},onSuccess:function(){
            
            if (!confirm('确定提交表单?')){   
                return false;  
            } 
            document.getElementById("myform").target = window.top.openDialog(101,30,30,'操作提示:');
            return true;
        }});
        
    });
   
    function makeWb(ci_id,third_level_id){
        window.top.openDialog(5, 80, 80, '制定维保方案', $.http.getAbsoluteUrl('ciWb.html?ci_id='+ci_id+'&third_level_id='+third_level_id), {
              buttons: [
                  {text: "关闭", _handler: "_closeWin(5)"}
              ]
          });
          return false;
    }
    
    function makeWbDetail(ci_id){
        window.top.openDialog(101, 80, 80, '维保方案详情', $.http.getAbsoluteUrl('ciWbDetail.html?ci_id='+ci_id), {
              buttons: [
                  {text: "关闭", _handler: "_closeWin(101)"}
              ]
          });
          return false;
    }
    
   function _closeWin(){
       window.top.closeDialog(100);
   }
   
   function _onFormSubmit(){
        window.top.openDialog(5, 60, 50, '审批提交', $.http.getAbsoluteUrl('ciAddHealthApprove.html?order_id=${RequestParameters.order_id}&node_id=${RequestParameters.node_id}&flow_id=${RequestParameters.flow_id}'), {
              buttons: [
                  {text: "提交", iconCls: 'icon-add', _handler: "_onFormSubmit()"},
                  {text: "关闭", _handler: "closeWin(5)"}
              ]
          });
          return false;
   }
   
   function _refresh(){
           window.location.reload();
   }
</script>
 
</head>
 
<body>
<div>
    <table width="98%" border="0" class="marginc">
    <tr class="table_title">
           <td colspan="7">
               <div class="floatl">
                   <h3 class="table_identifying">维保方案</h3>
            </div>
       </td>
    </tr>
    <tr class="table_head">
      <td width="5%" align="center">序号</td>
      <td align="center">配置类别</td>
      <td align="center">配置名称</td>
      <td align="center">搜索码</td>
      <td align="center">位置</td>
      <td align="center">维保方案</td>
      <td align="center">操作</td>
    </tr>
    [#list ciList as ci]
    <tr>
      <td align="center">${ci_index+1}</td>
      <td align="center">${ci.THIRD_LEVEL_NAME}</td>
      <td align="center">${ci.CI_NAME}</td>
      <td align="center">${ci.CI_SEARCH_CODE}</td>
      <td>${ci.CI_POSITION}</td>
      <td align="center">${ci.WB_STATE}</td>
      <td align="center">
          <a href="####" onclick="return makeWb('${ci.CI_ID}','${ci.THIRD_LEVEL_ID}')">制定</a>&nbsp;&nbsp;
          <a href="####" onclick="return makeWbDetail('${ci.CI_ID}')">详情</a>
      </td>
    </tr>
    [/#list]
    </table>
</div>
<br>
<form action="" method="post" id="myform" name="myform">
 
<div align="center">
    <input type="submit" id="btnOK" value="提交" style="display:none;"/>
</div>
 
</form>
</body>
</html>