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
<!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>
    <table>
            <tr class="title">
                 <td style="width:7%">序号</td>
                 <td style="width:20%">分类名称</td>
                 <td style="width:15%">搜索码</td>
                 <td style="width:10%">名称</td>
                 <td style="width:10%">版本</td>
                 <td style="width:10%">操作</td>
            </tr>
    [#if list??&&list?size>0]
            [#list list as dsl]
            <tr>
                <td><input type="hidden" name="dslId" value="${dsl.DSL_ID}">${dsl_index+1}</td>
                <td>${dsl.CATE_NAME}</td>
                <td>${dsl.DSL_SEARCHCODE}</td>
                <td>${dsl.DSL_NAME}</td>
                <td>${dsl.EDITION}</td>
                <td>
                    <a class="blue_txt lb_button" id="version" href="javascript:version('${dsl.DSL_ID}');">版本</a>
                    <a class="blue_txt lb_button" id="info">详情</a>
                </td>
            </tr>
            [/#list]
    [#else]
        <tr>
            <td align="center" colspan="6">暂无信息</td>
        </tr>
    [/#if]
    </table>
</div>
<script type="text/javascript">
    
    function edit(dslId){
        window.top.openDialog("0","dsl修改",
                {},
                {"width":60,"height":55},
                [{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],
                "${base}/business/pages/ciadd/updateDslCi.html?dslId="+dslId);
    }
    
    //查询DSL版本列表
    function version(dslId) {
        window.top.openDialog("Ver","DSL版本",
                         {},
                         {"width":80,"height":80},
                         [],
                         "${base}/business/pages/ciadd/dslVersionCi.html?id="+dslId+"&flowId=${RequestParameters.flowId}");
    }
    
    function addLinkDsl(dslIds,verIds){
        var flowId = '${RequestParameters.flowId}';
        var param = {"flowId":flowId,"dslIds":dslIds,"verIds":verIds};
        $.post("${base}/business/pages/ciadd/addLinkDsl.html",param,function(){
            document.location.reload();
        })
    }
</script>
</body>
</html>