From 89380e6260a75d1d3b94de687ebcc2f50d50659d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 03 Feb 2026 15:44:33 +0800
Subject: [PATCH] feat:环境变量配置调整

---
 applications/task-work-order/src/views/orderView/flyingHand/FlyingHandDialog.vue |   80 +++++++++++++++++++++++++++++----------
 1 files changed, 59 insertions(+), 21 deletions(-)

diff --git a/applications/task-work-order/src/views/orderView/flyingHand/FlyingHandDialog.vue b/applications/task-work-order/src/views/orderView/flyingHand/FlyingHandDialog.vue
index d0cc686..1f1580c 100644
--- a/applications/task-work-order/src/views/orderView/flyingHand/FlyingHandDialog.vue
+++ b/applications/task-work-order/src/views/orderView/flyingHand/FlyingHandDialog.vue
@@ -7,12 +7,61 @@
 		destroy-on-close
 		:close-on-click-modal="false"
 	>
+	<el-row class="detail-row-view" v-if="dialogType === 'view'">
+      <el-col :span="12">
+        <div class="label">飞手姓名</div>
+        <div class="val">{{ formData.flyerName }}</div>
+      </el-col>
+      <el-col :span="12">
+        <div class="label">飞手电话</div>
+        <div class="val">{{ formData.flyerPhone }}</div>
+      </el-col>
+      <el-col :span="12">
+        <div class="label">飞行时长</div>
+        <div class="val">{{ formData.flightHours }}</div>
+      </el-col>
+      <el-col :span="12">
+        <div class="label">技术特长</div>
+        <div class="val">{{ getDictLabel(formData.technicalStrength, dictObj.technicalStrength) }}</div>
+      </el-col>
+	  <el-col :span="12">
+        <div class="label">擅长机型</div>
+        <div class="val">{{ getDictLabel(formData.skilledUavType, dictObj.skilledUavType) }}</div>
+      </el-col>
+	  <el-col :span="12">
+        <div class="label">擅长任务类型</div>
+        <div class="val">{{ getDictLabel(formData.skilledTaskType, dictObj.workOrderType) }}</div>
+      </el-col>
+	  <el-col :span="12">
+        <div class="label">项目经验</div>
+        <div class="val">{{ formData.projectExperience }}</div>
+      </el-col>
+	  <el-col :span="12">
+        <div class="label">飞手地址</div>
+        <div class="val">{{ formData.flyerAddress }}</div>
+      </el-col>
+	  <el-col :span="24">
+        <div class="label">飞手证书</div>
+        <div class="val">
+			<el-image
+				v-for="(item, index) in formData.certification"
+				:key="index"
+				:src="item"
+				:preview-src-list="formData.certification"
+				class="gd-image"
+				style="width: 100px; height: 100px; margin-right: 10px;"
+			/>
+		</div>
+      </el-col>
+    </el-row>
+
 		<el-form
 			ref="formRef"
 			:model="formData"
 			:rules="rules"
-			class="gd-form"
+			class="gd-dialog-form"
 			label-width="160px"
+			v-else
 		>
 			<el-row>
 				<el-col :span="12">
@@ -104,7 +153,7 @@
 							:disabled="dialogType === 'view'"
 						>
 							<el-option
-								v-for="item in dictObj.skilledTaskType"
+								v-for="item in dictObj.workOrderType"
 								:key="item.dictKey"
 								:label="item.dictValue"
 								:value="item.dictKey"
@@ -124,29 +173,17 @@
 						/>
 					</el-form-item>
 				</el-col>
-				<el-col :span="24" v-if="dialogType === 'view'">
-					<el-form-item label="飞手证书" prop="certification">
-						<el-image
-							v-for="(item, index) in formData.certification"
-							:key="index"
-							:src="item"
-							:preview-src-list="formData.certification"
-							class="gd-image"
-							style="width: 100px; height: 100px; margin-right: 10px;"
-						/>
-					</el-form-item>
-				</el-col>
 			</el-row>
 		</el-form>
 		<template #footer>
-			<el-button color="#F2F3F5" @click="handleClose">取消</el-button>
+			<el-button v-if="dialogType !== 'view'" color="#F2F3F5" @click="handleClose">取消</el-button>
 			<el-button
 				v-if="dialogType !== 'view'"
 				type="primary"
 				color="#4C34FF"
 				@click="handleSubmit"
 			>
-				确定
+				保存
 			</el-button>
 		</template>
 	</el-dialog>
@@ -155,6 +192,7 @@
 import { ref, reactive, computed, watch, inject } from 'vue'
 import { submitFlyingHand } from './flyingHandApi'
 import { ElMessage } from 'element-plus'
+import { getDictLabel } from '@ztzf/utils'
 
 import { fieldRules } from '@ztzf/utils'
 
@@ -188,11 +226,11 @@
 const dialogTitle = computed(() => {
 	switch (props.dialogType) {
 		case 'add':
-			return '添加飞手信息'
+			return '飞手建档'
 		case 'edit':
-			return '编辑飞手信息'
+			return '编辑'
 		case 'view':
-			return '查看飞手信息'
+			return '查看'
 		default:
 			return '飞手信息'
 	}
@@ -263,7 +301,7 @@
 		if (newData) {
 			Object.assign(formData.value, newData)
 			formData.value.flightHours = Number(newData.flightHours)
-		} 
+		}
 	},
 	{ deep: true, immediate: true }
 )
@@ -328,4 +366,4 @@
 		margin-bottom: 20px;
 	}
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3