|
@@ -93,10 +93,14 @@ |
|
@@ -93,10 +93,14 @@ |
93
|
</select>
|
93
|
</select>
|
94
|
</div>
|
94
|
</div>
|
95
|
<div class="input-group" style="float: left;">
|
95
|
<div class="input-group" style="float: left;">
|
96
|
- <span class="input-group-addon">配置名称:</span>
|
96
|
+ <span class="input-group-addon">配置项:</span>
|
97
|
<input type="text" id="configName" name="configName" class="form-control" placeholder=""/>
|
97
|
<input type="text" id="configName" name="configName" class="form-control" placeholder=""/>
|
98
|
</div>
|
98
|
</div>
|
99
|
<div class="input-group" style="float: left;">
|
99
|
<div class="input-group" style="float: left;">
|
|
|
100
|
+ <span class="input-group-addon">配置名称:</span>
|
|
|
101
|
+ <input type="text" id="configShowName" name="configShowName" class="form-control" placeholder=""/>
|
|
|
102
|
+ </div>
|
|
|
103
|
+ <div class="input-group" style="float: left;">
|
100
|
<span class="input-group-addon">级别:</span>
|
104
|
<span class="input-group-addon">级别:</span>
|
101
|
<select id="level" name="level" class="form-control">
|
105
|
<select id="level" name="level" class="form-control">
|
102
|
<option value="">全部</option>
|
106
|
<option value="">全部</option>
|
|
@@ -135,17 +139,21 @@ |
|
@@ -135,17 +139,21 @@ |
135
|
return defaultLoadFilter(data);
|
139
|
return defaultLoadFilter(data);
|
136
|
},
|
140
|
},
|
137
|
columns: [{
|
141
|
columns: [{
|
138
|
- title: "配置名称",
|
|
|
139
|
- width:"25%",
|
142
|
+ title: "配置项",
|
|
|
143
|
+ width:"20%",
|
140
|
align:"left",
|
144
|
align:"left",
|
141
|
field: "configName"
|
145
|
field: "configName"
|
142
|
}, {
|
146
|
}, {
|
|
|
147
|
+ title: "配置名称",
|
|
|
148
|
+ width:"20%",
|
|
|
149
|
+ field: "configShowName"
|
|
|
150
|
+ }, {
|
143
|
title: "配置描述",
|
151
|
title: "配置描述",
|
144
|
- width:"35%",
|
152
|
+ width:"30%",
|
145
|
field: "configDesc"
|
153
|
field: "configDesc"
|
146
|
}, {
|
154
|
}, {
|
147
|
title: "级别",
|
155
|
title: "级别",
|
148
|
- width:"10%",
|
156
|
+ width:"5%",
|
149
|
field: "level",
|
157
|
field: "level",
|
150
|
formatter : function(value, rowData, rowIndex) {
|
158
|
formatter : function(value, rowData, rowIndex) {
|
151
|
if(value == 1){
|
159
|
if(value == 1){
|
|
@@ -156,7 +164,7 @@ |
|
@@ -156,7 +164,7 @@ |
156
|
},
|
164
|
},
|
157
|
}, {
|
165
|
}, {
|
158
|
title: "图片",
|
166
|
title: "图片",
|
159
|
- width:"10%",
|
167
|
+ width:"5%",
|
160
|
field: "img"
|
168
|
field: "img"
|
161
|
}, {
|
169
|
}, {
|
162
|
title: "开关",
|
170
|
title: "开关",
|
|
@@ -189,6 +197,7 @@ |
|
@@ -189,6 +197,7 @@ |
189
|
function updateDegradeInfo(rowData){
|
197
|
function updateDegradeInfo(rowData){
|
190
|
paramObj.id = rowData.id;
|
198
|
paramObj.id = rowData.id;
|
191
|
paramObj.configName = rowData.configName;
|
199
|
paramObj.configName = rowData.configName;
|
|
|
200
|
+ paramObj.configShowName = rowData.configShowName;
|
192
|
paramObj.configDesc = rowData.configDesc;
|
201
|
paramObj.configDesc = rowData.configDesc;
|
193
|
paramObj.level = rowData.level;
|
202
|
paramObj.level = rowData.level;
|
194
|
paramObj.switchOn = rowData.switchOn;
|
203
|
paramObj.switchOn = rowData.switchOn;
|
|
@@ -260,12 +269,14 @@ function updateDegradeInfo(rowData){ |
|
@@ -260,12 +269,14 @@ function updateDegradeInfo(rowData){ |
260
|
var level = $("#level").val();//=="0"?null:$("#level").val();
|
269
|
var level = $("#level").val();//=="0"?null:$("#level").val();
|
261
|
var cloudType = $("#cloudType").val();
|
270
|
var cloudType = $("#cloudType").val();
|
262
|
var configName=$("#configName").val();
|
271
|
var configName=$("#configName").val();
|
|
|
272
|
+ var configShowName=$("#configShowName").val();
|
263
|
var switchOn= $("#switch").val();//=="0"?null:$("#switch").val();
|
273
|
var switchOn= $("#switch").val();//=="0"?null:$("#switch").val();
|
264
|
|
274
|
|
265
|
$("#degradeInfoTable").table("load", {
|
275
|
$("#degradeInfoTable").table("load", {
|
266
|
'cloudType': cloudType,
|
276
|
'cloudType': cloudType,
|
267
|
'level': level ,
|
277
|
'level': level ,
|
268
|
'configName': configName ,
|
278
|
'configName': configName ,
|
|
|
279
|
+ 'configShowName': configShowName ,
|
269
|
'switchOn' : switchOn
|
280
|
'switchOn' : switchOn
|
270
|
});
|
281
|
});
|
271
|
});
|
282
|
});
|