|
|
|
@ -81,7 +81,13 @@ |
|
|
|
<p class="tab_content_title">{{item.goods.goods_type==1?'文化资源数据':'文化数字内容'}}资源</p> |
|
|
|
</div> |
|
|
|
<div class="content_table"> |
|
|
|
<a-table :columns="columns2" :data-source="item.oneSource" bordered :pagination="false"></a-table> |
|
|
|
<a-table :columns="columns2" :data-source="item.oneSource" bordered :pagination="false"> |
|
|
|
<template slot-scope="download_status" slot="download_status"> |
|
|
|
<span>{{download_status==1?'无资源下载':download_status==2?'获取下载地址失败':download_status==3?'获取解密资源地址失败' |
|
|
|
:download_status==4?'获取解密资源地址成功':download_status==5?'没有解密资源地址': |
|
|
|
download_status==6?'获取资源下载状态失败':download_status==7?'资源下载成功':download_status==8?'资源下载失败':'获取资源下载状态异常'}}</span> |
|
|
|
</template> |
|
|
|
</a-table> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
@ -293,6 +299,7 @@ |
|
|
|
align:'center', |
|
|
|
width:'138px', |
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
columns2:[ |
|
|
|
{ |
|
|
|
@ -331,6 +338,12 @@ |
|
|
|
// width:'110px', |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '下载状态', |
|
|
|
dataIndex: 'download_status', |
|
|
|
scopedSlots: { customRender: 'download_status' }, |
|
|
|
width:'90px', |
|
|
|
}, |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -371,6 +384,10 @@ |
|
|
|
if(res.code==200){ |
|
|
|
this.sourceDate=res.data |
|
|
|
this.newVisible1=true |
|
|
|
let state=res.data[0].goods.status |
|
|
|
if(state==1|| state==5){ |
|
|
|
this.columns2.pop() |
|
|
|
} |
|
|
|
}else{ |
|
|
|
this.$message.error(res.msg); |
|
|
|
} |
|
|
|
|