提交 d3941500 authored 作者: quanlili's avatar quanlili

修改图册

上级 5a521307
......@@ -597,8 +597,8 @@ export default {
handleMap(){
var myGeo = new BMap.Geocoder();
// 将地址解析结果显示在地图上,并调整地图视野
myGeo.getPoint("北京市海淀区上地10街10号", function(point){
console.log(point,'ppppppp')
myGeo.getPoint("昆明市", function(point){
//console.log(point,'ppppppp')
if (point) {
// map.centerAndZoom(point, 16);
// map.addOverlay(new BMap.Marker(point));
......
......@@ -47,6 +47,9 @@
清太祖爱新觉罗·努尔哈赤(1559年2月21日—1626年9月30日),清朝的奠基者,后金开国之君,通满语和汉语,喜读《三国演义》。二十五岁时起兵统一女真各部,明神宗万历四十四年...
</p> -->
</div>
<!-- <el-tag type="success" effect="dark" style="margin-right: 40px;" v-if="item.albumId">图册</el-tag>
<el-tag type="warning" effect="dark" style="margin-right: 40px;">待交接</el-tag> -->
<el-button type="success" size="mini" style="margin-right: 40px;" v-if="item.albumId">图册</el-button>
<el-button type="warning" size="mini" style="margin-right: 40px;">待交接</el-button>
<img class="tag_img" :src="`${domain}${requestPath.file}?fileName=${item.userImg}&isOnLine=true`" v-if="item.userImg" alt="头像" :title="item.createrName">
<img class="tag_img" src="../../../assets/img/default.png" v-else alt="默认头像" :title="item.createrName">
......
......@@ -14,8 +14,8 @@
<p>
<span>资源题名:{{pdf.name}}{{pdf.createrName}}{{pdf.createTime}} 提交</span>
<span v-if="resourceType==2||resourceType==6">
<el-button type="primary" icon="el-icon-download" size="mini">下载原文件</el-button>
<el-button type="primary" icon="" size="mini">进入图册</el-button>
<el-button type="primary" icon="el-icon-download" size="mini" @click="downPic">下载原文件</el-button>
<el-button type="primary" icon="" size="mini" @click="linkPic" v-if="pdf.albumId">进入图册</el-button>
</span>
<span v-else>
<img src="~@/assets/img/pdf.png" alt="pdf" class="pdf_icon">
......@@ -174,6 +174,7 @@ export default {
id:'',
resourceType:null,
pdf:{},
fileName:''
}
},
mounted() {
......@@ -201,6 +202,7 @@ export default {
let {fileName}=res.data.data;
this.pdf=res.data.data;
this.activeStatus=this.pdf.status;
this.fileName=fileName;
this.pdf.fileName=`${this.domain}${requestPath.file}?fileName=${fileName}&isOnLine=true`;
}else{
this.$message.error('获取失败')
......@@ -224,6 +226,12 @@ export default {
});
},
downPic(){
window.open(`${this.domain}${requestPath.file}?fileName=${this.fileName}&isOnLine=false`);
},
linkPic(){
this.$router.push({path:'/submission/infoview/photolook',query:{oid:this.pdf.albumId}})
},
handleClick(){
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论