From 398320b860e0ceb8305fff274da027cc0ed9bce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Sat, 13 Aug 2022 17:33:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sunVillage_info/details_issues.vue | 163 +++++++++++++++++++ src/views/sunVillage_info/fixedAssets.vue | 6 +- src/views/sunVillage_info/fixedAssetsAdd.vue | 2 +- src/views/sunVillage_info/information.vue | 4 +- 4 files changed, 167 insertions(+), 8 deletions(-) create mode 100644 src/views/sunVillage_info/details_issues.vue diff --git a/src/views/sunVillage_info/details_issues.vue b/src/views/sunVillage_info/details_issues.vue new file mode 100644 index 00000000..da0cce0d --- /dev/null +++ b/src/views/sunVillage_info/details_issues.vue @@ -0,0 +1,163 @@ + + + + + diff --git a/src/views/sunVillage_info/fixedAssets.vue b/src/views/sunVillage_info/fixedAssets.vue index 6c254007..62f2cd6e 100644 --- a/src/views/sunVillage_info/fixedAssets.vue +++ b/src/views/sunVillage_info/fixedAssets.vue @@ -126,18 +126,16 @@ }, afterRead(file) { // 此时可以自行将文件上传至服务器 - this.uploadFiles1.push(file.file); - this.uploadFiles1.map((rr1,idx1) => { + this.uploadFiles1.push(file.file); let params1 = new FormData(); params1.append("tableId", this.projectId); params1.append("tableName", "t_asset_permanent"); params1.append("bizPath", "asset"); params1.append("fileType", this.projectIndex); - params1.append("file", rr1); + params1.append("file", file.file); commonAttach(params1).then((r1) => { this.$notify({ type: 'success', message: '上传成功' }); }) - }) }, openLoader(id,index){ this.show = true; diff --git a/src/views/sunVillage_info/fixedAssetsAdd.vue b/src/views/sunVillage_info/fixedAssetsAdd.vue index 503c69fb..70cb82dd 100644 --- a/src/views/sunVillage_info/fixedAssetsAdd.vue +++ b/src/views/sunVillage_info/fixedAssetsAdd.vue @@ -10,8 +10,8 @@

基本信息

+ - { let params1 = new FormData(); params1.append("tableId", this.projectId); params1.append("tableName", "t_contraction_info"); params1.append("bizPath", "contraction"); params1.append("fileType", this.projectIndex); - params1.append("file", rr1); + params1.append("file", file.file); commonAttach(params1).then((r1) => { this.$notify({ type: 'success', message: '上传成功' }); }) - }) }, openLoader(id,index){ this.show = true;