Parcourir la source

优化

wulanhaote
庞东旭 il y a 2 ans
Parent
révision
dc166568fa
3 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. +2
    -2
      src/views/sunVillage_info/list_finance_detail.vue
  2. +2
    -2
      src/views/sunVillage_info/list_issues_detail.vue
  3. +2
    -2
      src/views/sunVillage_info/list_tourists_detail.vue

+ 2
- 2
src/views/sunVillage_info/list_finance_detail.vue Voir le fichier

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


+ 2
- 2
src/views/sunVillage_info/list_issues_detail.vue Voir le fichier

@@ -51,7 +51,7 @@
<div v-for="(item,index) in openFileList" :key="index" style="display: flex;align-items: center;margin-top: 10px;"> <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/WORD.png" width="30" v-if="item.type == 'word'"/>
<img src="../../assets/images/sunVillage_info/ECEL.png" width="30" v-if="item.type == 'excel'" /> <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> </div>
</div> </div>
@@ -131,7 +131,7 @@
}else if(name.indexOf('.xls') > -1){ }else if(name.indexOf('.xls') > -1){
type = 'excel'; 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){ if (res.data.openPic !='' && res.data.openPic != null && res.data.openPic != undefined){


+ 2
- 2
src/views/sunVillage_info/list_tourists_detail.vue Voir le fichier

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


Chargement…
Annuler
Enregistrer