a标签,单个传值:
field: 'empNo', title: '员工工号', sortable: true, sortName: 'empNo', formatter:function(value, row , index){ value = jp.unescapeHTML(value); <c:choose> <c:when test="${fns:hasPermission('hrm:hrWelfare:edit')}"> return "<a href='/go.html?url=javascript:edit(\""+row.id+"\",\""+row.auditStatus+"\")'>"+value+"</a>"; </c:when> <c:when test="${fns:hasPermission('hrm:hrWelfare:view')}"> return "<a href='/go.html?url=javascript:view(\""+row.id+"\")'>"+value+"</a>"; </c:when> <c:otherwise> return value; </c:otherwise> </c:choose> } field: 'empNo',