49 lines
761 B
Vue
49 lines
761 B
Vue
<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> |