|
@@ -4,9 +4,9 @@
|
|
|
<BasicTable @register="registerTable" :rowSelection="rowSelection">
|
|
|
<!--插槽:table标题-->
|
|
|
<template #tableTitle>
|
|
|
- <a-button type="primary" v-auth="'baseCode:base_company_information:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增</a-button>
|
|
|
- <a-button type="primary" v-auth="'baseCode:base_company_information:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出</a-button>
|
|
|
- <j-upload-button type="primary" v-auth="'baseCode:base_company_information:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
|
|
+ <a-button type="primary" v-auth="'baseCode:base_company_information:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增(add)</a-button>
|
|
|
+ <a-button type="primary" v-auth="'baseCode:base_company_information:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出(export)</a-button>
|
|
|
+ <!-- <j-upload-button type="primary" v-auth="'baseCode:base_company_information:importExcel'" preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
|
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
<template #overlay>
|
|
|
<a-menu>
|
|
@@ -19,9 +19,9 @@
|
|
|
<a-button v-auth="'baseCode:base_company_information:deleteBatch'">批量操作
|
|
|
<Icon icon="mdi:chevron-down"></Icon>
|
|
|
</a-button>
|
|
|
- </a-dropdown>
|
|
|
+ </a-dropdown> -->
|
|
|
<!-- 高级查询 -->
|
|
|
- <super-query :config="superQueryConfig" @search="handleSuperQuery" />
|
|
|
+ <!-- <super-query :config="superQueryConfig" @search="handleSuperQuery" /> -->
|
|
|
</template>
|
|
|
<!--操作栏-->
|
|
|
<template #action="{ record }">
|
|
@@ -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_company_information: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),
|