no commit message

This commit is contained in:
贝密游戏
2017-08-06 22:26:04 +08:00
parent 4c48878acd
commit 2da0b8a44e
76 changed files with 6821 additions and 22 deletions
@@ -0,0 +1,90 @@
<div class="row">
<div class="col-lg-12">
<h1 class="site-h1" style="background-color:#FFFFFF;">
数据表结构列表<#if sysDicList??>${propertiesList?size!''}</#if>
<span style="float:right;">
<a class="layui-btn layui-btn-small layui-btn-danger" href="javascript:void(0)" id="batdel" data-toggle="tip" data-title="删除数据表项同时会删除数据表元数据下的所有内容,请确认是否继续操作”?" title="删除数据表">
批量删除
</a>
</span>
</h1>
<div class="row" style="padding:5px;">
<div class="col-lg-12">
<table class="layui-table" lay-skin="line">
<colgroup>
<col width="1%">
<col width="20%">
<col width="10%">
<col width="10%">
<col width="10%">
<col width="10%">
<col>
</colgroup>
<thead>
<tr>
<th>
<input type="checkbox" id="all" onclick="$('.ids').prop('checked' , $(this).prop('checked'));"/>
</th>
<th>标题</th>
<th>字段</th>
<th>类型</th>
<th>长度</th>
<th>启用字典</th>
<th>禁用导入导出</th>
<th>流程变量</th>
<th style="white-space:nowrap;" nowrap="nowrap">操作</th>
</tr>
</thead>
<tbody>
<#if propertiesList??>
<#list propertiesList as prop>
<tr>
<td style="width:1%;">
<input type="checkbox" class="ids" name="ids" value="${prop.id!''}"/>
</td>
<td>
${prop.name!''}
</td>
<td>${prop.fieldname!''} </td>
<td>${prop.datatypename!''}</td>
<td>${prop.length!''}</td>
<td align="center"><#if prop.seldata == true><i class="layui-icon" title="${prop.seldatacode!''}" class="green">&#xe618;</#if></td>
<td align="center"><#if prop.impfield == true><i class="layui-icon">&#xe618;</#if></td>
<td align="center"><#if prop.systemfield == true><i class="layui-icon">&#xe618;</#if></td>
<td style="white-space:nowrap;width:1%;" nowrap="nowrap">
<a href="/admin/metadata/properties/edit.html?id=${prop.id!''}&p=${metadataList.number+1}" data-width="650" data-height="380" data-toggle="ajax" title="编辑${table.name!''}">
<i class="layui-icon">&#xe642;</i>
编辑
</a>
<a href="/admin/metadata/properties/delete.html?id=${prop.id!''}&tbid=${prop.dbtableid!''}" data-toggle="tip" data-title="删除数据表项同时会删除数据表元数据下的所有内容,请确认是否删除数据表“${prop.name!''}”?" title="删除${prop.name!''}">
<i class="layui-icon" style="color:red;">&#x1006;</i>
删除
</a>
</td>
</tr>
</#list>
</#if>
</tbody>
</table>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function(){
$('#batdel').click(function(){
var ids = "";
$('.ids').each(function(){
if($(this).prop("checked")){
if(ids!=""){
ids += "&" ;
}
ids += "ids=" + $(this).val();
}
});
$('#batdel').attr('href' , '/admin/metadata/properties/batdelete.html?tbid=${tbid!''}&'+ids) ;
});
});
</script>