Commit a4516c55 authored by zhengke's avatar zhengke

no message

parent 7fb8d857
......@@ -130,7 +130,6 @@
}
function saveGuestSurvey() {
getTextarea()
$('#submitB').attr('disabled', true)
var postMsg = [];
if (dataList && dataList.length > 0) {
dataList.forEach(item => {
......@@ -159,6 +158,10 @@
var newMsg = {
busDetailsList: postMsg
}
postMsg.forEach(x=>{
if(x.SurveyType==2) console.log(x.ScoreNum,'----')
})
$('#submitB').attr('disabled', true)
$.ajax({
type: "POST",
url: `${getApiUrl().urlPost}`,
......
......@@ -131,7 +131,6 @@
}
function saveGuestSurvey() {
getTextarea()
$('#submitB').attr('disabled', true)
var postMsg = [];
if (dataList && dataList.length > 0) {
dataList.forEach(item => {
......@@ -156,9 +155,15 @@
})
item.ScoreNum = 0;
}
if(item.SurveyType==2) console.log(item,'-------111')
postMsg.push(item);
})
}
postMsg.forEach(x=>{
if(x.SurveyType==2) console.log(x,'-------')
})
return
$('#submitB').attr('disabled', true)
$.ajax({
type: "POST",
url: `${getApiUrl().urlPost}`,
......
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