We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug描述: 在办公管理-通知公告菜单中,选择任意公告点击编辑按钮,弹出窗中类型项下拉菜单,显示值为列表读取的最后一条,并非当前数据对应的类型(如第一条数据“火箭五连败”类型为活动通告,但打开编辑窗口显示为会议通告)。 修复建议: controller部分:在后台读取字典时,对应的setRemark,设置值为“selected”,代码如下: for (DictDO dictDO:dictDOS){ if(type.equals(dictDO.getValue())){ dictDO.setRemarks("selected"); } } html部分:将代码 th:each="oaNotifyType : ${oaNotifyTypes}" th:value="${oaNotifyType.value}" th:text="${oaNotifyType.name}" th:if="${oaNotifyType.remarks ==checked}" th:selected="selected"> 改为: th:each="oaNotifyType : ${oaNotifyTypes}" th:value="${oaNotifyType.value}" th:text="${oaNotifyType.name}" th:selected="${oaNotifyType.remarks}"> 经调试测试,可显示正确的类型项
The text was updated successfully, but these errors were encountered:
No branches or pull requests
bug描述:
在办公管理-通知公告菜单中,选择任意公告点击编辑按钮,弹出窗中类型项下拉菜单,显示值为列表读取的最后一条,并非当前数据对应的类型(如第一条数据“火箭五连败”类型为活动通告,但打开编辑窗口显示为会议通告)。
修复建议:
controller部分:在后台读取字典时,对应的setRemark,设置值为“selected”,代码如下:
for (DictDO dictDO:dictDOS){
if(type.equals(dictDO.getValue())){
dictDO.setRemarks("selected");
}
}
html部分:将代码
th:each="oaNotifyType : ${oaNotifyTypes}" th:value="${oaNotifyType.value}" th:text="${oaNotifyType.name}" th:if="${oaNotifyType.remarks ==checked}" th:selected="selected">
改为:
th:each="oaNotifyType : ${oaNotifyTypes}" th:value="${oaNotifyType.value}" th:text="${oaNotifyType.name}" th:selected="${oaNotifyType.remarks}">
经调试测试,可显示正确的类型项
The text was updated successfully, but these errors were encountered: