<template>
  <div id="info-1">
    <van-row>
      <van-col span="24" class="main">
        <van-form>
          <van-col span="24" class="one">
            <van-divider :style="{ color: '#1989fa', borderColor: '#1989fa', padding: '0 10px' }"> 实验室主任 </van-divider>
            <van-field v-model="info.labName" name="labName" label="姓名" readonly />
            <van-field v-model="info.labCardtime" name="labCardtime" label="出生年月" readonly />
            <van-field v-model="info.labJob" name="labJob" label="职称" readonly />
            <van-field v-model="info.labArea" name="labArea" label="专业领域" readonly />
            <van-field v-model="info.labJobtime" name="labJobtime" label="任职时间" readonly />
            <van-field v-model="info.labPosition" name="labPosition" label="依托专业职务" readonly />
          </van-col>
          <van-col span="24" class="one">
            <van-divider :style="{ color: '#1989fa', borderColor: '#1989fa', padding: '0 10px' }"> 学术委员会主任 </van-divider>
            <van-field v-model="info.committeeName" name="committeeName" label="姓名" readonly />
            <van-field v-model="info.committeeCardtime" name="committeeCardtime" label="出生年月" readonly />
            <van-field v-model="info.assistantJob" name="assistantJob" label="职称" readonly />
            <van-field v-model="info.committeeArea" name="committeeArea" label="专业领域" readonly />
            <van-field v-model="info.committeeJobtime" name="committeeJobtime" label="任职时间" readonly />
            <van-field v-model="info.committeePosition" name="committeePosition" label="依托专业职务" readonly />
          </van-col>
          <van-col span="24" class="one">
            <van-divider :style="{ color: '#1989fa', borderColor: '#1989fa', padding: '0 10px' }"> 科研助理 </van-divider>
            <van-field v-model="info.assistantName" name="assistantName" label="姓名" readonly />
            <van-field v-model="info.assistantCardtime" name="assistantCardtime" label="出生年月" readonly />
            <van-field v-model="info.assistantJob" name="assistantJob" label="职称" readonly />
            <van-field v-model="info.assistantArea" name="assistantArea" label="专业领域" readonly />
            <van-field v-model="info.assistantJobtime" name="assistantJobtime" label="任职时间" readonly />
            <van-field v-model="info.assistantPosition" name="assistantPosition" label="依托专业职务" readonly />
          </van-col>
        </van-form>
      </van-col>
    </van-row>
  </div>
</template>

<script>
import { mapState, createNamespacedHelpers } from 'vuex';
export default {
  name: 'info-1',
  props: {
    info: { type: Object },
  },
  components: {},
  data: function () {
    return {};
  },
  created() {},
  methods: {},
  computed: {
    ...mapState(['user']),
  },
  metaInfo() {
    return { title: this.$route.meta.title };
  },
  watch: {
    test: {
      deep: true,
      immediate: true,
      handler(val) {},
    },
  },
};
</script>

<style lang="less" scoped>
.main {
  .one {
    .van-divider {
      margin: 10px 0;
    }
  }
}
</style>
