Areas/Admin/Views/System/Table/EntitiesTable/Index.cshtml
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<div class="main" id="main" v-cloak>
<div class="breadcrumb-box">
<el-breadcrumb separator="/">
<el-breadcrumb-item><i class="el-icon-s-home"></i>系统表管理</el-breadcrumb-item>
</el-breadcrumb>
</div>
<div class="menu-bar-box">
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td align="left">
<el-tooltip class="item" effect="dark" content="添加系统表配置" placement="bottom-start">
<el-button size="small" v-on:click="dialog({title:'添加系统表',url:'@Url.ActionUrl("Add")',width:'680px',height:'80%',target:'self'})">添加</el-button>
</el-tooltip>
</td>
<td align="right">
<el-select size="mini" v-model="searchData.searchField">
<el-option value="name" label="按表名搜索"></el-option>
<el-option value="remark" label="按标识搜索"></el-option>
</el-select>
<el-input type="text" size="mini" maxlength="20" style="width:120px;" v-model.trim="searchData.searchKeyword" clearable v-on:clear="loadData"></el-input>
<el-button size="mini" type="button" onclick="loadData()">确定</el-button>
</td>
</tr>
</table>
</div>
<table border=0 cellpadding=0 cellspacing=0 class="table table-bordered">
<thead>
<tr>
<td align="center">表名</td>
<td align="center">标识</td>
<td align="center">可扩展</td>
<td align="center">删除保护</td>
<td align="center">预定义字段</td>
<td align="center">自定义字段</td>
<td align="center">操作</td>
</tr>
</thead>
<tr class="item list-template-item" v-for="dataItem in dataList">
<td align="center">{{dataItem.Name}}</td>
<td align="center">{{dataItem.Remark}}</td>
<td align="center"><i class="el-icon-check" v-show="dataItem.CanExpand==1"></i><span v-show="dataItem.CanExpand==0">‐</span></td>
<td align="center"><i class="el-icon-check" v-show="dataItem.DeleteProtect==1"></i><span v-show="dataItem.DeleteProtect==0">‐</span></td>
<td align="center">
<el-button type="small" v-on:click="dialog({title:dataItem.Remark+':系统表字段配置',url:'@Url.ActionUrl("Set")?table='+dataItem.Name,target:'self',width:'100%',height:'100%'})">配置</el-button>
</td>
<td align="center">
<el-button type="small" v-on:click="dialog({title:dataItem.Remark+':系统表自定义字段管理',url:'@Url.ActionUrl("Index","Field")?table='+dataItem.Name,target:'self',width:'100%',height:'100%'})" :disabled="dataItem.CanExpand==0">管理</el-button>
</td>
<td align="center">
<el-button-group>
<el-button type="small" v-on:click="dialog({title:dataItem.Remark,url:'@Url.ActionUrl("Edit")?table='+dataItem.Name,width:'680px',height:'80%',target:'self'})">修改</el-button>
<el-button type="small" v-on:click="submit({url:'@Url.ActionUrl("delete")',confirmMsg:'是否确定删除?',data:{table:dataItem.Name},success:function(){deleteItem(dataList,dataItem,'Name')},cancel:isProtected(dataItem.DeleteProtect),cancelMsg:'当前表处于删除保护中,需进入编辑界面取消删除保护'})">删除</el-button>
</el-button-group>
</td>
</tr>
</table>
<span class="lb_norecods" v-show="dataList.length==0">暂无记录!</span>
<ui-page-panel v-model="pageInfo" v-if="pageInfo.RecordCount>0" v-on:change="loadData()"></ui-page-panel>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
