<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../language.jsp" %>

  
<script src="../scripts/itsm/knowledge/addKnowledge.js?random=<%=new java.util.Date().getTime()%>"></script>
 
<div style="padding:10px;" id="addKnowledge_loading"><img src="../images/icons/loading.gif" /></div>




	<!-- 新的面板 start-->
	
	<div id="addKnowledge_contentPanel" class="easyui-panel" fit="true" border="none" style="padding:3px;display:none">
	
	
	<div class="easyui-layout" fit="true">
	
	
		<div region="north" border="false" class="panelTop">
		
			<a id="saveKnowledgeBtn" class="easyui-linkbutton" plain="true" icon="icon-save" style="margin-right:15px"><fmt:message key="common.save" /></a>
			<a class="easyui-linkbutton" plain="true" icon="icon-undo" style="margin-right:15px" id="add_backToKnowledgeIndex"><fmt:message key="common.returnToList" /></a>
		
		</div>
		
		
		<div region="west" id="addKnowledgePanel" split="true" title="<fmt:message key="common.baseInformation" />" style="width:400px;">
		
			
			<!-- 知识基本信息 -->
			
			<form>
         <div class="lineTableBgDiv" style="width: 98%">
		<table style="width:100%" class="lineTable" cellspacing="1">
            <tr>
              <td style="width:20%"><fmt:message key="knowledge.label.knowledgeTitle" /></td>
              <td style="width:80%"><input name="knowledgeDto.title" id="addKnowledge_title" value="${requestDetailDTO.etitle}" style="width:255px"></input></td>
            </tr>
            <tr>
              
              <td><fmt:message key="knowledge.label.knowledgeSort" /></td>
              
              <td>
              	<input type=hidden name="knowledgeDto.categoryNo" id="addKnowledge_categoryNo">
              	
              	<input id="addKnowledge_Category"  style="width:255px;cursor:pointer" readonly/>
              	
              	<div id="addKnowledge_CategoryDiv" class="easyui-panel" closed="true"  style="position:absolute;float:left;width:260px;height:300px;background-color:#FFF">
</div>
              	
           	  </td>
           	  
           	 </tr> 
           	 
           
           
            <tr>
              <td><fmt:message key="label.keywords" /></td>
              <td><input id="addKnowledge_keyWords" name="knowledgeDto.keyWords"  style="width:255px" /></td>
            </tr>
            
              <tr>
              <td><fmt:message key="common.attachment" /></td>
              <td valign="top">
              
              <input type="file"  name="filedata" id="addKnowledge_uploadAttachments">
              
				  <div style="padding-top:3px">
	              <a class="easyui-linkbutton" icon="icon-ok" href="javascript:$('#addKnowledge_uploadAttachments').uploadifyUpload()" ><fmt:message key="label.attachment.upload" /></a>
	              </div>
	              
	              <div id="addKnowledge_olduploadedAttachments" style="line-height:25px;color:#555"></div>
				
              <div id="addKnowledge_fileQueue"></div>  
              <input type="hidden" name="knowledgeDto.attachmentStr" id="addKnowledge_attachments"/>
              
              <textarea id="addKnowledge_Content" name="knowledgeDto.content" style="display:none"></textarea>
	              
              </td>
              </tr>

          </table>
          </div>

          </form>

			
		</div>
		


		<div region="center" title="<fmt:message key="knowledge.label.knowledgeDetails" />" style="padding:3px">
		
		 <textarea id="addKnowledgeCon" style="width:100%;height:340px">${requestDetailDTO.solutions}</textarea>
		
		
		</div>	

	</div>
	
</div>



  <div id="addKnowledgeAttrs" class="easyui-window"  closed="true" collapsible="false" minimizable="false" maximizable="false" modal="true" title="<fmt:message key="common.edit" /><fmt:message key="knowledge.knowledge" />" style="width:660px;height:510px;padding:10px; line-height:20px;">
  </div>
