<html><head><title>批量问卷操作</title>
<meta http-equiv=content-language content=zh-cn>
<meta http-equiv=content-type content="text/html; charset=gb2312">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<LINK href="../CSS/Base.css" rel=stylesheet>
<link href="../CSS/Common.css" rel="stylesheet" type="text/css"/>
<script language=javascript src="../JS/HighLight.js.php"></script>
<script type="text/javascript" src="../JS/Jquery.min.js.php"></script>
<script type="text/javascript" src="../JS/Jquery.notification.js.php"></script>
<link type="text/css" rel="stylesheet" href="../CSS/Notification.css" />
<script language=javascript src="../JS/CheckQuestion.js.php"></script>
<script language=javascript>
function CheckCopy()
{
	if (!CheckNotNull(document.CopyForm.theCopySurveyID, "选择需批量复制的问卷")) {return false;}
	if (!CheckNotNull(document.CopyForm.copyNum, "需复制的数量")) {return false;}
	if (!CheckNumber(document.CopyForm.copyNum, "需复制的数量",1,50)) {return false;}
}
function CheckDeploy()
{
	if (!CheckNotNull(document.DeployForm.theDeploySurveyList, "选择需批量执行的问卷")) {return false;}
	if (!CheckListMaxSelect(document.DeployForm.theDeploySurveyList,"选择需批量执行的问卷",30)){return false;}
}
function CheckDelete()
{
	if (!CheckNotNull(document.DeleteForm.theDeleteSurveyID, "选择需批量删除的问卷")) {return false;}
	if (!CheckListMaxSelect(document.DeleteForm.theDeleteSurveyID,"选择需批量删除的问卷",50)){return false;}
}
</script>
<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<BODY oncontextmenu="return false" style="background-color:#244d8f;">
<div style="line-height:10px">&nbsp;</div>
<div id=nav><a href="../System/ShowMain.php">我的问卷</a> &raquo; 批量问卷操作</div>
<div class="wrap q_clear" id=wrap>
<div>
<div class=content>
<div class=q_clear id=mysurvey><h1>批量问卷操作</h1><br/></div>
<div id=myname></div>
<div class="datalist">
    <form action="" method="post" name="CopyForm" onsubmit="return CheckCopy();">
   <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
       <tr><td bgcolor="#f5f5f5" colspan=2><b>批量复制问卷</b></td></tr>
	   <tr> 
           <td height="25" width=16%><SPAN class=red>*</SPAN> 可复制的问卷列表：</td>
           <td width=84%>
		     <select name="theCopySurveyID" id="theCopySurveyID" size=7 style="width:750px;*width:760px">
			   <option value='' selected>请选择需批量复制的问卷...</option>
			    {copySurveyIDList}
			 </select>
		   </td>
       </tr>
	   <tr><td height="25" width=16%><SPAN class=red>*</SPAN> 需复制的数量：</td>
           <td width=84%><input name="copyNum" id="copyNum" size=11></td>
       </tr></table><table width=100% style="border:0px;">
	   <tr> 
	      <td width=16% style="border:0px;"></td>
	      <td style="border:0px;">
		        <input type="hidden" name="Action" value="BatchCopySubmit">
                <input type="submit" name="submit" class=inputsubmit value="确定" onclick="return window.confirm('您确定需要批量复制选中的调查问卷吗？')"> 
                <input name="back2" type="button" class=inputsubmit value="取消" onClick="javascript:window.location.href='{thisProg}'"> 
          </td>
       </tr>
	</form>
    <form action="" method="post" name="DeployForm" onsubmit="return CheckDeploy();">
    <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
	   <tr><td height="25" colspan=2 bgcolor="#f5f5f5"><strong>&nbsp;批量执行问卷</strong></td></tr>
	   <tr> 
           <td height="25" width=16%><SPAN class=red>*</SPAN> 可执行的问卷列表：</td>
           <td width=84%>
		     <select name="theDeploySurveyList[]" id="theDeploySurveyList" size=11 multiple style="width:750px;*width:760px">
			   <option value='' selected>请选择需批量执行的问卷...</option>
			    {deploySurveyIDList}
			 </select>
		   </td>
       </tr></table><table width=100% style="border:0px;">
       <tr> 
	      <td width=16% style="border:0px;"></td>
	      <td style="border:0px;">
      		   <input type="hidden" name="Action" value="BatchDeploySubmit">
               <input type="submit" name="submit" value="确定" class=inputsubmit onclick="return window.confirm('您确定需要批量把选中的调查问卷转成执行状态吗？')"> 
               <input name="back2" type="button" value="取消" class=inputsubmit onClick="javascript:window.location.href='{thisProg}'"> 
           </td>
       </tr>
    </form>
    <form action="" method="post" name="DeleteForm" onsubmit="return CheckDelete();">
    <table style="LINE-HEIGHT: 150%;border-collapse:collapse;" cellSpacing=0 cellPadding=0 width="100%" borderColor=#b5cfd9 border=1>
	   <tr><td height="25" colspan=2 bgcolor="#f5f5f5"><strong>&nbsp;批量删除问卷</strong></td></tr>
	   <tr> 
           <td height="25" width=16%><SPAN class=red>*</SPAN> 可删除的问卷列表：</td>
           <td width=84%>
		     <select name="theDeleteSurveyID[]" id="theDeleteSurveyID" size=10 multiple style="width:750px;*width:760px">
			   <option value='' selected>请选择需批量删除的问卷...</option>
			    {deleteSurveyIDList}
			 </select>
		   </td>
       </tr></table><table width=100% style="border:0px;">
       <tr> 
	      <td width=16% style="border:0px;"></td>
	      <td style="border:0px;">
      		   <input type="hidden" name="Action" value="BatchDeleteSubmit">
               <input type="submit" name="submit" value="确定" class=inputsubmit onclick="return window.confirm('您确定需要批量删除选中的调查问卷吗？')"> 
               <input name="back2" type="button" value="取消" class=inputsubmit onClick="javascript:window.location.href='{thisProg}'"> 
           </td>
       </tr>
    </form>
 </table>
 <table style="border:0px;margin:0px;">
    <tr> 
     <td style="border:0px;padding-left:0px;"><B><IMG src="../Images/clerk.gif" alt=已封存 border=0></B><strong>：</strong>“批量删除问卷”为防止错误操作产生数据不可恢复的后果，目前仅允许删除“设计”状态的问卷
     </td>
     </tr>
 </table>  
 </div>
</div></div></div>
<script type="text/javascript">initInputHighlightScript();</script> 
<script type="text/javascript" src="../JS/CssPatch.js.php"></script>
</body></html>