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) { // 此时可以自行将文件上传至服务器