|
@ -26,18 +26,10 @@
|
|
|
checkbox:true,
|
|
|
columns: [
|
|
|
{display: '名称', name: 'name', width: '10%'},
|
|
|
{display: '分类', name: 'type', width: '10%',align: 'center', render: function (rowdata, rowindex, value) {
|
|
|
if(rowdata.type==1 ){
|
|
|
return ' <div style="vertical-align:middle;margin-top: 13px;"><span>完整性 </span></div>';
|
|
|
}else if(rowdata.type==2){
|
|
|
return ' <div style="vertical-align:middle;margin-top: 13px;"><span>及时性 </span></div>';
|
|
|
}else if(rowdata.type==3){
|
|
|
return ' <div style="vertical-align:middle;margin-top: 13px;"><span>准确性 </span></div>';
|
|
|
}
|
|
|
}},
|
|
|
{display: '分类', id: 'type', name: 'type', width: '10%'},
|
|
|
{display: '规则描述', name: 'describe', width: '20%'},
|
|
|
{display: '脚本(或接口)', name: 'rule', width: '20%'},
|
|
|
{display: '统一错误代码', name: 'error_code', width: '20%'
|
|
|
{display: '统一错误代码', id: 'error_code', name: 'error_code', width: '20%'
|
|
|
},
|
|
|
{
|
|
|
display: '操作', name: 'operator', width: '20%', render: function (row) {
|
|
@ -75,19 +67,6 @@
|
|
|
return false;
|
|
|
}
|
|
|
})
|
|
|
$("#valid").ligerComboBox({data : [{"value":"全部","code":""},{"value":"有效","code":"1"},{"value":"无效","code":"0"}],
|
|
|
cancelable:false,
|
|
|
initIsTriggerEvent: false,
|
|
|
onSelected: function (value)
|
|
|
{
|
|
|
if (flag) {
|
|
|
me.reloadGrid();
|
|
|
} else {
|
|
|
flag = true;
|
|
|
}
|
|
|
},
|
|
|
onSuccess:function(data){
|
|
|
}});
|
|
|
$(".l-text").css("display","inline-block");
|
|
|
$(".l-text-wrapper").css("display","inline-block");
|
|
|
|