<template>
  <input-detail-page
    :record-id="recordId"
    input-type="doctor"
    edit-path="/subPackages/sub_salesperson/doctor-input/form"
  />
</template>
<script>
import InputDetailPage from '@/subPackages/sub_salesperson/input/InputDetailPage.vue'
import { getInputBusinessContext } from '@/subPackages/sub_salesperson/common/context.js'
export default {
  components: { InputDetailPage },
  provide() { return { businessContext: getInputBusinessContext() } },
  data() {
    return { recordId: 0 }
  },
  onLoad(q) {
    this.recordId = Number(q.id || 0)
  },
}
</script>
