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() {