|
@@ -4,10 +4,7 @@ import SlideExcel from './SlideExcel';
|
|
|
import SlideSelect from './SlideSelect';
|
|
|
import { deepClone, getPageCoordinate, getStatusImg ,getCurrentDate} from '@utils/tools';
|
|
|
import styles from './index.less';
|
|
|
-import date1 from './img/date1.png';
|
|
|
-import close from './img/close.png';
|
|
|
-import slideUp from "@common/images/slide-up.png";
|
|
|
-import slideDown from "@common/images/slide-down.png";
|
|
|
+import ScrollArea from 'react-scrollbar';
|
|
|
import store from '@store';
|
|
|
import $ from 'jquery';
|
|
|
class Inspect extends React.Component {
|
|
@@ -320,6 +317,14 @@ class Inspect extends React.Component {
|
|
|
const { getInfomation, handleChangeValue,inspectList, inspectVal, list, labelList, windowHeight, delPartItem, handleLabelSub, handleClear, handleConfirm, fillActive, getExcelDataList, handleCloseExcel, handlePush } = this.props;
|
|
|
const { tmpId, tmpIdx, id, pageTop, impId } = this.state;
|
|
|
|
|
|
+ const contStyle={
|
|
|
+ opacity:'1',
|
|
|
+ right:'0',
|
|
|
+ top:'1px',
|
|
|
+ zIndex:'15',
|
|
|
+ width:'14px',
|
|
|
+ background:'#f1f1f1'};
|
|
|
+ const barStyle={background:'#c1c1c1',width:'100%'};
|
|
|
return (
|
|
|
<div className={styles.wrapper}>
|
|
|
<div className={styles.check}>
|
|
@@ -390,9 +395,18 @@ class Inspect extends React.Component {
|
|
|
{
|
|
|
(list && list.length > 0) || (inspectVal != '') || (inspectList&&inspectList.length==0) ? '' : <div>
|
|
|
<p style={{ padding: '5px 30px', color: '#bfbfbf' }}>常用化验项</p>
|
|
|
+ <ScrollArea speed={0.8}
|
|
|
+ horizontal={false}
|
|
|
+ stopScrollPropagation={true}
|
|
|
+ style={{height:'225px'}}
|
|
|
+ className={styles["area"]}
|
|
|
+ verticalContainerStyle={contStyle}
|
|
|
+ verticalScrollbarStyle={barStyle}
|
|
|
+ contentClassName="content">
|
|
|
{
|
|
|
this.getCommonList()
|
|
|
}
|
|
|
+ </ScrollArea>
|
|
|
</div>
|
|
|
}
|
|
|
</SearchOption> : ''}
|