[fix 87702 87686 87681] 删除按钮改为红色

This commit is contained in:
danshihao
2024-07-29 16:12:30 +08:00
parent c9f7d0c3c8
commit 5841889132
9 changed files with 10 additions and 10 deletions
@@ -100,7 +100,7 @@
<!--编辑-->
<a class="text-button" @click="comparaEdit(item)" v-has="'docComparison:result:edit'">{{ $t('edit') }}</a>
<!--删除-->
<a class="text-button" @click="comparaDelete(item)" v-has="'docComparison:result:delete'">{{ $t('delete') }}</a>
<a class="text-button operate-del-btn" @click="comparaDelete(item)" v-has="'docComparison:result:delete'">{{ $t('delete') }}</a>
</div>
</div>
</div>
@@ -42,7 +42,7 @@
{{ $t('docTool.comparison.initiateComparison') }}
</a-button>
<!--批量删除-->
<a-button type="primary" icon="delete" ghost @click="batchDelete" v-has="'documentComparison:deleteBatch'">
<a-button type="danger" icon="delete" ghost @click="batchDelete" v-has="'documentComparison:deleteBatch'">
{{ $t('batchDelete') }}
</a-button>
</div>
@@ -48,7 +48,7 @@
{{ $t('docTool.split.importResults') }}
</a-button>
<!--批量删除-->
<a-button type="primary" icon="delete" ghost @click="batchDel" v-has="'split:sarFileSplitInfo:deleteBatch'">
<a-button type="danger" icon="delete" ghost @click="batchDel" v-has="'split:sarFileSplitInfo:deleteBatch'">
{{ $t('batchDelete') }}
</a-button>
<!--更改权限-->
@@ -106,7 +106,7 @@
{{ $t('export') }}
</a-button>
<!--批量删除-->
<a-button type="primary" icon="delete" ghost @click="batchDel" v-has="'split:sarFileSplitItems:batchDelete'">
<a-button type="danger" icon="delete" ghost @click="batchDel" v-has="'split:sarFileSplitItems:batchDelete'">
{{ $t('batchDelete') }}
</a-button>
<!--模板下载-->
@@ -28,7 +28,7 @@
<!--新增-->
<a-button icon="plus" type="primary" @click="handleAdd" v-has="'dynamicMessage:add'">{{ $t('newlyAdded') }}</a-button>
<!--批量删除-->
<a-button type="primary" icon="delete" ghost @click="batchDel" v-has="'dynamicMessage:deleteBatch'">{{ $t('batchDelete') }}
<a-button type="danger" icon="delete" ghost @click="batchDel" v-has="'dynamicMessage:deleteBatch'">{{ $t('batchDelete') }}
</a-button>
</div>
<div>
@@ -113,7 +113,7 @@
<!-- 新增-->
<a-button icon="plus" type="primary" @click="handleAdd" v-has="'profileCenter:table'">{{ $t('newlyAdded') }}</a-button>
<!-- 批量删除-->
<a-button type="primary" icon="delete" ghost @click="batchDel" v-has="'profileCenter:table'">
<a-button type="danger" icon="delete" ghost @click="batchDel" v-has="'profileCenter:table'">
{{ $t('batchDelete') }}
</a-button>
</div>
+2 -2
View File
@@ -119,7 +119,7 @@
<!--<a-button @click="handleEdit2" type="primary" icon="edit" style="margin-top: 16px">用户编辑</a-button>-->
<a-button @click="handleAddUserRole" type="primary" icon="plus">{{ $t('roleManage.existingUsers') }}
</a-button>
<a-button @click="batchDel2" type="danger" icon="delete">{{ $t('delete') }}</a-button>
<a-button @click="batchDel2" ghost type="danger" icon="delete">{{ $t('batchDelete') }}</a-button>
</div>
<!-- table区域-begin -->
<div>
@@ -137,7 +137,7 @@
:rowSelection="{selectedRowKeys: selectedRowKeys2, onChange: onSelectChange2}"
@change="handleTableChange2">
<template slot="action" slot-scope="{text, record}">
<a @click="handleDelete2(record.id)">{{ $t('delete') }}</a>
<a class="operate-del-btn" @click="handleDelete2(record.id)">{{ $t('delete') }}</a>
</template>
</j-table>
</div>
+1 -1
View File
@@ -42,7 +42,7 @@
{{ $t('system.tag.exhibitionAreaManagement') }}
</a-button>
<!--批量删除-->
<a-button type="primary" icon="delete" ghost @click="batchDel" v-has="'tag:logicDeleteBatch'">{{ $t('batchDelete')
<a-button type="danger" icon="delete" ghost @click="batchDel" v-has="'tag:logicDeleteBatch'">{{ $t('batchDelete')
}}
</a-button>
</div>
+1 -1
View File
@@ -30,7 +30,7 @@
<!--刷新缓存-->
<a-button icon="sync" type="primary" ghost @click="refreshCache" v-has="'sys:dict:operation'">{{ $t('dict.refreshCache') }}</a-button>
<!--批量删除-->
<a-button type="primary" icon="delete" ghost @click="batchDel" v-has="'sys:dict:operation'">{{ $t('batchDelete') }}</a-button>
<a-button type="danger" icon="delete" ghost @click="batchDel" v-has="'sys:dict:operation'">{{ $t('batchDelete') }}</a-button>
</div>
<j-table