Commit 2a51fce8 by 放生的三文鱼

Merge branch 'mcd' of http://132.232.112.242:7090/zcx/szse into mcd

parents 157e6de2 eeb93ad9
...@@ -343,16 +343,21 @@ const AssetAction = (props) => { ...@@ -343,16 +343,21 @@ const AssetAction = (props) => {
} }
const getElements = ( cb = null ) => { const getElements = ( cb = null ) => {
console.log('data',templateType)
const tempinfo = {}
if(templateType){
tempinfo.templateType =templateType
}
dispatch({ dispatch({
type: (currentAction==='add')?'assetmanage.listElementsAndFillValue':'assetmanage.listElements', type: (currentAction==='add')?'assetmanage.listElementsAndFillValue':'assetmanage.listElements',
payload: (currentAction==='add')?{ payload: (currentAction==='add')?{
params: { params: {
dirId, dirId,
templateType ...tempinfo
} }
}:{ }:{
params:{ params:{
templateType ...tempinfo
} }
}, },
callback: data => { callback: data => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment