This commit is contained in:
BianLzhaoMin 2025-02-25 17:20:27 +08:00
commit 60a9586cd6
3 changed files with 69 additions and 55 deletions

View File

@ -146,6 +146,15 @@ public class OutsourcerEvaluateServiceImpl implements OutsourcerEvaluateService
childList.add(childMap); childList.add(childMap);
} }
} }
oneList = oneList.stream().distinct().collect(Collectors.toList());
Map<String, Object> upload = new LinkedHashMap<>();
upload.put("title", "操作");
upload.put("mergeType", "rowspan");
upload.put("num", 3);
upload.put("minWidth", 100);
upload.put("field", "examineAndApprove");
oneList.add(upload);
finalList.add(oneList); finalList.add(oneList);
finalList.add(twoList); finalList.add(twoList);
finalList.add(threeList); finalList.add(threeList);
@ -1021,6 +1030,7 @@ public class OutsourcerEvaluateServiceImpl implements OutsourcerEvaluateService
} }
list.add(map); list.add(map);
} }
private void addCollectTitleMap(List<Map<String, Object>> list, String title, String field, int num, int minWidth private void addCollectTitleMap(List<Map<String, Object>> list, String title, String field, int num, int minWidth
, String countType, String standardScore) { , String countType, String standardScore) {
Map<String, Object> map = new LinkedHashMap<>(); Map<String, Object> map = new LinkedHashMap<>();

View File

@ -88,6 +88,9 @@ public class PermissionController {
} }
} }
} }
});
permission.getChild().forEach(cc -> {
cc.getChild().forEach(c -> {
if (c.getHref().equals("pages/evaluate/team/evaluateCheckList.html")) { if (c.getHref().equals("pages/evaluate/team/evaluateCheckList.html")) {
for (TeamEvaluateBean teamEvaluateBean : teamEvaluateBeans) { for (TeamEvaluateBean teamEvaluateBean : teamEvaluateBeans) {
if ("5".equals(loginUser.getRoleId()) || if ("5".equals(loginUser.getRoleId()) ||
@ -109,6 +112,7 @@ public class PermissionController {
} }
} }
}); });
});
} }
return firstLevel; return firstLevel;
} }

View File

@ -2,7 +2,7 @@ initMenu();
function getIsCheckFun(list) { function getIsCheckFun(list) {
if (list && list.length > 0) { if (list && list.length > 0) {
list.forEach((e) => { list.forEach((e) => {
if (e.isCheck == 1) { if (e.isCheck == 1 || e.status == 0) {
console.log("有待审数据", e); console.log("有待审数据", e);
var elements = document.querySelectorAll( var elements = document.querySelectorAll(
"a[lay-id='" + e.id + "']" "a[lay-id='" + e.id + "']"