diff --git a/src/views/repairTest/testExamine/index.vue b/src/views/repairTest/testExamine/index.vue
index 185a3d0..70de307 100644
--- a/src/views/repairTest/testExamine/index.vue
+++ b/src/views/repairTest/testExamine/index.vue
@@ -289,7 +289,7 @@
驳回
-
+
{
+ console.log('🚀 ~ .then ~ response:', response)
if (response.code == 200) {
// this.loading = false;
this.open = true
this.dialogList = response.rows
this.dialogTotal = response.total
- this.repairId = rows.repairId
+ // this.repairId = rows.repairId
+ if (this.dialogList) {
+ this.dialogList.forEach((item) => {
+ if (item.fileList) {
+ item.fileList.forEach((e) => {
+ this.$set(e, 'url', e.fileUrl)
+ this.$set(e, 'name', e.fileName)
+ })
+ }
+ })
+ }
}
})
- .catch(() => {})
+ .catch((err) => {
+ console.log('🚀 ~ getdialogList ~ err:', err)
+ })
},
checkClick() {
this.title = '审批'
@@ -1160,7 +1173,8 @@ export default {
return isLtMB
},
beforeRemove(file, fileList) {
- if (this.type == 'update') return false
+ console.log('🚀 ~ beforeRemove ~ this.type:', this.type)
+ if (this.type == 'see') return false
return this.$confirm(`确定移除 ${file.name} ?`)
},