|
@@ -7,6 +7,7 @@ import {
|
|
|
getAllDataList,
|
|
|
getAllDataStringList,
|
|
|
pushAllDataList,
|
|
|
+ filterDataArr
|
|
|
} from '@utils/tools';
|
|
|
|
|
|
export const saveMessage = (bool) => {
|
|
@@ -25,27 +26,35 @@ export const saveMessage = (bool) => {
|
|
|
"dataJson": JSON.stringify(getAllDataList(baseList)),
|
|
|
"detailList": [{
|
|
|
"content": jsonStr.chief,
|
|
|
+ "contentValue":filterDataArr(JSON.parse(jsonStr.chief)),
|
|
|
"type": 1
|
|
|
}, {
|
|
|
"content": jsonStr.present,
|
|
|
+ "contentValue":filterDataArr(JSON.parse(jsonStr.present)),
|
|
|
"type": 2
|
|
|
}, {
|
|
|
"content": jsonStr.other,
|
|
|
+ "contentValue":filterDataArr(JSON.parse(jsonStr.other)),
|
|
|
"type": 3
|
|
|
}, {
|
|
|
"content": jsonStr.vital,
|
|
|
+ "contentValue":filterDataArr(JSON.parse(jsonStr.vital)),
|
|
|
"type": 4
|
|
|
}, {
|
|
|
"content": jsonStr.lis,
|
|
|
+ "contentValue":jsonStr.lis,
|
|
|
"type": 5
|
|
|
}, {
|
|
|
"content": jsonStr.pacs,
|
|
|
+ "contentValue":jsonStr.pacs,
|
|
|
"type": 6
|
|
|
}, {
|
|
|
"content": jsonStr.diag,
|
|
|
+ "contentValue":jsonStr.diag,
|
|
|
"type": 7
|
|
|
}, {
|
|
|
"content": jsonStr.advice,
|
|
|
+ "contentValue":jsonStr.advice,
|
|
|
"type": 8
|
|
|
}],
|
|
|
"sign": whichSign, //类型0结构化 1文本
|