|
@@ -20,12 +20,19 @@ export const saveMessage = (bool) => {
|
|
const lisData = baseList.inspect.pushItem;
|
|
const lisData = baseList.inspect.pushItem;
|
|
const lisArr = transferIndexData(lisData);
|
|
const lisArr = transferIndexData(lisData);
|
|
const haveAssess = Object.keys(baseList.assessResult.data).length>0;
|
|
const haveAssess = Object.keys(baseList.assessResult.data).length>0;
|
|
|
|
+ let otherData = {}
|
|
const evaluation={
|
|
const evaluation={
|
|
htmlContent:haveAssess?JSON.stringify(getEvaluations(baseList.assessResult,pushMessage)):'{}',
|
|
htmlContent:haveAssess?JSON.stringify(getEvaluations(baseList.assessResult,pushMessage)):'{}',
|
|
//scaleList:[]
|
|
//scaleList:[]
|
|
};//getEvaluation();
|
|
};//getEvaluation();
|
|
//console.log(baseList)
|
|
//console.log(baseList)
|
|
// console.log(jsonStr.diag,'保存历史病历')
|
|
// console.log(jsonStr.diag,'保存历史病历')
|
|
|
|
+ otherData['yjs_1']=jsonData['yjs_1']
|
|
|
|
+ otherData['yjs_2']=jsonData['yjs_2']
|
|
|
|
+ otherData['yjs_3']=jsonData['yjs_3']
|
|
|
|
+ otherData['yjs_4']=jsonData['yjs_4']
|
|
|
|
+ otherData['haveAssess']=haveAssess
|
|
|
|
+ console.log(otherData,787878787)
|
|
json('/inquiryInfo/saveInquiry', {
|
|
json('/inquiryInfo/saveInquiry', {
|
|
"doctorId": state.doctorId,
|
|
"doctorId": state.doctorId,
|
|
"hospitalDeptId": state.hospitalDeptId,
|
|
"hospitalDeptId": state.hospitalDeptId,
|
|
@@ -37,34 +44,42 @@ export const saveMessage = (bool) => {
|
|
"detailList": [{
|
|
"detailList": [{
|
|
"content": jsonStr.chief,
|
|
"content": jsonStr.chief,
|
|
"contentValue":filterDataArr(JSON.parse(jsonStr.chief)),
|
|
"contentValue":filterDataArr(JSON.parse(jsonStr.chief)),
|
|
|
|
+ "contentJson":'',
|
|
"type": 1
|
|
"type": 1
|
|
}, {
|
|
}, {
|
|
"content": jsonStr.present,
|
|
"content": jsonStr.present,
|
|
"contentValue":filterDataArr(JSON.parse(jsonStr.present)),
|
|
"contentValue":filterDataArr(JSON.parse(jsonStr.present)),
|
|
|
|
+ "contentJson":'',
|
|
"type": 2
|
|
"type": 2
|
|
}, {
|
|
}, {
|
|
"content": jsonStr.other,
|
|
"content": jsonStr.other,
|
|
"contentValue":filterDataArr(JSON.parse(jsonStr.other)),
|
|
"contentValue":filterDataArr(JSON.parse(jsonStr.other)),
|
|
|
|
+ "contentJson":JSON.stringify(otherData),
|
|
"type": 3
|
|
"type": 3
|
|
}, {
|
|
}, {
|
|
"content": jsonStr.vital,
|
|
"content": jsonStr.vital,
|
|
"contentValue":filterDataArr(JSON.parse(jsonStr.vital)),
|
|
"contentValue":filterDataArr(JSON.parse(jsonStr.vital)),
|
|
|
|
+ "contentJson":'',
|
|
"type": 4
|
|
"type": 4
|
|
}, {
|
|
}, {
|
|
"content": jsonStr.lis,
|
|
"content": jsonStr.lis,
|
|
"contentValue":jsonStr.lis,
|
|
"contentValue":jsonStr.lis,
|
|
|
|
+ "contentJson":'',
|
|
"type": 5
|
|
"type": 5
|
|
}, {
|
|
}, {
|
|
"content": jsonStr.pacs,
|
|
"content": jsonStr.pacs,
|
|
"contentValue":jsonStr.pacs,
|
|
"contentValue":jsonStr.pacs,
|
|
|
|
+ "contentJson":'',
|
|
"type": 6
|
|
"type": 6
|
|
}, {
|
|
}, {
|
|
"content": jsonStr.diag,
|
|
"content": jsonStr.diag,
|
|
"contentValue":jsonStr.diag,
|
|
"contentValue":jsonStr.diag,
|
|
|
|
+ "contentJson":'',
|
|
"type": 7
|
|
"type": 7
|
|
}, {
|
|
}, {
|
|
"content": jsonStr.advice,
|
|
"content": jsonStr.advice,
|
|
"contentValue":jsonStr.advice,
|
|
"contentValue":jsonStr.advice,
|
|
|
|
+ "contentJson":'',
|
|
"type": 8
|
|
"type": 8
|
|
}],
|
|
}],
|
|
"sign": whichSign, //类型0结构化 1文本
|
|
"sign": whichSign, //类型0结构化 1文本
|