webapp.templates.home.screen.dataMatrixList.vm Maven / Gradle / Ivy
$control.setTemplate("home:navigation.vm")
#set($user = $rundata.request.session.getAttribute("managerUser"))
主备设置列表
序号
groupKey
master
slave
最后修改时间
操作
#foreach ($dataMatrix in $dataMatrixs)
$!dataMatrix.id
$!dataMatrix.groupKey
$!dataMatrix.master
$!dataMatrix.slave
$!numberFormat.format($!dataMatrix.gmtModified)
#set ($dataMatrixInfoURL = $homeModule.setTarget("dataMatrixInfo.vm").addQueryData("matrixId", $dataMatrix.id))
查看
#if($user.authorizeType.isAdmin())
#set ($editURL = $homeModule.setTarget("editDataMatrix.vm").addQueryData("matrixId", $dataMatrix.id))
|编辑
#set ($switchRL = $homeModule.setAction("dataMatrixAction").addQueryData("matrixId", $dataMatrix.id).addQueryData("eventSubmitDoSwitch", "true"))
|切换
#if($!dataMatrix.isUsed())
|删除
#else
#set ($removeURL = $homeModule.setAction("dataMatrixAction").addQueryData("matrixId", $dataMatrix.id).addQueryData("eventSubmitDoDelete", "true"))
|删除
#end
#end
#end
#if($user.authorizeType.isAdmin())
#set ($addURL = $homeModule.setTarget("addDataMatrix.vm"))
#end
共$paginator.items条数据 第$paginator.page页/共$paginator.pages页
#if($paginator.page == 1)
首页
#else
首页
#end
#if($paginator.page > 1)
#set($pre_page = $paginator.page - 1)
上一页
#else
上一页
#end
##分页下标
#set($counts_keys = $paginator.getSlider(7))
#foreach( $thisPage in $counts_keys)
#if( $thisPage == $paginator.page)
$thisPage
#else
#if($thisPage != 0)
$thisPage
#end
#end
#end
#if($paginator.page < $paginator.pages)
#set($next_page = $paginator.page + 1)
下一页
#else
下一页
#end
#if($paginator.page == $paginator.pages)
末页
#else
末页
#end
© 2015 - 2024 Weber Informatics LLC | Privacy Policy