webapp.templates.home.screen.dataSourceList.vm Maven / Gradle / Ivy
$control.setTemplate("home:navigation.vm")
#set($user = $rundata.request.session.getAttribute("managerUser"))
数据源配置
序号
数据源名字
类型
编码
URL
操作
#foreach ($source in $sources)
$!source.id
$!source.name
$!source.type
$!source.encode
$!source.url
#set ($dataSourceInfoURL = $homeModule.setTarget("dataSourceInfo.vm").addQueryData("dataMediaSourceId", $source.id))
查看
#if($user.authorizeType.isAdmin())
#set ($editURL = $homeModule.setTarget("editDataSource.vm").addQueryData("dataMediaSourceId", $source.id).addQueryData("pageIndex", $!paginator.page).addQueryData("searchKey", $!searchKey))
|编辑
#if($!source.isUsed())
|删除
#else
#set ($removeURL = $homeModule.setAction("dataMediaSourceAction").addQueryData("dataMediaSourceId", $source.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