fix
This commit is contained in:
@@ -101,6 +101,9 @@
|
||||
<div class="admin_search_item" @click="searchHistoryList">
|
||||
Search
|
||||
</div>
|
||||
<!-- <div class="admin_search_item" @click="downloadTransaction">
|
||||
Export
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="admin_state_list">
|
||||
<div
|
||||
@@ -453,6 +456,21 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
);
|
||||
};
|
||||
//导出报表
|
||||
let downloadTransaction = () => {
|
||||
filter.tableLoading = true;
|
||||
// let data = setHistoryListData();
|
||||
let data = ''
|
||||
Https.axiosPost(Https.httpUrls.queryTransactionDownload, data,{type: 'application/vnd.ms-excel;charset=utf-8'}).then(
|
||||
(rv: any) => {
|
||||
console.log(rv);
|
||||
|
||||
if (rv) {
|
||||
console.log(rv);
|
||||
}
|
||||
}
|
||||
);
|
||||
};
|
||||
let lastGeTrialList = (str: string) => {
|
||||
clearHistoryList();
|
||||
@@ -494,6 +512,7 @@ export default defineComponent({
|
||||
searchHistoryList,
|
||||
lastGeTrialList,
|
||||
gettrialList,
|
||||
downloadTransaction,
|
||||
filterOption,
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user