|
@@ -890,15 +890,16 @@ export default {
|
|
|
// 附件
|
|
|
openEnclosure(){
|
|
|
this.$refs.attachmentDisplay.AttachmentModVis = true
|
|
|
- this.$refs.attachmentDisplay.attachmentData = [
|
|
|
- {
|
|
|
- name:'xxx.png',
|
|
|
- src:'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png'
|
|
|
- },{
|
|
|
- name:'dd',
|
|
|
- src:require('@/assets/logo1.png')
|
|
|
- }
|
|
|
- ]
|
|
|
+ var attachList = [];
|
|
|
+ if (this.fabricLoss != null && this.fabricLoss.accessorItemList != null){
|
|
|
+ this.fabricLoss.accessorItemList.forEach(e=>{
|
|
|
+ var attach = {};
|
|
|
+ attach.name = e.filename;
|
|
|
+ attach.src=e.fileurl;
|
|
|
+ attachList.push(attach);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.$refs.attachmentDisplay.attachmentData = attachList;
|
|
|
},
|
|
|
|
|
|
// father
|