<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ include file="../language.jsp" %>
<script src="../scripts/itsm/problem/leftMenu.js?random=<%=new java.util.Date().getTime()%>"></script>

<script>
setTimeout(function(){
	$.parser.parse($('#fastCreateProblem'));
	$.parser.parse($('#problem_fullSearch'));
},10);

</script>



<div class="musp"><fmt:message key="label.fullsearch.fullsearch" /></div>
<div id="problem_fullSearch">

<table width="96%" border="0" align="center" style="margin-top:5px;margin-bottom:5px">
<tr>
<td>
<input type="radio" value="request" name="lf_problem_fullSearch_type"><fmt:message key="title.mainTab.request" />
<input type="radio" value="problem" name="lf_problem_fullSearch_type" checked><fmt:message key="title.mainTab.problem" />
<input type="radio" value="change" name="lf_problem_fullSearch_type"><fmt:message key="title.mainTab.change" />
</td>
</tr>

<tr>
<td><input class="input" id="lf_problem_fullSearchKeyWord"></td>
</tr>

<tr>
<td><a class="easyui-linkbutton" onclick="itsm.compass.fullSearch.setFullsearchValue('#lf_problem_fullSearchKeyWord','lf_problem_fullSearch_type')" style="border:#99bbe8 1px solid" plain="true" icon="icon-search"><fmt:message key="common.search" /></a></td>
</tr>
</table>

</div>



<sec:authorize url="PROBLEM_MAIN">
	<sec:authorize url="/pages/problem!findProblemPager.action">
<div class="musp"><fmt:message key="label.problem.problemCount" /></div>
<div style="padding: 10px; line-height: 25px">



	<!-- 所有的问题 -->
	<a style="cursor:pointer" onClick="javascript:itsm.problem.problemStats.problemCountSearch('allProblem')"><fmt:message key="label.problem.allProblem"/></a> 
	<span style="color: #F00" id="allProblem">Loading...</span><br />


	<!-- 我提交的问题 -->
	<a style="cursor:pointer" onClick="javascript:itsm.problem.problemStats.problemCountSearch('myProposedProblem')"><fmt:message key="label.problem.myPostProblem"/></a> 
	<span style="color: #F00" id="myProposedProblem">Loading...</span><br />


	<!-- 指派给我的问题 -->
	<a style="cursor:pointer" onClick="javascript:itsm.problem.problemStats.problemCountSearch('assigneeToMyProblem')"><fmt:message key="label.problem.myProcessProblem"/></a> 
	<span style="color: #F00" id="assigneeToMyProblem">Loading...</span><br />

	

	<!-- 指派给我组的问题 -->
	<a style="cursor:pointer" onClick="javascript:itsm.problem.problemStats.problemCountSearch('assigneeGroupProblem')"><fmt:message key="label.problem.myGroupProblem"/></a> 
	<span style="color: #F00" id="assigneeGroupProblem">Loading...</span><br />
	
</div>

</sec:authorize>
</sec:authorize>

<sec:authorize url="/pages/problem!saveProblem.action">
<div class="musp"><fmt:message key="title.mainTab.problem" /> - <fmt:message key="common.fastCreate" /></div>

<div id="fastCreateProblem">
<form>
<table width="96%" border="0" align="center" style="margin-top: 10px">

	<tr>
		<td><fmt:message key="common.title" /></td>
	</tr>
	<tr>
		<td>
			<input name="problemDTO.etitle" id="fastCreateEtitle" class="easyui-validatebox input" required="true" validType="length[1,200]"/>
		</td>
	</tr>
	<tr><td><fmt:message key="common.content" /></td></tr>
	<tr>
		<td>
			<textarea name="problemDTO.edesc" id="fastCreateEdesc" class="easyui-validatebox textarea" required="true" validType="length[5,200]"/></textarea>
		</td>
	</tr>
	<tr>
		<td>
			
			<a id="save_fastCreateProbme_btn" class="easyui-linkbutton" style="border:#99bbe8 1px solid" plain="true" icon="icon-save"><fmt:message key="common.save" /></a>
		</td>
	</tr>
</table>
</form>
</div>
</sec:authorize>
