|
@@ -13,7 +13,8 @@ import FolderName from '@components/FolderName';
|
|
|
import FolderOrder from '@components/FolderOrder';
|
|
|
import check_circle from './img/check-circle.png';
|
|
|
import check_right from './img/check-right.png';
|
|
|
-import {getAllDataList,getAllDataStringList,isAllPartClear,isAllClear,filterDataArr,readyKeepHistory,checkDeptContent} from '@utils/tools';
|
|
|
+import { getAllDataList, getAllDataStringList, isAllPartClear, isAllClear, filterDataArr, readyKeepHistory, checkDeptContent } from '@utils/tools';
|
|
|
+import { embedPush } from '../../store/async-actions/pushMessage'
|
|
|
import pinyin from '@utils/Convert_Pinyin.js';
|
|
|
import { saveMessage } from '@store/async-actions/print'
|
|
|
import {dragBox} from '@utils/drag';
|
|
@@ -86,12 +87,21 @@ class Operation extends Component {
|
|
|
// clearmedicalName && clearmedicalName()
|
|
|
// diagShowTmp(false)
|
|
|
// this.setState({ title: '' })
|
|
|
-
|
|
|
+ // store.dispatch(embedPush({
|
|
|
+ // action: "patientia",
|
|
|
+ // mode: 1
|
|
|
+ // }))
|
|
|
store.dispatch(saveMessage()).then(res => {
|
|
|
this.setState({
|
|
|
medicalName: '',
|
|
|
saveVisible: false,
|
|
|
})
|
|
|
+ store.dispatch(embedPush({
|
|
|
+ action: "patientia",
|
|
|
+ mode: 1
|
|
|
+ }))
|
|
|
+ // console.log('保存成功之后推送');
|
|
|
+
|
|
|
}).catch(err => {
|
|
|
if (err === '00020001'){
|
|
|
|