<%@ 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>var problem_fullSearchFlag='${param.fullsearch}';</script>

<script src="../scripts/itsm/problem/problemMain.js?random=<%=new java.util.Date().getTime()%>"></script>

<div class="loading" id="problemMain_loading"><img src="../images/icons/loading.gif" /></div>
<div class="content" id="problemMain_content">

	<table id="problemGrid"></table>
	<div id="problemGridPager"></div>
	<div id="problemGridToolbar" style="display:none">
	
	
	<script type="text/javascript">
	
	var problemMain_edit="";
	var problemMain_delete="";
	
	<sec:authorize url="/pages/problem!editProblemBaseInfo.action">
	problemMain_edit="1";
	</sec:authorize>
	
	<sec:authorize url="/pages/problem!deleteProblem.action">
	problemMain_delete="1";
	</sec:authorize>
	
	
	</script>
	
	
	
	<sec:authorize url="/pages/problem!saveProblem.action">
		<a class="easyui-linkbutton"  plain="true" icon="icon-add" id="problemGrid_add"><fmt:message key="common.add" /></a> 
	</sec:authorize>
	
	<sec:authorize url="/pages/problem!editProblemBaseInfo.action">
		<a class="easyui-linkbutton"  plain="true" icon="icon-edit" id="problemGrid_edit"><fmt:message key="common.edit" /></a> 
	</sec:authorize>
	
	<sec:authorize url="/pages/problem!deleteProblem.action">
		<a class="easyui-linkbutton" plain="true" icon="icon-cancel" id="problemGrid_delete"><fmt:message key="common.delete" /></a> 
	</sec:authorize>
	
	<a class="easyui-linkbutton" plain="true" icon="icon-search" id="problemGrid_search"><fmt:message key="common.search" /></a>
	&nbsp;|&nbsp;<a class="easyui-linkbutton" plain="true" id="problem2change" icon="icon-redo"><fmt:message key="title.change.submit" /></a>
	
	</div>
	
	
<!-- 操作项html -->
<div id="problemGridFormatterDiv" style="display: none;"><a href="JavaScript:itsm.problem.problemMain.problemDetails_aff()" title="<fmt:message key="common.detailInfo" />"><img src="../images/icons/pencil.png" border="0" /></a>&nbsp;&nbsp;<a href="JavaScript:itsm.problem.problemMain.edit_problems_aff()" title="<fmt:message key="common.edit" />"><img src="../images/icons/edit.gif" border="0"/></a>&nbsp;&nbsp;<a href="JavaScript:itsm.problem.problemMain.delete_problems_aff()" title="<fmt:message key="common.delete" />"><img src="../images/icons/delete.gif" border="0"/></a></div>	
	
	
<!-- 搜索问题 -->
<div id="search_problem_window" class="easyui-window" closed="true" collapsible="false" minimizable="false" maximizable="false" modal="false" title="<fmt:message key="title.problem.searchProblem" />" style="width:380px; height:auto">
	<form>
		<div class="lineTableBgDiv">
		  <table style="width:100%" class="lineTable" cellspacing="1">
		  		<tr>
					<td><fmt:message key="label.problem.problemCategory" /></td>
					<td>
						<input type="hidden" id="search_problem_categoryNo" name="queryDTO.categoryNo"/>
						<input id="search_problem_categoryName" name="queryDTO.categoryName"  style="width: 75%" readonly class="choose" >
						<a onclick="cleanIdValue('search_problem_categoryNo','search_problem_categoryName')"><fmt:message key="label.request.clear" /></a>		
					</td>
				</tr>
				<tr>
					<td><fmt:message key="label.problem.problemCode" /></td>
					<td>
						<input id="search_problem_code" name="queryDTO.problemNo" class="input">
					</td>
				</tr>
				
				<tr>
					<td><fmt:message key="label.problem.problemTitle" /></td>
					<td>
						<input id="search_problem_title" name="queryDTO.etitle" class="input" />
					</td>
				</tr>
				<tr>
					<td><fmt:message key="common.state" /></td>
					<td>
						<select id="search_problem_statusNo" name="queryDTO.statusNo" class="input">
						<option value=""></option>
						</select>
					</td>
				</tr>
				<tr>
	  				<td><fmt:message key="label.dateRange" /></td>
	  				<td>
	  					<input id="problem_search_startTime"  name="queryDTO.startTime" class="easyui-datebox"  style="width:80px"/>&nbsp;<fmt:message key="setting.label.to" />
	        			&nbsp;<input id="problem_search_endTime" name="queryDTO.endTime" class="easyui-datebox easyui-validatebox"  style="width:80px" validType="DateComparison['problem_search_startTime']"/>
	  				</td>
	 			</tr>
				<tr>
					<td colspan="2">
						<a id="search_problem_do" class="easyui-linkbutton" icon="icon-search"><fmt:message key="common.search" /></a>
					</td>
				</tr>
			</table>
		</div>
	</form>
</div>

	

</div>
   