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,
|
||||
};
|
||||
},
|
||||
|
||||
@@ -62,6 +62,7 @@ axios.interceptors.response.use((res) =>{
|
||||
// message.warning(res.data.errMsg)
|
||||
// return Promise.reject(res.data);
|
||||
// }else
|
||||
console.log(res);
|
||||
if (res.data) {
|
||||
if (res.data.errCode === 0) {
|
||||
// message.error(res.data.errMsg)
|
||||
@@ -264,6 +265,7 @@ export const Https = {
|
||||
getCities:`/api/inquiry/getCities`,//获取所有付款订单使用的国家
|
||||
getUserInfo:`/api/inquiry/getUserInfo`,//查询所有用户
|
||||
queryTransaction:`/api/inquiry/queryTransaction`,//查询交易记录
|
||||
queryTransactionDownload:`/api/inquiry/queryTransaction/download`,//导出交易记录
|
||||
//查询某个时间内design点击次数
|
||||
getDesignStatistic:`/api/inquiry/getDesignStatistic`,//拒绝审批
|
||||
getAllQuestionnaire:`/api/inquiry/getAllQuestionnaire`,//拒绝审批
|
||||
|
||||
@@ -211,7 +211,7 @@
|
||||
<CollectionModal :getDesignData="getDesignData" ref="collectionModal" @finishCollection="finishCollection()"></CollectionModal>
|
||||
</KeepAlive>
|
||||
<productImg ref="productImg" @setTask="setTask"></productImg>
|
||||
<!-- <DesignDetail ref="designDetail" @finishRedesign="finishRedesign"></DesignDetail> -->
|
||||
<DesignDetail ref="designDetail" @finishRedesign="finishRedesign"></DesignDetail>
|
||||
<ExportNewCoolection id="exportNewCoolection"></ExportNewCoolection>
|
||||
|
||||
<!-- 导出缩略图的蒙层 start-->
|
||||
|
||||
Reference in New Issue
Block a user