|
@@ -263,18 +263,10 @@ class Inspect extends React.Component {
|
|
handlePush && handlePush({mode:8}); //右侧推送
|
|
handlePush && handlePush({mode:8}); //右侧推送
|
|
}
|
|
}
|
|
getSearchList(list) {//搜索列表
|
|
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'}}>
|
|
return <ul className={`${styles.searchLiUl} ${styles.searchIsp}`} style={{height:'205px',width:'356px',overflow:'auto'}}>
|
|
{
|
|
{
|
|
list && list.map((item, idx) => {
|
|
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}
|
|
return <li key={idx}
|
|
className={styles.searchLi}
|
|
className={styles.searchLi}
|
|
title={renderText}
|
|
title={renderText}
|