src/views/dnc/base/modules/ProductStructure/Document/NcDocumentTableList.vue
@@ -1,7 +1,7 @@
<template>
  <div style="flex: 1">
    <a-table :columns="columns" :data-source="dataSource" bordered :pagination="ipagination"
             :scroll="{y:189}" :customRow="customRow" :size="size" rowKey="docId" @change="handleTableChange">
             :scroll="{y:265}" :customRow="customRow" :size="size" rowKey="docId" @change="handleTableChange">
    </a-table>
@@ -23,7 +23,7 @@
    components: { NcDocumentAssignModal, DocumentModal },
    mixins: [JeecgListMixin],
    props: {
      currentTreeNodeInfo: {
    currentNCDocumentAttributionInfo: {
        type: Object
      },
      size: {
@@ -92,7 +92,7 @@
      }
    },
    watch: {
      currentTreeNodeInfo: {
    currentNCDocumentAttributionInfo: {
        handler(value) {
          this.currentClickedDocumentInfo = {}
        },
@@ -108,12 +108,14 @@
          this.$message.error('请设置url.list属性!')
          return
        }
      console.log('currentNCDocumentAttributionInfo', this.currentNCDocumentAttributionInfo)
      const { attributionId, attributionType, docClassCode } = this.currentNCDocumentAttributionInfo
        //加载数据 若传入参数1则加载第一页的内容
        if (arg === 1) this.ipagination.current = 1
        var params = this.getQueryParams()//查询条件
        params.attributionId = this.currentTreeNodeInfo.id
        params.attributionType = this.currentTreeNodeInfo.type
        params.docClassCode = 'NC'
      params.attributionId = attributionId
      params.attributionType = attributionType
      params.docClassCode = docClassCode
        if (!params) return false
        this.dataSource = []
        this.loading = true
@@ -135,6 +137,9 @@
      customRow(record) {
        return {
        style: {
          backgroundColor: this.currentClickedDocumentInfo.docId === record.docId ? '#BAE7FF' : 'transparent'
        },
          on: {
            contextmenu: event => {
              event.preventDefault()