|
@@ -10,7 +10,7 @@ import {Notify} from '@commonComp';
|
|
|
// import Emergency from '@components/Emergency';
|
|
|
import Emergency from '@containers/Emergency';
|
|
|
import {getAllHis} from '@store/async-actions/fetchModules.js';
|
|
|
-import {timestampToTime} from '@utils/tools.js';
|
|
|
+import {timestampToTime,getCurrentDate} from '@utils/tools.js';
|
|
|
import {dragBox} from '@utils/drag';
|
|
|
import {CLEAR_COMSYMPTOMS} from '@store/types/mainSuit';
|
|
|
|
|
@@ -75,8 +75,11 @@ class Banner extends Component {
|
|
|
}*/
|
|
|
showHisModal(){
|
|
|
const {getAllRecord} = this.props;
|
|
|
+ // 进入时默认展示当天的病例
|
|
|
const item = {
|
|
|
- current:1
|
|
|
+ current:1,
|
|
|
+ startDate:getCurrentDate(false)+' 00:00:00',
|
|
|
+ endDate:getCurrentDate(false)+' 23:59:59'
|
|
|
}
|
|
|
getAllRecord&&getAllRecord(item);
|
|
|
this.setState({
|