From c899dff1fce7f8054008cd9887a9729cdffd88cb Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 19 十一月 2026 11:34:32 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/patient/hospital.vue |  642 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 594 insertions(+), 48 deletions(-)

diff --git a/src/views/patient/patient/hospital.vue b/src/views/patient/patient/hospital.vue
index fed951f..fbe5da3 100644
--- a/src/views/patient/patient/hospital.vue
+++ b/src/views/patient/patient/hospital.vue
@@ -47,7 +47,7 @@
           </el-form-item>
           <el-form-item label="绉戝鍚嶇О" prop="inhospno">
             <el-input
-              v-model="queryParams.deptname"
+              v-model="queryParams.leaveldeptname"
               placeholder="璇疯緭鍏ョ瀹ゅ悕绉�"
               clearable
               style="width: 250px"
@@ -60,6 +60,8 @@
               v-model="queryParams.scopetype"
               placeholder="榛樿鍏ㄩ儴绉戝"
               :options="sourcetype"
+              filterable
+              clearable
               :props="{ expandTrigger: 'hover' }"
               @change="handleChange"
             ></el-cascader>
@@ -74,6 +76,17 @@
               start-placeholder="寮�濮嬫棩鏈�"
               end-placeholder="缁撴潫鏃ユ湡"
             ></el-date-picker>
+          </el-form-item>
+          <el-form-item label="搴婂彿鎺掑簭" prop="bedSort">
+            <el-select
+              v-model="queryParams.bedSort"
+              placeholder="涓嶆寜搴婂彿鎺掑簭"
+              style="width: 160px"
+            >
+              <el-option label="涓嶆寜搴婂彿鎺掑簭" :value="null"></el-option>
+              <el-option label="鎸夊簥鍙锋搴�" :value="1"></el-option>
+              <el-option label="鎸夊簥鍙峰�掑簭" :value="2"></el-option>
+            </el-select>
           </el-form-item>
 
           <el-row>
@@ -115,7 +128,7 @@
               size="medium"
               :disabled="single"
               @click="handleUpdate"
-              v-hasPermi="['system:user:edit']"
+
               >淇敼</el-button
             >
           </el-col> -->
@@ -129,6 +142,20 @@
               @click="handleBatchAddTask"
             >
               娣诲姞寤剁画鎶ょ悊浠诲姟
+            </el-button>
+          </el-col>
+          <!-- 璇煶鏈嶅姟杞汉宸ユ寜閽� -->
+          <el-col :span="1.5">
+            <el-button
+              type="primary"
+              plain
+              icon="el-icon-refresh-right"
+              size="medium"
+              :disabled="multiple"
+              v-if="orgname === '绗竴浜烘皯鍖婚櫌婀栨花闄㈠尯'||orgname === '绗竴浜烘皯鍖婚櫌鍚村北闄㈠尯'||orgname === '绗竴浜烘皯鍖婚櫌鍩庝笢闄㈠尯'"
+              @click="handleManualVisit"
+            >
+              璇煶鏈嶅姟杞汉宸�
             </el-button>
           </el-col>
           <el-col :span="1.5">
@@ -202,7 +229,8 @@
                   gettoken360(
                     scope.row.idcardno,
                     scope.row.drcode,
-                    scope.row.drname
+                    scope.row.drname,
+                    scope.row.patid
                   )
                 "
                 ><span class="button-textsc">{{
@@ -261,8 +289,8 @@
           <el-table-column
             label="绉戝"
             align="center"
-            key="deptname"
-            prop="deptname"
+            key="leaveldeptname"
+            prop="leaveldeptname"
             width="120"
           />
           <el-table-column
@@ -336,41 +364,81 @@
       </el-col>
     </el-row>
     <!-- 鎵归噺娣诲姞浠诲姟寮圭獥 -->
+    <!-- 鎵归噺娣诲姞寤剁画鎶ょ悊浠诲姟寮圭獥 -->
     <el-dialog
-      title="鎵归噺娣诲姞寤剁画鎶ょ悊"
+      :title="batchMode === 'manual' ? '璇煶鏈嶅姟杞汉宸�' : '鎵归噺娣诲姞寤剁画鎶ょ悊'"
       :visible.sync="batchTaskVisible"
       width="90%"
       append-to-body
+      class="batch-dialog"
+      :close-on-click-modal="false"
     >
       <el-row :gutter="20">
         <!-- 宸︿晶锛氶�変腑鎮h�呭垪琛� -->
         <el-col :span="12">
           <div class="batch-patient-section">
-            <h4>閫変腑鎮h�咃紙{{ selectedPatients.length }}浜猴級</h4>
+            <div class="section-header">
+              <h4>閫変腑鎮h��</h4>
+              <span class="patient-count">{{ selectedPatients.length }}浜�</span>
+            </div>
             <el-table
               :data="selectedPatients"
               border
               style="width: 100%"
               size="small"
+              :row-class-name="tableRowClassName"
+              :header-cell-style="{ background: '#F5F7FA', color: '#606266' }"
             >
-              <el-table-column prop="patname" label="濮撳悕" width="100" />
-              <el-table-column prop="sex" label="鎬у埆" width="80">
+              <el-table-column
+                prop="patname"
+                label="濮撳悕"
+                width="100"
+                align="center"
+              />
+              <el-table-column
+                prop="sex"
+                label="鎬у埆"
+                width="80"
+                align="center"
+              >
                 <template slot-scope="scope">
-                  {{ scope.row.sex === 1 ? "鐢�" : "濂�" }}
+                  <el-tag
+                    size="small"
+                    :type="scope.row.sex === 1 ? 'primary' : 'danger'"
+                  >
+                    {{ scope.row.sex === 1 ? "鐢�" : "濂�" }}
+                  </el-tag>
                 </template>
               </el-table-column>
               <el-table-column
-                label="鍑洪櫌鏃堕棿"
+                label="鍏ラ櫌鏃堕棿"
                 align="center"
-                key="endtime"
-                prop="endtime"
+                key="starttime"
+                prop="starttime"
+                width="120"
               >
                 <template slot-scope="scope">
-                  <span>{{ formatTime(scope.row.endtime) }}</span>
+                  <span class="time-text">{{
+                    formatTime(scope.row.starttime)
+                  }}</span>
                 </template>
               </el-table-column>
-              <el-table-column prop="inhospno" label="浣忛櫌鍙�" />
-              <el-table-column prop="deptname" label="绉戝" />
+              <el-table-column
+                prop="inhospno"
+                label="浣忛櫌鍙�"
+                width="120"
+                align="center"
+              />
+              <el-table-column
+                prop="leaveldeptname"
+                label="绉戝"
+                align="center"
+              />
+              <el-table-column
+                prop="leavehospitaldistrictname"
+                label="鐥呭尯"
+                align="center"
+              />
             </el-table>
           </div>
         </el-col>
@@ -378,14 +446,30 @@
         <!-- 鍙充晶锛氫换鍔″垪琛� -->
         <el-col :span="12">
           <div class="batch-task-section">
-            <h4>浠诲姟鍒楄〃锛堣閫夋嫨1涓换鍔★級</h4>
+            <div class="section-header">
+              <h4>
+                {{ batchMode === "manual" ? "浜哄伐闅忚浠诲姟" : "寤剁画鎶ょ悊浠诲姟" }}
+              </h4>
+              <div v-if="selectedTask" class="task-selected-hint selected">
+                <i class="el-icon-success"></i>
+                <span>宸查�夋嫨锛歿{ selectedTask.taskName }}</span>
+              </div>
+              <div v-else class="task-selected-hint">
+                <i class="el-icon-info"></i>
+                <span>璇风偣鍑婚�夋嫨涓�涓换鍔�</span>
+              </div>
+            </div>
             <el-table
               :data="taskList"
               border
+              height="680"
               style="width: 100%"
               size="small"
               @current-change="handleTaskSelectionChange"
               highlight-current-row
+              :row-class-name="taskRowClassName"
+              :header-cell-style="{ background: '#F5F7FA', color: '#606266' }"
+              :current-row-key="selectedTask ? selectedTask.taskid : ''"
             >
               <el-table-column
                 label="浠诲姟鍚嶇О"
@@ -394,6 +478,7 @@
                 key="taskName"
                 prop="taskName"
                 :show-overflow-tooltip="true"
+                width="180"
               />
 
               <el-table-column
@@ -418,29 +503,55 @@
                 prop="createTime"
               >
                 <template slot-scope="scope">
-                  <span>{{ formatTime(scope.row.createTime) }}</span>
+                  <span class="time-text">{{
+                    formatTime(scope.row.createTime)
+                  }}</span>
                 </template>
               </el-table-column>
               <template #empty>
                 <div class="empty-message">
-                  <i class="el-icon-warning"></i>
-                  <span>鎮h�呯瀹ゆ棤鍖归厤鏈嶅姟</span>
+                  <i class="el-icon-document"></i>
+                  <span>{{
+                    batchMode === "manual"
+                      ? "鏆傛棤鍙敤浜哄伐闅忚浠诲姟"
+                      : "鏆傛棤鍙敤寤剁画鎶ょ悊浠诲姟"
+                  }}</span>
+                  <span class="empty-tips">璇疯仈绯荤鐞嗗憳鍒涘缓浠诲姟</span>
                 </div>
               </template>
             </el-table>
+            <pagination
+              v-show="taskTotal > 0"
+              :total="taskTotal"
+              :page.sync="taskQueryParams.pageNum"
+              :limit.sync="taskQueryParams.pageSize"
+              @pagination="loadTaskList"
+            />
           </div>
         </el-col>
       </el-row>
 
       <!-- 搴曢儴鎸夐挳 -->
       <div slot="footer" class="dialog-footer">
-        <el-button @click="batchTaskVisible = false">鍙� 娑�</el-button>
+        <el-button @click="batchTaskVisible = false" :disabled="batchLoading"
+          >鍙� 娑�</el-button
+        >
         <el-button
           type="primary"
           :loading="batchLoading"
           @click="submitBatchTask"
-          >鍒涘缓浠诲姟</el-button
+          :disabled="!selectedTask || batchLoading"
         >
+          {{
+            batchLoading
+              ? batchMode === "manual"
+                ? "杞崲涓�..."
+                : "鍒涘缓涓�..."
+              : batchMode === "manual"
+              ? "纭杞汉宸�"
+              : "鍒涘缓寤剁画鎶ょ悊浠诲姟"
+          }}
+        </el-button>
       </div>
     </el-dialog>
     <!-- 鐢ㄦ埛瀵煎叆瀵硅瘽妗� -->
@@ -539,7 +650,7 @@
 <script>
 import { delUser } from "@/api/system/user";
 
-import { listpatient } from "@/api/patient/record";
+import { listpatient, addManualVisit } from "@/api/patient/record";
 import {
   messagelistpatient,
   alterpatient,
@@ -554,7 +665,12 @@
 import Treeselect from "@riophae/vue-treeselect";
 import { listDept } from "@/api/system/dept";
 import "@riophae/vue-treeselect/dist/vue-treeselect.css";
-import { query360PatInfo, getTasklist, addSubtask } from "@/api/AiCentre/index";
+import {
+  query360PatInfo,
+  query360PatInfonh,
+  getTasklist,
+  addSubtask,
+} from "@/api/AiCentre/index";
 
 import store from "@/store";
 
@@ -589,12 +705,19 @@
       // 榛樿瀵嗙爜
       initPassword: undefined,
       amendtag: false, //鏄惁淇敼
+      orgname: localStorage.getItem("orgname"),
       // 鎵归噺浠诲姟鐩稿叧鏁版嵁
+      batchMode: "continue", // 寮圭獥妯″紡锛歝ontinue 寤剁画鎶ょ悊 / manual 璇煶鏈嶅姟杞汉宸�
       batchTaskVisible: false, // 寮圭獥鍙鎬�
       selectedPatients: [], // 閫変腑鐨勬偅鑰呭垪琛�
       taskList: [], // 浠诲姟鍒楄〃
       selectedTask: null, // 閫変腑鐨勪换鍔�
       batchLoading: false, // 鎵归噺鎻愪氦鍔犺浇鐘舵��
+      taskQueryParams: {
+        pageNum: 1,
+        pageSize: 20,
+      },
+      taskTotal: 0,
       // 鏃ユ湡鑼冨洿
       dateRange: [],
       source: [
@@ -724,6 +847,7 @@
         pageNum: 1,
         pageSize: 10,
         cry: 1,
+        bedSort: null,
         searchscope: 3,
         scopetype: [],
         leaveldeptcodes: [],
@@ -780,8 +904,25 @@
       });
     },
     //鎮h��360璺宠浆
-    gettoken360(sfzh, drcode, drname) {
-      // this.$modal.msgWarning('360鍔熻兘鏆傛湭寮�閫�');
+    gettoken360(sfzh, drcode, drname, id) {
+      const orgname = localStorage.getItem("orgname");
+      if (orgname == "鍗楀崕澶у闄勫睘绗竴鍖婚櫌") {
+        query360PatInfonh(id).then((res) => {
+          if (res.data) {
+            window.open(res.data, "_blank");
+          } else {
+            this.$modal.msgWarning("360鏌ヨ鏃犵粨鏋�");
+          }
+        });
+        return;
+      } else if (
+        orgname == "绗竴浜烘皯鍖婚櫌婀栨花闄㈠尯" ||
+        orgname == "绗竴浜烘皯鍖婚櫌鍚村北闄㈠尯"
+      ) {
+        let url = `http://192.200.81.189:9100/blj/view?BINGRENID=${id}&YONGHUID=DBA`;
+        window.open(url, "_blank");
+        return;
+      }
 
       this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
 
@@ -802,6 +943,9 @@
         return;
       }
 
+      this.batchMode = "continue";
+      this.selectedTask = null;
+
       // 鑾峰彇閫変腑鎮h�呯殑绉戝淇℃伅
       const patientDepts = new Set();
       let deptcode = "";
@@ -821,32 +965,105 @@
       // 鏄剧ず寮圭獥
       this.batchTaskVisible = true;
 
-      // 鑾峰彇浠诲姟鍒楄〃
-      this.loadTaskList(deptcode);
+      // 閲嶇疆浠诲姟鍒嗛〉骞惰幏鍙栦换鍔″垪琛�
+      this.taskQueryParams.pageNum = 1;
+      this.loadTaskList();
+    },
+    /** 璇煶鏈嶅姟杞汉宸ユ寜閽偣鍑� */
+    handleManualVisit() {
+      // 鏍¢獙鏄惁閫変腑鎮h��
+      if (this.ids.length === 0) {
+        this.$modal.msgWarning("璇疯嚦灏戦�変腑1鍚嶆偅鑰�");
+        return;
+      }
+
+      this.batchMode = "manual";
+      this.selectedTask = null;
+      // 鑾峰彇閫変腑鎮h�呭垪琛�
+      this.selectedPatients = this.userList.filter((item) =>
+        this.ids.includes(item.patid)
+      );
+
+      // 鏄剧ず寮圭獥
+      this.batchTaskVisible = true;
+
+      // 閲嶇疆浠诲姟鍒嗛〉骞惰幏鍙栦换鍔″垪琛�
+      this.taskQueryParams.pageNum = 1;
+      this.loadTaskList();
+    },
+    /** 琛ㄦ牸琛屾牱寮� */
+    tableRowClassName({ row, rowIndex }) {
+      if (rowIndex % 2 === 0) {
+        return "even-row";
+      } else {
+        return "odd-row";
+      }
     },
 
+    /** 浠诲姟琛ㄦ牸琛屾牱寮� */
+    taskRowClassName({ row, rowIndex }) {
+      if (rowIndex % 2 === 0) {
+        return "task-even-row";
+      } else {
+        return "task-odd-row";
+      }
+    },
     /** 鍔犺浇浠诲姟鍒楄〃 */
-    loadTaskList(deptcode) {
+    loadTaskList() {
       this.batchLoading = true;
       let topqueryParams = {
-        pageNum: 1,
-        pageSize: 100, // 璁剧疆杈冨ぇ鐨勫垎椤佃幏鍙栨洿澶氫换鍔�
-        type: 2, // 鏍规嵁瀹為檯鎯呭喌璋冩暣
+        pageNum: this.taskQueryParams.pageNum,
+        pageSize: this.taskQueryParams.pageSize,
       };
-
+      if (this.batchMode !== "manual") {
+        topqueryParams.type = 2; // 寤剁画鎶ょ悊浠诲姟绫诲瀷
+      }
+      topqueryParams.deptcodes = store.getters.belongDepts.map(
+        (obj) => obj.deptCode
+      );
+      topqueryParams.hospitaldistrictcodes = store.getters.belongWards.map(
+        (obj) => obj.districtCode
+      );
       getTasklist(topqueryParams)
         .then((response) => {
-          this.taskList = response.rows;
+          this.taskList = response.rows || [];
+          if (this.batchMode === "manual") {
+            // 鍙繚鐣欍�屼汉宸ャ�嶄换鍔″舰寮忥紙preachform 鍚� 1锛�
+            this.taskList = this.taskList.filter((task) =>
+              this.isManualTask(task)
+            );
+          }
+          this.taskTotal = response.total;
           this.batchLoading = false;
 
           if (this.taskList.length === 0) {
-            this.$modal.msgWarning("褰撳墠绉戝鏃犲彲鐢ㄤ换鍔�");
+            this.$modal.msgWarning(
+              this.batchMode === "manual"
+                ? "褰撳墠绉戝鏃犲彲鐢ㄤ汉宸ラ殢璁夸换鍔�"
+                : "褰撳墠绉戝鏃犲彲鐢ㄥ欢缁姢鐞嗕换鍔�"
+            );
           }
         })
         .catch((error) => {
           this.$modal.msgError("鑾峰彇浠诲姟鍒楄〃澶辫触锛�" + error.message);
           this.batchLoading = false;
         });
+    },
+
+    /** 鍒ゆ柇鏄惁涓恒�屼汉宸ャ�嶄换鍔″舰寮忥紙preachform 鍚� 1锛� */
+    isManualTask(task) {
+      if (task.preachform != null && task.preachform !== "") {
+        const forms = String(task.preachform)
+          .split(",")
+          .map((s) => s.trim());
+        if (forms.includes("1")) return true;
+      }
+      if (Array.isArray(task.preachformList)) {
+        return task.preachformList.some(
+          (item) => String(item.preachform) === "1"
+        );
+      }
+      return false;
     },
 
     /** 澶勭悊浠诲姟閫夋嫨鍙樺寲 */
@@ -862,6 +1079,12 @@
         return;
       }
 
+      // 璇煶鏈嶅姟杞汉宸ワ細璧版柊鎺ュ彛
+      if (this.batchMode === "manual") {
+        this.submitManualVisit();
+        return;
+      }
+
       this.batchLoading = true;
       const successPatients = [];
       const failedPatients = [];
@@ -874,13 +1097,16 @@
             taskid: this.selectedTask.taskid,
             type: this.selectedTask.type,
             taskName: this.selectedTask.taskName,
-            serviceType: this.selectedTask.serviceType,
+            serviceType: 99,
             preachform: this.selectedTask.preachform,
             templateid: this.selectedTask.templateid,
             libtemplateid: this.selectedTask.libtemplateid,
             sendstate: 2,
+            continueFlag: 2,
+            hospType: 2, // 鎮h�呯被鍨嬶細2=鍑洪櫌
             ...patient,
             sendname: patient.patname,
+            starttime: patient.starttime ? patient.starttime + " 00:00:00" : "",
             endtime: patient.endtime ? patient.endtime + " 00:00:00" : "",
             leavediagname: patient.leavediagname || patient.diagname || "",
             age: patient.age || "",
@@ -919,9 +1145,46 @@
         }
 
         this.batchTaskVisible = false;
+        this.$router.push({
+          path: "/followvisit/Continue",
+        });
         this.getList(); // 鍒锋柊鎮h�呭垪琛�
       } catch (error) {
         this.$modal.msgError("鎵归噺娣诲姞浠诲姟杩囩▼涓嚭閿欙細" + error.message);
+      } finally {
+        this.batchLoading = false;
+      }
+    },
+
+    /** 璇煶鏈嶅姟杞汉宸ワ細鍒犻櫎鏈畬鎴愰殢璁夸换鍔″苟閲嶆柊鐢熸垚浜哄伐闅忚浠诲姟 */
+    async submitManualVisit() {
+      this.batchLoading = true;
+      try {
+        const params = {
+          patids: this.selectedPatients.map((item) => item.patid),
+          taskid: this.selectedTask.taskid,
+        };
+        const response = await addManualVisit(params);
+        if (response.code === 200) {
+          const data = response.data || {};
+          const generated = data.generatedCount || 0;
+          const noDischarge = (data.noDischargeRecordPatids || []).length;
+          const noArchive = (data.noArchivePatids || []).length;
+          const failed = (data.generateFailedPatids || []).length;
+          let msg = `鎴愬姛鐢熸垚 ${generated} 涓汉宸ラ殢璁夸换鍔;
+          if (noDischarge) msg += `锛�${noDischarge} 浜烘棤鍑洪櫌璁板綍`;
+          if (noArchive) msg += `锛�${noArchive} 浜烘棤鎮h�呮。妗坄;
+          if (failed) msg += `锛�${failed} 浜虹敓鎴愬け璐;
+          this.$modal.msgSuccess(msg);
+          this.batchTaskVisible = false;
+          this.getList(); // 鍒锋柊鎮h�呭垪琛�
+        } else {
+          this.$modal.msgError(response.msg || "璇煶鏈嶅姟杞汉宸ュけ璐�");
+        }
+      } catch (error) {
+        this.$modal.msgError(
+          "璇煶鏈嶅姟杞汉宸ュけ璐ワ細" + (error.message || "缃戠粶閿欒")
+        );
       } finally {
         this.batchLoading = false;
       }
@@ -1034,6 +1297,7 @@
         pageNum: 1,
         pageSize: 10,
         cry: 1,
+        bedSort: null,
         searchscope: 3,
         scopetype: [],
         leaveldeptcodes: [],
@@ -1214,34 +1478,258 @@
 .button-textsc {
   color: #3664d9;
 }
-// 鎵归噺浠诲姟寮圭獥鏍峰紡
-.batch-patient-section,
-.batch-task-section {
-  h4 {
-    margin: 0 0 10px 0;
-    color: #606266;
-    font-size: 16px;
+// 鎵归噺浠诲姟寮圭獥浼樺寲鏍峰紡
+.batch-dialog {
+  .el-dialog__body {
+    padding: 20px 20px 10px;
+  }
+
+  .el-dialog__header {
+    background: linear-gradient(135deg, #5788fe, #7aa1ff);
+    padding: 15px 20px;
+
+    .el-dialog__title {
+      color: white;
+      font-weight: 600;
+      font-size: 16px;
+    }
+
+    .el-dialog__headerbtn {
+      .el-dialog__close {
+        color: white;
+        font-size: 18px;
+
+        &:hover {
+          color: #f0f0f0;
+        }
+      }
+    }
   }
 }
 
+// 寮圭獥鍐呭鍖哄煙
+.batch-patient-section,
+.batch-task-section {
+  h4 {
+    margin: 0 0 12px 0;
+    color: #333;
+    font-size: 16px;
+    font-weight: 600;
+    padding-left: 8px;
+    border-left: 4px solid #5788fe;
+    display: flex;
+    align-items: center;
+
+    &::before {
+      content: "";
+      display: inline-block;
+      width: 6px;
+      height: 6px;
+      background-color: #5788fe;
+      border-radius: 50%;
+      margin-right: 8px;
+    }
+  }
+
+  .section-header {
+    display: flex;
+    justify-content: space-between;
+    align-items: center;
+    margin-bottom: 12px;
+
+    .patient-count {
+      color: #5788fe;
+      font-weight: 500;
+      background: #f0f5ff;
+      padding: 4px 12px;
+      border-radius: 12px;
+      font-size: 13px;
+    }
+  }
+}
+
+// 鎮h�呰〃鏍间紭鍖�
+.batch-patient-section {
+  .el-table {
+    border: 1px solid #e8eaec;
+    border-radius: 6px;
+    overflow: hidden;
+
+    .el-table__header-wrapper {
+      th {
+        background-color: #f5f7fa;
+        color: #606266;
+        font-weight: 600;
+        height: 40px;
+      }
+    }
+
+    .el-table__body-wrapper {
+      tr:hover > td {
+        background-color: #f5f9ff;
+      }
+    }
+  }
+}
+
+// 浠诲姟琛ㄦ牸浼樺寲
+.batch-task-section {
+  .el-table {
+    border: 1px solid #e8eaec;
+    border-radius: 6px;
+    overflow: hidden;
+
+    .el-table__header-wrapper {
+      th {
+        background-color: #f5f7fa;
+        color: #606266;
+        font-weight: 600;
+        height: 40px;
+      }
+    }
+
+    .el-table__body-wrapper {
+      tr {
+        cursor: pointer;
+        transition: all 0.3s;
+
+        &:hover > td {
+          background-color: #f5f9ff;
+        }
+
+        // 閫変腑琛屾牱寮�
+        &.current-row {
+          td {
+            background-color: #e8f1ff !important;
+            border-left: 3px solid #5788fe;
+
+            &:first-child {
+              border-left: none;
+            }
+          }
+        }
+      }
+
+      .selected-row {
+        position: relative;
+
+        &::after {
+          content: "鉁�";
+          position: absolute;
+          right: 10px;
+          top: 50%;
+          transform: translateY(-50%);
+          color: #5788fe;
+          font-weight: bold;
+          font-size: 16px;
+        }
+      }
+    }
+
+    .el-table__empty-block {
+      min-height: 200px;
+      display: flex;
+      align-items: center;
+      justify-content: center;
+    }
+  }
+}
+
+// 绌虹姸鎬佷紭鍖�
 .empty-message {
   display: flex;
   flex-direction: column;
   align-items: center;
-  padding: 20px;
+  padding: 40px 20px;
   color: #909399;
 
   i {
-    font-size: 24px;
-    margin-bottom: 8px;
+    font-size: 48px;
+    margin-bottom: 12px;
+    color: #c0c4cc;
+  }
+
+  span {
+    font-size: 14px;
+    color: #c0c4cc;
+  }
+
+  .empty-tips {
+    margin-top: 8px;
+    font-size: 12px;
+    color: #dcdfe6;
   }
 }
 
+// 搴曢儴鎸夐挳鍖哄煙
 .dialog-footer {
   display: flex;
   justify-content: flex-end;
-  padding-top: 20px;
-  border-top: 1px solid #ebeef5;
+  padding: 20px 0 0;
+  border-top: 1px solid #f0f0f0;
+  margin-top: 20px;
+
+  .el-button {
+    min-width: 80px;
+    height: 36px;
+    border-radius: 4px;
+    font-size: 14px;
+
+    &.el-button--default {
+      color: #666;
+      border-color: #dcdfe6;
+
+      &:hover {
+        color: #5788fe;
+        border-color: #5788fe;
+        background-color: #f0f5ff;
+      }
+    }
+
+    &.el-button--primary {
+      background: linear-gradient(135deg, #5788fe, #7aa1ff);
+      border-color: #5788fe;
+
+      &:hover {
+        background: linear-gradient(135deg, #4a7cfe, #6b94ff);
+        border-color: #4a7cfe;
+      }
+
+      &:active {
+        background: linear-gradient(135deg, #3d70fe, #5e87ff);
+        border-color: #3d70fe;
+      }
+
+      &.is-loading {
+        position: relative;
+        pointer-events: none;
+
+        &::after {
+          content: "";
+          position: absolute;
+          right: 10px;
+          top: 50%;
+          transform: translateY(-50%);
+          width: 16px;
+          height: 16px;
+          border: 2px solid transparent;
+          border-top-color: white;
+          border-radius: 50%;
+          animation: loading-rotate 1s linear infinite;
+        }
+      }
+    }
+  }
+}
+
+// 鍔犺浇鍔ㄧ敾
+@keyframes loading-rotate {
+  0% {
+    transform: translateY(-50%) rotate(0deg);
+  }
+  100% {
+    transform: translateY(-50%) rotate(360deg);
+  }
 }
 
 // 鍝嶅簲寮忚皟鏁�
@@ -1250,5 +1738,63 @@
   .batch-task-section {
     margin-bottom: 20px;
   }
+
+  .el-row {
+    flex-wrap: wrap;
+  }
+
+  .el-col-12 {
+    width: 100%;
+  }
+}
+
+// 浠诲姟鍒楄〃閫変腑鎻愮ず
+.task-selected-hint {
+  margin-top: 8px;
+  font-size: 12px;
+  color: #5788fe;
+  display: flex;
+  align-items: center;
+
+  i {
+    margin-right: 4px;
+    font-size: 14px;
+  }
+
+  &.selected {
+    color: #67c23a;
+  }
+}
+
+// 寮圭獥婊氬姩浼樺寲
+.el-dialog__wrapper {
+  .el-dialog {
+    border-radius: 8px;
+    overflow: hidden;
+    box-shadow: 0 4px 20px rgba(87, 136, 254, 0.1);
+
+    .el-dialog__body {
+      max-height: 70vh;
+      overflow-y: auto;
+
+      &::-webkit-scrollbar {
+        width: 6px;
+      }
+
+      &::-webkit-scrollbar-track {
+        background: #f5f5f5;
+        border-radius: 3px;
+      }
+
+      &::-webkit-scrollbar-thumb {
+        background: #c0c4cc;
+        border-radius: 3px;
+
+        &:hover {
+          background: #a0a4ab;
+        }
+      }
+    }
+  }
 }
 </style>

--
Gitblit v1.9.3