qianxj
2023-03-21 d49d271a064aaa8fe04b4fe476240be731a18733
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 
      },