|
@@ -393,10 +393,11 @@
|
|
|
self.form.safeUserId = self.form.safeUserId.join() ;
|
|
|
}
|
|
|
//循环取安全信息牌信息
|
|
|
+
|
|
|
let list=[]
|
|
|
for(let i=0;i<self.safetyInfoList.length;i++){
|
|
|
let list2=[];
|
|
|
- if(self.safetyInfoList[i].privateList.length>0){
|
|
|
+ if(self.safetyInfoList[i].privateList && self.safetyInfoList[i].privateList.length>0){
|
|
|
for(let b=0;b<self.safetyInfoList[i].privateList.length;b++){
|
|
|
list2.push({id:self.safetyInfoList[i].privateList[b]})
|
|
|
}
|
|
@@ -409,6 +410,7 @@
|
|
|
}else{
|
|
|
self.addSubject();
|
|
|
}
|
|
|
+
|
|
|
}).then(() => {}).catch(() => {});
|
|
|
}
|
|
|
})
|