examTeamApp/components/manuallyAdd/record.vue

49 lines
761 B
Vue
Raw Normal View History

2024-05-29 16:35:45 +08:00
<template>
<view v-if="isRecord">
<recordWeight v-if="rtype==2"></recordWeight>
<skipAdd v-if="rtype==6"></skipAdd>
<lungAdd v-if="rtype==8"></lungAdd>
</view>
</template>
<script>
import recordWeight from './weightAdd.vue';
import skipAdd from "./skipAdd.vue"
import lungAdd from "./lungAdd.vue"
import {
mapState
} from "vuex";
export default {
props: {
rtype: {},
},
components: {
skipAdd,
lungAdd,
recordWeight
},
data() {
return {}
},
computed: {
...mapState(["isRecord"]),
},
methods: {
}
}
</script>
<style scoped lang="scss">
.btn {
width: 40%;
float: right;
margin-top: 15px;
background: $maincolor !important;
}
.close {
background: #dfdfdf !important;
float: left;
}
</style>