Commit a6ca2274 by zujiaozhang

'修改不适症状传参'

parent 5c3e051c
......@@ -226,11 +226,12 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
// 监视选中状态
var list = document.querySelector('.mui-table-view.mui-table-view-radio');
list.addEventListener('selected',function(e){
console.log(e)
console.log(e.detail.el.innerText)
discomfortGeneralPage.symptomScoreVal = e.detail.el.innerText
discomfortGeneralPage.symptomScoreVal = e.detail.el.dataset.title
console.log(discomfortGeneralPage.symptomScoreVal)
// console.log(e.detail.el.dataset.title);
discomfortGeneralPage.symptomScore=e.detail.el.dataset.title
discomfortGeneralPage.symptomScore=e.detail.el.dataset.title+'级'
});
// discomfortGeneralPage.newChecks = discomfortGeneralPage.checks.split(',')
// console.log(discomfortGeneralPage.newChecks)
......@@ -361,7 +362,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
if(res.content.followAnswer.answer.isHandleVal=='是'){
$('.doctorExplanation').show()
}
$('.input_item_symptomScore').val(res.content.followAnswer.answer.symptomScoreVal||'')
$('.input_item_symptomScore').val(res.content.followAnswer.answer.symptomScoreVal+'级'||'')
discomfortGeneralPage.symptomScoreVal = res.content.followAnswer.answer.symptomScoreVal
$('.input_item_happenTime').val(res.content.followAnswer.answer.happenTimeVal||'')
$('.input_item_isRelieve').val(res.content.followAnswer.answer.isRelieveVal||'')
......@@ -392,64 +393,64 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) { 
var questionNo = res.content.previousQuestion.questionNo||''
switch(questionId){
case 14:
medtap.pushWindow('discomfort.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfort.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 15:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 16:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 17:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 18:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 19:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 20:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 21:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 22:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 23:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 24:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 25:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 26:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 27:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 28:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 29:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 30:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 31:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 32:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
case 33:
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId)
medtap.pushWindow('discomfortGeneralPage.html?followUpId='+discomfortGeneralPage.followUpId+'&questionId='+questionId+'&questionNo='+questionNo+'&parentId='+parentId+'&backChecks='+questionId+'&adminId='+discomfortGeneralPage.adminId+'&lastChecks='+discomfortGeneralPage.lastChecks)
break;
}
}
......
......@@ -92,25 +92,25 @@
<button class="mui-btn mui-btn-blue mui-poppicker-btn-ok">确定</button>
</div>
<ul class="mui-table-view mui-table-view-radio" >
<li class="mui-table-view-cell mask_item_first" data-title="1">
<li class="mui-table-view-cell mask_item_first" data-title="1">
<a class="mui-navigate-right">
<span class="mask_title">1级 </span>
<span class="mask_text first"> </span>
</a>
</li>
<li class="mui-table-view-cell mask_item_second" data-title="2">
<li class="mui-table-view-cell mask_item_second" data-title="2">
<a class="mui-navigate-right">
<span class="mask_title">2级 </span>
<span class="mask_text second"></span>
</a>
</li>
<li class="mui-table-view-cell mask_item_three" data-title="3">
<li class="mui-table-view-cell mask_item_three" data-title="3">
<a class="mui-navigate-right">
<span class="mask_title">3级 </span>
<span class="mask_text three"> </span>
</a>
</li>
<li class="mui-table-view-cell mask_item_four" data-title="4">
<li class="mui-table-view-cell mask_item_four" data-title="4">
<a class="mui-navigate-right">
<span class="mask_title">4级 </span>
<span class="mask_text four"> </span>
......
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