|
@@ -5,23 +5,24 @@ require('./popup');
|
|
|
const $ = require("jquery");
|
|
|
const { post,config,getUrlArgObject,openNewWin } = require('./promise.js');
|
|
|
|
|
|
-var msg = {
|
|
|
- age: getUrlArgObject('age'),
|
|
|
- sex: getUrlArgObject('sex') == '男'?1:(getUrlArgObject('sex') == '女'?2:(getUrlArgObject('sex') == '通用'?3:getUrlArgObject('sex'))),
|
|
|
- symptom: getUrlArgObject('symptomJson'),
|
|
|
- vital: getUrlArgObject('vitalJson'),
|
|
|
- lis: getUrlArgObject('lisJson')? JSON.parse(getUrlArgObject('lisJson')) : [],
|
|
|
- pacs: getUrlArgObject('pacsJson'),
|
|
|
- diag: getUrlArgObject('diagJson'),
|
|
|
- diseaseName: getUrlArgObject('diagJson'),
|
|
|
- other: getUrlArgObject('otherJson') + getUrlArgObject('pastJson'),
|
|
|
- hosCode:getUrlArgObject('hospitalCode') || ''
|
|
|
-}//推送相关信息
|
|
|
+// var msg = {
|
|
|
+// age: getUrlArgObject('age'),
|
|
|
+// sex: getUrlArgObject('sex') == '男'?1:(getUrlArgObject('sex') == '女'?2:(getUrlArgObject('sex') == '通用'?3:getUrlArgObject('sex'))),
|
|
|
+// symptom: getUrlArgObject('symptomJson'),
|
|
|
+// vital: getUrlArgObject('vitalJson'),
|
|
|
+// lis: getUrlArgObject('lisJson')? JSON.parse(getUrlArgObject('lisJson')) : [],
|
|
|
+// pacs: getUrlArgObject('pacsJson'),
|
|
|
+// diag: getUrlArgObject('diagJson'),
|
|
|
+// diseaseName: getUrlArgObject('diagJson'),
|
|
|
+// other: getUrlArgObject('otherJson') + getUrlArgObject('pastJson'),
|
|
|
+// hosCode:getUrlArgObject('hospitalCode') || ''
|
|
|
+// }//推送相关信息
|
|
|
+var msg = JSON.parse(getUrlArgObject('msg'))
|
|
|
|
|
|
window.msg = msg
|
|
|
window.pushMessage = {}
|
|
|
|
|
|
-post(config.pushInner,Object.assign({featureType: '22'},msg)).then((res)=>{
|
|
|
+post(config.pushInner,Object.assign(msg,{featureType: '22'})).then((res)=>{
|
|
|
var data = res.data
|
|
|
if(data.code == 0) {
|
|
|
var result = data.data;
|
|
@@ -47,7 +48,6 @@ function bqtsFun(data){//病情提示
|
|
|
}
|
|
|
}
|
|
|
if(hasSritical) {
|
|
|
- console.log('tmpBq.name', tmpBq.name)
|
|
|
tmpBqStr = `<p class="mayIllness">
|
|
|
<span class="sriticalNameBox"><span class="sriticalName">${tmpBq.name}</span>
|
|
|
</span>
|