You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<template>
|
|
|
|
|
<basic-container>
|
|
|
|
|
<el-tabs
|
|
|
|
|
v-model="activeName"
|
|
|
|
|
class="demo-tabs"
|
|
|
|
|
@tab-click="handleClick"
|
|
|
|
|
>
|
|
|
|
|
<el-tab-pane label="项目" name="trialItem"></el-tab-pane>
|
|
|
|
|
<el-tab-pane label="标准" name="trialStandard"></el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
<trial-item v-if="activeName == 'trialItem'"></trial-item>
|
|
|
|
|
<trial-standard v-if="activeName == 'trialStandard'"></trial-standard>
|
|
|
|
|
</basic-container>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import trialItem from './components/trialItem.vue';
|
|
|
|
|
import trialStandard from './components/trialStandard.vue';
|
|
|
|
|
export default {
|
|
|
|
|
components:{
|
|
|
|
|
trialItem,
|
|
|
|
|
trialStandard
|
|
|
|
|
},
|
|
|
|
|
data(){
|
|
|
|
|
return {
|
|
|
|
|
activeName:'trialItem'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted(){
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
|
|
</style>
|