|
|
@@ -1,6 +1,9 @@
|
|
|
<template>
|
|
|
<div class="layout">
|
|
|
- <component :is="finalHeader" :horizontalNavList="horizontalNavList" />
|
|
|
+ <component :is="finalHeader"
|
|
|
+ :horizontalNavList="horizontalNavList"
|
|
|
+ :showBack="showBack"
|
|
|
+ />
|
|
|
<AppMain :menuItems="menuList"/>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -26,6 +29,15 @@ const horizontalNavList = computed(()=>{
|
|
|
return []
|
|
|
})
|
|
|
|
|
|
+const showBack = computed(()=>{
|
|
|
+ if(route.path.startsWith('/app') && route.path !== '/app'
|
|
|
+ && route.path !== '/app/' && !route.path.startsWith('/app/questionnaireTaskListPage')){
|
|
|
+ return true
|
|
|
+ }else{
|
|
|
+ return false
|
|
|
+ }
|
|
|
+})
|
|
|
+
|
|
|
const finalHeader = computed(()=>{
|
|
|
if(route.path.startsWith('/main')){
|
|
|
return Header
|