|
@@ -31,8 +31,8 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
- <el-col :xs="24" :ms="18" :lg="18">
|
|
|
- <el-form-item>
|
|
|
+ <el-col :xs="24" :ms="18" :lg="18" >
|
|
|
+
|
|
|
<el-button type="primary" size="mini" icon="el-icon-plus" v-if="$checkBtnRole('add', $route.meta.roles)" @click="(dialogVisible = true), (type = 1), getDictList()">新增</el-button>
|
|
|
|
|
|
<!-- <el-button type="primary" size="mini" @click="delfn"
|
|
@@ -42,8 +42,10 @@
|
|
|
<el-button :disabled="ids.length < 1" slot="reference" type="danger" icon="el-icon-minus" size="mini">批量删除</el-button>
|
|
|
</el-popconfirm>
|
|
|
<el-button icon="el-icon-search" type="primary" size="mini" @click="submitScreenForm">查询</el-button>
|
|
|
- <el-button type="primary" size="mini" @click="resetScreenForm">重置</el-button>
|
|
|
- </el-form-item>
|
|
|
+ <el-button type="primary" size="mini" @click="resetScreenForm" >重置</el-button>
|
|
|
+
|
|
|
+ <ExportButton style="display: inline-block;margin-left: 10px;" :exUrl="'/wallet/rebate_saletype/export'" :exParams="exParams" />
|
|
|
+
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
@@ -242,6 +244,18 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
},
|
|
|
+ computed:{
|
|
|
+ exParams() {
|
|
|
+ return {
|
|
|
+ pageNum: this.currentPage,
|
|
|
+ pageSize: this.pageSize,
|
|
|
+ // mainName: this.screenForm.mainName,
|
|
|
+ saleTypeCode: this.screenForm.saleTypeCode,
|
|
|
+ saleTypeName: this.screenForm.saleTypeName,
|
|
|
+ status: this.screenForm.status,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
methods: {
|
|
|
//
|
|
|
selectionhangeFn(value) {
|
|
@@ -449,4 +463,5 @@ export default {
|
|
|
.delClass {
|
|
|
margin: 0 10px;
|
|
|
}
|
|
|
+
|
|
|
</style>
|