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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
[#include "/business/pages/include/static.html" /]
<title>配置关系</title>
</head>
 
<body>
<div class="table_basic">
    <div class="table_basic_info">
        <div class="tbi_ways">
        </div>
        <div class="tbi_btn">
            <a class="common" href="javascript:addrelation();"><span>增加</span></a>
        </div>    
    </div>
   <div id="main"></div>   
    <div class="paging clearfix" id="pagination"></div>
</div>
<script type="text/javascript">
var ci_Id = '${ci_Id}';
var flowId = '${flowId}';
function query(){
        
        var params = {"flowId":flowId,"ci_Id":ci_Id};
        pagination("${base}/business/pages/change/changecirelationData.html","${base}/business/pages/change/changecirelationCount.html","main","pagination",{psize:10},params,function() {
            eventListWith();
        });
    }
 
    $(function(){
    
       query();
        
    });
    
    
    function delrelation(relationId){
        var param = {"id":relationId};
        window.top.confirmInfo('提示', "确定要删除该关系吗?", function(){
        $.post("${base}/business/pages/change/delrelation.html",param,function(){
            window.top.popupTips('删除成功', 2);
            query();
        })
      })
    }
    
    function editrelation(relationId){
        window.top.openDialog("upd","修改关系",
                 {},
                 {"width":60,"height":60},
                 [{btnId:"btnSure", btnName:"提交", btnStyle:"bluebtn"}],
                 "${base}/business/pages/change/updaterelation.html?id="+relationId);
        
    }
    
    function addrelation(){
        window.top.openDialog("add","增加",
                 {},
                 {"width":80,"height":80},
                 [{btnId:"btnSure", btnName:"提交", btnStyle:"bluebtn"}],
                 "${base}/business/pages/change/relationci.html?ci_Id="+ci_Id+"&flowId="+flowId);
        
    }
    
    
</script>
</body>
</html>