From acd7802beaa570c6811ed7227e441e39e8c5e37e Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期二, 21 三月 2023 16:07:23 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/smartor-web
---
ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_maint.vue | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_maint.vue b/ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_maint.vue
index 3457a7a..4ce4538 100644
--- a/ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_maint.vue
+++ b/ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_maint.vue
@@ -147,6 +147,22 @@
this.title = "鏂板闂嵎闂閫夐」";
}
},
+ handleUpdate2(id,topicId) {
+ this.reset();
+ this.open = true;
+ if (id != null) {
+ const optionid = id;
+ getSvytopicoption(optionid).then(response => {
+ this.form = response.data;
+ this.form.topicid = topicId;
+ this.title = "淇敼闂嵎闂閫夐」";
+ });
+ }else
+ {
+ this.form.topicid = topicId;
+ this.title = "鏂板闂嵎闂閫夐」";
+ }
+ },
/** 鎻愪氦鎸夐挳 */
submitForm() {
this.$refs["form"].validate(valid => {
--
Gitblit v1.9.3