Commit 55c726b5 by zujiaozhang

修改2019-11-1819:24''

parent 64f23072
......@@ -52,9 +52,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
})
// 用户点击了有
$('.has').on('tap',function(){
examination.flag=true
console.log(examination.flag)
examination.getQuestionAnswer()
examination.flag=true
if(examination.checks==''){
$('.bloodTest').prop('checked',true)
examination.checks = '6'
......@@ -72,7 +71,9 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
})
// 点击下一题
$('.next').on('tap',function(){
console.log(examination.flag)
if(examination.flag){
console.log(examination.checks)
var dataHas = {
"parentId":examination.parentId,
"questionId":examination.questionId,
......@@ -184,7 +185,8 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
break;
}
});
} else{
}
if(res.content.followAnswer.answer.status=='0'){
examination.flag = false
$('.noHas').addClass('active').siblings('.has').removeClass('active')
$('.content_select_no').addClass('active').siblings('.content_select').removeClass('active')
......
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