|
@@ -571,6 +571,17 @@
|
|
|
self.msgError('计划周期的开始时间与结束时间不能相同')
|
|
|
return
|
|
|
}
|
|
|
+ //交叉检查-督导组成员数量检测
|
|
|
+ if(this.dialogForm.crossCheck){
|
|
|
+ for(let i=0;i<self.supervisorOptions.length;i++){
|
|
|
+ if(self.supervisorOptions[i].groupId == self.dialogForm.checkGroupId){
|
|
|
+ if(self.supervisorOptions[i].peopleNum < 2){
|
|
|
+ self.msgError('督导组成员不足两人,无法使用交叉互检')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
//日期检测
|
|
|
for(let i=0;i<self.dialogForm.checkPlanSetDtoList.length;i++){
|
|
|
if(self.dialogForm.checkPlanSetDtoList[i].checkStartTime == self.dialogForm.checkPlanSetDtoList[i].rectifyDeadline){
|