|
@@ -3,7 +3,7 @@ import {getAllDataList,getAllDataStringList,isAllClear,filterDataArr} from '@uti
|
|
import {getChronic,getInitModules} from '@store/async-actions/homePage.js';
|
|
import {getChronic,getInitModules} from '@store/async-actions/homePage.js';
|
|
import { SET_READ_MODE } from "@store/types/typeConfig";
|
|
import { SET_READ_MODE } from "@store/types/typeConfig";
|
|
import {storageLocal} from '@utils/tools'
|
|
import {storageLocal} from '@utils/tools'
|
|
-import { SAVE_FREE } from '@store/types/mainSuit';
|
|
|
|
|
|
+import { SAVE_FREE ,SAVE_CHRONIC} from '@store/types/mainSuit';
|
|
import {ISREAD,MODI_LOADING} from "../types/homePage";
|
|
import {ISREAD,MODI_LOADING} from "../types/homePage";
|
|
export const isAddMainSuit = () =>{
|
|
export const isAddMainSuit = () =>{
|
|
return (dispatch, getState) => {
|
|
return (dispatch, getState) => {
|
|
@@ -53,6 +53,8 @@ export const isChronicMag = (item) => {
|
|
type: SET_CHRONIC_MAG_ITEM,
|
|
type: SET_CHRONIC_MAG_ITEM,
|
|
chronicMagItem: item
|
|
chronicMagItem: item
|
|
})
|
|
})
|
|
|
|
+ // 慢病流程清空主诉模板
|
|
|
|
+ dispatch({type:SAVE_CHRONIC})
|
|
// loading
|
|
// loading
|
|
// dispatch({type:MODI_LOADING,flag:true}); //全局
|
|
// dispatch({type:MODI_LOADING,flag:true}); //全局
|
|
dispatch({type:SHOW_LOADING,flag:true}); //私有
|
|
dispatch({type:SHOW_LOADING,flag:true}); //私有
|
|
@@ -78,6 +80,8 @@ export const isChronicMag = (item) => {
|
|
type: SET_CHRONIC_MAG_ITEM,
|
|
type: SET_CHRONIC_MAG_ITEM,
|
|
chronicMagItem: item
|
|
chronicMagItem: item
|
|
})
|
|
})
|
|
|
|
+ // 慢病流程清空主诉模板
|
|
|
|
+ dispatch({type:SAVE_CHRONIC})
|
|
// loading
|
|
// loading
|
|
// dispatch({type:MODI_LOADING,flag:true});
|
|
// dispatch({type:MODI_LOADING,flag:true});
|
|
dispatch({type:SHOW_LOADING,flag:true});
|
|
dispatch({type:SHOW_LOADING,flag:true});
|