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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8" />
<title>${Constants.CUSTOMER_CONSTANTS}例行维护计划</title>
[#include "/business/pages/include/static.html" /]
[#include "/business/pages/include/header.html" /]
[#assign focusLabel = 'LXWHXPZSB']
[#include "/business/pages/customerconfig/slacustomer/ciDailyItemheader.html" /]
</head>
<body style="width:100%;">
 
<div class="fs_navtitle" id="fsNavtitle" style="margin-bottom:15px;">
        <div class="fs_navtitle_con common_list" style="margin:0 15px;">
            <div class="fsnt_btn">
                <a class="operating_conmon" href="javascript:selectItem();"><span>选择配置</span></a>
            </div>
        </div>
</div>
 
<div class="fs_main clearfix">
        
        <table class="display_form common_list_table" style="margin-top:0;">
                        <tr class="title">
                            <td>序列</td>
                            <td width="20%">搜索码</td>
                               <td width="20%">配置名称</td>
                               <td>存放位置</td>
                               <td>${Constants.UNIT_CONSTANTS}</td>
                               <td>操作</td>
                           </tr>
                           [#if ciList?? && ciList?size>0]
                               [#list ciList as ci]
                            <tr>
                                <td>${ci_index+1}</td>
                                   <td><a target="_black" class="blue_txt" href="${base}/business/pages/cfg/cfgInfoIndex.html?id=${ci.ID}" >${ci.SEARCHCODE}</a></td>
                                   <td><a target="_black" class="blue_txt" href="${base}/business/pages/cfg/cfgInfoIndex.html?id=${ci.ID}" >${ci.CINAME}</a></td>
                                   <td>${ci.POSITION}</td>
                                   <td>${ci.SUB_CUS_NAME}</td>
                                   <td>
                                       <a class="blue_txt lb_button" href="javascript:delItem('${ci.ID}','${ci.PROJECT_ITEM_ID}',2);"><span style="border:none;">删除</span></a>
                                   </td>
                               </tr>
                               [/#list]
                        [#else]
                        <tr>
                        <td colspan="7"><div class="loadpos"><span class="nodata"></span></div></td>
                        </tr>
                           [/#if]
                    </table>
</div>
<script type="text/javascript">
    var customerId = '${RequestParameters.customerId}';
    var itemId = '${RequestParameters.itemId}';
    var subId = '${RequestParameters.subId}';
    var categoryId = '${RequestParameters.categoryId}';
    //选择通用指标项
    function selectItem() {
        window.top.openDialog("0","选择配置",
                         {},
                         {"width":90,"height":90},
                         [{btnId:"btnSure", btnName:"提交", btnStyle:"bluebtn"}],
                         "${base}/business/pages/remind/getSubCheckCiList.html?customerId="+customerId+"&subId="+subId+"&itemId="+itemId+"&categoryId="+categoryId);
    }
    function delItem(ciId,itemId,type) {
            var msg = "确定要删除该配置吗?";
            window.top.confirmInfo('信息确认', msg, function(){
               $.post("${base}/business/pages/remind/subRemindCiChange.html", {'ciId':ciId,"type":type,"itemId":itemId},function(data,textStatus){
                  if(data=="1"){
                      window.top.popupTips("操作成功");
                    window.location.reload();
                  } else {
                      window.top.popupTips("操作失败");
                  }
              });
          });
        }
        
    
</script>
 
</body>
</html>