From 6c4bd2467bb6651c6edcf8a9741dcd4e9b1aa6d3 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 30 Jan 2026 14:42:36 +0800
Subject: [PATCH] feat:权限按钮

---
 applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/ViewDiaLog.vue |   61 ++++++++++++++++++++++++++++--
 1 files changed, 56 insertions(+), 5 deletions(-)

diff --git a/applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/ViewDiaLog.vue b/applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/ViewDiaLog.vue
index 89a3c4e..73953d4 100644
--- a/applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/ViewDiaLog.vue
+++ b/applications/task-work-order/src/views/orderView/orderManage/inspectionRequest/ViewDiaLog.vue
@@ -6,6 +6,7 @@
 		@closed="visible = false"
 		destroy-on-close
 		:close-on-click-modal="false"
+		width="80%"
 	>
 		<div class="detail-container" style="display: flex">
 			<div class="detail-left" v-if="dialogMode !== 'add' && processList.length">
@@ -46,7 +47,11 @@
 						</el-col>
 						<el-col :span="12">
 							<div class="label">巡查任务航线</div>
-							<div class="val">{{ getAirName(formData.patrolRouteUrl) }}</div>
+							<div class="val val-long">
+								<el-tooltip :content="getAirName(formData.patrolRouteUrl)" placement="top">
+									{{ getAirName(formData.patrolRouteUrl) }}
+								</el-tooltip>
+							</div>
 						</el-col>
 						<el-col :span="12">
 							<div class="label">推荐飞手</div>
@@ -129,6 +134,7 @@
 									v-model="formData.patrolRouteUrl"
 									placeholder="请选择"
 									clearable
+									@change="getAirDetails"
 								>
 									<el-option v-for="item in routeOptions" :key="item.id" :label="item.name" :value="item.id" />
 								</el-select>
@@ -366,7 +372,7 @@
 
 // 获取飞手列表
 async function getFlyerList() {
-	const res = await gdFlyerPageApi({ size: 999 })
+	const res = await gdFlyerPageApi({ size: 999,current: 1 })
 	flyerList.value = res?.data?.data?.records ?? []
 }
 
@@ -394,6 +400,7 @@
 function loadList() {
 	gdWorkOrderFlowListApi({ workOrderId: formData.value.id, type: '1' }).then(res => {
 		processList.value = res.data.data
+		console.log(processList.value, 'processList.value')
 	})
 }
 
@@ -422,7 +429,14 @@
 	} finally {
 	}
 }
-
+import { ArrowLineMaterialProperty } from '@/utils/cesium/Material'
+let arrowLineMaterialProperty = new ArrowLineMaterialProperty({
+	color: new Cesium.Color(128 / 255, 215 / 255, 255 / 255, 1),
+	directionColor: new Cesium.Color(1, 1, 1, 1),
+	outlineColor: new Cesium.Color(1, 1, 1, 1),
+	outlineWidth: 0,
+	speed: 5,
+})
 // 获取航线详情
 function getAirDetails() {
 	queryAirById(formData.value.patrolRouteUrl).then(res => {
@@ -433,8 +447,8 @@
 			polyline: {
 				positions: Cesium.Cartesian3.fromDegreesArray(result),
 				clampToGround: true,
-				width: 3,
-				material: Cesium.Color.RED,
+				width: 4,
+				material: arrowLineMaterialProperty,
 			},
 		})
 		// 渲染起点(蓝色)
@@ -507,4 +521,41 @@
 </script>
 
 <style lang="scss" scoped>
+
+/* 时间线样式 */
+:deep(.gd-timeline) {
+ padding-left: 90px;
+}
+
+:deep(.el-timeline-item) {
+  padding-bottom: 20px;
+  .item-content {
+ 	position: relative;
+			.flowName {
+				width: 80px;
+				position: absolute;
+				left: -120px;
+				top: 0px;
+			}
+  }
+}
+.imgBox {
+	display: flex;
+	flex-wrap: wrap;
+	gap: 10px;
+	> div {
+		width: calc((100% - 40px) / 5); /* 5列布局,减去4个10px间隙 */
+		height: 110px;
+		flex-shrink: 0;
+	}
+	.el-image {
+		width: 100%;
+		height: 100%;
+	}
+}
+:deep(.el-timeline-item__timestamp) {
+  font-size: 12px;
+  color: #999;
+  margin-top: 2px;
+}
 </style>

--
Gitblit v1.9.3