Commit 9fa9607a by 张权

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

1 parent cecc4643
......@@ -9,7 +9,7 @@
</glsx-combi-form>
<div style="padding:0 20px 20px">
<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 type="primary" size="small" @click="handleExport" class="selectBtn">导出</el-button>
</div>
......@@ -311,7 +311,7 @@ export default {
},
handleExport(){
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) {
var a = document.createElement('a')
a.setAttribute('id', 'exportToExport')
......@@ -327,7 +327,7 @@ export default {
handleSearch(){
this.$refs.userDetailTable.refreshTable()
},
handleReset(){
handleReset(type){
this.batchListSearch = {
mobile:'',
merchantName:'',
......@@ -336,6 +336,9 @@ export default {
activeTime: [],
memberType:''
}
if(type==='reset'){
this.handleSearch()
}
}
}
}
......@@ -348,5 +351,10 @@ export default {
.el-input--small .el-input__inner{
width: 215px;
}
.el-table__row{
.el-table__cell{
padding: 9px 0;
}
}
}
</style>
\ 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!