detail.vue 866 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <template>
  2. <div>
  3. <el-card
  4. shadow="hover"
  5. class="mb-20"
  6. style="height: 630px; padding: 0; width: 99%"
  7. >
  8. <info :project-id="id" :info="detail"></info>
  9. </el-card>
  10. </div>
  11. </template>
  12. <route>
  13. {
  14. name: '到位资金详情',
  15. meta: { layout: 'empty'}
  16. }
  17. </route>
  18. <script>
  19. import info from '@/views/funds/component/info.vue'
  20. export default {
  21. components: { info },
  22. data() {
  23. return {
  24. id: '',
  25. detail: null
  26. }
  27. },
  28. created() {
  29. this.id = this.$route.query.id
  30. // this.getFundsList()
  31. },
  32. methods: {
  33. // getFundsList() {
  34. // this.$api.funds.fundsList({ project: this.id }).then(res => {
  35. // if (res.code === 200) {
  36. // this.detail = res.data
  37. // }
  38. // })
  39. // }
  40. }
  41. }
  42. </script>
  43. <style lang="scss" scoped>
  44. :deep(.el-card) {
  45. --el-card-padding: 0 !important;
  46. }
  47. </style>