|
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
|
|
import style from './index.less';
|
|
|
import { Tab, ConfirmModal, Notify } from '@commonComp';
|
|
|
import { tabChange, allChecked, changeVisible, keepPushData, allCheckedShow,allCheckedAdmin,allCheckedShowAdmin,whichTemp,floderSlide,floderAction,folderModal,clearSearchTemplateNorms } from '@store/actions/tabTemplate';
|
|
|
-import { initItemList,initAdminItemList, delItem,delItemAdmin, delBatchItem, delBatchItemAdmin,changeTitleAsync, setPageView,changeTitleAsyncAdmin,setPageViewAdmin,getFloderList,delFloder,addTemplateQuote } from '@store/async-actions/tabTemplate';
|
|
|
+import { initItemList,initAdminItemList, delItem,delItemAdmin, delBatchItem, delBatchItemAdmin,changeTitleAsync, setPageView,changeTitleAsyncAdmin,setPageViewAdmin,getFloderList,delFloder,addTemplateQuote,findTemplateNorms } from '@store/async-actions/tabTemplate';
|
|
|
import { connect } from "react-redux";
|
|
|
import store from '@store';
|
|
|
import { billing } from '@store/async-actions/pushMessage';
|
|
@@ -429,9 +429,13 @@ class PushContainer extends Component {
|
|
|
hasCalcIndex: false
|
|
|
})
|
|
|
}
|
|
|
- whichTemp(tab){
|
|
|
+ whichTemp(tab,name){
|
|
|
+ if(tab!=2||!name){
|
|
|
+ store.dispatch(initAdminItemList(1,true))
|
|
|
+ }else{
|
|
|
+ this.templateSearch(name,2)
|
|
|
+ }
|
|
|
store.dispatch(whichTemp(tab))
|
|
|
- store.dispatch(initAdminItemList(1,true))
|
|
|
}
|
|
|
floderSlideToggle(id){
|
|
|
store.dispatch(floderSlide(id))
|