From 233e4fc4f35bd00a36ee34a7fbf5e47b41db26db Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 17 Nov 2025 09:54:44 +0800
Subject: [PATCH] feat:更新初始化地形

---
 src/views/job/components/DeviceJobDetails.vue |   34 ++++++++++++++++++++++++----------
 1 files changed, 24 insertions(+), 10 deletions(-)

diff --git a/src/views/job/components/DeviceJobDetails.vue b/src/views/job/components/DeviceJobDetails.vue
index c2ecc4d..d32dadd 100644
--- a/src/views/job/components/DeviceJobDetails.vue
+++ b/src/views/job/components/DeviceJobDetails.vue
@@ -4,7 +4,7 @@
 		:width="pxToRem(1800)" :close-on-click-modal="false" :destroy-on-close="true">
 		<div class="content">
 			<div class="contentLeft">
-				<div class="machineTableDetailsTitle"><span>详情</span></div>
+				<div class="machineTableDetailsTitle"><img src="/src/assets/images/task/sign.svg" alt=""><span>详情</span></div>
 				<div class="infoBox">
 					<div class="itemBoxLeft">
 						<div v-for="(item, index) in infoList" :key="index" class="itemCon">
@@ -29,11 +29,14 @@
 				</div>
 				<JobRelatedEvents :jobTimes="jobTimes" :batchNo="batchNo" />
 				<div class="devicetitle" v-if="isShow">
+				<div>
+						<img src="/src/assets/images/task/sign.svg" alt="">
 					<p>
 						成果数据
 						<span>{{ total }}</span>
 						个
 					</p>
+				</div>
 					<div class="rightBox" v-if="total">
 						<div class="downloadBtn" @click="htlsrwxq === 100 && downloadFun()">
 							<el-progress v-if="htlsrwxq !== 100" :percentage="htlsrwxq" :show-text="false" striped striped-flow :duration="1" />
@@ -159,6 +162,7 @@
 import { droneEventList } from '../const/drc'
 import { ElMessage,ElLoading } from 'element-plus'
 import { useStore } from 'vuex';
+import EventBus from '@/utils/eventBus';
 const store = useStore();
 const htlsrwxq = computed(() => store.state.common.downloadProgress?.htlsrwxq || 100)
 const isShow = defineModel('show')
@@ -181,7 +185,7 @@
 	{ name: '任务类型', value: '', field: 'industry_type_str' },
 	{ name: '飞行事件', value: '', field: 'event_number' },
 	{ name: '所属机巢', value: '', field: 'device_names' },
-	{ name: '所属单位', value: '', field: 'dept_name' },
+	{ name: '所属部门', value: '', field: 'dept_name' },
 	{ name: '任务时间', value: '', field: 'cycle_time_value' },
 	{ name: '关联算法', value: '', field: 'ai_type_str' },
 	{ name: '任务描述', value: '', field: 'remark' },
@@ -347,7 +351,9 @@
 function cancelDownload() {
 	cancelDownloadApi({ type:'htlsrwxq' }).then(res =>{
 		ElMessage.success('取消成功')
-	})
+	}).catch(e =>{
+    EventBus.emit('useGlobalWS-messageHandler', {biz_code: 'DOWNLOAD_PROGRESS',data:{status: 'CANCELLED',type:'htlsrwxq'}})
+  })
 }
 onMounted(() => {
 	getDetails()
@@ -384,14 +390,18 @@
 
 		.machineTableDetailsTitle {
 			margin-bottom: 10px;
-			background: url('/src/assets/images/task/detailtitle.png') no-repeat center;
+			// background: url('/src/assets/images/task/detailtitle.png') no-repeat center;
+			border-bottom: 2px solid #e4e7ed;
 			background-size: 100% 100%;
-
+			img{
+			width: 15px;
+			height: 15px;}
 			span {
 				display: inline-block;
-				margin-left: 30px;
+				margin-left: 10px;
 				font-size: 16px;
-				color: #0282ff;
+				// color: #0282ff;
+				color: #303133;
 				line-height: 20px;
 				text-align: left;
 				margin-bottom: 8px;
@@ -400,12 +410,13 @@
 
 		.devicetitle {
 			margin-bottom: 16px;
-			background: url('/src/assets/images/task/detailtitle.png') no-repeat center;
+			// background: url('/src/assets/images/task/detailtitle.png') no-repeat center;
+			border-bottom: 2px solid #e4e7ed;
 			background-size: 100% 100%;
 			display: flex;
 			justify-content: space-between;
 			align-content: center;
-.rightBox{
+			.rightBox{
 				display: flex;
 				align-items: center;
 				padding-right: 10px;
@@ -451,9 +462,12 @@
 
 				}
 			}
+			img{
+			width: 15px;
+			height: 15px;}
 			p {
 				display: inline-block;
-				margin-left: 30px;
+				margin-left: 10px;
 				font-size: 16px;
 				color: #363636;
 				line-height: 20px;

--
Gitblit v1.9.3