yxh
yxh
2023-03-21 af1f597ddfe832106a03d51df36021dced11f9dc
ruoyi-ui/src/views/smartor/svytopic/maint.vue
@@ -1,20 +1,24 @@
<template>
    <div class="app-container">
    <dw_base ref="base"/>
    <dw_detail ref="detail"/>
  <div class="app-container" style="background: #f3f3f3;">
    <div style="padding:20px; background:#fff; ">
      <dw_base ref="base" />
    </div>
    <div style="padding:20px; background:#fff; margin-top:20px;">
      <dw_detail ref="detail" />
    </div>
  </div>
</template>
<script>
 import { listSvytopic, getSvytopic, delSvytopic, addSvytopic, updateSvytopic } from "@/api/smartor/svytopic";
 import dw_base from "@/smartor/dataobject/dw_svytopic_maint.vue";
 import dw_detail from  "@/smartor/dataobject/dw_svytopicoption_list.vue";
import { listSvytopic, getSvytopic, delSvytopic, addSvytopic, updateSvytopic } from "@/api/smartor/svytopic";
import dw_base from "@/smartor/dataobject/dw_svytopic_maint.vue";
import dw_detail from "@/smartor/dataobject/dw_svytopicoption_list.vue";
export default {
  name: "SvytopicMaint",
  dicts: ['sys_yes_no'],
  data() {
    return {
        topicid:null,
      topicid: null,
    }
  },
  components:
@@ -23,13 +27,13 @@
    dw_detail: dw_detail
  },
  created() {
  },
  mounted() {
    const topicId = this.$route.params && this.$route.params.topicId
    //const topicId = 1
    this.$refs["base"].Retrieve(topicId)
    this.$refs["detail"].getList(topicId)
    this.$refs["base"].Retrieve(topicId)
    this.$refs["detail"].getList(topicId)
  }
}
</script>