提交 e4cf0ed7 编写于 作者: LUCIFER-ZHU's avatar LUCIFER-ZHU

update:更新

上级 798586f5
<#ibizinclude>
../../@MACRO/LANG_FUN.ftl
</#ibizinclude>
<#macro getRouteViewCaption view>
<#if view.getCapPSLanguageRes?? && view.getCapPSLanguageRes()??>
${view.getCapPSLanguageRes().getLanResTag()}<#t>
<#else>
${view.getCaption()}<#t>
</#if>
</#macro>
import Vue from 'vue';
import Router from 'vue-router';
import { AuthGuard } from '@/utils';
......@@ -15,7 +19,7 @@ Vue.use(Router);
{
path: '<#if !isIncludeIndex>/</#if>appdataredirectview/:appdataredirectview?',
meta: {
caption: '<@getItemLanguageCaption subView/>',
caption: '<@getRouteViewCaption subView/>',
info:'',
viewType: 'REDIRECTVIEW',
<#if subView.getPSSysImage()??>
......@@ -36,7 +40,7 @@ Vue.use(Router);
{
path: '<#if !isIncludeIndex>/</#if>appwfdataredirectview/:appwfdataredirectview?',
meta: {
caption: '<@getItemLanguageCaption subView/>',
caption: '<@getRouteViewCaption subView/>',
info:'',
viewType: 'REDIRECTVIEW',
<#if subView.getPSSysImage()??>
......@@ -57,7 +61,7 @@ Vue.use(Router);
{
path: '<#if !isIncludeIndex>/</#if>${subView.getViewType()?lower_case}/:${subView.getViewType()?lower_case}?',
meta: {
caption: '<@getItemLanguageCaption subView/>',
caption: '<@getRouteViewCaption subView/>',
info:'',
viewType: 'REDIRECTVIEW',
<#if subView.getPSSysImage()??>
......@@ -80,7 +84,7 @@ Vue.use(Router);
{
path: '<#if !isIncludeIndex>/</#if>${srfpluralize(subView.getPSAppDataEntity().codeName)?lower_case}/:${subView.getPSAppDataEntity().getCodeName()?lower_case}?/${subView.getPSDEViewCodeName()?lower_case}/:${subView.getPSDEViewCodeName()?lower_case}?',
meta: {
caption: '<@getItemLanguageCaption subView/>',
caption: '<@getRouteViewCaption subView/>',
info:'',
viewType: 'REDIRECTVIEW',
<#if subView.getPSSysImage()??>
......@@ -103,7 +107,7 @@ Vue.use(Router);
{
path: '<#if !isIncludeIndex>/</#if>${subView.getCodeName()?lower_case}/:${subView.getCodeName()?lower_case}?',
meta: {
caption: '<@getItemLanguageCaption subView/>',
caption: '<@getRouteViewCaption subView/>',
info:'',
viewType: 'REDIRECTVIEW',
<#if subView.getPSSysImage()??>
......@@ -142,7 +146,7 @@ Vue.use(Router);
path: '/${path}${srfpluralize(appDataEntity.codeName)?lower_case}/:${appDataEntity.getCodeName()?lower_case}?/${subView.getPSDEViewCodeName()?lower_case}/:${subView.getPSDEViewCodeName()?lower_case}?',
<#-- 嵌入关系路由未设置name属性 -->
meta: {
caption: '<@getItemLanguageCaption subView/>',
caption: '<@getRouteViewCaption subView/>',
info:'',
<#if subView.getPSSysImage()??>
imgPath: '${subView.getPSSysImage().getImagePath()}',
......@@ -166,7 +170,7 @@ Vue.use(Router);
{
path: '/${srfpluralize(appDataEntity.codeName)?lower_case}/:${appDataEntity.getCodeName()?lower_case}?/${subView.getPSDEViewCodeName()?lower_case}/:${subView.getPSDEViewCodeName()?lower_case}?',
meta: {
caption: '<@getItemLanguageCaption subView/>',
caption: '<@getRouteViewCaption subView/>',
info:'',
<#if subView.getPSSysImage()??>
imgPath: '${subView.getPSSysImage().getImagePath()}',
......@@ -184,7 +188,7 @@ Vue.use(Router);
{
path: '/${subView.getCodeName()?lower_case}/:${subView.getCodeName()?lower_case}?',
meta: {
caption: '<@getItemLanguageCaption subView/>',
caption: '<@getRouteViewCaption subView/>',
info:'',
<#if subView.getPSSysImage()??>
imgPath: '${subView.getPSSysImage().getImagePath()}',
......@@ -256,7 +260,7 @@ const router = new Router({
{
path: '${path}${srfpluralize(appDataEntity.codeName)?lower_case}/:${appDataEntity.getCodeName()?lower_case}?/${subView.getPSDEViewCodeName()?lower_case}/:${subView.getPSDEViewCodeName()?lower_case}?',
meta: {
caption: '<@getItemLanguageCaption subView/>',
caption: '<@getRouteViewCaption subView/>',
info:'',
<#if subView.getPSSysImage()??>
imgPath: '${subView.getPSSysImage().getImagePath()}',
......@@ -281,7 +285,7 @@ const router = new Router({
{
path: '${srfpluralize(appDataEntity.codeName)?lower_case}/:${appDataEntity.getCodeName()?lower_case}?/${subView.getPSDEViewCodeName()?lower_case}/:${subView.getPSDEViewCodeName()?lower_case}?',
meta: {
caption: '<@getItemLanguageCaption subView/>',
caption: '<@getRouteViewCaption subView/>',
info:'',
<#if subView.getPSSysImage()??>
imgPath: '${subView.getPSSysImage().getImagePath()}',
......@@ -300,7 +304,7 @@ const router = new Router({
{
path: '${subView.getCodeName()?lower_case}/:${subView.getCodeName()?lower_case}?',
meta: {
caption: '<@getItemLanguageCaption subView/>',
caption: '<@getRouteViewCaption subView/>',
info:'',
<#if subView.getPSSysImage()??>
imgPath: '${subView.getPSSysImage().getImagePath()}',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册