qa-prevention-gwj-vue/src/views/risk/riskunit/index.vue

32 lines
514 B
Vue
Raw Normal View History

2023-11-06 18:11:01 +08:00
<template>
<!-- <component :is="activeName"/>-->
<div>
2024-10-19 17:34:00 +08:00
<keep-alive>
<List v-show="activeName=='List'" ref="list" />
</keep-alive>
2024-10-23 14:23:31 +08:00
<Info v-if="activeName=='Info'" />
2023-11-06 18:11:01 +08:00
</div>
</template>
<script>
import List from './components/list'
import Info from './components/info'
export default {
components: {
List: List,
Info: Info
},
data() {
return {
activeName: 'List',
IDENTIFICATIONPARTS_ID: '',
PARTSNAME: ''
}
}
}
</script>
<style scoped>
</style>