|
@@ -91,7 +91,7 @@
|
|
|
@change="handleTableChange">
|
|
|
|
|
|
<template slot="fileName" slot-scope="text, record">
|
|
|
- <a-button type="link" @click="download(record.url,record.name)">
|
|
|
+ <a-button type="link" @click="record.exportStatus==='0'?false:download(record.url,record.name)">
|
|
|
{{ record.name }}
|
|
|
</a-button>
|
|
|
</template>
|
|
@@ -116,7 +116,7 @@
|
|
|
</template>
|
|
|
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
- <a-button type="link" @click="download(record.url,record.name)">
|
|
|
+ <a-button type="link" @click="record.exportStatus==='0'?false:download(record.url,record.name)">
|
|
|
下载
|
|
|
</a-button>
|
|
|
<!-- <a @click="handleEdit(record)">编辑</a>-->
|
|
@@ -226,6 +226,10 @@ export default {
|
|
|
},
|
|
|
queryParam: {
|
|
|
exportType: 'AdminOrderList'
|
|
|
+ },
|
|
|
+ /* 分页参数 后台用了参数用了 blob 不能查询太多 */
|
|
|
+ ipagination:{
|
|
|
+ pageSizeOptions: ['10', '20'],
|
|
|
}
|
|
|
}
|
|
|
},
|