director-1.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <template>
  2. <div id="info-1">
  3. <van-row>
  4. <van-col span="24" class="main">
  5. <van-col span="24" class="one">
  6. <van-form>
  7. <van-field v-model="info.chiefName" name="chiefName" label="实验室主任" readonly />
  8. <van-field v-model="info.labPerson" name="labPerson" label="实验室联系人" readonly />
  9. <van-field v-model="info.labPhone" name="labPhone" label="实验室联系人电话" readonly />
  10. <van-field v-model="info.labEmail" name="labEmail" label="E-mail地址" readonly />
  11. </van-form>
  12. </van-col>
  13. </van-col>
  14. </van-row>
  15. </div>
  16. </template>
  17. <script>
  18. import { mapState, createNamespacedHelpers } from 'vuex';
  19. export default {
  20. name: 'info-1',
  21. props: {
  22. info: { type: Object },
  23. },
  24. components: {},
  25. data: function () {
  26. return {};
  27. },
  28. created() {},
  29. methods: {},
  30. computed: {
  31. ...mapState(['user']),
  32. },
  33. metaInfo() {
  34. return { title: this.$route.meta.title };
  35. },
  36. watch: {
  37. test: {
  38. deep: true,
  39. immediate: true,
  40. handler(val) {},
  41. },
  42. },
  43. };
  44. </script>
  45. <style lang="less" scoped></style>