|
@@ -4,9 +4,9 @@
|
|
|
<BasicTable @register="registerTable" :rowSelection="rowSelection">
|
|
|
<!--插槽:table标题-->
|
|
|
<template #tableTitle>
|
|
|
- <a-button type="primary" v-auth="'baseCode:base_exchange_rate:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
|
|
|
- <a-button type="primary" v-auth="'baseCode:base_exchange_rate:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
|
|
- <j-upload-button type="primary" v-auth="'baseCode:base_exchange_rate:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
|
|
+ <a-button type="primary" v-auth="'baseCode:base_exchange_rate:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增(add)</a-button>
|
|
|
+ <a-button type="primary" v-auth="'baseCode:base_exchange_rate:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出(export)</a-button>
|
|
|
+ <!-- <j-upload-button type="primary" v-auth="'baseCode:base_exchange_rate:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入(Import)</j-upload-button> -->
|
|
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
<template #overlay>
|
|
|
<a-menu>
|
|
@@ -69,7 +69,7 @@
|
|
|
],
|
|
|
},
|
|
|
actionColumn: {
|
|
|
- width: 120,
|
|
|
+ width: 200,
|
|
|
fixed:'right'
|
|
|
},
|
|
|
beforeFetch: (params) => {
|
|
@@ -154,7 +154,7 @@
|
|
|
function getTableAction(record){
|
|
|
return [
|
|
|
{
|
|
|
- label: '编辑',
|
|
|
+ label: '编辑(edit)',
|
|
|
onClick: handleEdit.bind(null, record),
|
|
|
auth: 'baseCode:base_exchange_rate:edit'
|
|
|
}
|
|
@@ -166,10 +166,10 @@
|
|
|
function getDropDownAction(record){
|
|
|
return [
|
|
|
{
|
|
|
- label: '详情',
|
|
|
+ label: '详情(detail)',
|
|
|
onClick: handleDetail.bind(null, record),
|
|
|
}, {
|
|
|
- label: '删除',
|
|
|
+ label: '删除(delete)',
|
|
|
popConfirm: {
|
|
|
title: '是否确认删除',
|
|
|
confirm: handleDelete.bind(null, record),
|