From af1f597ddfe832106a03d51df36021dced11f9dc Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期二, 21 三月 2023 16:04:51 +0800 Subject: [PATCH] yxh --- ruoyi-ui/src/views/smartor/svytopic/maint.vue | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/ruoyi-ui/src/views/smartor/svytopic/maint.vue b/ruoyi-ui/src/views/smartor/svytopic/maint.vue index b1d00b7..9860055 100644 --- a/ruoyi-ui/src/views/smartor/svytopic/maint.vue +++ b/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> \ No newline at end of file -- Gitblit v1.9.3