69 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
			
		
		
	
	
			69 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
<template>
 | 
						|
  <div>
 | 
						|
    <QuestionsForm
 | 
						|
      :data="data"
 | 
						|
      :trial-clinical-id="trialClinicalId"
 | 
						|
      :is-viewer="isViewer"
 | 
						|
      :visit-id="visitId"
 | 
						|
      :subject-id="subjectId"
 | 
						|
      :trial-id="trialId"
 | 
						|
      :reading-id="readingId"
 | 
						|
      :clinical-form-id="clinicalFormId"
 | 
						|
      @close="close"
 | 
						|
    ></QuestionsForm>
 | 
						|
  </div>
 | 
						|
</template>
 | 
						|
 | 
						|
<script>
 | 
						|
import QuestionsForm from './components/QuestionsForm'
 | 
						|
export default {
 | 
						|
name: "index",
 | 
						|
  components: { QuestionsForm },
 | 
						|
  methods: {
 | 
						|
    close() {
 | 
						|
      this.$emit('close')
 | 
						|
    }
 | 
						|
  },
 | 
						|
  props: {
 | 
						|
    isViewer: {
 | 
						|
      type: Boolean,
 | 
						|
      default: () => true
 | 
						|
    },
 | 
						|
    visitId: {
 | 
						|
      type: String,
 | 
						|
      default: () => ''
 | 
						|
    },
 | 
						|
    subjectId: {
 | 
						|
      type: String,
 | 
						|
      default: () => ''
 | 
						|
    },
 | 
						|
    trialId: {
 | 
						|
      type: String,
 | 
						|
      default: () => ''
 | 
						|
    },
 | 
						|
    readingId: {
 | 
						|
      type: String,
 | 
						|
      default: () => ''
 | 
						|
    },
 | 
						|
    clinicalFormId: {
 | 
						|
      type: String,
 | 
						|
      default: () => ''
 | 
						|
    },
 | 
						|
    data: {
 | 
						|
      type: Object,
 | 
						|
      default: () => {}
 | 
						|
    },
 | 
						|
    trialClinicalId: {
 | 
						|
      type: String,
 | 
						|
      default: () => {
 | 
						|
        return ''
 | 
						|
      }
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 | 
						|
</script>
 | 
						|
 | 
						|
<style scoped>
 | 
						|
 | 
						|
</style>
 |