zhouna před 5 roky
rodič
revize
205ee95dc5
2 změnil soubory, kde provedl 6 přidání a 4 odebrání
  1. 3 2
      src/js/index.js
  2. 3 2
      src/js/indexHorizontal.js

+ 3 - 2
src/js/index.js

@@ -19,13 +19,14 @@ var msg = {
     diag: getUrlArgObject('diagJson'),
     diseaseName: getUrlArgObject('diagJson'),
     other: getUrlArgObject('otherJson') + getUrlArgObject('pastJson'),
-    hosCode:getUrlArgObject('hospitalCode') || ''
+    hosCode:getUrlArgObject('hospitalCode') || '',
+    plan:getUrlArgObject('plan') || '0',
 }//推送相关信息
 //   http://localhost:8082/indexVert.html?age=28&diseaseId=280&lisJson=&diagJson=%E6%80%A5%E6%80%A7%E8%83%B0%E8%85%BA%E7%82%8E&pastJson=%E6%97%A0%E5%BF%83%E8%84%8F%E7%97%85&otherJson=%E6%97%A0%E9%AB%98%E8%A1%80%E5%8E%8B&pacsJson=%E8%85%B9%E9%83%A8B%E8%B6%85:%E6%97%A0%E5%BC%82%E5%B8%B8,%20%E6%8A%A5%E5%91%8A%E6%97%A5%E6%9C%9F:2019-05-07&sex=%E7%94%B7&symptomJson=%E6%81%B6%E5%BF%83%E5%91%95%E5%90%90%E8%85%B0%E7%97%9B&vitalJson=%E8%A1%80%E5%8E%8B%E5%B7%A6%E4%B8%8A%E8%82%A213/12mmHg
 window.msg = msg
 window.pushMessage = {}
 function getConf() {
-  return post(config.getSysSetInfoDatas,{hospitalCode: msg.hosCode}).then((res)=>{
+  return post(config.getSysSetInfoDatas,{hospitalCode: msg.hosCode,plan:msg.plan}).then((res)=>{
         const data = res.data
         if(data.code == 0){
             let confArr = transConf(data.data)

+ 3 - 2
src/js/indexHorizontal.js

@@ -39,13 +39,14 @@ var msg = {
     diag: getUrlArgObject('diagJson'),
     diseaseName: getUrlArgObject('diagJson'),
     other: getUrlArgObject('otherJson') + getUrlArgObject('pastJson'),
-    hosCode:getUrlArgObject('hospitalCode') || ''
+    hosCode:getUrlArgObject('hospitalCode') || '',
+    plan:getUrlArgObject('plan') || '0',
 }//推送相关信息
 //   http://localhost:8082/indexVert.html?age=28&diseaseId=280&lisJson=&diagJson=%E6%80%A5%E6%80%A7%E8%83%B0%E8%85%BA%E7%82%8E&pastJson=%E6%97%A0%E5%BF%83%E8%84%8F%E7%97%85&otherJson=%E6%97%A0%E9%AB%98%E8%A1%80%E5%8E%8B&pacsJson=%E8%85%B9%E9%83%A8B%E8%B6%85:%E6%97%A0%E5%BC%82%E5%B8%B8,%20%E6%8A%A5%E5%91%8A%E6%97%A5%E6%9C%9F:2019-05-07&sex=%E7%94%B7&symptomJson=%E6%81%B6%E5%BF%83%E5%91%95%E5%90%90%E8%85%B0%E7%97%9B&vitalJson=%E8%A1%80%E5%8E%8B%E5%B7%A6%E4%B8%8A%E8%82%A213/12mmHg
 window.msg = msg
 window.pushMessage = {}
 function getConf() {
-  return post(config.getSysSetInfoDatas,{hospitalCode: msg.hosCode}).then((res)=>{
+  return post(config.getSysSetInfoDatas,{hospitalCode: msg.hosCode,plan:msg.plan}).then((res)=>{
       const data = res.data
       if(data.code == 0){
           let confArr = transConf(data.data)