|
@@ -23,6 +23,8 @@
|
|
|
type="primary"
|
|
|
icon="plus"
|
|
|
@click="$refs.baseModal.base(null,tableParams)">新增</a-button>
|
|
|
+ <a-button type="primary" style="margin-left: 8px" @click="doExport()">导出</a-button>
|
|
|
+
|
|
|
<a-dropdown v-action:edit>
|
|
|
<a-menu slot="overlay">
|
|
|
<a-popconfirm title="是否要删除所选数据?" @confirm="batchDelete()">
|
|
@@ -66,7 +68,7 @@
|
|
|
import { STable, Ellipsis } from '@/components'
|
|
|
import BaseForm from './BaseForm'
|
|
|
import Detail from './Detail'
|
|
|
-import { getRepairFeePage, deleteRepairFees, fetchRepairFee, exportRepairFee } from '@/api/repair/fee'
|
|
|
+import { getRepairFeePage, deleteRepairFees, fetchRepairFee, exportRepairFee2 } from '@/api/repair/fee'
|
|
|
|
|
|
export default {
|
|
|
name: 'RepairFeeList',
|
|
@@ -280,7 +282,7 @@ export default {
|
|
|
...this.queryParam,
|
|
|
...this.tableParams
|
|
|
}
|
|
|
- exportRepairFee(parameter).then(file => {
|
|
|
+ exportRepairFee2(parameter).then(file => {
|
|
|
this.BaseTool.UPLOAD.downLoadExportExcel(file)
|
|
|
})
|
|
|
}
|