From 86b6ecee0111eeccf11ab5e440b0bac161fa65c4 Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期二, 12 九月 2023 19:48:08 +0800
Subject: [PATCH] 家庭模块的打印
---
ruoyi-ui/src/views/secret/memo.vue | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/ruoyi-ui/src/views/secret/memo.vue b/ruoyi-ui/src/views/secret/memo.vue
index 9f68237..8382a80 100644
--- a/ruoyi-ui/src/views/secret/memo.vue
+++ b/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(() => {});
},
/** 瀵煎嚭鎸夐挳鎿嶄綔 */
--
Gitblit v1.9.1