123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | 设备记录
- |--------------------------------------------------------------------------
- */
- $view
- ->set('Maze::setInput("menu", "4")')
- ->fetch(array('.log-title', 1), '设备日志')
- ->fetch('.tabs@style', '<{Maze::input("type") == 1 ? "margin-left: 20%;" : ""}>')
- ->fetch
- (
- '#log tr',
- 'company/info.device_log',
- array
- (
- 'td|0' => array
- (
- 'html' => '<{date("Y-m-d", $v.sdate)}>',
- ),
-
- 'td|1' => array
- (
- 'html' => '<{$v.info}>',
- ),
-
- 'td|2' => array
- (
- 'html' => '<{$v.name}>',
- ),
-
- 'self' => array
- (
- 'class' => '<{Maze::lace("bg,", $i+1, 2)}>',
- ),
- )
- )
- ->fetch
- (
- '#list tr',
- 'company/info.device_list',
- array
- (
- 'td|0' => array
- (
- 'html' => '<{$v.name}>',
- ),
-
- 'td|1' => array
- (
- 'html' => '<{$v.device}>',
- ),
-
- 'td|2' => array
- (
- 'html' => '<{date("Y-m-d", $v.sdate)}>',
- ),
-
- 'td|3' => array
- (
- 'html' => '<{$v.info}>',
- ),
-
- 'self' => array
- (
- 'class' => '<{Maze::lace("bg,", $i+1, 2)}>',
- ),
- )
- );
- include('inc/device.php');
|