lyh
2025-06-05 0d27c826c71c323ff605cd27a53bbc5a0c96f752
src/views/dnc/base/modules/ProductStructure/Document/NcDocumentSearchModal.vue
@@ -1,3 +1,8 @@
<!--
 Description: 检索电子样板List
 Author: 作者 liuyh
 Date:   2025-02-27
-->
<template>
  <a-modal width="75%" :title="title" :visible="visible" @cancel="visible=false" :maskClosable="false" centered
           @ok="handleAssignDocumentToDevice">
@@ -39,7 +44,7 @@
                    </a-form-item>
                  </a-col>
                  <a-col :md="4" :sm="4">
                  <a-col :md="2" :sm="2">
                    <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
                  </a-col>
                </a-row>
@@ -52,6 +57,10 @@
                     @change="handleTableChange"
                     :scroll="{y:456}" :size="size" rowKey="docId">
              <!-- 字符串超长截取省略号显示-->
              <span slot="docName" slot-scope="text">
                <j-ellipsis :value="text"/>
              </span>
            </a-table>
          </a-tab-pane>
        </a-tabs>
@@ -153,6 +162,7 @@
          dataIndex: 'docName',
          key: 'docName',
          align: 'center',
          scopedSlots: { customRender: 'docName' },
          width: 200,
          sorter: true
        },
@@ -168,11 +178,11 @@
          ]
        },
        {
          title: '状  态',
          title: '状 态',
          dataIndex: 'docDispatchStatus_dictText',
          key: 'docDispatchStatus',
          align: 'center',
          width: 60,
          width: 80,
          filters: [
            { text: '编制', value: 1 },
            { text: '校对', value: 2 },
@@ -476,6 +486,11 @@
      this.filters = {}
      this.isorter = Object.assign({}, this.defaultSorter)
    },
    handleDelete() {
      // 此处函数为屏蔽mixins中的同名函数,通用函数写在父级中
    },
    triggerCorrespondingMethod({ methodName, modalTitle }) {
      if (this[methodName]) {
        this[methodName]()
@@ -488,6 +503,10 @@
<style scoped lang="less">
/deep/ .ant-modal {
  .ant-modal-body{
    padding: 0 24px 12px;
  }
  .tabs-container {
    display: flex;
    justify-content: space-between;