<template>
  <view style="padding: 30rpx"> {{ detailData.Content }} </view>
</template>

<script>
import { Reports } from "@/config/api.js";

export default {
  data() {
    return {
      id: "",
      detailData: {},
    };
  },
  methods: {
    async getDetail() {
      const res = await Reports.collectionApplyDetail({
        ApplyCollectionId: this.id,
      });
      if (res.Ret === 200) {
        this.detailData = res.Data.Detail;
      }
    },
  },
  onLoad(options) {
    this.id = Number(options.id) || "";
    this.getDetail();
  },
};
</script>

<style></style>
