[update] 法规合规评估流程

This commit is contained in:
lideqin
2024-07-16 14:12:31 +08:00
parent 5f3a48ed38
commit 0481774270
4 changed files with 16 additions and 1 deletions
@@ -43,7 +43,7 @@
<template v-slot:splitFileSource="{record}" class="action-span-cell">
<!-- 通过添加标准新增的 -->
<j-dict-select-tag v-if="record.addType === AddType.SELECT_STANDARD.value"
style="width: '100%'"
style="width: 100%"
v-model="record.splitFileSource"
dict-code="decomposition_single_source"
:disabled="disabled"
@@ -693,6 +693,11 @@ export default {
this.selectionRows = []
},
batchDel () {
if (this.selectedRowKeys.length === this.dataList.length) {
// 说明数据全选中了,提示表格数据不可以全部删除
this.$message.warning(this.$t('tableDataDisabledClear'))
return
}
if (this.selectedRowKeys.length <= 0) {
this.$message.warning(this.$t('selectARecord'))
} else {
@@ -715,6 +720,11 @@ export default {
this.ipagination = pagination
},
handleDelete (uid) {
if (this.dataList.length <= 1) {
// 说明剩最后一条数据了,提示表格数据不可以全部删除
this.$message.warning(this.$t('tableDataDisabledClear'))
return
}
this.$confirm({
title: this.$t('confirmDeletion'),
content: this.$t('areYouSure'),