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

30 lines
477 B
Vue
Raw Normal View History

2023-11-06 18:11:01 +08:00
<template>
<!-- <component :is="activeName"/>-->
<div>
<List v-show="activeName=='List'" ref="list" />
<Info v-if="activeName=='Info'" />
</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>