Kaynağa Gözat

fix(resourceConversionLog): 恢复操作列并修复详情弹窗visible属性

修复资源转换日志页面的操作列显示问题,同时将详情弹窗的v-model:open改为v-model:visible以保持属性命名一致性
tanshanming 6 ay önce
ebeveyn
işleme
f8405d363c
1 değiştirilmiş dosya ile 11 ekleme ve 11 silme
  1. 11 11
      src/views/resourceConversionLog/index.vue

+ 11 - 11
src/views/resourceConversionLog/index.vue

@@ -68,19 +68,19 @@
 				</template>
 
 				<!-- 操作列 -->
-				<!-- <template #action="{ record }">
+				<template #action="{ record }">
 					<a-space>
 						<a-button type="link" size="small" @click="handleViewDetail(record)"> 查看详情 </a-button>
 						<a-button v-if="record.status === '2'" type="link" size="small" danger @click="handleRetry(record)">
 							重新转换
 						</a-button>
 					</a-space>
-				</template> -->
+				</template>
 			</a-table>
 		</a-card>
 
 		<!-- 详情弹窗 -->
-		<a-modal v-model:open="detailVisible" title="转换日志详情" width="600px" :footer="null">
+		<a-modal v-model:visible="detailVisible" title="转换日志详情" width="600px" :footer="null">
 			<a-descriptions :column="1" bordered v-if="currentRecord">
 				<a-descriptions-item label="文件名称">
 					{{ currentRecord.fileName }}
@@ -193,14 +193,14 @@
 			width: 180,
 			slots: { customRender: 'createTime' }
 		},
-		// {
-		// 	title: '操作',
-		// 	key: 'action',
-		// 	width: 150,
-		// 	align: 'center',
-		// 	fixed: 'right',
-		// 	slots: { customRender: 'action' }
-		// }
+		{
+			title: '操作',
+			key: 'action',
+			width: 150,
+			align: 'center',
+			fixed: 'right',
+			slots: { customRender: 'action' }
+		}
 	]
 
 	// 获取列表数据