Browse Source

Merge branch 'lcq' into newVersion6.0

morphone1995 4 years ago
parent
commit
2b73352820

+ 2 - 0
src/common/components/SearchOption/index.jsx

@@ -50,6 +50,7 @@ class SearchOption extends React.Component {
         })
     }
     handleClearVal(){
+        console.log(12312313);
         const { handleChangeValue } = this.props;
         this.textInput.current.value = '';
         this.textInput.current.focus();
@@ -98,6 +99,7 @@ class SearchOption extends React.Component {
         });
     }
     handleFocus(){
+        console.log(1223);
       this.setState({showInsp:false})
       if(this.state.val.trim() != ''){
         return;

+ 2 - 0
src/components/DiagResultSearch/index.jsx

@@ -42,6 +42,8 @@ class DiagResultSearch extends Component {
   }
 
   getSearchList(searchResult, isShowNoDataInfo) {
+    // console.log(searchResult,'searchResult');
+    // console.log(isShowNoDataInfo,'isShowNoDataInfo');
     if (isShowNoDataInfo === true && searchResult.length === 0 ){
       return <div className={style['search-result-noItem']}>暂无筛选项</div>
     }

+ 6 - 1
src/components/Diagnosis/index.jsx

@@ -57,7 +57,12 @@ class Diagnosis extends Component {
         <div style={{ marginLeft: '10px', position: 'relative',color:'#000' }}>
           <Add showText="添加诊断结果" handleClick={this.handleshowSearch} id="addDiag" height="50px" />
           <DiagResultSearch
-            refreshScroller={this.refreshScroller} setHighter={this.props.setHighter} windowHeight={this.props.windowHeight} pageTop={this.state.pageTop} height={150}></DiagResultSearch>
+            refreshScroller={this.refreshScroller} 
+            setHighter={this.props.setHighter} 
+            windowHeight={this.props.windowHeight}
+            pageTop={this.state.pageTop} 
+            height={150}>
+          </DiagResultSearch>
         </div>
 
 

+ 1 - 1
src/components/HistoryCaseContainer/HistoryList/index.jsx

@@ -348,7 +348,7 @@ class HistoryCaseContainer extends React.Component {
                         <span className={styles.sort} onClick={this.handleSortClick}>排序 <img src={sort} alt="排序"/></span>
                     </div>
                     <div className={styles.lists}>
-                        <ul id="hislistLeft" style={{ maxHeight: '722px',overflow:'auto' }} >
+                        <ul id="hislistLeft" style={{ overflow:'auto' }} >
                             {(items && items.length > 0) ? items.map((val,idx)=>{                                    
                               return <li key={val.id} onClick={() => { this.handleCaseClick(idx, val) }} onMouseEnter={() => this.handleMouseEnterLi(idx)} onMouseLeave={() => this.handleMouseLeaveLi(idx)}>
                                          <div className={styles.itemLeft}>

+ 7 - 22
src/components/HistoryCaseContainer/HistoryList/index.less

@@ -11,7 +11,6 @@
     height: 86%;
     background-color: #fff;
     overflow: hidden;
-    // padding-bottom:20px;
     .close {
         position: absolute;
         top: 0;
@@ -50,9 +49,10 @@
         }
         .lists {
             box-sizing: border-box;
-            // overflow-y: auto;
             height: 100%;
-           
+            ul{
+                height : 100%;
+            }
             li {
                 height: 54px;
                 line-height: 54px;
@@ -68,14 +68,12 @@
                 .itemLeft{
                     flex: 1;
                     display: flex;
-                    // align-items: center;
                     justify-content: start;
                     flex-direction: column;
                     .historyTop{
                         display: flex;
                         height:34px;
                         .itemName {
-                            // display: inline-block;
                             max-width: 120px;
                             overflow: hidden;
                             text-overflow: ellipsis;
@@ -85,7 +83,6 @@
                             color: #1E1E1E;                      
                         }  
                         .itemNameActive {
-                            // display: inline-block;
                             max-width: 120px;
                             overflow: hidden;
                             text-overflow: ellipsis;
@@ -95,10 +92,8 @@
                             color: #3B9ED0;                      
                         }                   
                         .edit{
-
                             width: 30px;
                             height: 30px;
-                            // background-color: pink;
                             img{
                                 width: 14px;
                                 height: 14px;
@@ -128,8 +123,6 @@
                     display: flex;
                     align-items: center;
                     .del {
-                        // background-color: red;
-                        // margin-left: 8px;
                         width: 30px;
                         height:30px;
                         img{
@@ -137,19 +130,15 @@
                             height: 20px;
                             position: relative;
                             top: -7px;
-                            left: 3px;
+                            left: 13px;
                         }            
                     }
-                }
-                
-               
+                }              
             }
             li:hover {
                 border: 1px solid #66afe9;
                 border: 1px solid #66afe9\0;
-            }
- 
-           
+            }           
             .bgc {
                 background-color: #fff;
             }
@@ -162,11 +151,8 @@
                 color: #fff;
                 background-color: @template-color;
                 float: right;
-                // margin-top: 16px;
                 font-size: 12px;
-                // display: none;
                 outline: none;
-                // margin-left: 10px;
             }
             .quoteShow {
                 display: block;
@@ -179,12 +165,11 @@
     .mainHistoryRight {
         // margin-left: 300px;
         // position: absolute;
+        // top: 42px;
         overflow: auto;
         height: 100%;
         padding-top: 40px;
         padding-bottom:20px;
-        // top: 42px;
-
         float: left;
     }
     .closeHis {