Browse Source

管理评估参数:查体、辅捡添加

zhouna 5 years ago
parent
commit
ffbcabf16c

+ 2 - 1
src/components/ListItems/index.jsx

@@ -72,7 +72,8 @@ class ListItems extends Component{
       {noPush?'':<p className={style['orderTips']}>按{order?'从左到右从上到下':'点击'}顺序成文</p>}
       {noPush?'':<p className={style['orderTips']}>按{order?'从左到右从上到下':'点击'}顺序成文</p>}
       {this.getLabels()}
       {this.getLabels()}
       {noSearch && <div className="search">
       {noSearch && <div className="search">
-        <SearchBox show={show} pushIds={this.getPushItemIds(pushList)} onSelect={this.searchSelect.bind(this)} onRef={(child)=>{this.child = child;}}/>
+        <input type="text"/>
+        {/*<SearchBox show={show} pushIds={this.getPushItemIds(pushList)} onSelect={this.searchSelect.bind(this)} onRef={(child)=>{this.child = child;}}/>*/}
       </div>}
       </div>}
       <div className="oper clearfix">
       <div className="oper clearfix">
         <span className={style['clear']} onClick={handleClear}>清空选项</span>
         <span className={style['clear']} onClick={handleClear}>清空选项</span>

+ 1 - 1
src/components/MainSuit/index.jsx

@@ -45,7 +45,7 @@ class MainSuit extends Component{
 
 
 
 
   handleFocus(e){
   handleFocus(e){
-    e.stopPropagation();
+    //e.stopPropagation();
     const {getCommonSymptoms,datas,clearDiagnose} = this.props;
     const {getCommonSymptoms,datas,clearDiagnose} = this.props;
     let innerText = e.target.innerText || e.target.innerHTML;//兼容火狐43
     let innerText = e.target.innerText || e.target.innerHTML;//兼容火狐43
     clearDiagnose&&clearDiagnose();//清除复诊数据
     clearDiagnose&&clearDiagnose();//清除复诊数据

+ 3 - 1
src/store/async-actions/fetchModules.js

@@ -238,7 +238,7 @@ export function saveMode(mode){
 //慢病-获取管理评估
 //慢病-获取管理评估
 export function getAssessData(disId,disName){
 export function getAssessData(disId,disName){
   //return ()=>{
   //return ()=>{
-    const emrData = getEMRParams();
+    const emrData = getEMRParams();console.log(emrData)
     const param = {
     const param = {
       diseaseId:disId,
       diseaseId:disId,
       disType:1,
       disType:1,
@@ -248,6 +248,8 @@ export function getAssessData(disId,disName){
       lis:emrData.lis,
       lis:emrData.lis,
       sex:emrData.sex,
       sex:emrData.sex,
       age:emrData.age,
       age:emrData.age,
+      pacs:emrData.pacs,
+      vital:emrData.vital,
       symptom:emrData.current + emrData.main
       symptom:emrData.current + emrData.main
     };
     };
     return json(api.getAssess,param);
     return json(api.getAssess,param);