<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>DSL列表</title>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/dslCateTree.html"/]
|
</head>
|
<body>
|
<div class="fs_main clearfix">
|
<div class="event_fill list_common_select">
|
<table><tr><th width="85%">
|
<div class="fill_item"><label>搜索码:</label><input class="general" type="text" id="dslSearchCode"/></div>
|
<div class="fill_item"><label>DSL名称:</label><input class="general" type="text" id="dslName"/></div>
|
[@dslCateTree textName="categoryName" valueName="categoryId" url="${base}/business/pages/servicelist/dsl/dslCateTree.html" width="200px"/]
|
</th><td width="15%">
|
<a class="retrievebtn" id="reset">重置</a><a class="retrievebtn focus" onclick="query();">查询</a>
|
</td></tr></table>
|
</div>
|
</div>
|
|
|
<div class="fs_main clearfix">
|
<div id="main"></div>
|
<div class="paging clearfix" id="pagination"></div>
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
var proId = '${RequestParameters.proId}';
|
var flowId = '${RequestParameters.flowId}';
|
function query(){
|
var dslIds = '${RequestParameters.dslIds}';
|
var dslSearchCode = $.trim($("#dslSearchCode").val());
|
var dslName = $.trim($("#dslName").val());
|
var dslCate = $.trim($("#dslCate").val());
|
var dslCate = $.trim($("#categoryId").val());
|
var params = {"flowId":flowId,"proId":proId,"dslSearchCode":dslSearchCode,"dslName":dslName,"dslCate":dslCate,"dslIds":dslIds};
|
pagination("${base}/business/pages/ciadd/proDslData.html","${base}/business/pages/ciadd/proDslCount.html","main","pagination",{psize:10},params);
|
}
|
|
function queryStatus(status) {
|
query();
|
}
|
|
$(function() {
|
query();
|
$("#reset").click(function() {
|
window.location.reload(true);
|
});
|
})
|
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
var dslIds = getDslIds();
|
var verIds = getVerIds();
|
window.top.hideDialog(dialogID);
|
window.top.document.getElementById("dslIframe").contentWindow.addLinkDsl(dslIds,verIds);
|
}
|
}
|
|
function getDslIds(){
|
var dslIds = '';
|
$('input[name=selector]:checkbox:checked').each(function(){
|
var dslId = $(this).next().val();
|
if(dslIds==''){
|
dslIds = dslIds + dslId;
|
}else{
|
dslIds = dslIds + ',' + dslId;
|
}
|
});
|
return dslIds;
|
}
|
|
function getVerIds(){
|
var verIds = '';
|
$('input[name=selector]:checkbox:checked').each(function(){
|
var verId = $(this).next().next().val();
|
if($.util.isEmpty(verId)){
|
verId = 'blank';
|
}
|
if(verIds==''){
|
verIds = verIds + verId;
|
}else{
|
verIds = verIds + ',' + verId;
|
}
|
});
|
return verIds;
|
}
|
</script>
|
|
</body>
|
</html>
|