稽查文档删除添加二次确定
This commit is contained in:
@@ -694,6 +694,8 @@ export default {
|
||||
async delData(Ids) {
|
||||
if (!this.isManage) return false
|
||||
try {
|
||||
let confirm = await this.$confirm(this.$t('trials:trials-workbench:auditDocument:delData'))
|
||||
if (!confirm) return false
|
||||
let data = { Ids }
|
||||
let res = await deleteAuditDocument(data)
|
||||
if (res.IsSuccess) {
|
||||
@@ -966,6 +968,9 @@ export default {
|
||||
},
|
||||
// 单行左键双击(进入文件夹或者预览文件)
|
||||
handleRowDblclick(row, column, event) {
|
||||
if (this.$refs.contextmenu) {
|
||||
this.$refs.contextmenu.foo()
|
||||
}
|
||||
// 判断点击目标是否为展开按钮
|
||||
let isExpandButton = event.target.closest('.el-table__expand-icon');
|
||||
if (isExpandButton) return; // 阻止触发
|
||||
|
||||
Reference in New Issue
Block a user