From fbec0a50ff9a4e4afb5ac7cbb965020acb9db2c7 Mon Sep 17 00:00:00 2001 From: yz3456 <2753272399@qq.com> Date: 星期五, 10 五月 2024 15:35:10 +0800 Subject: [PATCH] 备忘录添加了fid --- ruoyi-ui/src/views/device/memo.vue | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/ruoyi-ui/src/views/device/memo.vue b/ruoyi-ui/src/views/device/memo.vue index 9d01a79..288c055 100644 --- a/ruoyi-ui/src/views/device/memo.vue +++ b/ruoyi-ui/src/views/device/memo.vue @@ -363,7 +363,7 @@ id:undefined, content: undefined, happenTime: undefined, - fid:2007, + fid:2017, cid:undefined, url:'' }, @@ -383,7 +383,7 @@ id:undefined, content: undefined, happenTime: undefined, - fid:2007, + fid:2017, cid:undefined, url:''}, // 寮瑰嚭灞傛爣棰� @@ -415,7 +415,7 @@ id:undefined, content: undefined, happenTime: undefined, - fid:2007, + fid:2017, cid:undefined, url:'' }, @@ -469,7 +469,7 @@ const cid = this.$route.params && this.$route.params.id; - this.getList(2007,cid); + this.getList(2017,cid); }, methods: { @@ -526,8 +526,8 @@ formData.append("files", elem) }) const cid = this.$route.params && this.$route.params.id; - const fid =2007; - this.formDat.fid = 2007; + const fid =2017; + this.formDat.fid = 2017; this.formDat.cid = parseInt(cid) ; let _this = this @@ -562,8 +562,8 @@ submitDataScope6: function() { const cid = this.$route.params && this.$route.params.id; - const fid =2007; - this.formDat.fid = 2007; + const fid =2017; + this.formDat.fid = 2017; this.formDat.cid = cid ; // console.log(this.formDat,'formDatformDatformDatformDat') // console.log(this.isEdit1) @@ -587,7 +587,7 @@ this.handleRemoveFile(this.fileListOther[0]); } this.isEdit1 = false; - this.getList(2007,cid); + this.getList(2017,cid); }).catch(error => { console.log(error,'erroerro1'); this.isEdit1 = false; @@ -612,7 +612,7 @@ for(let i = 0; i < this.fileListOther.length; i++){ this.handleRemoveFile(this.fileListOther[0]); } - this.getList(2007,cid); + this.getList(2017,cid); }).catch(error => { console.log(error,'erroerro2'); this.open = false; @@ -693,7 +693,7 @@ this.queryParams.happenStartTime = this.dateRange.length > 0 && this.dateRange[0] this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1] - listNote(cid, 2007).then(response => { + listNote(cid, 2017).then(response => { this.memoList = response.data; // console.log(response,'formDataformDataformDataformDataformData') this.loading = false; @@ -890,7 +890,7 @@ }, /** 鎼滅储鎸夐挳鎿嶄綔 */ handleQuery() { - const fid = 2007; + const fid = 2017; const cid = this.$route.params && this.$route.params.id; this.queryParams.pageNum = 1; this.getList(fid,cid); @@ -960,14 +960,14 @@ /** 鎻愪氦鎸夐挳锛堟暟鎹潈闄愶級 */ submitDataScope: function() { const cid = this.$route.params && this.$route.params.id; - const fid =2007; + const fid =2017; let ul = this.fileList.map(function (elem){ return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"") }).join(",") let uls = this.fileListOther.map(function (elem){ return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"") }).join(",") - this.formDat.fid = 2007; + this.formDat.fid = 2017; this.formDat.cid = cid ; this.formDat.url = ul+","+uls @@ -981,7 +981,7 @@ Object.keys(this.formDat).forEach(key => { this.formDat[key] = ''; }); - this.getList(2007,cid); + this.getList(2017,cid); }); } @@ -1012,7 +1012,7 @@ /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { const id = row.id || this.id; - const fid = 2007; + const fid = 2017; const cid = this.$route.params && this.$route.params.id; this.$modal.confirm('鏄惁纭鍒犻櫎鎵�閫夋暟鎹」锛�').then(function() { return delNote(id); -- Gitblit v1.9.1