[update] 法规合规评估流程
This commit is contained in:
+11
-1
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user