Commit 9fa9607a by 张权

bug: 三轮自测,导出接口更换

1 parent cecc4643
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</glsx-combi-form> </glsx-combi-form>
<div style="padding:0 20px 20px"> <div style="padding:0 20px 20px">
<div style="float: right; margin-right: 0;margin-bottom:10px;"> <div style="float: right; margin-right: 0;margin-bottom:10px;">
<el-button size="small" @click="handleReset()">重置</el-button> <el-button size="small" @click="handleReset('reset')">重置</el-button>
<el-button size="small" type="primary" @click="handleSearch">查询</el-button> <el-button size="small" type="primary" @click="handleSearch">查询</el-button>
<el-button type="primary" size="small" @click="handleExport" class="selectBtn">导出</el-button> <el-button type="primary" size="small" @click="handleExport" class="selectBtn">导出</el-button>
</div> </div>
...@@ -311,7 +311,7 @@ export default { ...@@ -311,7 +311,7 @@ export default {
}, },
handleExport(){ handleExport(){
const parmas = {...this.setParams()} const parmas = {...this.setParams()}
this.$apis.orderApi.exportBalanceList(parmas).then(({ code, data, message }) => { this.$apis.equityApi.exportcardRecordList(parmas).then(({ code, data, message }) => {
if (code == 0) { if (code == 0) {
var a = document.createElement('a') var a = document.createElement('a')
a.setAttribute('id', 'exportToExport') a.setAttribute('id', 'exportToExport')
...@@ -327,7 +327,7 @@ export default { ...@@ -327,7 +327,7 @@ export default {
handleSearch(){ handleSearch(){
this.$refs.userDetailTable.refreshTable() this.$refs.userDetailTable.refreshTable()
}, },
handleReset(){ handleReset(type){
this.batchListSearch = { this.batchListSearch = {
mobile:'', mobile:'',
merchantName:'', merchantName:'',
...@@ -336,6 +336,9 @@ export default { ...@@ -336,6 +336,9 @@ export default {
activeTime: [], activeTime: [],
memberType:'' memberType:''
} }
if(type==='reset'){
this.handleSearch()
}
} }
} }
} }
...@@ -348,5 +351,10 @@ export default { ...@@ -348,5 +351,10 @@ export default {
.el-input--small .el-input__inner{ .el-input--small .el-input__inner{
width: 215px; width: 215px;
} }
.el-table__row{
.el-table__cell{
padding: 9px 0;
}
}
} }
</style> </style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!