Revert "* Add background color to metric's table."

This reverts commit 2a5efdbd23.
This commit is contained in:
qixinzhi
2023-12-18 10:53:07 +08:00
parent 75ff3eee9f
commit a339685761
+1 -5
View File
@@ -1625,12 +1625,8 @@ class screenModel extends model
$tableOption = new stdclass();
$tableOption->headers = $isObjectMetric ? $this->getMetricHeaders($groupHeader, $dateType) : array($groupHeader);
$tableOption->data = $groupData;
if($metric->scope != 'system') $tableOption->objectPairs = $this->loadModel('metric')->getPairsByScope($metric->scope);
$tableOption->scope = $metric->scope;
$tableOption->oddBGC = '#173250FF';
$tableOption->evenBGC = '#0B1727FF';
if($metric->scope != 'system') $tableOption->objectPairs = $this->loadModel('metric')->getPairsByScope($metric->scope);
return $tableOption;
}