lyh
2025-06-05 0d27c826c71c323ff605cd27a53bbc5a0c96f752
src/views/dnc/common/DocumentBatchDeleteModal.vue
@@ -27,7 +27,12 @@
    <a-table :columns="columns" :data-source="dataSource" bordered :pagination="ipagination" :loading="loading"
             :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" @change="handleTableChange"
             :scroll="{y:380}" :size="size" rowKey="docId" style="min-height: 480px">
      <span slot="docName" slot-scope="text">{{ text }}</span>
      <!-- 字符串超长截取省略号显示-->
      <span slot="docName" slot-scope="text">
                <j-ellipsis :value="text"/>
      </span>
    </a-table>
  </a-modal>
</template>
@@ -71,6 +76,7 @@
          dataIndex: 'docName',
          key: 'docName',
          align: 'center',
          scopedSlots: { customRender: 'docName' },
          width: 300,
          sorter: true
        },
@@ -87,13 +93,15 @@
        },
        {
          title: '状  态',
          dataIndex: 'docStatus_dictText',
          key: 'docStatus',
          dataIndex: 'docDispatchStatus_dictText',
          key: 'docDispatchStatus',
          align: 'center',
          filters: [
            { text: '设计', value: 1 },
            { text: '发布', value: 2 },
            { text: '归档', value: 3 }
            { text: '编制', value: 1 },
            { text: '校对', value: 2 },
            { text: '批准', value: 3 },
            { text: '试切', value: 4 },
            { text: '定型', value: 5 }
          ]
        },
        { title: '系统指定版本', dataIndex: 'publishVersion', align: 'center', width: 200 },
@@ -210,7 +218,7 @@
          selectedRowKeys.forEach(key => {
            if (attributionType !== 4) {
              method = dncApi.deleteDocumentApi
              queryParam = key
              queryParam = { docId: key,attrType:attributionType,attrId:attributionId }
            } else {
              method = dncApi.deleteDeviceRelativeDocumentApi
              queryParam = { docId: key, attributionId }