Commit a6ca2274 by zujiaozhang

'修改不适症状传参'

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