From 52fcab294f28efd0fb6fcacdd3bfd039fbc1d1a9 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 01 七月 2026 11:38:47 +0800
Subject: [PATCH] 测试完成

---
 src/components/Assistant/index.vue |   52 +++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 45 insertions(+), 7 deletions(-)

diff --git a/src/components/Assistant/index.vue b/src/components/Assistant/index.vue
index 51d7c7b..18d0aa5 100644
--- a/src/components/Assistant/index.vue
+++ b/src/components/Assistant/index.vue
@@ -195,7 +195,6 @@
         <el-form-item label="鐥呭尯">
           <el-input v-model="smsForm.leavehospitaldistrictname"></el-input>
         </el-form-item>
-        <!-- 鐭俊鍙戦�佸璇濇 - 妯℃澘閫夋嫨鍖哄煙锛堝寮虹増锛� -->
         <el-form-item label="閫夋嫨妯℃澘">
           <el-row :gutter="10">
             <el-col :span="7">
@@ -244,14 +243,19 @@
                 <el-option
                   v-for="tmpl in filteredTemplateOptions"
                   :key="tmpl.templetid"
-                  :label="`銆�${tmpl.templetno}銆�${tmpl.templetname}`"
+                  :label="tmpl.templetname"
                   :value="tmpl.templetid"
                 >
-                  <span style="float: left">{{ tmpl.templetname }}</span>
-                  <span style="float: right; color: #909399; font-size: 12px">
-                    {{ tmpl.deptName || "閫氱敤" }} /
-                    {{ tmpl.wardName || "鍏ㄩ儴" }}
-                  </span>
+                  <div class="template-option-content">
+                    <div class="template-option-text">
+                      {{ tmpl.templetcontent || "鏆傛棤鍐呭" }}
+                    </div>
+                    <div class="template-option-meta">
+                      <span>{{ tmpl.deptName || "閫氱敤" }}</span>
+                      <span class="meta-separator">/</span>
+                      <span>{{ tmpl.wardName || "鍏ㄩ儴" }}</span>
+                    </div>
+                  </div>
                 </el-option>
               </el-select>
             </el-col>
@@ -1019,6 +1023,40 @@
 </script>
 
 <style scoped>
+.wide-template-popper {
+  width: 420px !important; /* 杩涗竴姝ュ姞瀹斤紝閫傚簲鍐呭灞曠ず */
+}
+
+.template-option-content {
+  padding: 8px 0;
+  display: flex;
+  flex-direction: column;
+  gap: 6px;
+}
+
+.template-option-text {
+  font-size: 13px;
+  color: #303133;
+  line-height: 1.6;
+  display: -webkit-box;
+  -webkit-line-clamp: 3; /* 鏈�澶氭樉绀�3琛� */
+  -webkit-box-orient: vertical;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  word-break: break-all;
+}
+
+.template-option-meta {
+  font-size: 12px;
+  color: #909399;
+  display: flex;
+  align-items: center;
+  gap: 4px;
+}
+
+.meta-separator {
+  color: #dcdfe6;
+}
 .float-ball {
   position: fixed;
   z-index: 9999;

--
Gitblit v1.9.3