ソースを参照

注释不必要代码

luolei 4 年 前
コミット
8c1490da31

+ 1 - 1
build/dev-server.js

@@ -58,7 +58,7 @@ devMiddleware.waitUntilValid(() => {
         }
         process.env.PORT = port;
         // var uri = 'http://localhost:' + port;
-        const uri=`http://localhost:${port}?patientNo=1600&doctorNo=YS001&deptId=D01&recordId=44&hospitalId=A001`;
+        const uri=`http://localhost:${port}?hospitalId=-1`;
         console.log('> Listening at ' + uri + '\n');
         // when env is testing, don't need open it
         if (autoOpenBrowser && process.env.NODE_ENV !== 'testing') {

+ 4 - 4
src/components/AssistCheck/index.jsx

@@ -110,7 +110,7 @@ class AssistCheck extends React.Component {
                     {/* <div className={styles.pushButton} disabled={ieVersion && ieVersion > 9 ? true : false} onClick={checkSystemIpt}>
                         <p id="importPacBtn" className={styles.importInspectBtn}>导入辅检结果</p>
                     </div> */}
-                    {
+                    {/* {
                       hospitalMsg.import_way_pacs == 1 ? <div className={styles.pushButton} disabled={ieVersion && ieVersion > 9 ? true : false} onClick={ieVersion && ieVersion <= 9 ? null : this.handleImportExcel}>
                         <p className={styles.importInspectBtn}>导入辅检结果</p>
                         <input type="file" name="uploadfile" id="choose" style={{ display: 'none' }} ref={(DOM) => this.inputRef = DOM} />
@@ -128,15 +128,15 @@ class AssistCheck extends React.Component {
                           </ul>:null
                         }
                           </div> : null
-                      }
-                    {
+                      } */}
+                    {/* {
                       hide ? <WrapModalContainer hide={hide} title={'导入辅检数据'} width={1000} height={580} onClose={onClose}>
                         <WrapModalBodyPac
                           closeInIcss={closeInIcss}
                           height={580}
                         ></WrapModalBodyPac>
                       </WrapModalContainer> : null
-                    }
+                    } */}
                 </div>
                 <ItemBox 
                     className={styles.title}

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

@@ -121,10 +121,10 @@ 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>:null} */}
           {/*<div className={style["buon1"]} onClick={showConfigModal}>
             <img className={style["st"]} src={setup} />
             <i> 设置</i>

+ 6 - 6
src/components/Inspect/index.jsx

@@ -253,11 +253,11 @@ class Inspect extends React.Component {
         <div className={styles.top}>
           <span id="inspectResultData" className={setFontColorSize(2,5)}>化验结果数据</span>
           {/* <div className={this.getStyle()} onClick={ieVersion&&ieVersion<=9?null:this.handleImportExcel}> */}
-          <div className={this.getStyle()} style={{ display: hospitalMsg.import_way_lis == 0||hospitalMsg.import_way_lis ==undefined ? 'none' : 'block' }}>
+          {/* <div className={this.getStyle()} style={{ display: hospitalMsg.import_way_lis == 0||hospitalMsg.import_way_lis ==undefined ? 'none' : 'block' }}> */}
             {/* <button disabled={ieVersion&&ieVersion>9?true:false}onClick={ieVersion && ieVersion <= 9 ? null : this.handleImportExcel}>导入化验结果</button>
             <input accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" type="file" name="uploadfile" id="choose" style={{ display: 'none' }} ref={(DOM) => this.inputRef = DOM} /> */}
             {/* {0没有,1本地,2医院,3本地和医院} */}
-            {
+            {/* {
               hospitalMsg.import_way_lis == 1 ? <div className={styles.pushButton} disabled={ieVersion && ieVersion > 9 ? true : false} onClick={ieVersion && ieVersion <= 9 ? null : this.handleImportExcel}>
                 <p className={styles.importInspectBtn}>导入化验结果</p>
                 <input accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" type="file" name="uploadfile" id="choose" style={{ display: 'none' }} ref={(DOM) => this.inputRef = DOM} />
@@ -275,17 +275,17 @@ class Inspect extends React.Component {
                   </ul>
                 }
               </div> : null
-            }
+            } */}
 
-            {
+            {/* {
               hide ? <WrapModalContainer title={'导入化验数据'} width={1000} height={570} onClose={onClose}>
                 <WrapModalBody
                   height={570}
                   closeInIcss={closeInIcss}
                 ></WrapModalBody>
               </WrapModalContainer> : null
-            }
-          </div>
+            } */}
+          {/* </div> */}
         </div>
         <ItemBox
           hideAllDrop={hideAllDrop}

+ 4 - 4
src/components/Operation/index.jsx

@@ -440,10 +440,10 @@ class Operation extends Component {
     const {zIndex,type,le,value,folder,folderListShow} = this.state;
     return <div className={style['container']} style={{left:le}}>
       {/*<span className={style['button']} onClick={showPrint}><img src={printImg} /> 打印病历</span>*/}
-      <span className={style['preButton']} onClick={showPreview}><img src={preview} /> 预览</span>
-      {hideLabel?"":<span className={style['preButton']} onClick={() => { this.saveHis(3) }}><img src={saveHistory} /> 保存病历模板</span>}
-      {hideLabel?"":<span className={style['preButton']} onClick={cancelDelTag}><img src={cancelTag} /> 还原标签</span>}
-      {/*<span className={winWidth<=1082?`${style['saveButton']} ${style['minstyle']}`: style['saveButton']} onClick={() => { this.saveAll(1) }}>保存</span>*/}
+      {/* <span className={style['preButton']} onClick={showPreview}><img src={preview} /> 预览</span> */}
+      {/* {hideLabel?"":<span className={style['preButton']} onClick={() => { this.saveHis(3) }}><img src={saveHistory} /> 保存病历模板</span>} */}
+      {/* {hideLabel?"":<span className={style['preButton']} onClick={cancelDelTag}><img src={cancelTag} /> 还原标签</span>} */}
+      <span className={winWidth<=1082?`${style['saveButton']} ${style['minstyle']}`: style['saveButton']} onClick={() => { this.saveAll(1) }}>保存</span>
       <span className={winWidth<=1082?`${style['clearButton']} ${style['saveButton']} ${style['minstyle']}`:`${style['clearButton']} ${style['saveButton']}`} onClick={() => { this.clearAll(2) }}>清除</span>
       {visible?<PrintPreviewContainer visible={visible} onClose={closePrint} />:null}
       {preVisible?<PreviewContainer visible={preVisible} onClose={closePreview} />:null}