luolei před 4 roky
rodič
revize
d8517910cf

+ 2 - 2
src/components/Banner/index.jsx

@@ -121,14 +121,14 @@ class Banner extends Component {
                       <img className={`${style["st"]} ${style["his"]}`} src={emergIcon} />
                       <i>本科室近期全部病历</i>
                     </div>:''}
-          {pre == 1?<div className={style.prec} onClick={()=>preShow(show)}>
+          {/* {pre == 1?<div className={style.prec} onClick={()=>preShow(show)}>
             <img className={style["st"]} src={prec} alt="预问诊"/>
             <i> 预问诊信息</i>
           </div>:null}
           <div className={style["buon1"]} onClick={showConfigModal}>
             <img className={style["st"]} src={setup} />
             <i> 设置</i>
-          </div>
+          </div> */}
         </div>
         {visible&& <ModeChange
           {...this.state}

+ 14 - 13
src/components/PushContainer/index.jsx

@@ -28,17 +28,17 @@ class PushContainer extends Component {
     this.state = {
       data: null,
       tabs: [{
-        title: '辅助信息',
-        disabled: true
-      },
+          title: '辅助信息',
+          disabled: true
+        },
+        //   {
+        //     title: '病历质控',
+        //   }, {
+        //   title: '模板',
+        // },
         {
-          title: '病历质控',
-        }, {
-        title: '模板',
-      },
-      {
-        title: '医学知识',
-      }
+          title: '医学知识',
+        }
       ],
       visible: false,
       message: '',                 //提示的内容
@@ -111,6 +111,7 @@ class PushContainer extends Component {
    */
   handleActiveClick(id) {
     store.dispatch(allCheckedShowAdmin(false))
+    console.log(id,'aaaaaaa')
     if (id == '2') {
         document.getElementById("searchTmp").value = ""
       // let searchVal = document.getElementById("searchTmp").value
@@ -594,8 +595,8 @@ class PushContainer extends Component {
       >
         <TemplateContainer activeId={activeId}>
           <PushItemsContainer></PushItemsContainer>
-          <CaseQuailty></CaseQuailty>
-          <TemplateItems
+          {/* <CaseQuailty></CaseQuailty> */}
+          {/* <TemplateItems
             items={items}
             clearSearch={clearSearch}
             adminItems={adminItems}
@@ -627,7 +628,7 @@ class PushContainer extends Component {
             clearTemplateSearch={this.clearTemplateSearch}
             reset = {reset}
             clearReset = {this.clearReset}
-          ></TemplateItems>
+          ></TemplateItems> */}
           <MedicalInfoContainer></MedicalInfoContainer>
         </TemplateContainer>
       </Tab>

+ 3 - 3
src/components/PushItems/RecommendInspect/index.jsx

@@ -32,12 +32,12 @@ class RecommendInspect extends Component {
       const { changeFlag,getInfomation } = this.props
       const { hasEnterItem,hasEnterImg  } = this.state
       return <span className={style['itemLabelBox']} title={item.name}>
-          <input
+          {/* <input
             id={item.id + item.name}
             onChange={() =>changeFlag(item)}
             type="checkbox"
             checked={item.checked}
-          />
+          /> */}
           <span className={style['itemLabelNameBox']}
               onMouseEnter={this.handleMouseEnterDrug.bind(this , index)}
               onMouseLeave = {this.handleMouseLeaveDrug.bind(this, index)}
@@ -115,7 +115,7 @@ class RecommendInspect extends Component {
                   : showAll
                   ? listAll
                   : listHide}
-                {secondLineNum > 21 ? (
+                {secondLineNum > 30 ? (
                   <span
                     style={{ display: "inline-block" }}
                     className={style["show"]}

+ 2 - 2
src/components/PushItems/index.jsx

@@ -245,11 +245,11 @@ class PushItems extends Component {
               <h1>
                 <img src={recommendImg} />
                 推荐检验检查
-                <div className={style["billing"]} 
+                {/* <div className={style["billing"]} 
                      style={assay.length === 0 && check.length === 0 ? {color: 'gray', border: '1px solid gray', cursor:'auto'} : ''} 
                      onClick={assay.length === 0 && check.length === 0 ? '' : billing}>
                     开单
-                </div>
+                </div> */}
               </h1>
               <div  className={style["contentBox"]}>
                 {assay.length === 0 && check.length === 0 ? (

+ 1 - 0
src/components/PushItems/index.less

@@ -117,6 +117,7 @@
   background: #fff;
   font-size: 12px;
   color: #979797;
+  color: red;
   text-align: center;
   position: absolute;
   bottom: 0px;

+ 0 - 1
src/containers/PushContainer.js

@@ -11,7 +11,6 @@ function mapStateToProps(state) {
     }
 }
 
-
 function mapDispatchToProps(dispatch) {
     return {
         handleTemplateDel(id) {

+ 1 - 0
src/store/async-actions/patInfo.js

@@ -55,6 +55,7 @@ export const getPreMsg = (dispatch, getState) => {
 }
 //获取管理员身份
 export const getAdminCheckout = (val1,val2,dispatch) => {
+    return
     json(api.getAdminCheckout, {
       "doctorId": val1,
       "hospitalId": val2