fix: 报告批量删除,未选中删除项时不触发del方法
This commit is contained in:
@@ -203,8 +203,7 @@
|
||||
height: 24px;
|
||||
background: #D7D7D7;
|
||||
border-radius: 2px;
|
||||
line-height: 21px;
|
||||
cursor: pointer;
|
||||
cursor: not-allowed;
|
||||
span {
|
||||
margin: 3px 8px;
|
||||
font-size: 12px;
|
||||
@@ -223,6 +222,7 @@
|
||||
}
|
||||
.table-operation-back-down.table-operation-all-checkbox {
|
||||
background: #0091ff;
|
||||
cursor: pointer;
|
||||
}
|
||||
.table-operation-back-down.table-operation-all-loading {
|
||||
background: #D7D7D7;
|
||||
|
||||
@@ -191,7 +191,7 @@
|
||||
<el-checkbox v-model="checkboxAll" @change="selectAll(tableData)"></el-checkbox>
|
||||
<div class="table-operation-all-span">
|
||||
<span>{{ $t('overall.all') }}</span>
|
||||
<div class="table-operation-back-down" :class="{'table-operation-all-checkbox': batchDow, 'table-operation-all-loading': loading}" @click="tableOperation(['delete', this.checkboxIds])">
|
||||
<div class="table-operation-back-down" :class="{'table-operation-all-checkbox': batchDow, 'table-operation-all-loading': loading}" @click="checkboxIds.id ? tableOperation(['delete', checkboxIds]) : ''">
|
||||
<loading :loading="loading"></loading>
|
||||
<span>{{$t('report.batchDeletion')}}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user