src/views/dnc/common/DocumentBatchDeleteModal.vue
@@ -146,8 +146,7 @@
            } else {
              this.ipagination.total = 0
            }
          }
          else this.$message.warning(res.message)
        } else this.$message.warning(res.message)
        }).finally(() => {
          this.loading = false
        })
@@ -183,7 +182,12 @@
      // 确认批量删除文档
      confirmBatchDeleteDocument() {
        const that = this
        const { selectedRowKeys, $notification, $confirm, currentDocumentInfo: { param, attributionId, attributionType } } = that
      const {
        selectedRowKeys,
        $notification,
        $confirm,
        currentDocumentInfo: { param, attributionId, attributionType }
      } = that
        if (selectedRowKeys.length === 0) {
          $notification.warning({
@@ -230,7 +234,7 @@
                  hasRequestedCount++
                  if (hasRequestedCount === selectedRowKeys.length && hasRequestedSuccessCount > 0) {
                    this.loadData()
                    this.$emit('reloadDocumentListData', { docClassCode: param, attributionId })
                  this.$emit('reloadDocumentListData', { docClassCode: param, attributionId, attributionType })
                  }
                })
            })