info-1.vue 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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.name" name="name" label="研究方向" readonly />
  8. <van-field v-model="info.personName" name="personName" label="方向带头人" readonly />
  9. <van-field v-model="info.persons" name="核心成员" label="核心成员" readonly />
  10. </van-form>
  11. </van-col>
  12. </van-col>
  13. </van-row>
  14. </div>
  15. </template>
  16. <script>
  17. import { mapState, createNamespacedHelpers } from 'vuex';
  18. export default {
  19. name: 'info-1',
  20. props: {
  21. info: { type: Object },
  22. },
  23. components: {},
  24. data: function () {
  25. return {};
  26. },
  27. created() {},
  28. methods: {},
  29. computed: {
  30. ...mapState(['user']),
  31. },
  32. metaInfo() {
  33. return { title: this.$route.meta.title };
  34. },
  35. watch: {
  36. test: {
  37. deep: true,
  38. immediate: true,
  39. handler(val) {},
  40. },
  41. },
  42. };
  43. </script>
  44. <style lang="less" scoped></style>