Commit 3a053636 by 李少勇

smtame 交易导出功能开发

parent 541bd934
......@@ -2,7 +2,9 @@ import Api from "~/service/Api";
import moment from "moment";
import Smtame from "../model";
import Utils from "~/utils";
import exportExcel from '~/page/Frontend/Rcvsel/event/exportExcel.js';
export default {
mixins: [exportExcel],
methods: {
async handleSearch() {
......@@ -25,6 +27,15 @@ export default {
},
handleSelectionChange(val) {
this.multipleSelection = val;
},
exportToExcel() {
let codeKeysMap = {
sta: 'stacd1'
};
let params = {
...this.model.smtp,
}
this.exportExcel(this.stmData.columns, '/frontend/smtame/exportExcel', params, codeKeysMap, '问题、异常对账单');
}
},
};
......@@ -96,7 +96,7 @@
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
ReRouting
</c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary" @click="exportToExcel">
{{ $t('public.导出Excel') }}
</c-button>
</el-col>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment