29 lines
641 B
Vue
29 lines
641 B
Vue
<template>
|
|
<keep-alive include="CorpInfoList" exclude="CorpInfoEdit,CorpInfoAdd">
|
|
<component :is="activeName" />
|
|
</keep-alive>
|
|
</template>
|
|
|
|
<script>
|
|
import CorpInfoEdit from './components/corpInfoEdit'
|
|
import CorpInfoList from './components/corpInfoList'
|
|
import CorpInfoAdd from './components/corpInfoAdd'
|
|
export default {
|
|
components: {
|
|
CorpInfoEdit: CorpInfoEdit,
|
|
CorpInfoList: CorpInfoList,
|
|
CorpInfoAdd: CorpInfoAdd
|
|
},
|
|
data() {
|
|
return {
|
|
activeName: 'CorpInfoList',
|
|
CORPINFO_ID: '',
|
|
USERNAME: JSON.parse(sessionStorage.getItem('user')).USERNAME
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
</style>
|