|
@@ -121,6 +121,20 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
+ <el-row :gutter="10" class="mb8">
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="warning"
|
|
|
+ plain
|
|
|
+ icon="el-icon-download"
|
|
|
+ size="mini"
|
|
|
+ @click="handleExport"
|
|
|
+ v-show="tableData.length > 0"
|
|
|
+ v-hasPermi="['match:match:export']"
|
|
|
+ >导出</el-button>
|
|
|
+ </el-col>
|
|
|
+ <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> -->
|
|
|
+ </el-row>
|
|
|
<el-table :data="tableData" border>
|
|
|
<el-table-column
|
|
|
prop="enterpriseName"
|
|
@@ -466,6 +480,11 @@ export default {
|
|
|
|
|
|
return true; // 所有校验通过
|
|
|
},
|
|
|
+ handleExport() {
|
|
|
+ this.download('match/match/export', {
|
|
|
+ ...this.matchForm,
|
|
|
+ }, `match_${new Date().getTime()}.xlsx`)
|
|
|
+ }
|
|
|
},
|
|
|
computed: {
|
|
|
seasonOptions() {
|
|
@@ -480,6 +499,7 @@ export default {
|
|
|
: [];
|
|
|
return options || []; // 以防得到 undefined
|
|
|
},
|
|
|
+
|
|
|
},
|
|
|
};
|
|
|
</script>
|