修改菜单管理

This commit is contained in:
qq787203167
2022-03-04 15:13:00 +08:00
parent e323fde26d
commit 923d02bbe7
+17 -13
View File
@@ -3,24 +3,28 @@
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button @click="handleAdd" type="primary" icon="plus">{{$t('add')}}</a-button>
<a-button
@click="batchDel"
v-if="selectedRowKeys.length > 0"
ghost
type="primary"
icon="delete">{{$t('BatchDelete')}}
</a-button>
<div @click="handleAdd" class="operator-text">
<a-icon type="plus"/>
{{$t('add')}}
</div>
<!-- <a-button @click="handleAdd" type="primary" icon="plus">{{$t('add')}}</a-button>-->
<!-- <a-button-->
<!-- @click="batchDel"-->
<!-- v-if="selectedRowKeys.length > 0"-->
<!-- ghost-->
<!-- type="primary"-->
<!-- icon="delete">{{$t('BatchDelete')}}-->
<!-- </a-button>-->
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i>{{$t('selected')}}&nbsp;<a style="font-weight: 600">{{
selectedRowKeys.length }}</a>{{$t('term')}}
<a style="margin-left: 24px" @click="onClearSelected">{{$t('empty')}}</a>
</div>
<!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">-->
<!-- <i class="anticon anticon-info-circle ant-alert-icon"></i>{{$t('selected')}}&nbsp;<a style="font-weight: 600">{{-->
<!-- selectedRowKeys.length }}</a>{{$t('term')}}-->
<!-- <a style="margin-left: 24px" @click="onClearSelected">{{$t('empty')}}</a>-->
<!-- </div>-->
<a-table
:columns="columns"