在jsp页面嵌入java代码让某些div显示或者隐藏

<!--监测评价人显示评价人信息 -->
<% if("D3".equals(role_flag)){%>
<div id="crud">
<!-- remark1 评价人详情-->
<div style="text-align: center">
<div class="crud-small-title" style="margin-bottom: 0px;">
<ul>
<li class="accordion left"><img class="down left"
src="<%=basePath %>css/images/crud-icon02.png" alt="">
<p class="left">评价人评价详情</p></li>
</ul>
</div>
<div>
<form id="bad_survey_remark1" class="easyui-form" method="post" modelAttribute="power">
<table class="crud-content-info datagrid-header datagrid-htable datagrid-cell" id="bad_survey_remark1" style="width: calc(100% - 30px);padding: 0px">
<tr>
<th>关联性评价</th>
<th>评价人</th>
<th>手机号</th>
<th>备注</th>
<th>处理日期</th>
</tr>
<tr>
<td>
<select id="connection_remark" name="connection_remark" disabled="disabled" class="zjyselect">
<option value="0">肯定</option>
<option value="1">很可能</option>
<option value="2">可能</option>
<option value="3">可能无关</option>
<option value="4">待评价</option>
<option value="5">无法评价</option>
</select>
</td>
<td>
<input id="remark_name" type="text" name="remark_name" maxlength="30"
readonly="readonly"
style="cursor: default;text-align: center"/>
</td>
<td>
<input id="remark_phone" type="text" name="remark_phone" maxlength="30"
readonly="readonly"
style="cursor: default;text-align: center"/>
</td>
<td>
<input id="remark" type="text" name="remark" maxlength="30" readonly="readonly"
style="cursor: default;text-align: center"/>
</td>
<td>
<input id="remark_date" type="text" name="remark_date" maxlength="30"
readonly="readonly"
style="cursor: default;text-align: center"/>
</td>
</tr>
</table>
</form>
</div>
</div>
<% }%>

posted @ 2019-12-31 14:24  红尘沙漏  阅读(1673)  评论(0编辑  收藏  举报