修改意见crud的文字描述,菜单列表新增图表展示
This commit is contained in:
parent
ae67fb2119
commit
72f43b1d7c
@ -23,11 +23,11 @@
|
||||
温馨提示:<br/>
|
||||
1、【<strong>一键CRUD生成代码</strong>】已帮你完成 <strong>60%</strong> 以上的开发工作,以下是生成的文件所在目录。
|
||||
<br/>
|
||||
2、可以系统刷新页面,点击左边的刚刚新增的<strong>菜单</strong>访问相关功能,如需更改菜单左侧图标,请在[系统管理]->[菜单节点]找到对应的菜单编辑修改即可。
|
||||
2、可以刷新系统页面,点击左边的刚刚新增的<strong>菜单</strong>访问相关功能,如需更改菜单左侧图标,请在[系统管理]->[菜单节点]找到对应的菜单编辑修改即可。
|
||||
<br/>
|
||||
3、代码生成以后,不建议删除(除非不需要了),建议在当前的基础上修改及新增开发就可以了,开发方式与传统的开发方式无区别。
|
||||
3、代码生成以后,不建议删除(除非不需要了),建议在当前的基础上修改或新增开发,开发方式与传统的开发方式无区别。
|
||||
<br/>
|
||||
4、CRUD生成的代码是最基础的代码,开发者通过二次开发修改,能使得功能更完善,代码更健壮,特别是逻辑上的处理,以下是二次开发建议。
|
||||
4、CRUD生成的代码是最基础的代码,开发者通过二次开发修改,可能使得功能更完善,代码更健壮,特别是逻辑上的处理,以下是二次开发建议。
|
||||
<br/>
|
||||
5、后端功能开发参考文档 <a href="https://www.kancloud.cn/manual/thinkphp6_0/1037479" target="_blank" class="layui-btn layui-btn-normal layui-btn-xs">ThinkPHP6开发文档</a>,前端页面开发参考文档 <a href="http://admin.gougucms.com" target="_blank" class="layui-btn layui-btn-xs">勾股UI开发文档</a>
|
||||
</td>
|
||||
@ -99,13 +99,13 @@
|
||||
<th style="text-align:center;">字段列名</th>
|
||||
<th style="text-align:center;">字段注释</th>
|
||||
<th style="text-align:center;">数据类型</th>
|
||||
<th class="blue" style="text-align:center;">字段名称</th>
|
||||
<th class="blue" style="text-align:center;">表单字段名称</th>
|
||||
<th class="blue" style="text-align:center;">是否必填</th>
|
||||
<th class="blue" style="text-align:center;">显示类型</th>
|
||||
<th class="green" style="text-align:center;">插入展示</th>
|
||||
<th class="green" style="text-align:center;">编辑展示</th>
|
||||
<th class="green" style="text-align:center;">列表展示</th>
|
||||
<th class="green" style="text-align:center;">查询展示</th>
|
||||
<th class="blue" style="text-align:center;">表单元素类型</th>
|
||||
<th class="green" style="text-align:center;">新增页展示</th>
|
||||
<th class="green" style="text-align:center;">编辑页展示</th>
|
||||
<th class="green" style="text-align:center;">列表页展示</th>
|
||||
<th class="green" style="text-align:center;">查询页展示</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{volist name="columns" id="vo"}
|
||||
@ -129,7 +129,7 @@
|
||||
<td>
|
||||
<select name="{$vo.Field}_type">
|
||||
<option value="input" selected="">文本框</option>
|
||||
<option value="textarea">文本域</option>
|
||||
<option value="textarea">多行文本</option>
|
||||
<option value="select">下拉框</option>
|
||||
<option value="radio">单选框</option>
|
||||
<option value="checkbox">复选框</option>
|
||||
@ -240,19 +240,19 @@
|
||||
return false;
|
||||
}
|
||||
if(crud_a.length==0 && isPost == true){
|
||||
layer.msg('插入展示不能为空');
|
||||
layer.msg('新增页展示不能为空');
|
||||
return false;
|
||||
}
|
||||
if(crud_e.length==0 && isPost == true){
|
||||
layer.msg('编辑展示不能为空');
|
||||
layer.msg('编辑页展示不能为空');
|
||||
return false;
|
||||
}
|
||||
if(crud_r.length==0 && isPost == true){
|
||||
layer.msg('查看展示不能为空');
|
||||
layer.msg('查看页展示不能为空');
|
||||
return false;
|
||||
}
|
||||
if(crud_l.length==0 && isPost == true){
|
||||
layer.msg('列表展示不能为空');
|
||||
layer.msg('列表页展示不能为空');
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -274,7 +274,6 @@
|
||||
}
|
||||
}
|
||||
if(isPost == true){
|
||||
//location.href='/admin/crud/crud?file=file&name=附件';
|
||||
tool.post("/admin/crud/crud", {field:data.field.field,name:data.field.name,crud_v:crud_v,crud_a:crud_a,crud_e:crud_e,crud_r:crud_r,crud_l:crud_l}, callback);
|
||||
}
|
||||
return false;
|
||||
|
@ -30,6 +30,10 @@
|
||||
, cols: [[
|
||||
{ field: 'id', width: 80, title: 'ID号', align: 'center' }
|
||||
, { field: 'sort', width: 60, title: '排序', align: 'center' }
|
||||
,{field:'icon',title: '菜单图标',width: 80, align: 'center' ,templet: function(d){
|
||||
var html='<strong class="bi '+d.icon+'"></strong>';
|
||||
return html;
|
||||
}}
|
||||
, { field: 'title', width: 160, title: '菜单/节点名称' }
|
||||
, { field: 'pid', title: '父ID', width: 80, align: 'center' }
|
||||
, { field: 'src', title: 'URL链接' }
|
||||
|
Loading…
x
Reference in New Issue
Block a user