|
@@ -184,7 +184,7 @@ const getAllDataStringList =(baseList) =>{ //获取所有模块文本
|
|
|
}
|
|
|
|
|
|
// 返回文本信息 转换preview 数据 转为json
|
|
|
-const formatTextInfo = (baseList) =>{
|
|
|
+const formatTextInfo = (baseList) =>{console.log(1,baseList)
|
|
|
// console.log(baseList,'=========baseList==========');
|
|
|
let labelList = {
|
|
|
labelListSmall: [],
|
|
@@ -215,10 +215,15 @@ const formatTextInfo = (baseList) =>{
|
|
|
diseaseName: baseList.diagnosticList.diseaseName,
|
|
|
};
|
|
|
const {otherIndex} = baseList.diagnosticList;
|
|
|
+ const {tcmList} = baseList.diagnosticList;
|
|
|
+ let str = '';
|
|
|
+ tcmList.map((it)=>{
|
|
|
+ str+=it.tcmDiag+"-"+it.tcmSyndrome+','
|
|
|
+ });
|
|
|
let diagnosticTcmList = {
|
|
|
diagnosticList: baseList.diagnosticList.tcmList,
|
|
|
diagnosticStrNoType: otherIndex.tcmDiag+otherIndex.tcmSyndrome,
|
|
|
- diagnosticStr: otherIndex.tcmDiag+otherIndex.tcmSyndrome,
|
|
|
+ diagnosticStr: str,
|
|
|
diseaseName: otherIndex,
|
|
|
};
|
|
|
return {
|
|
@@ -811,7 +816,6 @@ function filterDataArr(arrTmp){ //数据处理
|
|
|
return '';
|
|
|
}
|
|
|
return it.replace(config.punReg,function(word){
|
|
|
- console.log(9898)
|
|
|
return word.substr(0,1);
|
|
|
});
|
|
|
});
|