提交 57224551 编写于 作者: tony001's avatar tony001

Merge branch 'master' into 2020.07.12

上级 9c012def
...@@ -870,7 +870,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -870,7 +870,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
} }
}else{ }else{
// 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null // 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null
if(context[(curNavData.value).toLowerCase()]){ if(context[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), { Object.defineProperty(tempData, item.toLowerCase(), {
value: context[(curNavData.value).toLowerCase()], value: context[(curNavData.value).toLowerCase()],
writable : true, writable : true,
...@@ -878,7 +878,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -878,7 +878,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
configurable : true configurable : true
}); });
}else{ }else{
if(viewparams[(curNavData.value).toLowerCase()]){ if(viewparams[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), { Object.defineProperty(tempData, item.toLowerCase(), {
value: viewparams[(curNavData.value).toLowerCase()], value: viewparams[(curNavData.value).toLowerCase()],
writable : true, writable : true,
......
...@@ -845,7 +845,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -845,7 +845,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
} }
}else{ }else{
// 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null // 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null
if(context[(curNavData.value).toLowerCase()]){ if(context[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), { Object.defineProperty(tempData, item.toLowerCase(), {
value: context[(curNavData.value).toLowerCase()], value: context[(curNavData.value).toLowerCase()],
writable : true, writable : true,
...@@ -853,7 +853,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -853,7 +853,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
configurable : true configurable : true
}); });
}else{ }else{
if(viewparams[(curNavData.value).toLowerCase()]){ if(viewparams[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), { Object.defineProperty(tempData, item.toLowerCase(), {
value: viewparams[(curNavData.value).toLowerCase()], value: viewparams[(curNavData.value).toLowerCase()],
writable : true, writable : true,
......
...@@ -870,7 +870,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -870,7 +870,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
} }
}else{ }else{
// 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null // 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null
if(context[(curNavData.value).toLowerCase()]){ if(context[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), { Object.defineProperty(tempData, item.toLowerCase(), {
value: context[(curNavData.value).toLowerCase()], value: context[(curNavData.value).toLowerCase()],
writable : true, writable : true,
...@@ -878,7 +878,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se ...@@ -878,7 +878,7 @@ import ${srfclassname('${node.getPSAppDataEntity().codeName}')}Service from '@se
configurable : true configurable : true
}); });
}else{ }else{
if(viewparams[(curNavData.value).toLowerCase()]){ if(viewparams[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), { Object.defineProperty(tempData, item.toLowerCase(), {
value: viewparams[(curNavData.value).toLowerCase()], value: viewparams[(curNavData.value).toLowerCase()],
writable : true, writable : true,
......
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
} }
}else{ }else{
// 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null // 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null
if(this.context[(curNavData.value).toLowerCase()]){ if(this.context[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), { Object.defineProperty(tempData, item.toLowerCase(), {
value: this.context[(curNavData.value).toLowerCase()], value: this.context[(curNavData.value).toLowerCase()],
writable : true, writable : true,
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
configurable : true configurable : true
}); });
}else{ }else{
if(this.viewparams[(curNavData.value).toLowerCase()]){ if(this.viewparams[(curNavData.value).toLowerCase()] != null){
Object.defineProperty(tempData, item.toLowerCase(), { Object.defineProperty(tempData, item.toLowerCase(), {
value: this.viewparams[(curNavData.value).toLowerCase()], value: this.viewparams[(curNavData.value).toLowerCase()],
writable : true, writable : true,
......
...@@ -5,7 +5,7 @@ TARGET=PSAPPDATAENTITY ...@@ -5,7 +5,7 @@ TARGET=PSAPPDATAENTITY
<#compress> <#compress>
<#if dataEntity.getAllPSDEOPPrivs?? && dataEntity.getAllPSDEOPPrivs()??> <#if dataEntity.getAllPSDEOPPrivs?? && dataEntity.getAllPSDEOPPrivs()??>
<#if mainState.getPSDEMainStateOPPrivs?? && mainState.getPSDEMainStateOPPrivs()??> <#if mainState.getPSDEMainStateOPPrivs?? && mainState.getPSDEMainStateOPPrivs()??>
{<#list mainState.getPSDEMainStateOPPrivs() as stateOPPriv><#if stateOPPriv.getPSDEOPPriv()?? && !stateOPPriv.getPSDEOPPriv().getMapPSDEOPPrivName()??>'${stateOPPriv.getName()}':<#if mainState.isOPPrivAllowMode()>1<#else>0</#if>,</#if></#list><#list dataEntity.getAllPSDEOPPrivs() as mainStateOPPriv>'${mainStateOPPriv.getName()}':<#list mainState.getPSDEMainStateOPPrivs() as stateOPPriv><#if stateOPPriv.getName() == mainStateOPPriv.getName()><#assign iscurState = true/></#if></#list><#if iscurState?? && iscurState ><#if mainState.isOPPrivAllowMode()>1<#else>0</#if><#else><#if mainState.isOPPrivAllowMode()>0<#else>1</#if></#if><#assign iscurState = false/><#if mainStateOPPriv_has_next>,</#if></#list>} {<#list mainState.getPSDEMainStateOPPrivs() as stateOPPriv><#if stateOPPriv.getPSDEOPPriv()?? && !stateOPPriv.getPSDEOPPriv().getPSDataEntity()??>'${stateOPPriv.getName()}':<#if mainState.isOPPrivAllowMode()>1<#else>0</#if>,</#if></#list><#list dataEntity.getAllPSDEOPPrivs() as mainStateOPPriv>'${mainStateOPPriv.getName()}':<#list mainState.getPSDEMainStateOPPrivs() as stateOPPriv><#if stateOPPriv.getName() == mainStateOPPriv.getName()><#assign iscurState = true/></#if></#list><#if iscurState?? && iscurState ><#if mainState.isOPPrivAllowMode()>1<#else>0</#if><#else><#if mainState.isOPPrivAllowMode()>0<#else>1</#if></#if><#assign iscurState = false/><#if mainStateOPPriv_has_next>,</#if></#list>}
</#if> </#if>
<#else> <#else>
{} {}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册