|
@@ -7,7 +7,11 @@
|
|
|
@search="search"
|
|
|
@init="init"
|
|
|
:topType="topType"
|
|
|
- />
|
|
|
+ ><template slot="customize">
|
|
|
+ <el-button size="small" type="success" @click="moreActive"
|
|
|
+ >批量导出</el-button
|
|
|
+ >
|
|
|
+ </template></search-box-new>
|
|
|
<table-list
|
|
|
ref="tableLists"
|
|
|
:tableSets="tableSet"
|
|
@@ -157,6 +161,11 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
+
|
|
|
+ {
|
|
|
+ prop: "companyName",
|
|
|
+ placeholder: "公司名称",
|
|
|
+ },
|
|
|
{
|
|
|
prop: "searchKey",
|
|
|
placeholder: "订单编码/商品名称/学员姓名/身份证",
|
|
@@ -407,6 +416,14 @@ export default {
|
|
|
this.$refs.tableLists.allCheckData = [];
|
|
|
},
|
|
|
methods: {
|
|
|
+ moreActive() {
|
|
|
+ let arr = JSON.parse(JSON.stringify(this.formData));
|
|
|
+ delete arr.pageNum
|
|
|
+ delete arr.pageSize
|
|
|
+ this.$api.orderexportList(arr).then((res) => {
|
|
|
+ this.$methodsTools.exportData(res.msg)
|
|
|
+ });
|
|
|
+ },
|
|
|
emitData(option) {
|
|
|
if (!option.length) {
|
|
|
this.$message.error("请勾选需要操作的订单");
|