|
|
@ -8,7 +8,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="content-box"> |
|
|
|
|
|
|
|
|
<div class="content-box" v-if="study.id!='' && study.id!=undefined"> |
|
|
<ytbd v-if="active === 'ytbd'" :study="study" @showDetail="showDetailCallback" /> |
|
|
<ytbd v-if="active === 'ytbd'" :study="study" @showDetail="showDetailCallback" /> |
|
|
<tbbd v-if="active === 'tbbd'" :study="study" @showDetail="showDetailCallback"/> |
|
|
<tbbd v-if="active === 'tbbd'" :study="study" @showDetail="showDetailCallback"/> |
|
|
<syff v-if="active === 'syff'" :study="study" @showDetail="showDetailCallback"/> |
|
|
<syff v-if="active === 'syff'" :study="study" @showDetail="showDetailCallback"/> |
|
|
@ -19,12 +19,13 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
|
|
|
import { nonTrial_info} from "@/api/business/form/nonTrial"; |
|
|
import ytbd from './ytbd.vue' |
|
|
import ytbd from './ytbd.vue' |
|
|
import tbbd from './tbbd.vue' |
|
|
import tbbd from './tbbd.vue' |
|
|
import syff from './syff.vue' |
|
|
import syff from './syff.vue' |
|
|
import wzlb from './wzlb.vue' |
|
|
import wzlb from './wzlb.vue' |
|
|
export default { |
|
|
export default { |
|
|
name: 'StudyEnter', |
|
|
|
|
|
|
|
|
name: 'NonTrialEnter', |
|
|
props: {}, |
|
|
props: {}, |
|
|
components: { ytbd, tbbd ,syff,wzlb}, |
|
|
components: { ytbd, tbbd ,syff,wzlb}, |
|
|
computed: {}, |
|
|
computed: {}, |
|
|
@ -43,8 +44,18 @@ export default { |
|
|
study: {}, |
|
|
study: {}, |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
created() { }, |
|
|
|
|
|
|
|
|
created() {this.getInfo() }, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
getInfo(){ |
|
|
|
|
|
this.$modal.loading() |
|
|
|
|
|
nonTrial_info({id:this.$route.params.studyId}).then(({data}) => { |
|
|
|
|
|
this.study = data |
|
|
|
|
|
const obj = Object.assign({}, this.$route, { title: '非试验:'+this.study.sn }) |
|
|
|
|
|
this.$tab.updatePage(obj); |
|
|
|
|
|
}).finally(() => { |
|
|
|
|
|
this.$modal.closeLoading() |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
show(row) { |
|
|
show(row) { |
|
|
this.study = row |
|
|
this.study = row |
|
|
}, |
|
|
}, |
|
|
@ -61,6 +72,7 @@ export default { |
|
|
</script> |
|
|
</script> |
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
.study-enter { |
|
|
.study-enter { |
|
|
|
|
|
margin: 10px 10px; |
|
|
.search-box { |
|
|
.search-box { |
|
|
background: #fff; |
|
|
background: #fff; |
|
|
padding: 0; |
|
|
padding: 0; |
|
|
|