|
@@ -8,7 +8,7 @@ import PreviewContainer from '@containers/PreviewContainer';
|
|
import { ConfirmModal, Notify } from '@commonComp';
|
|
import { ConfirmModal, Notify } from '@commonComp';
|
|
import check_circle from './img/check-circle.png';
|
|
import check_circle from './img/check-circle.png';
|
|
import check_right from './img/check-right.png';
|
|
import check_right from './img/check-right.png';
|
|
-import {getAllDataList,getAllDataStringList,isAllClear,filterArr} from '@utils/tools';
|
|
|
|
|
|
+import {getAllDataList,getAllDataStringList,isAllClear,filterDataArr} from '@utils/tools';
|
|
import store from '@store';
|
|
import store from '@store';
|
|
import $ from 'jquery';
|
|
import $ from 'jquery';
|
|
|
|
|
|
@@ -84,7 +84,7 @@ class Operation extends Component {
|
|
keepHistory(){
|
|
keepHistory(){
|
|
let baseList = store.getState();
|
|
let baseList = store.getState();
|
|
let jsonStr = getAllDataStringList(baseList);
|
|
let jsonStr = getAllDataStringList(baseList);
|
|
- if(filterArr(JSON.parse(jsonStr.chief)) == ''){
|
|
|
|
|
|
+ if(filterDataArr(JSON.parse(jsonStr.chief)) == ''){
|
|
Notify.info('主诉不能为空');
|
|
Notify.info('主诉不能为空');
|
|
return false;
|
|
return false;
|
|
}else if(!jsonStr.diag || jsonStr.diag.trim().length < 1){
|
|
}else if(!jsonStr.diag || jsonStr.diag.trim().length < 1){
|