|
|
@@ -51,7 +51,7 @@ |
|
|
|
<div v-for="(item,index) in openFileList" :key="index" style="display: flex;align-items: center;margin-top: 10px;"> |
|
|
|
<img src="../../assets/images/sunVillage_info/WORD.png" width="30" v-if="item.type == 'word'"/> |
|
|
|
<img src="../../assets/images/sunVillage_info/ECEL.png" width="30" v-if="item.type == 'excel'" /> |
|
|
|
<p style="margin-left: 10px;">{{item.name}}</p> |
|
|
|
<a :href="item.url" style="margin-left: 10px;color: #333333">{{item.name}}</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@@ -123,7 +123,7 @@ |
|
|
|
}else if(name.indexOf('.xls') > -1){ |
|
|
|
type = 'excel'; |
|
|
|
} |
|
|
|
this.openFileList.push({name:name,type:type}) |
|
|
|
this.openFileList.push({name:name,type:type,url:'/api'+rr}) |
|
|
|
}) |
|
|
|
} |
|
|
|
if (res.data.openPic !='' && res.data.openPic != null && res.data.openPic != undefined){ |
|
|
|