|
@@ -204,9 +204,10 @@ export function setOtherHisModule(){
|
|
|
return (dispatch, getStore) => {
|
|
|
const state = getStore();
|
|
|
const initData = state.homePage.initData;
|
|
|
+ const otherModel = initData.otherHisModel;
|
|
|
const block = Object.assign(JSON.parse(config.textLabel),{full:true});
|
|
|
const mode = state.typeConfig.typeConfig;
|
|
|
- const model = deepClone(initData.otherHisModel)||[block]; //查体模板
|
|
|
+ const model = otherModel&&otherModel.length>0?[...otherModel]:[block]; //查体模板
|
|
|
const arr = deepClone(initData.otherHis); //最近其他史数据
|
|
|
const arrSave = deepClone(initData.otherHisSave); //最近其他史saveText
|
|
|
const selects = deepClone(initData.otherSelecteds); //其他史杂音类选中项
|