|
@@ -4,8 +4,8 @@
|
|
|
<BasicTable @register="registerTable" :rowSelection="rowSelection">
|
|
|
<!--插槽:table标题-->
|
|
|
<template #tableTitle>
|
|
|
- <a-button type="primary" v-auth="'baseCode:base_project_archive:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
|
|
|
- <a-button type="primary" v-auth="'baseCode:base_project_archive:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
|
|
+ <a-button type="primary" v-auth="'baseCode:base_project_archive:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增(add)</a-button>
|
|
|
+ <a-button type="primary" v-auth="'baseCode:base_project_archive:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出(export)</a-button>
|
|
|
</template>
|
|
|
<!--操作栏-->
|
|
|
<template #action="{ record }">
|
|
@@ -54,7 +54,7 @@
|
|
|
],
|
|
|
},
|
|
|
actionColumn: {
|
|
|
- width: 120,
|
|
|
+ width: 200,
|
|
|
fixed:'right'
|
|
|
},
|
|
|
beforeFetch: (params) => {
|
|
@@ -139,7 +139,7 @@
|
|
|
function getTableAction(record){
|
|
|
return [
|
|
|
{
|
|
|
- label: '编辑',
|
|
|
+ label: '编辑(edir)',
|
|
|
onClick: handleEdit.bind(null, record),
|
|
|
auth: 'baseCode:base_project_archive:edit'
|
|
|
}
|
|
@@ -151,10 +151,10 @@
|
|
|
function getDropDownAction(record){
|
|
|
return [
|
|
|
{
|
|
|
- label: '详情',
|
|
|
+ label: '详情(details)',
|
|
|
onClick: handleDetail.bind(null, record),
|
|
|
}, {
|
|
|
- label: '删除',
|
|
|
+ label: '删除(delete)',
|
|
|
popConfirm: {
|
|
|
title: '是否确认删除',
|
|
|
confirm: handleDelete.bind(null, record),
|