|
@@ -178,8 +178,8 @@ function getTreatment(item, dispatch, state,url,params, isChronic) {
|
|
if(adverseEvent[j].conceptId == allAdversReactionList[i].adversReactionList[z].conceptId && adverseEvent[j].name == allAdversReactionList[i].adversReactionList[z].name) {
|
|
if(adverseEvent[j].conceptId == allAdversReactionList[i].adversReactionList[z].conceptId && adverseEvent[j].name == allAdversReactionList[i].adversReactionList[z].name) {
|
|
for(let x = 0; x < allAdversReactionList[i].adversReactionList[z].details.length; x++) {
|
|
for(let x = 0; x < allAdversReactionList[i].adversReactionList[z].details.length; x++) {
|
|
for(let y = 0; y < adverseEvent[j].details.length; y++) {//判断每一项是否选择过
|
|
for(let y = 0; y < adverseEvent[j].details.length; y++) {//判断每一项是否选择过
|
|
- if(allAdversReactionList[i].adversReactionList[z].details[x].name == adverseEvent[j].details[y].name && allAdversReactionList[i].adversReactionList[z].details[x].select) {
|
|
|
|
- adverseEvent[j].details[y].select = allAdversReactionList[i].adversReactionList[z].details[x].select
|
|
|
|
|
|
+ if(allAdversReactionList[i].adversReactionList[z].details[x].name == adverseEvent[j].details[y].name && allAdversReactionList[i].adversReactionList[z].details[x].value == '1') {
|
|
|
|
+ adverseEvent[j].details[y].value = allAdversReactionList[i].adversReactionList[z].details[x].value
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|