소스 검색

Merge branch 'newVersion6.0' of http://192.168.2.236:10080/zhouna/newICSS into newVersion6.0

zhangxc 4 년 전
부모
커밋
12c6fd1c5a
1개의 변경된 파일1개의 추가작업 그리고 9개의 파일을 삭제
  1. 1 9
      src/components/AddInspect/index.jsx

+ 1 - 9
src/components/AddInspect/index.jsx

@@ -263,18 +263,10 @@ class Inspect extends React.Component {
     handlePush && handlePush({mode:8});       //右侧推送
   }
   getSearchList(list) {//搜索列表
-    const contStyle={
-      opacity:'0.4',
-      right:'0',
-      top:'1px',
-      zIndex:'15',
-      width:'14px',
-      background:'#f1f1f1'};
-    const barStyle={background:'#777',width:'100%'};
     return <ul className={`${styles.searchLiUl} ${styles.searchIsp}`} style={{height:'205px',width:'356px',overflow:'auto'}}>
       {
         list && list.map((item, idx) => {
-          let renderText = item.uniqueName ? item.uniqueName + `(${item.name})` : item.name   // 有大项需要显示大项
+          let renderText = item.flg==0&&item.uniqueName ? item.uniqueName + `(${item.name})` : item.name   // 有大项需要显示大项
           return <li key={idx}
             className={styles.searchLi}
             title={renderText}