Commit 92f3db95 by 李伟康

commit 提交

1 parent 7a9bf667
<template>
<view class="layout">
</view>
</template>
<script type='text/ecmascript-6'>
export default {
name: '',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
</style>
\ No newline at end of file
......@@ -6,9 +6,7 @@
* @LastEditTime: 2024-05-31 16:07:23
-->
<template>
<view
class="detail-box"
>
<view class="detail-box">
<view class="nav-bar">
<view
class="back"
......@@ -25,7 +23,14 @@
:class="['view', { showView: id == item.id }]"
:key="index"
>
<membranes :id="id"></membranes>
<component
:is="componentName"
:views="item.receptionSourceDetailList || []"
:ref="'media'+item.id"
:title="item.detailTitle || ''"
:madiaId="item.id"
/>
<!-- <membranes :id="id"></membranes> -->
</view>
</template>
<template v-if="type != 'preview'">
......@@ -49,12 +54,14 @@ import ToolBox from "@/components/ToolBox.vue";
import myClick from "@/mixin/click";
import FinishStep from '@/components/FinishStep.vue';
import Membranes from "./membranes.vue";
import Reception from './components/Reception.vue'
import { mapMutations } from "vuex";
export default {
components: {
ToolBox,
FinishStep,
Membranes
Membranes,
Reception
},
mixins: [myClick],
props: {
......@@ -74,6 +81,14 @@ export default {
watchStatus () {
return this.$store.state.user.historyStatus
},
componentName () {
let { id } = this,
name = ''
if (id == 7) name = 'reception'
else if ([8, 10, 11].includes(id)) name = 'membranes'
else ''
return name
}
},
mounted () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!