<template>
  <div id="info-1">
    <van-row>
      <van-col span="24" class="main">
        <van-col span="24" class="one">
          <van-form label-width="5em">
            <van-field v-model="info.name" name="name" label="项目名称" readonly />
            <van-field v-model="info.time" name="time" label="起止时间" readonly />
            <van-field v-model="info.laiyuancontent" name="laiyuancontent" label="项目来源" type="textarea" autosize rows="1" readonly />
            <van-field v-model="info.projectlevelone" name="projectlevelone" label="项目编号" readonly />
            <van-field v-model="info.money" name="money" label="经费(万元)" readonly />
            <van-field v-model="info.userName" name="userName" label="负责人" readonly />
            <van-field v-model="info.persons" name="persons" label="主要参加人" type="textarea" autosize rows="1" readonly />
            <van-field v-model="info.userproportion" name="userproportion" label="核心成员比例(%)" readonly />
            <van-field v-model="info.directionName" name="directionName" label="研究方向" type="textarea" autosize rows="1" readonly />
            <van-field v-model="info.cooperativeunit" name="cooperativeunit" label="合作单位" type="textarea" autosize rows="1" readonly />
            <van-field v-model="info.projectsource" name="projectsource" label="转态/转化效益(万元)" readonly />
            <van-field v-model="info.projectsourcetwo" name="projectsourcetwo" label="项目来源2" type="textarea" autosize rows="1" readonly />
            <van-field v-model="info.usernum" name="usernum" label="项目总人数" readonly />
            <van-field v-model="info.laiyuancontent" name="laiyuancontent" label="项目来源文本" type="textarea" autosize rows="1" readonly />
            <van-field v-model="info.labname" name="labname" label="立项标准部门(单位)" type="textarea" autosize rows="1" readonly />
          </van-form>
        </van-col>
      </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>
