From d49d271a064aaa8fe04b4fe476240be731a18733 Mon Sep 17 00:00:00 2001 From: qianxj <qianxj15@sina.com> Date: 星期二, 21 三月 2023 10:35:47 +0800 Subject: [PATCH] update svytopic --- ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_list.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_list.vue b/ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_list.vue index d5337f4..dfc88da 100644 --- a/ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_list.vue +++ b/ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_list.vue @@ -50,6 +50,7 @@ name: "Svytopicoption", data() { return { + topicId: null, single: true, // 闈炲涓鐢� multiple: true, @@ -79,6 +80,7 @@ methods: { /** 鏌ヨ闂嵎闂閫夐」鍒楄〃 */ getList(topicId) { + this.topicId = topicId; this.loading = true; this.queryParams.topicid = topicId; listSvytopicoption(this.queryParams).then(response => { @@ -96,13 +98,13 @@ }, /** 鏂板鎸夐挳鎿嶄綔 */ handleAdd() { - this.$refs["maint"].handleUpdate(null) + this.$refs["maint"].handleUpdate2(null,this.topicId) return }, /** 淇敼鎸夐挳鎿嶄綔 */ handleUpdate(row) { const optionid = row.optionid || this.ids - this.$refs["maint"].handleUpdate(optionid) + this.$refs["maint"].handleUpdate2(optionid,this.topicId) return }, -- Gitblit v1.9.3