Index: ssts-web/src/main/webapp/networkdisk/addFile.jsp =================================================================== diff -u -r17419 -r28826 --- ssts-web/src/main/webapp/networkdisk/addFile.jsp (.../addFile.jsp) (revision 17419) +++ ssts-web/src/main/webapp/networkdisk/addFile.jsp (.../addFile.jsp) (revision 28826) @@ -2,6 +2,8 @@ <%@ include file="/common/taglibs.jsp"%> <%@ page import="com.forgon.security.acls.*"%> <%@ page import="com.forgon.knowledge.model.KnowledgeFile"%> +<%@ page import="com.forgon.knowledge.model.Vo.ReadRecordVo"%> +<%@ page import="java.util.List"%> 创建文件 @@ -70,6 +72,79 @@ } } + function selReaders(WWWROOT){ + var arg = {}; + var userIdsElement = document.getElementById("readers"); + var userNamesElement = document.getElementById("readersForDisplay"); + + arg.userIds = userIdsElement.value; + arg.userNames = userNamesElement.value; + var userIdsArray = arg.userIds.split(";"); + arg.userNamesArray = arg.userNames.split(";"); + var newArr = []; + for(var i=0,k=0;i 0){ + for(var i = 0;i @@ -79,11 +154,14 @@ <% // TODO:需要判断是否有编辑的权限 request.setAttribute("isEditAuthority", true); - + List readRecordVoList = (List)request.getAttribute("readRecords"); + request.setAttribute("readRecordVoList", readRecordVoList); + System.out.println("readRecordVoList" + readRecordVoList.size()); %> - <% request.setAttribute("isEditAuthority", true); %> + <% request.setAttribute("isEditAuthority", true); + %> <% @@ -104,8 +182,8 @@ - +
  • @@ -160,17 +238,16 @@ + + 读者 + + + + + + + <%--暂时屏蔽读者和管理员--%> - <%----%> - <%--读者--%> - <%----%> - <%----%> - <%----%> - <%----%> - <%----%> - <%----%> - <%----%> - <%--暂时屏蔽读者和管理员--%> 管理员 @@ -198,6 +275,27 @@ +
@@ -208,6 +306,10 @@