linwenling
2023-08-08 45cdf666979e1248a4c2f4d8c915b747ba11d479
ruoyi-ui/src/views/secret/memo.vue
@@ -219,8 +219,9 @@
      listNote(cid, 2031).then(response => {
          this.memoList = response.data;
          console.log(this.memoList)
         // alert(response.data.total)
          this.total = response.data.total;
         // alert(this.total)
          this.loading = false;
        }
      );
@@ -339,12 +340,16 @@
          addNote(this.formDat).then(response => {
            this.$modal.msgSuccess("新增成功");
            this.open = false;
            // this.queryParams.cid = cid
            // this.queryParams.fid = fid
            this.getList(fid,cid);
            this.getList(this.formDat.fid,this.formDat.cid);
            resetQuery();
          });
        }
      });
      //清空formDat对象的数据
      Object.keys(this.formDat).forEach(key => {
        this.formDat[key] = '';
      });
    },
    requestUpload(params)
@@ -380,7 +385,7 @@
      }).then(() => {
        // this.getList(fid,cid);
        this.$modal.msgSuccess("删除成功");
        getList(fid,cid);
        this.getList(fid,cid);
      }).catch(() => {});
    },
    /** 导出按钮操作 */