|
@@ -7,16 +7,23 @@ const { post,config,getUrlArgObject } = require('./js/promise.js');
|
|
|
|
|
|
const {bqtsFun,ybzlFun,cyywFun,knzdFun,jtFun,tjwzFun,tjtgFun,tjhyFun,tjfjFun,yszdFun} = require('./js/indexDom.js');
|
|
|
// symptom: "恶心呕吐腰痛", //胸痛,背痛,恶心,呕吐 //恶心呕吐腰痛 //牙周袋形成
|
|
|
+function getTypes(){
|
|
|
+ if(getUrlArgObject('diseaseId') && getUrlArgObject('diagJson')){
|
|
|
+ return "1,4,5,6,7,8,22"
|
|
|
+ }else{
|
|
|
+ return "1,4,5,6,7,22"
|
|
|
+ }
|
|
|
+}
|
|
|
var msg = {
|
|
|
age: getUrlArgObject('age'),
|
|
|
- diseaseId: getUrlArgObject('diseaseId') || 21773,
|
|
|
+ diseaseId: getUrlArgObject('diseaseId'),
|
|
|
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'),
|
|
|
- featureType: "1,4,5,6,7,8,22",
|
|
|
+ featureType: getTypes(),
|
|
|
other: getUrlArgObject('otherJson') + getUrlArgObject('pastJson'),
|
|
|
hospitalCode:getUrlArgObject('hospitalCode') || ''
|
|
|
}//推送相关信息
|
|
@@ -45,6 +52,9 @@ post(config.pushInner,msg).then((res)=>{
|
|
|
if(num == 0){
|
|
|
$(".conditionHintZhiliaoNull").css("display","block")
|
|
|
}
|
|
|
+ }else{
|
|
|
+ $(".conditionHintZhiliaoNull").css("display","block")
|
|
|
+ $(".treatMedicine").css("display","none")
|
|
|
}
|
|
|
if(result.dis){
|
|
|
var proB = result.dis['可能诊断'] || []//可能
|