yxh
2023-03-21 acd7802beaa570c6811ed7227e441e39e8c5e37e
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 => {