Commit 072abeb4 by zujiaozhang

'当后天编辑后修改详情页面出现空白问题'

parent d98af351
......@@ -81,7 +81,7 @@ define(['zepto','medtap'],function($,medtap){
'</div>'+
'</div>'
$('.question_two').append(html)
if(questionnaireDetails.queDetailsList[key].movePositionVal==''){
if(!questionnaireDetails.queDetailsList[key].movePositionVal){
$('.content_body2').remove()
}
var imglist = questionnaireDetails.queDetailsList[key].imgKey
......@@ -162,7 +162,7 @@ define(['zepto','medtap'],function($,medtap){
}
break;
case 'question5':
questionnaireDetails.checksList = questionnaireDetails.queDetailsList[key].checks.split(",")
questionnaireDetails.checksList = questionnaireDetails.queDetailsList[key].checks?questionnaireDetails.queDetailsList[key].checks.split(","):[]
if(questionnaireDetails.queDetailsList[key].status=='0'){
var html = '<div class="que_title">检验检查情况:<span class="que_content_title">近一个月未做过以下检验检查</span></div>'+
'<div class="que_content">'+
......@@ -441,7 +441,7 @@ define(['zepto','medtap'],function($,medtap){
break;
case 'question14':
questionnaireDetails.checkList = questionnaireDetails.queDetailsList[key].checks.split(",")
questionnaireDetails.checkList = questionnaireDetails.queDetailsList[key].checks?questionnaireDetails.queDetailsList[key].checks.split(","):[]
if(questionnaireDetails.queDetailsList[key].status=='0'){
var html14 = '<div class="que_content">'+
......
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