|
@@ -7,7 +7,6 @@ import PrintPreviewContainer from '@containers/PrintPreviewContainer';
|
|
|
import PreviewContainer from '@containers/PreviewContainer';
|
|
|
import { ConfirmModal, Notify } from '@commonComp';
|
|
|
import {getAllDataList,getAllDataStringList} from '@utils/tools';
|
|
|
-import { initItemList } from '@store/async-actions/tabTemplate';
|
|
|
import store from '@store';
|
|
|
|
|
|
|
|
@@ -152,11 +151,7 @@ class Operation extends Component {
|
|
|
}
|
|
|
saveHis(type) {
|
|
|
const { diagShowTmp } = this.props;
|
|
|
- let baseList = store.getState();
|
|
|
let flg = this.getAllData();
|
|
|
- if(baseList.tabTemplate.items.length == 0){
|
|
|
- store.dispatch(initItemList()); //获取模板列表
|
|
|
- }
|
|
|
if(flg){
|
|
|
this.setState({
|
|
|
title: '',
|