From 7fac76af0b3c0f320c0478e8150cc4ec943d4a0f Mon Sep 17 00:00:00 2001
From: qianxj <qianxj15@sina.com>
Date: 星期二, 21 三月 2023 11:46:44 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/smartor-web

---
 ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_list.vue |    7 +++++--
 1 files changed, 5 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 bbcd082..dfc88da 100644
--- a/ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_list.vue
+++ b/ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_list.vue
@@ -38,6 +38,7 @@
           </template>
         </el-table-column>
       </el-table>
+      <maintdlg ref="maint"/>
     </div>
   </template>
   
@@ -49,6 +50,7 @@
     name: "Svytopicoption",
     data() {
       return {
+        topicId: null,
         single: true,
         // 闈炲涓鐢�
         multiple: true,
@@ -78,6 +80,7 @@
     methods: {
       /** 鏌ヨ闂嵎闂閫夐」鍒楄〃 */
       getList(topicId) {
+        this.topicId = topicId;
         this.loading = true;
         this.queryParams.topicid = topicId;
         listSvytopicoption(this.queryParams).then(response => {
@@ -95,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