44 lines
900 B
Plaintext
44 lines
900 B
Plaintext
<template>
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
<el-tab-pane label="器官" name="organs">
|
|
<OrgansTbl :TrialReadingCriterionId="TrialReadingCriterionId" :is-from-system="isFromSystem" :is-confirm="isConfirm" />
|
|
</el-tab-pane>
|
|
</el-tabs>
|
|
</template>
|
|
<script>
|
|
import OrgansTbl from './OrgansTbl'
|
|
export default {
|
|
name: 'CriterionsBaseData',
|
|
components: { OrgansTbl },
|
|
props: {
|
|
TrialReadingCriterionId: {
|
|
type: String,
|
|
required: true
|
|
},
|
|
isFromSystem: {
|
|
type: Boolean,
|
|
required: true
|
|
},
|
|
isConfirm: {
|
|
type: Boolean,
|
|
required: true
|
|
}
|
|
},
|
|
data() {
|
|
return {
|
|
activeName: 'organs',
|
|
tabs: ['organs']
|
|
}
|
|
},
|
|
methods: {
|
|
handleClick(tab, event) {
|
|
if (this.tabs.includes(tab.name)) {
|
|
return
|
|
} else {
|
|
this.tabs.push(tab.name)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|