Files
dvcp_v2_webapp/project/qujing/app/AppConflictMediation/AppConflictMediation.vue

35 lines
603 B
Vue
Raw Permalink Normal View History

2023-03-06 10:24:22 +08:00
<template>
<div class="AppConflictMediation">
<keep-alive :include="['List']">
2023-03-07 15:52:23 +08:00
<component :is="currentPage" v-bind="$props"/>
2023-03-06 10:24:22 +08:00
</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
},
2023-03-07 15:52:23 +08:00
computed: {
currentPage: v => v.$route.hash == "#add" ? Detail : List
2023-03-06 10:24:22 +08:00
},
components: {
List,
Detail
}
}
</script>
<style lang="scss">
.AppConflictMediation {
height: 100%;
}
</style>