增加权限控制

master
erzhongxmu 2020-04-25 15:44:53 +08:00
parent 087894830d
commit 6719151bb6
2 changed files with 10 additions and 10 deletions

View File

@ -57,24 +57,24 @@
<t:dgCol title="注册日期" field="zhuCeRiQi" formatter="yyyy-MM-dd" hidden="true" queryMode="group" width="120"></t:dgCol> <t:dgCol title="注册日期" field="zhuCeRiQi" formatter="yyyy-MM-dd" hidden="true" queryMode="group" width="120"></t:dgCol>
<t:dgCol title="备注" field="beiZhu" queryMode="group" width="120"></t:dgCol> <t:dgCol title="备注" field="beiZhu" queryMode="group" width="120"></t:dgCol>
<t:dgCol title="操作" field="opt" width="100"></t:dgCol> <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
<t:dgDelOpt title="删除" url="mdCusController.do?doDel&id={id}" urlclass="ace_button" urlfont="fa-trash-o"/> <t:dgDelOpt title="删除" operationCode="mdcusdel" url="mdCusController.do?doDel&id={id}" urlclass="ace_button" urlfont="fa-trash-o"/>
<t:dgToolBar title="录入" icon="icon-add" url="mdCusController.do?goAdd" funname="add"></t:dgToolBar> <t:dgToolBar title="录入" icon="icon-add" url="mdCusController.do?goAdd" funname="add"></t:dgToolBar>
<t:dgToolBar title="编辑" icon="icon-edit" url="mdCusController.do?goUpdate" funname="update"></t:dgToolBar> <t:dgToolBar title="编辑" icon="icon-edit" operationCode="mdcusedit" url="mdCusController.do?goUpdate" funname="update"></t:dgToolBar>
<%-- <t:dgToolBar title="批量删除" icon="icon-remove" url="mdCusController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar> --%> <%-- <t:dgToolBar title="批量删除" icon="icon-remove" url="mdCusController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar> --%>
<t:dgToolBar title="查看" icon="icon-search" url="mdCusController.do?goUpdate" funname="detail"></t:dgToolBar> <t:dgToolBar title="查看" icon="icon-search" url="mdCusController.do?goUpdate" funname="detail"></t:dgToolBar>
<t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar> <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>
<t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar> <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>
<t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar> <%-- <t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar>--%>
</t:datagrid> </t:datagrid>
</div> </div>
</div> </div>
<script src = "webpage/com/zzjee/md/mdCusList.js"></script> <script src = "webpage/com/zzjee/md/mdCusList.js"></script>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function(){ $(document).ready(function(){
}); });
//导入 //导入
function ImportXls() { function ImportXls() {
openuploadwin('Excel导入', 'mdCusController.do?upload', "mdCusList"); openuploadwin('Excel导入', 'mdCusController.do?upload', "mdCusList");
@ -90,4 +90,4 @@ function ExportXlsByT() {
JeecgExcelExport("mdCusController.do?exportXlsByT","mdCusList"); JeecgExcelExport("mdCusController.do?exportXlsByT","mdCusList");
} }
</script> </script>

View File

@ -60,9 +60,9 @@
<t:dgCol title="停用" field="zhuangTai" query="true" dictionary="sf_yn" width="120"></t:dgCol> <t:dgCol title="停用" field="zhuangTai" query="true" dictionary="sf_yn" width="120"></t:dgCol>
<t:dgFunOpt title="打印" funname="doprint(id)" urlclass="ace_button" /> <t:dgFunOpt title="打印" funname="doprint(id)" urlclass="ace_button" />
<t:dgDelOpt title="删除" url="mdGoodsController.do?doDel&id={id}" urlclass="ace_button" urlfont="fa-trash-o"/> <t:dgDelOpt title="删除" operationCode="mdgoodsdel" url="mdGoodsController.do?doDel&id={id}" urlclass="ace_button" urlfont="fa-trash-o"/>
<t:dgToolBar title="录入" icon="icon-add" url="mdGoodsController.do?goAdd" funname="add"></t:dgToolBar> <t:dgToolBar title="录入" icon="icon-add" url="mdGoodsController.do?goAdd" funname="add"></t:dgToolBar>
<t:dgToolBar title="编辑" icon="icon-edit" url="mdGoodsController.do?goUpdate" funname="update"></t:dgToolBar> <t:dgToolBar title="编辑" icon="icon-edit" operationCode="mdgoodsedit" url="mdGoodsController.do?goUpdate" funname="update"></t:dgToolBar>
<%-- <t:dgToolBar title="批量删除" icon="icon-remove" url="mdGoodsController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar> --%> <%-- <t:dgToolBar title="批量删除" icon="icon-remove" url="mdGoodsController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar> --%>
<t:dgToolBar title="查看" icon="icon-search" url="mdGoodsController.do?goUpdate" funname="detail"></t:dgToolBar> <t:dgToolBar title="查看" icon="icon-search" url="mdGoodsController.do?goUpdate" funname="detail"></t:dgToolBar>
<t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar> <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>