fix:审批图片复现

This commit is contained in:
shijing 2024-08-19 16:33:56 +08:00
parent 5dcbe0c8e4
commit 8a8c8322a5
1 changed files with 17 additions and 5 deletions

View File

@ -769,11 +769,23 @@ export default {
}, },
// //
getOpl() { getOpl() {
this.$API.opm.opl.read.req(this.projectId).then((res) => { let that = this;
debugger; that.$API.opm.opl.read.req(that.projectId).then((res) => {
console.log(res); // debugger;
this.itemDetail = res; // console.log(res);
this.operationId = res.operation; 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() { showMoreInfo() {