init Area full CRUD

This commit is contained in:
2020-10-09 14:19:15 +07:00
parent 5538d74b1b
commit 70db83d3ab
15 changed files with 318 additions and 144 deletions

View File

@@ -1,23 +0,0 @@
<table style="width: 100%;" class="table-bordered table-striped">
<thead>
<tr>
<th>#</th>
<th>Người dùng</th>
<th>Thời gian</th>
<th>Hành động</th>
<th>Chi tiết</th>
</tr>
</thead>
<tbody>
{$count=1}
{foreach from=$logs item=l}
<tr>
<td>{$count++}</td>
<td>{$userArray[$l->user_id]|default:""}</td>
<td>{$l->time|date_format:"%H:%M:%S %d/%m/%Y"}</td>
<td>{$l->action}</td>
<td>{$l->description}</td>
</tr>
{/foreach}
</tbody>
</table>

View File

@@ -1,7 +0,0 @@
<div style="cursor: pointer;">
<i class="fa fa-minus-square-o" onclick="common.tree(this);" data="1" data-stt="true"></i>
<b class="tree tree-drop" data="0">{$root->code}-{$root->name}</b>
<div id="sub-tree-1" style="padding-left: 20px;">
{\app\widgets\Department::widget(["pid"=>1])}
</div>
</div>