...
|
...
|
@@ -93,10 +93,14 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="input-group" style="float: left;">
|
|
|
<span class="input-group-addon">配置名称:</span>
|
|
|
<span class="input-group-addon">配置项:</span>
|
|
|
<input type="text" id="configName" name="configName" class="form-control" placeholder=""/>
|
|
|
</div>
|
|
|
<div class="input-group" style="float: left;">
|
|
|
<span class="input-group-addon">配置名称:</span>
|
|
|
<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="level" name="level" class="form-control">
|
|
|
<option value="">全部</option>
|
...
|
...
|
@@ -135,17 +139,21 @@ |
|
|
return defaultLoadFilter(data);
|
|
|
},
|
|
|
columns: [{
|
|
|
title: "配置名称",
|
|
|
width:"25%",
|
|
|
title: "配置项",
|
|
|
width:"20%",
|
|
|
align:"left",
|
|
|
field: "configName"
|
|
|
}, {
|
|
|
title: "配置名称",
|
|
|
width:"20%",
|
|
|
field: "configShowName"
|
|
|
}, {
|
|
|
title: "配置描述",
|
|
|
width:"35%",
|
|
|
width:"30%",
|
|
|
field: "configDesc"
|
|
|
}, {
|
|
|
title: "级别",
|
|
|
width:"10%",
|
|
|
width:"5%",
|
|
|
field: "level",
|
|
|
formatter : function(value, rowData, rowIndex) {
|
|
|
if(value == 1){
|
...
|
...
|
@@ -156,7 +164,7 @@ |
|
|
},
|
|
|
}, {
|
|
|
title: "图片",
|
|
|
width:"10%",
|
|
|
width:"5%",
|
|
|
field: "img"
|
|
|
}, {
|
|
|
title: "开关",
|
...
|
...
|
@@ -189,6 +197,7 @@ |
|
|
function updateDegradeInfo(rowData){
|
|
|
paramObj.id = rowData.id;
|
|
|
paramObj.configName = rowData.configName;
|
|
|
paramObj.configShowName = rowData.configShowName;
|
|
|
paramObj.configDesc = rowData.configDesc;
|
|
|
paramObj.level = rowData.level;
|
|
|
paramObj.switchOn = rowData.switchOn;
|
...
|
...
|
@@ -260,12 +269,14 @@ function updateDegradeInfo(rowData){ |
|
|
var level = $("#level").val();//=="0"?null:$("#level").val();
|
|
|
var cloudType = $("#cloudType").val();
|
|
|
var configName=$("#configName").val();
|
|
|
var configShowName=$("#configShowName").val();
|
|
|
var switchOn= $("#switch").val();//=="0"?null:$("#switch").val();
|
|
|
|
|
|
$("#degradeInfoTable").table("load", {
|
|
|
'cloudType': cloudType,
|
|
|
'level': level ,
|
|
|
'configName': configName ,
|
|
|
'configShowName': configShowName ,
|
|
|
'switchOn' : switchOn
|
|
|
});
|
|
|
});
|
...
|
...
|
|