48 lines
2.0 KiB
PHP
48 lines
2.0 KiB
PHP
<div class="panel">
|
|
|
|
<div class="wrapper-sm">
|
|
<a class="btn btn-info btn-sm" href="{{url('create',['bill_id'=>$bill_id])}}"><i class="icon icon-plus"></i> 新建表单</a>
|
|
<a class="btn btn-info btn-sm" href="{{url('create2',['bill_id'=>$bill_id])}}"><i class="icon icon-plus"></i> 新建列表</a>
|
|
</div>
|
|
|
|
<form method="post" action="{{url()}}" id="myform" name="myform">
|
|
|
|
<div class="wrapper-sm b-t">
|
|
<table class="table table-bordered table-hover m-b-none b-t" id="table-sortable" url="{{url()}}">
|
|
<thead>
|
|
<tr>
|
|
<th align="left">视图名称</th>
|
|
<th align="center">视图类型</th>
|
|
<th align="center">客户端</th>
|
|
<th align="center">权限范围</th>
|
|
<th align="center">ID</th>
|
|
<th align="center"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if($rows)
|
|
@foreach($rows as $row)
|
|
<tr id="{{$row['id']}}">
|
|
<td align="left" class="move">{{$row['name']}}</td>
|
|
<td align="center">{{$row['type']}}</td>
|
|
<td align="center">{{$row['client']}}</td>
|
|
<td align="center">{{$row['receive_name']}}</td>
|
|
<td align="center">{{$row['id']}}</td>
|
|
<td align="center">
|
|
@if($row['type'] == 'list')
|
|
<a class="option" href="{{url('create2',['bill_id'=>$bill_id,'id'=>$row['id']])}}">编辑</a>
|
|
@else
|
|
<a class="option" href="{{url('create',['bill_id'=>$bill_id,'id'=>$row['id']])}}">编辑</a>
|
|
@endif
|
|
@if($row['system'] == 0)
|
|
<a class="option" onclick="app.confirm('{{url('delete',['bill_id'=>$bill_id,'id'=>$row['id']])}}','确定要删除吗?');" href="javascript:;">删除</a>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
@endif
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</div> |