⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mydictlist.jsp

📁 JAVA实现的中小型企业CRM客户关系管理系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="gbk"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<jsp:directive.page import="com.crm.common.CommUtil"/>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath %>"/>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>所有数据字典列表</title>
<link href="<%=basePath %>skin/default/default.css" rel="stylesheet" type="text/css" />
<script src="<%=basePath %>js/util.js" language="javascript" type="text/javascript"></script>
<script>
	
</script>
</head>

<body class="mainbody">
<table width="100%" border="0" cellspacing="2" cellpadding="0">
  <tr>
    <td class="tdgriud">首页&nbsp;&gt;&gt;&nbsp;系统管理&nbsp;&gt;&gt;&nbsp;数据字典列表</td>
    <td class="tdgriud" align="right">
    <%
	if(CommUtil.hasRight(session,"50101")){
	%>     
    <html:link action="/manage/mydictmanage.do?task=initadd" target="mainframe">新增数据字典信息</html:link>
    <%
    }
    %>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tdborder">
  <tr>
    <td width="8%" class="tdtitle">ID</td>
    <td width="10%" class="tdtitle">显示名称</td>
    <td width="10%" class="tdtitle">隐藏名称</td>
    <td width="10%" class="tdtitle">类别</td>
    <td width="8%" class="tdtitle">管理选项</td>
  </tr>
  <logic:notEmpty name="mydictlist"> 
  <logic:iterate id="mydictinfo" name="mydictlist" indexId="index">
  <tr onmouseover="TdMouseOver(this);" onmouseout="TdMouseOver(this);">
    <td class="tdbg"><bean:write name="mydictinfo" property="id" /></td>
    <td class="tdbg"><bean:write name="mydictinfo" property="fieldname" /></td>
    <td class="tdbg"><bean:write name="mydictinfo" property="fieldcode" /></td>
    <td class="tdbg">
    <logic:empty name="mydictinfo" property="parenttype">&nbsp;</logic:empty>		
    <logic:notEmpty name="mydictinfo" property="parenttype"><bean:write name="mydictinfo" property="parenttype" /></logic:notEmpty>		
    	
    
    </td>
    <td align="center" class="tdbg">
    
    <logic:equal name="mydictinfo" property="canmodify" value="Y" >
                 <%
				if(CommUtil.hasRight(session,"50102")){
			  %> 
    	<html:link action="/manage/mydictmanage.do?task=detail" paramId="id" paramName="mydictinfo" paramProperty="id">修改</html:link>
   				<%} %>
    </logic:equal>
    
     <logic:equal name="mydictinfo" property="canmodify" value="N" >
   		不允许修改
    </logic:equal>  
   </td>
  </tr>
  </logic:iterate> 
  </logic:notEmpty>  
</table>
<logic:present name="pagetool">  
    <bean:write name="pagetool" filter="false"/>
   </logic:present>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -