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

update:更新

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