12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <?php
- /*
- |--------------------------------------------------------------------------
- | 设备记录
- |--------------------------------------------------------------------------
- */
- $view
- ->set('Maze::setInput("menu", "4")')
- ->set('Maze::setInput("title", "no")')
- ->fetch(array('.log-title', 1), '设备日志')
- ->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');
|