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

11

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