From f58c33cff459aa6544ecade64866d3ebb26bfac5 Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期四, 31 七月 2025 18:21:02 +0800 Subject: [PATCH] 工具盘点-新增、编辑调整差异值可谓负数,和列表保持一致 --- src/views/dnc/common/DocumentBatchDeleteModal.vue | 22 +++++++++++++++------- 1 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/views/dnc/common/DocumentBatchDeleteModal.vue b/src/views/dnc/common/DocumentBatchDeleteModal.vue index ec1c412..1dc78b8 100644 --- a/src/views/dnc/common/DocumentBatchDeleteModal.vue +++ b/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 } -- Gitblit v1.9.3