hejianhao
2025-04-16 dab2d210ca06c1faa514c6388fbd5de1ab355360
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<template>
  <v-e :detail="detail"></v-e>
</template>
 
<script>
import vE from "../private/_active";
export default {
  props: {},
  components: { vE },
  data() {
    return { id: -1, detail: {} };
  },
  watch: {},
  methods: {
    init() {
      if (this.id <= 0) {
        demo.toast("无效详情");
        return 0;
      }
      this.$api.get(
        "communitypartybuilding/activityinfo",
        { id: this.id },
        (e) => {
          this.detail = e;
        }
      );
    },
  },
  mounted() {
    this.id = this.$route.params.id;
    this.init();
  },
};
</script>
<style lang='less' scoped>
</style>