|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<template> |
|
|
|
|
<basic-container> |
|
|
|
|
<div class="avue-crud"> |
|
|
|
|
<div class="avue-crud" v-loading="loadingObj.pageLoading"> |
|
|
|
|
<div v-h5uShow="!search"> |
|
|
|
|
<!-- 查询模块 --> |
|
|
|
|
<el-form :inline="true" :model="query" class="header_search"> |
|
|
|
@ -1772,6 +1772,9 @@ export default {
|
|
|
|
|
option: option, |
|
|
|
|
// 表单列表 |
|
|
|
|
data: [], |
|
|
|
|
loadingObj: { |
|
|
|
|
pageLoading: false, |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
@ -1801,21 +1804,28 @@ export default {
|
|
|
|
|
/** |
|
|
|
|
* 导出 |
|
|
|
|
* */ |
|
|
|
|
handleExportInfo() { |
|
|
|
|
let row = {}; |
|
|
|
|
// if (!!this.ids) { |
|
|
|
|
// row.ids = this.ids; |
|
|
|
|
// } |
|
|
|
|
const ids = this.selectionList.join(','); |
|
|
|
|
row.ids = ids; |
|
|
|
|
row.signingStatus = '1'; |
|
|
|
|
// console.log("<><><>>",ids); |
|
|
|
|
row = { ...row, ...this.query }; |
|
|
|
|
delete row.deliveryTypeName; |
|
|
|
|
getSignforExport(row).then(res => { |
|
|
|
|
async handleExportInfo() { |
|
|
|
|
try { |
|
|
|
|
this.loadingObj.pageLoading = true; |
|
|
|
|
|
|
|
|
|
let row = {}; |
|
|
|
|
// if (!!this.ids) { |
|
|
|
|
// row.ids = this.ids; |
|
|
|
|
// } |
|
|
|
|
const ids = this.selectionList.join(','); |
|
|
|
|
row.ids = ids; |
|
|
|
|
row.signingStatus = '1'; |
|
|
|
|
// console.log("<><><>>",ids); |
|
|
|
|
row = { ...row, ...this.query }; |
|
|
|
|
delete row.deliveryTypeName; |
|
|
|
|
const res = await getSignforExport(row); |
|
|
|
|
// console.log(res.data); |
|
|
|
|
downloadXls(res.data, '待签收数据.xlsx'); |
|
|
|
|
}); |
|
|
|
|
} catch (error) { |
|
|
|
|
console.log('error :>> ', error); |
|
|
|
|
} finally { |
|
|
|
|
this.loadingObj.pageLoading = false; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
showdrawer(value) { |
|
|
|
|
this.drawerShow = value; |
|
|
|
|