webapp.templates.home.screen.dataMediaList.vm Maven / Gradle / Ivy
$control.setTemplate("home:navigation.vm")
#set($user = $rundata.request.session.getAttribute("managerUser"))
数据表管理
序号
Schema Name
Table Name
数据源
源类型
操作
#foreach ($dataMedia in $dataMedias)
$!dataMedia.id
$!dataMedia.namespace
$!dataMedia.name
#set ($dataSourceInfoURL = $homeModule.setTarget("dataSourceInfo.vm").addQueryData("dataMediaSourceId", $!dataMedia.source.id))
$!dataMedia.source.name
$!dataMedia.source.type
#set ($dataMediaInfoURL = $homeModule.setTarget("dataMediaInfo.vm").addQueryData("dataMediaId", $dataMedia.id))
查看
#if($user.authorizeType.isAdmin())
#set ($editURL = $homeModule.setTarget("editDataMedia.vm").addQueryData("dataMediaId", $dataMedia.id).addQueryData("pageIndex", $!paginator.page).addQueryData("searchKey", $!searchKey))
|编辑
#if($!dataMedia.isUsed())
|删除
#else
#set ($removeURL = $homeModule.setAction("dataMediaAction").addQueryData("dataMediaId", $dataMedia.id).addQueryData("pageIndex", $!paginator.page).addQueryData("searchKey", $!searchKey).addQueryData("eventSubmitDoDelete", "true"))
|删除
#end
#end
#end
#if($user.authorizeType.isAdmin())
#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