From 0d27c826c71c323ff605cd27a53bbc5a0c96f752 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期四, 05 六月 2025 15:18:37 +0800 Subject: [PATCH] 修改文件名称展示效果 修改文件对应页签展示 --- src/views/dnc/base/modules/ProductStructure/Document/NcDocumentSearchModal.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/views/dnc/base/modules/ProductStructure/Document/NcDocumentSearchModal.vue b/src/views/dnc/base/modules/ProductStructure/Document/NcDocumentSearchModal.vue index 29b0cb7..721a35f 100644 --- a/src/views/dnc/base/modules/ProductStructure/Document/NcDocumentSearchModal.vue +++ b/src/views/dnc/base/modules/ProductStructure/Document/NcDocumentSearchModal.vue @@ -44,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> @@ -57,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> @@ -158,6 +162,7 @@ dataIndex: 'docName', key: 'docName', align: 'center', + scopedSlots: { customRender: 'docName' }, width: 200, sorter: true }, @@ -173,11 +178,11 @@ ] }, { - title: '鐘� 鎬�', + title: '鐘� 鎬�', dataIndex: 'docDispatchStatus_dictText', key: 'docDispatchStatus', align: 'center', - width: 60, + width: 80, filters: [ { text: '缂栧埗', value: 1 }, { text: '鏍″', value: 2 }, @@ -498,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; -- Gitblit v1.9.3