|
|
@@ -288,7 +288,7 @@
|
|
|
<script>
|
|
|
import { refundStorePayment,listStorePayment, getStorePayment, delStorePayment, addStorePayment, updateStorePayment, exportStorePayment,setPayNotify } from "@/api/store/storePayment";
|
|
|
import { getCompanyList } from "@/api/company/company";
|
|
|
-import { listLiveOrderPayments,getLivePayment,updateLivePayment } from "@/api/live/liveOrderPayment";
|
|
|
+import { listLiveOrderPayments,getLivePayment,updateLivePayment,exportLiveOrderPayments } from "@/api/live/liveOrderPayment";
|
|
|
export default {
|
|
|
name: "StorePayment",
|
|
|
data() {
|
|
|
@@ -583,6 +583,18 @@ export default {
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
const queryParams = this.queryParams;
|
|
|
+ if("5" == this.queryParams.businessType) {
|
|
|
+ this.$confirm('是否确认导出所有直播订单明细数据项?', "警告", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(function() {
|
|
|
+ return exportLiveOrderPayments(queryParams);
|
|
|
+ }).then(response => {
|
|
|
+ this.download(response.msg);
|
|
|
+ }).catch(function() {});
|
|
|
+ return ;
|
|
|
+ }
|
|
|
this.$confirm('是否确认导出所有支付明细数据项?', "警告", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|