Commit 25f303d9 authored by 黄奎's avatar 黄奎

11

parent 4da05d19
......@@ -184,7 +184,7 @@
type: "POST",
url: `${getApiUrl().urlPost}`,
contentType: "application/json",
data: getAjaxData("survey_post_GetBusSurveyInfo", {
data: getAjaxData("survey_post_GetGuestSurveyInfo", {
IsShow: 1,
SurveyType: -1
}),
......@@ -315,9 +315,15 @@
if(item.SurveyOptionsList.length>0)item.SurveyOptionsList.forEach((radio,index)=>{
radioList.push(`<div><input type="radio" value="${radio.ID}" name="my_Radio${i+1}" id="my_Radio${i+1}${index+1}"/><span onclick="clickRadio(${i+1}${index+1})">${radio.OptionsName}</span></div>`)
})
if(radioList.length>0) singleChoice = `<div class="FillincommentsSingle">
${radioList}
</div>`
if(radioList.length>0)
{
singleChoice = `<div class="FillincommentsSingle">`
radioList.forEach(rItem=>{
singleChoice+=rItem;
})
singleChoice+=`</div>`
}
}
if(item.SurveyType==3) {
let MultipleList = []
......
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