From 8a8c8322a5031a58817b71b0c1552b4f307ed834 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 19 Aug 2024 16:33:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=AE=A1=E6=89=B9=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=A4=8D=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wf/ticketdetail.vue | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/views/wf/ticketdetail.vue b/src/views/wf/ticketdetail.vue index ef8343c3..6d2fba90 100644 --- a/src/views/wf/ticketdetail.vue +++ b/src/views/wf/ticketdetail.vue @@ -769,11 +769,23 @@ export default { }, //许可证详情 getOpl() { - this.$API.opm.opl.read.req(this.projectId).then((res) => { - debugger; - console.log(res); - this.itemDetail = res; - this.operationId = res.operation; + let that = this; + that.$API.opm.opl.read.req(that.projectId).then((res) => { + // debugger; + // console.log(res); + that.itemDetail = res; + that.operationId = res.operation; + if(res.audit_imgs.length>0){ + that.audit_imgs = res.audit_imgs; + res.audit_imgs_.forEach((item) => { + let obj = {}; + Object.assign(obj, item); + obj.url = item.file; + that.fileurl.push(obj) + }); + // console.log('that.audit_imgs',that.audit_imgs) + // console.log('that.fileurl',that.fileurl) + } }); }, showMoreInfo() {