|
@@ -32,20 +32,10 @@ export const addDiagMsg = (state, action) => { //选中诊断依据
|
|
|
}
|
|
|
}
|
|
|
tmpLis = [...tmpLis]
|
|
|
- let obj ={};
|
|
|
if(isTcm){
|
|
|
- obj ={
|
|
|
- "tcmDiag":action.item.name, //中医诊断
|
|
|
- "tcmSyndrome": '', //中医症候
|
|
|
- }
|
|
|
- res.otherIndex=obj;
|
|
|
+ res.otherIndex=tmpLis[action.idx];
|
|
|
}else{
|
|
|
- obj ={
|
|
|
- "tcmDiag": '',
|
|
|
- "name": action.item.name,
|
|
|
- "uniqueName": action.item.uniqueName
|
|
|
- }
|
|
|
- res.diseaseName = obj
|
|
|
+ res.diseaseName = tmpLis[action.idx]
|
|
|
}
|
|
|
return res;
|
|
|
}
|