From 29364155f471b3067f903e7ac12fb077268bf85b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Tue, 7 Feb 2023 14:00:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=B3=E5=85=89=E6=9D=91=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/sunVillage_info/fixedAssets.js | 2 +- src/views/sunVillage_info/list_issues_edit.vue | 6 +++--- src/views/sunVillage_info/list_photo.vue | 3 ++- src/views/sunVillage_info/list_photo_edit.vue | 6 +++--- src/views/sunVillage_info/list_tourists_edit.vue | 6 +++--- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/api/sunVillage_info/fixedAssets.js b/src/api/sunVillage_info/fixedAssets.js index 6ea5dc47..9bb079d3 100644 --- a/src/api/sunVillage_info/fixedAssets.js +++ b/src/api/sunVillage_info/fixedAssets.js @@ -258,7 +258,7 @@ export function tempWorkerOpenAdd(data) { data: data }) } -// 财务公开修改 +// 零工公开修改 export function tempWorkerOpenEdit(data) { return request({ url: '/subcontract/tempWorkerOpen/edit', diff --git a/src/views/sunVillage_info/list_issues_edit.vue b/src/views/sunVillage_info/list_issues_edit.vue index 37796cbd..b468e1d2 100644 --- a/src/views/sunVillage_info/list_issues_edit.vue +++ b/src/views/sunVillage_info/list_issues_edit.vue @@ -189,9 +189,9 @@ this.openNy = data; this.showBuildTime = false; }, - deleteFile1(file){ - console.log(file) - // this.form.openPic.splice(index,1); + deleteFile1(file,detail){ + console.log(detail) + this.openPic2.splice(detail.index,1) }, afterRead(file) { // 此时可以自行将文件上传至服务器 diff --git a/src/views/sunVillage_info/list_photo.vue b/src/views/sunVillage_info/list_photo.vue index 52e4e1b6..bf0cb935 100644 --- a/src/views/sunVillage_info/list_photo.vue +++ b/src/views/sunVillage_info/list_photo.vue @@ -79,6 +79,7 @@ pageSize:10, orderByColumn:'createTime', isAsc:'desc', + translate_dict:1 }, uploadFiles1:[], projectId:'', @@ -108,7 +109,7 @@ pictureList(_this.queryParams).then(response => { _this.listLength = response.total; response.rows.map(res=>{ - res.pictureType = this.selectDictLabel(this.pictureTypeOptions, res.pictureType); + // res.pictureType = this.selectDictLabel(this.pictureTypeOptions, res.pictureType); _this.applicationList.push(res); }) diff --git a/src/views/sunVillage_info/list_photo_edit.vue b/src/views/sunVillage_info/list_photo_edit.vue index d51f0529..57099c27 100644 --- a/src/views/sunVillage_info/list_photo_edit.vue +++ b/src/views/sunVillage_info/list_photo_edit.vue @@ -209,9 +209,9 @@ this.openNy = data; this.showBuildTime = false; }, - deleteFile1(file){ - console.log(file) - // this.form.openPic.splice(index,1); + deleteFile1(file,detail){ + console.log(detail) + this.openPic2.splice(detail.index,1) }, afterRead(file) { // 此时可以自行将文件上传至服务器 diff --git a/src/views/sunVillage_info/list_tourists_edit.vue b/src/views/sunVillage_info/list_tourists_edit.vue index bf89c861..b0ca2a8d 100644 --- a/src/views/sunVillage_info/list_tourists_edit.vue +++ b/src/views/sunVillage_info/list_tourists_edit.vue @@ -181,9 +181,9 @@ this.openNy = data; this.showBuildTime = false; }, - deleteFile1(file){ - console.log(file) - // this.form.openPic.splice(index,1); + deleteFile1(file,detail){ + console.log(detail) + this.openPic2.splice(detail.index,1) }, afterRead(file) { // 此时可以自行将文件上传至服务器