Commit 59297d60 authored by youjie's avatar youjie

no message

parent 3896d798
...@@ -157,15 +157,7 @@ ...@@ -157,15 +157,7 @@
getTextarea() getTextarea()
var postMsg = []; var postMsg = [];
if (dataList && dataList.length > 0) { if (dataList && dataList.length > 0) {
for(let i=0;i<dataList.length;i++){
if(dataList[i].SurveyType==2||dataList[i].SurveyType==3){
let filter = dataList[i].SurveyOptionsList.filter(x=> {return x.IsCheck=='1'})
if(filter.length==0){
layer.msg("请选择"+dataList[i].Title)
return
}
}
}
dataList.forEach(item => { dataList.forEach(item => {
if(localStorage.TakeoutVersion==1){ if(localStorage.TakeoutVersion==1){
item.c = newMsg.c item.c = newMsg.c
...@@ -202,7 +194,15 @@ ...@@ -202,7 +194,15 @@
postMsg.push(item); postMsg.push(item);
}) })
} }
for(let i=0;i<dataList.length;i++){
if(dataList[i].SurveyType==2||dataList[i].SurveyType==3){
let filter = dataList[i].SurveyOptionsList.filter(x=> {return x.IsCheck=='1'})
if(filter.length==0){
layer.msg("请选择"+dataList[i].Title)
return
}
}
}
postMsg.forEach(item=>{ postMsg.forEach(item=>{
if(item.SurveyType==2||item.SurveyType==3){ if(item.SurveyType==2||item.SurveyType==3){
item.ScoreNum = 0 item.ScoreNum = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment