feat:新增endpoint根据状态排序

This commit is contained in:
zhangyu
2020-11-17 17:47:25 +08:00
parent 1c1cafc0bf
commit cc818f67cc

View File

@@ -534,7 +534,7 @@ export const tableSet = {
case 'idc':
return'custom';
case 'state':
if(from === 'project' || from === 'endpointTab' || from === 'operationlog'){
if( from === 'operationlog'){
return false
}else{
return'custom'
@@ -581,6 +581,7 @@ export const tableSet = {
case 'project': return'p.name';
case 'module': return'm.name';
case 'type': return'm.type';
case 'state' :return 'es.state';
// case 'path': return'e.path';
default : return prop;
}
@@ -601,6 +602,7 @@ export const tableSet = {
case 'project': return'p.name';
case 'module': return'm.name';
case 'type': return'm.type';
case 'state' :return 'es.state';
// case 'path': return'e.path';
default : return prop;
}