From 600ab7a279a2ffc1a05e722bf18d4bfe0c1da1ea Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 19 Apr 2025 15:04:28 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/command-center-dashboard

---
 src/components/CurrentTaskDetails/TaskDetailsRight.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/components/CurrentTaskDetails/TaskDetailsRight.vue b/src/components/CurrentTaskDetails/TaskDetailsRight.vue
index 1e7776f..2a3ad92 100644
--- a/src/components/CurrentTaskDetails/TaskDetailsRight.vue
+++ b/src/components/CurrentTaskDetails/TaskDetailsRight.vue
@@ -37,6 +37,10 @@
 	() => {
 		list.value.forEach(item => {
 			item.value = taskDetails?.value?.[item.field] || ''
+			if (item.name === '任务频次') {
+				const { rep_rule_type = '', rep_rule_val = '' } = taskDetails?.value || {}
+				item.value = rep_rule_type + ' -- ' + rep_rule_val
+			}
 		})
 	},
 	{
@@ -44,8 +48,6 @@
 		deep: true,
 	}
 )
-
-
 </script>
 
 <style scoped lang="scss">
@@ -57,6 +59,7 @@
 	width: 297px;
 	height: 1002px;
 	background: rgba(31, 31, 31, 0.15);
+	backdrop-filter: blur(0.5rem);
 	border-radius: 0px 40px 40px 0px;
 	display: flex;
 	flex-direction: column;
@@ -107,6 +110,8 @@
 			.itemValue {
 				font-weight: bold;
 				color: #ffffff;
+				word-break: break-all;     /* 强制在任意字符断行 */
+				white-space: normal;       /* 允许正常换行 */
 			}
 		}
 	}

--
Gitblit v1.9.3