* [task#143866, doing, 0.5h] add instance count in page.

This commit is contained in:
liyang
2025-05-23 09:54:49 +08:00
committed by 刘刚
parent 42ea3c384a
commit f9a667e090
2 changed files with 6 additions and 5 deletions
+5 -4
View File
@@ -43,10 +43,11 @@ class system extends control
$actions = $this->loadModel('action')->getDynamic('all', 'today');
$this->view->title = $this->lang->my->common;
$this->view->instances = $instances;
$this->view->actions = $actions;
$this->view->pager = $pager;
$this->view->title = $this->lang->my->common;
$this->view->instances = $instances;
$this->view->actions = $actions;
$this->view->pager = $pager;
$this->view->instanceTotal = $this->instance->getInstanceCount();
$this->display();
}
+1 -1
View File
@@ -67,7 +67,7 @@ div
div
(
setClass('text-4xl font-semibold text-primary'),
zget($pageInfo, 'recTotal', 0)
zget($pageInfo, 'recTotal', 0) == $instanceTotal ? $instanceTotal : zget($pageInfo, 'recTotal', 0) . '/' . $instanceTotal
),
span
(