1234567891011121314151617181920212223242526272829303132 |
- <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>
|