添加排序列

This commit is contained in:
zhangyu
2020-08-07 14:52:53 +08:00
parent c646913cf8
commit 9bf8cb79ad

View File

@@ -491,7 +491,6 @@ export const tableSet = {
sortableShow(prop,from){
switch(prop){
case 'id':
case 'state': if(from === 'project' || from=== 'endpointTab'){return false}
case 'alertRule':
case 'severity':
case 'startAt':
@@ -527,6 +526,8 @@ export const tableSet = {
case 'cmd':
case 'alertName':
case 'threshold':
case 'idc':
case 'state': if(from === 'project' || from === 'endpointTab' || from === 'operationlog'){return false}
return'custom';
default : return false;
}