...
|
...
|
@@ -77,7 +77,7 @@ |
|
|
<div class="widget-box">
|
|
|
<div class="widget-title">
|
|
|
|
|
|
<h5>ZK配置</h5>
|
|
|
<h5>降级服务筛选</h5>
|
|
|
|
|
|
</div>
|
|
|
<div class="widget-content nopadding">
|
...
|
...
|
@@ -101,6 +101,15 @@ |
|
|
<input type="text" id="configShowName" name="configShowName" class="form-control" placeholder=""/>
|
|
|
</div>
|
|
|
<div class="input-group" style="float: left;">
|
|
|
<span class="input-group-addon">功能点:</span>
|
|
|
<select id="functionPoint" name="functionPoint" class="form-control">
|
|
|
<option value="">全部</option>
|
|
|
<c:forEach items="${functionPoints }" var="functionPoint">
|
|
|
<option value="${functionPoint }">${functionPoint }</option>
|
|
|
</c:forEach>
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="input-group" style="float: left;">
|
|
|
<span class="input-group-addon">级别:</span>
|
|
|
<select id="level" name="level" class="form-control">
|
|
|
<option value="">全部</option>
|
...
|
...
|
@@ -149,9 +158,13 @@ |
|
|
field: "configShowName"
|
|
|
}, {
|
|
|
title: "配置描述",
|
|
|
width:"30%",
|
|
|
width:"20%",
|
|
|
field: "configDesc"
|
|
|
}, {
|
|
|
title: "功能点",
|
|
|
width:"20%",
|
|
|
field: "functionPointName"
|
|
|
}, {
|
|
|
title: "级别",
|
|
|
width:"5%",
|
|
|
field: "level",
|
...
|
...
|
@@ -202,6 +215,7 @@ function updateDegradeInfo(rowData){ |
|
|
paramObj.level = rowData.level;
|
|
|
paramObj.switchOn = rowData.switchOn;
|
|
|
paramObj.cloudType = searchCloudType;
|
|
|
paramObj.functionPointName = rowData.functionPointName;
|
|
|
var dialog0 = $("<div>").appendTo($("body"));
|
|
|
dialog0.dialog({
|
|
|
size : "modal-lg",
|
...
|
...
|
@@ -222,10 +236,10 @@ function updateDegradeInfo(rowData){ |
|
|
var btn = $(this);
|
|
|
$(dialog0).dialog("hide");
|
|
|
$("#degradeInfoForm").form("submit", {
|
|
|
submitUrl : contextPath + "/degrade/edit.do",
|
|
|
submitUrl : contextPath + "degrade/edit.do",
|
|
|
submitData : {
|
|
|
id : rowData.id
|
|
|
},
|
|
|
},
|
|
|
onBeforeSubmit : function() {
|
|
|
|
|
|
if (!$(this).form("validate")) {
|
...
|
...
|
@@ -271,7 +285,8 @@ function updateDegradeInfo(rowData){ |
|
|
var cloudType = $("#cloudType").val();
|
|
|
var configName=$("#configName").val();
|
|
|
var configShowName=$("#configShowName").val();
|
|
|
var switchOn= $("#switch").val();//=="0"?null:$("#switch").val();
|
|
|
var switchOn= $("#switch").val();
|
|
|
var functionPointName = $("#functionPoint").val();
|
|
|
searchCloudType = cloudType;
|
|
|
|
|
|
$("#degradeInfoTable").table("load", {
|
...
|
...
|
@@ -279,7 +294,8 @@ function updateDegradeInfo(rowData){ |
|
|
'level': level ,
|
|
|
'configName': configName ,
|
|
|
'configShowName': configShowName ,
|
|
|
'switchOn' : switchOn
|
|
|
'switchOn' : switchOn,
|
|
|
'functionPointName' : functionPointName
|
|
|
});
|
|
|
});
|
|
|
var searchCloudType=$("#cloudType").val();
|
...
|
...
|
|