|
@@ -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,folderOrder } from '@store/actions/tabTemplate';
|
|
|
-import { initItemList,initAdminItemList, delItem,delItemAdmin, delBatchItem, delBatchItemAdmin,changeTitleAsync, setPageView,changeTitleAsyncAdmin,setPageViewAdmin,getFloderList,delFloder,addTemplateQuote,newFloder,findTemplateNorms } from '@store/async-actions/tabTemplate';
|
|
|
+import { initItemList,initAdminItemList, delItem,delItemAdmin, delBatchItem, delBatchItemAdmin,changeTitleAsync, setPageView,changeTitleAsyncAdmin,setPageViewAdmin,getFloderList,delFloder,addTemplateQuote,newFloder,findTemplateNorms,getFloderListAll } from '@store/async-actions/tabTemplate';
|
|
|
import { connect } from "react-redux";
|
|
|
import store from '@store';
|
|
|
import { billing } from '@store/async-actions/pushMessage';
|
|
@@ -99,6 +99,7 @@ class PushContainer extends Component {
|
|
|
document.getElementById("searchTmp").value = ""
|
|
|
// let searchVal = document.getElementById("searchTmp").value
|
|
|
store.dispatch(initItemList(1,0));
|
|
|
+ store.dispatch(getFloderListAll())
|
|
|
}
|
|
|
store.dispatch(tabChange(id))
|
|
|
}
|
|
@@ -437,6 +438,7 @@ class PushContainer extends Component {
|
|
|
})
|
|
|
}
|
|
|
whichTemp(tab,name){
|
|
|
+ console.log('tan',tab)
|
|
|
if(tab!=2||!name){
|
|
|
store.dispatch(initAdminItemList(1,true))
|
|
|
}else{
|