页面截取字段和转码,页面截取字段时候需要进入JS

截取字段    ${fn:substring(info.cpflmc,0,20)}${fn:length(info.cpflmc)>40?'...':''}
 
 
        表头list转码<c:if test="${info.qylxjb=='1'}">
                    A
                    </c:if>--%>
                    <%--<c:if test="${info.qylxjb=='2'}">
                    B
                    </c:if>--%>
                    <%--<c:if test="${info.qylxjb=='3'}">
                    C
                    </c:if>
 
 
                view页面中转码      <s:if test='#attr.jyjgModel.sfyx == "1"'>有效</s:if>
             <s:else>无效</s:else>
posted @ 2019-04-12 21:43  那些年的代码  阅读(285)  评论(0编辑  收藏  举报