From 1d552a3bad95caae4af15322df28e6240b797693 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 13 Aug 2026 15:32:06 +0800
Subject: [PATCH] feat: app视频封面图

---
 applications/task-work-order/src/views/orderView/orderManage/clueEvents/DistributeDiaLog.vue |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/applications/task-work-order/src/views/orderView/orderManage/clueEvents/DistributeDiaLog.vue b/applications/task-work-order/src/views/orderView/orderManage/clueEvents/DistributeDiaLog.vue
index 6ee6ffc..0b4b84f 100644
--- a/applications/task-work-order/src/views/orderView/orderManage/clueEvents/DistributeDiaLog.vue
+++ b/applications/task-work-order/src/views/orderView/orderManage/clueEvents/DistributeDiaLog.vue
@@ -12,7 +12,13 @@
 			<el-row>
 				<el-col :span="24">
 					<el-form-item label="事件名称" prop="eventName">
-						<el-input class="gd-input" v-model="formData.eventName" placeholder="请输入" clearable />
+						<el-input
+							:disabled="distributeStatus === 2"
+							class="gd-input"
+							v-model="formData.eventName"
+							placeholder="请输入"
+							clearable
+						/>
 					</el-form-item>
 				</el-col>
 				<el-col :span="24">
@@ -79,6 +85,7 @@
 const userList = ref([])
 const currentRow = ref(null) // 当前线索数据
 const workOrderId = ref(null) // 工单ID
+const distributeStatus = ref(null)
 
 // 校验规则
 const rules = {
@@ -119,7 +126,7 @@
 			eventName: formData.value.eventName,
 			latitude: currentRow.value.latitude || 0,
 			longitude: currentRow.value.longitude || 0,
-			resultId: currentRow.value.id,
+			resultId: currentRow.value.resultId ? currentRow.value.resultId : currentRow.value.id,
 			workOrderId: workOrderId.value,
 		}
 		await gdTaskResultDistributeApi(params)
@@ -139,9 +146,12 @@
 
 // 打开弹框
 async function open({ row, workOrderId: orderId } = {}) {
+	console.log('33399',row)
 	currentRow.value = row
 	workOrderId.value = orderId
 	formData.value = initForm()
+	formData.value.eventName = row.eventName
+	distributeStatus.value = row.distributeStatus || row.eventStatus
 }
 
 defineExpose({ open })

--
Gitblit v1.9.3