Files
dvcp_v2_webapp/project/qujing/app/AppConflictMediation/AppConflictMediation.vue
aixianling e2e347bd14 BUG 54
2023-03-07 15:52:23 +08:00

35 lines
603 B
Vue

<template>
<div class="AppConflictMediation">
<keep-alive :include="['List']">
<component :is="currentPage" v-bind="$props"/>
</keep-alive>
</div>
</template>
<script>
import List from './components/List'
import Detail from './components/Detail'
export default {
name: 'AppConflictMediation',
label: '矛盾调解',
props: {
instance: Function,
dict: Object
},
computed: {
currentPage: v => v.$route.hash == "#add" ? Detail : List
},
components: {
List,
Detail
}
}
</script>
<style lang="scss">
.AppConflictMediation {
height: 100%;
}
</style>