|  | @ -5,6 +5,7 @@
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | <script>
 |  | <script>
 | 
												
													
														
															|  |     var editorJob={
 |  |     var editorJob={
 | 
												
													
														
															|  | 
 |  |         beforeServeTime:false,
 | 
												
													
														
															|  |         archiveUpload:"com.yihu.ehr.job.service.ArchiveUploadJob",
 |  |         archiveUpload:"com.yihu.ehr.job.service.ArchiveUploadJob",
 | 
												
													
														
															|  |         $form:$("#div_form"),
 |  |         $form:$("#div_form"),
 | 
												
													
														
															|  |         $listPlan:null,//适配方案列表
 |  |         $listPlan:null,//适配方案列表
 | 
												
											
												
													
														
															|  | @ -568,6 +569,15 @@
 | 
												
													
														
															|  |                     //档案上传接口值校验
 |  |                     //档案上传接口值校验
 | 
												
													
														
															|  |                     if($('#jobContentClass').ligerComboBox("getValue")==me.archiveUpload)
 |  |                     if($('#jobContentClass').ligerComboBox("getValue")==me.archiveUpload)
 | 
												
													
														
															|  |                     {
 |  |                     {
 | 
												
													
														
															|  | 
 |  |                         if($("#repeatStartTime").ligerDateEditor("getValue")!="")
 | 
												
													
														
															|  | 
 |  |                         {
 | 
												
													
														
															|  | 
 |  |                             editorJob.compareServeTime($("#repeatStartTime").ligerDateEditor("getValue"));
 | 
												
													
														
															|  | 
 |  |                             if(editorJob.beforeServeTime==true) {
 | 
												
													
														
															|  | 
 |  |                                 return false;
 | 
												
													
														
															|  | 
 |  |                             }
 | 
												
													
														
															|  | 
 |  |                             else
 | 
												
													
														
															|  | 
 |  |                                 return true;
 | 
												
													
														
															|  | 
 |  |                         }
 | 
												
													
														
															|  |                         if(data.jobType == "0") {
 |  |                         if(data.jobType == "0") {
 | 
												
													
														
															|  |                             if($("#repeatStartTime").ligerDateEditor("getValue")==""&&$("#repeatEndTime").ligerDateEditor("getValue")=="")
 |  |                             if($("#repeatStartTime").ligerDateEditor("getValue")==""&&$("#repeatEndTime").ligerDateEditor("getValue")=="")
 | 
												
													
														
															|  |                             {
 |  |                             {
 | 
												
											
												
													
														
															|  | @ -846,7 +856,33 @@
 | 
												
													
														
															|  |                     }
 |  |                     }
 | 
												
													
														
															|  |                 }
 |  |                 }
 | 
												
													
														
															|  |             }
 |  |             }
 | 
												
													
														
															|  |         }
 |  | 
 | 
												
													
														
															|  | 
 |  |         },
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  |         compareServeTime:function(time){
 | 
												
													
														
															|  | 
 |  |             $.ajax({ //获取表的字段列表
 | 
												
													
														
															|  | 
 |  |                 type: "POST",
 | 
												
													
														
															|  | 
 |  |                 url : "${contextRoot}/datacollect/compareServeTime",
 | 
												
													
														
															|  | 
 |  |                 dataType : "json",
 | 
												
													
														
															|  | 
 |  |                 data:{time:time},
 | 
												
													
														
															|  | 
 |  |                 cache:false,
 | 
												
													
														
															|  | 
 |  |                 async:false,
 | 
												
													
														
															|  | 
 |  |                 success :function(data){
 | 
												
													
														
															|  | 
 |  |                     if(data.successFlg) {
 | 
												
													
														
															|  | 
 |  |                         editorJob.beforeServeTime=true;
 | 
												
													
														
															|  | 
 |  |                         $.ligerDialog.error("采集时间不能小于当前时间!");
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  |                     }
 | 
												
													
														
															|  | 
 |  |                     else{
 | 
												
													
														
															|  | 
 |  |                     }
 | 
												
													
														
															|  | 
 |  |                 },
 | 
												
													
														
															|  | 
 |  |                 error :function(data){
 | 
												
													
														
															|  | 
 |  |                     editorJob.beforeServeTime=true;
 | 
												
													
														
															|  | 
 |  |                     $.ligerDialog.error("Status:"+data.status +"(" +data.statusText+")");
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  |                 }
 | 
												
													
														
															|  | 
 |  |             });
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  |         },
 | 
												
													
														
															|  |     }
 |  |     }
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |     $(function () {
 |  |     $(function () {
 |