From f06fb94665b25d9f9fd8947f1c2c5daa60bb5f2f Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 17:21:51 +0800
Subject: [PATCH] 青岛维护

---
 src/views/business/transfer/index.vue         |  109 +++++++++++------
 src/views/business/transfer/TransportEdit.vue |  202 +++++++++++++++++++++------------
 src/views/project/externalperson/index.vue    |    2 
 3 files changed, 197 insertions(+), 116 deletions(-)

diff --git a/src/views/business/transfer/TransportEdit.vue b/src/views/business/transfer/TransportEdit.vue
index 996f8cd..bae6f58 100644
--- a/src/views/business/transfer/TransportEdit.vue
+++ b/src/views/business/transfer/TransportEdit.vue
@@ -17,17 +17,27 @@
       />
       <el-card shadow="never" class="case-info-card">
         <el-descriptions :column="2" border>
-          <el-descriptions-item label="妗堜緥缂栧彿">{{ selectedCase.caseNo }}</el-descriptions-item>
-          <el-descriptions-item label="鎮h�呭鍚�">{{ selectedCase.name }}</el-descriptions-item>
+          <el-descriptions-item label="妗堜緥缂栧彿">{{
+            selectedCase.caseNo
+          }}</el-descriptions-item>
+          <el-descriptions-item label="鎮h�呭鍚�">{{
+            selectedCase.name
+          }}</el-descriptions-item>
           <el-descriptions-item label="鎬у埆">
             <dict-tag
               :options="dict.type.sys_user_sex"
               :value="selectedCase.sex"
             />
           </el-descriptions-item>
-          <el-descriptions-item label="骞撮緞">{{ selectedCase.age }}</el-descriptions-item>
-          <el-descriptions-item label="鐤剧梾璇婃柇">{{ selectedCase.diagnosisname }}</el-descriptions-item>
-          <el-descriptions-item label="娌荤枟鍖婚櫌">{{ selectedCase.treatmenthospitalname }}</el-descriptions-item>
+          <el-descriptions-item label="骞撮緞">{{
+            selectedCase.age
+          }}</el-descriptions-item>
+          <el-descriptions-item label="鐤剧梾璇婃柇">{{
+            selectedCase.diagnosisname
+          }}</el-descriptions-item>
+          <el-descriptions-item label="娌荤枟鍖婚櫌">{{
+            selectedCase.treatmenthospitalname
+          }}</el-descriptions-item>
         </el-descriptions>
       </el-card>
     </div>
@@ -41,20 +51,14 @@
       <!-- 鍩虹淇℃伅 -->
       <el-card class="form-section" shadow="never">
         <div slot="header" class="section-header">
-          <i class="el-icon-document" style="color: #409EFF; margin-right: 8px;"></i>
+          <i
+            class="el-icon-document"
+            style="color: #409EFF; margin-right: 8px;"
+          ></i>
           <span>鍩虹淇℃伅</span>
         </div>
 
         <el-row :gutter="20">
-          <el-col :span="12">
-            <el-form-item label="杞繍鍗曞彿" prop="reportId">
-              <el-input
-                v-model="formData.reportId"
-                :disabled="isEdit"
-                placeholder="绯荤粺鑷姩鐢熸垚"
-              />
-            </el-form-item>
-          </el-col>
           <el-col :span="12">
             <el-form-item label="妗堜緥缂栧彿" prop="caseNo">
               <el-input
@@ -119,7 +123,10 @@
       <!-- 鍖婚櫌淇℃伅 -->
       <el-card class="form-section" shadow="never">
         <div slot="header" class="section-header">
-          <i class="el-icon-office-building" style="color: #67C23A; margin-right: 8px;"></i>
+          <i
+            class="el-icon-office-building"
+            style="color: #67C23A; margin-right: 8px;"
+          ></i>
           <span>鍖婚櫌淇℃伅</span>
         </div>
 
@@ -147,7 +154,10 @@
       <!-- 杞繍淇℃伅 -->
       <el-card class="form-section" shadow="never">
         <div slot="header" class="section-header">
-          <i class="el-icon-location-information" style="color: #E6A23C; margin-right: 8px;"></i>
+          <i
+            class="el-icon-location-information"
+            style="color: #E6A23C; margin-right: 8px;"
+          ></i>
           <span>杞繍淇℃伅</span>
         </div>
 
@@ -203,7 +213,10 @@
       <!-- 鍖绘姢浜哄憳淇℃伅 -->
       <el-card class="form-section" shadow="never">
         <div slot="header" class="section-header">
-          <i class="el-icon-user" style="color: #F56C6C; margin-right: 8px;"></i>
+          <i
+            class="el-icon-user"
+            style="color: #F56C6C; margin-right: 8px;"
+          ></i>
           <span>鍖绘姢浜哄憳淇℃伅</span>
         </div>
 
@@ -284,7 +297,10 @@
       <!-- 闄勪欢淇℃伅 -->
       <el-card class="form-section" shadow="never">
         <div slot="header" class="section-header">
-          <i class="el-icon-folder" style="color: #909399; margin-right: 8px;"></i>
+          <i
+            class="el-icon-folder"
+            style="color: #909399; margin-right: 8px;"
+          ></i>
           <span>闄勪欢淇℃伅</span>
         </div>
 
@@ -292,7 +308,9 @@
           <div class="attachment-header">
             <i class="el-icon-paperclip"></i>
             <span class="attachment-title">闄勪欢涓婁紶</span>
-            <span class="attachment-tip">鏀寔涓婁紶妫�楠屾姤鍛婂崟绛夋枃浠� (鏈�澶歿{ attachmentLimit }}涓�)</span>
+            <span class="attachment-tip"
+              >鏀寔涓婁紶妫�楠屾姤鍛婂崟绛夋枃浠� (鏈�澶歿{ attachmentLimit }}涓�)</span
+            >
           </div>
 
           <!-- 浣跨敤 UploadAttachment 缁勪欢 -->
@@ -309,18 +327,32 @@
         </div>
 
         <!-- 闄勪欢鍒楄〃 -->
-        <div class="attachment-list" v-if="formData.annexfilesList && formData.annexfilesList.length > 0">
-          <div class="list-title">宸蹭笂浼犻檮浠� ({{ formData.annexfilesList.length }})</div>
-          <el-table :data="formData.annexfilesList" style="width: 100%" size="small">
+        <div
+          class="attachment-list"
+          v-if="formData.annexfilesList && formData.annexfilesList.length > 0"
+        >
+          <div class="list-title">
+            宸蹭笂浼犻檮浠� ({{ formData.annexfilesList.length }})
+          </div>
+          <el-table
+            :data="formData.annexfilesList"
+            style="width: 100%"
+            size="small"
+          >
             <el-table-column label="鏂囦欢鍚�" min-width="200">
               <template slot-scope="scope">
-                <i class="el-icon-document" style="margin-right: 8px; color: #409EFF;"></i>
+                <i
+                  class="el-icon-document"
+                  style="margin-right: 8px; color: #409EFF;"
+                ></i>
                 <span class="file-name">{{ scope.row.fileName }}</span>
               </template>
             </el-table-column>
             <el-table-column label="鏂囦欢绫诲瀷" width="100">
               <template slot-scope="scope">
-                <el-tag size="small">{{ getFileType(scope.row.fileName) }}</el-tag>
+                <el-tag size="small">{{
+                  getFileType(scope.row.fileName)
+                }}</el-tag>
               </template>
             </el-table-column>
             <el-table-column label="鍒涘缓鏃堕棿" width="160">
@@ -360,7 +392,10 @@
       <!-- 澶囨敞淇℃伅 -->
       <el-card class="form-section" shadow="never">
         <div slot="header" class="section-header">
-          <i class="el-icon-edit" style="color: #409EFF; margin-right: 8px;"></i>
+          <i
+            class="el-icon-edit"
+            style="color: #409EFF; margin-right: 8px;"
+          ></i>
           <span>澶囨敞淇℃伅</span>
         </div>
         <el-form-item prop="remark">
@@ -378,7 +413,9 @@
 
     <div slot="footer" class="dialog-footer">
       <el-button @click="handleClose">鍙栨秷</el-button>
-      <el-button type="primary" :loading="saveLoading" @click="handleSave">淇濆瓨</el-button>
+      <el-button type="primary" :loading="saveLoading" @click="handleSave"
+        >淇濆瓨</el-button
+      >
     </div>
 
     <!-- 鏂囦欢棰勮寮圭獥 -->
@@ -464,9 +501,14 @@
   watch: {
     editOpen(val) {
       if (val) {
+
         if (this.isEdit) {
           // 缂栬緫妯″紡锛屼娇鐢ㄤ紶鍏ョ殑杞繍鍗曟暟鎹�
-          this.formData = { ...this.getDefaultFormData(), ...this.transportData };
+
+          this.formData = {
+            ...this.getDefaultFormData(),
+            ...this.transportData
+          };
         } else {
           // 鏂板妯″紡
           this.formData = this.getDefaultFormData();
@@ -499,7 +541,6 @@
     getDefaultFormData() {
       return {
         id: undefined,
-        reportId: undefined,
         caseNo: undefined,
         patName: undefined,
         sex: undefined,
@@ -531,18 +572,20 @@
 
     /** 鐢ㄦ渚嬫暟鎹~鍏呰〃鍗� */
     fillFormWithCaseData(caseData) {
+
       this.formData = {
         ...this.formData,
-        caseNo: caseData.caseNo || '',
-        patName: caseData.name || '',
-        sex: caseData.sex || '',
-        age: caseData.age || '',
-        diagnosisname: caseData.diagnosisname || '',
-        treatmentHospitalName: caseData.treatmenthospitalname || '',
-        treatmentDeptName: caseData.treatmentdeptname || '',
+        caseNo: caseData.caseNo || "",
+        patName: caseData.name || "",
+        sex: caseData.sex || "",
+        age: caseData.age || "",
+        reportId: caseData.id || null,
+        diagnosisname: caseData.diagnosisname || "",
+        treatmentHospitalName: caseData.treatmenthospitalname || "",
+        treatmentDeptName: caseData.treatmentdeptname || "",
         // 鍙互璁剧疆涓�浜涢粯璁ゅ��
-        transportStartPlace: caseData.treatmenthospitalname || '',
-        contactPerson: caseData.coordinatorName || ''
+        transportStartPlace: caseData.treatmenthospitalname || "",
+        contactPerson: caseData.coordinatorName || ""
       };
     },
 
@@ -550,12 +593,14 @@
     initAttachmentList() {
       if (this.isEdit && this.transportData.annexfilesList) {
         this.formData.annexfilesList = [...this.transportData.annexfilesList];
-        this.attachmentFileList = this.transportData.annexfilesList.map(item => ({
-          uid: item.id || Math.random(),
-          name: item.fileName,
-          url: item.path || item.fileUrl,
-          status: 'success'
-        }));
+        this.attachmentFileList = this.transportData.annexfilesList.map(
+          item => ({
+            uid: item.id || Math.random(),
+            name: item.fileName,
+            url: item.path || item.fileUrl,
+            status: "success"
+          })
+        );
       } else {
         this.formData.annexfilesList = [];
         this.attachmentFileList = [];
@@ -570,8 +615,8 @@
     /** 闄勪欢绉婚櫎澶勭悊 */
     handleAttachmentRemove(file) {
       if (file.url) {
-        const index = this.formData.annexfilesList.findIndex(item =>
-          item.path === file.url || item.fileUrl === file.url
+        const index = this.formData.annexfilesList.findIndex(
+          item => item.path === file.url || item.fileUrl === file.url
         );
         if (index > -1) {
           this.formData.annexfilesList.splice(index, 1);
@@ -583,7 +628,7 @@
     handleRemoveAttachment(index) {
       this.formData.annexfilesList.splice(index, 1);
       this.attachmentFileList.splice(index, 1);
-      this.$message.success('闄勪欢鍒犻櫎鎴愬姛');
+      this.$message.success("闄勪欢鍒犻櫎鎴愬姛");
     },
 
     /** 涓婁紶鎴愬姛澶勭悊 */
@@ -594,21 +639,21 @@
           path: response.data || file.url,
           fileUrl: response.data || file.url,
           type: this.getFileExtension(file.name),
-          createTime: dayjs().format('YYYY-MM-DD HH:mm:ss'),
+          createTime: dayjs().format("YYYY-MM-DD HH:mm:ss"),
           transportId: this.formData.id,
           delFlag: 0,
           caseNo: this.formData.caseNo
         };
 
         this.formData.annexfilesList.push(attachmentObj);
-        this.$message.success('鏂囦欢涓婁紶鎴愬姛');
+        this.$message.success("鏂囦欢涓婁紶鎴愬姛");
       }
     },
 
     /** 涓婁紶閿欒澶勭悊 */
     handleUploadError({ file, fileList, error }) {
-      console.error('闄勪欢涓婁紶澶辫触:', error);
-      this.$message.error('鏂囦欢涓婁紶澶辫触锛岃閲嶈瘯');
+      console.error("闄勪欢涓婁紶澶辫触:", error);
+      this.$message.error("鏂囦欢涓婁紶澶辫触锛岃閲嶈瘯");
     },
 
     /** 鏂囦欢棰勮 */
@@ -627,53 +672,59 @@
       const fileName = file.fileName;
 
       if (fileUrl) {
-        const link = document.createElement('a');
+        const link = document.createElement("a");
         link.href = fileUrl;
         link.download = fileName;
-        link.style.display = 'none';
+        link.style.display = "none";
         document.body.appendChild(link);
         link.click();
         document.body.removeChild(link);
-        this.$message.success('寮�濮嬩笅杞芥枃浠�');
+        this.$message.success("寮�濮嬩笅杞芥枃浠�");
       } else {
-        this.$message.warning('鏂囦欢璺緞涓嶅瓨鍦紝鏃犳硶涓嬭浇');
+        this.$message.warning("鏂囦欢璺緞涓嶅瓨鍦紝鏃犳硶涓嬭浇");
       }
     },
 
     /** 鑾峰彇鏂囦欢绫诲瀷 */
     getFileType(fileName) {
-      if (!fileName) return 'other';
+      if (!fileName) return "other";
 
-      const extension = fileName.split('.').pop().toLowerCase();
-      const imageTypes = ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp'];
-      const pdfTypes = ['pdf'];
-      const officeTypes = ['doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx'];
+      const extension = fileName
+        .split(".")
+        .pop()
+        .toLowerCase();
+      const imageTypes = ["jpg", "jpeg", "png", "gif", "bmp", "webp"];
+      const pdfTypes = ["pdf"];
+      const officeTypes = ["doc", "docx", "xls", "xlsx", "ppt", "pptx"];
 
-      if (imageTypes.includes(extension)) return 'image';
-      if (pdfTypes.includes(extension)) return 'pdf';
-      if (officeTypes.includes(extension)) return 'office';
-      return 'other';
+      if (imageTypes.includes(extension)) return "image";
+      if (pdfTypes.includes(extension)) return "pdf";
+      if (officeTypes.includes(extension)) return "office";
+      return "other";
     },
 
     /** 鑾峰彇鏂囦欢鎵╁睍鍚� */
     getFileExtension(filename) {
-      return filename.split('.').pop().toLowerCase();
+      return filename
+        .split(".")
+        .pop()
+        .toLowerCase();
     },
 
     /** 鏃ユ湡鏃堕棿鏍煎紡鍖� */
     formatDateTime(dateTime) {
-      if (!dateTime) return '';
+      if (!dateTime) return "";
 
       try {
         const date = new Date(dateTime);
         if (isNaN(date.getTime())) return dateTime;
 
         const year = date.getFullYear();
-        const month = String(date.getMonth() + 1).padStart(2, '0');
-        const day = String(date.getDate()).padStart(2, '0');
-        const hours = String(date.getHours()).padStart(2, '0');
-        const minutes = String(date.getMinutes()).padStart(2, '0');
-        const seconds = String(date.getSeconds()).padStart(2, '0');
+        const month = String(date.getMonth() + 1).padStart(2, "0");
+        const day = String(date.getDate()).padStart(2, "0");
+        const hours = String(date.getHours()).padStart(2, "0");
+        const minutes = String(date.getMinutes()).padStart(2, "0");
+        const seconds = String(date.getSeconds()).padStart(2, "0");
 
         return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
       } catch (error) {
@@ -692,9 +743,13 @@
         const valid = await this.$refs.editForm.validate();
         if (!valid) return;
 
-        const pendingFiles = this.attachmentFileList.filter(item => item.status !== 'success');
+        const pendingFiles = this.attachmentFileList.filter(
+          item => item.status !== "success"
+        );
         if (pendingFiles.length > 0) {
-          this.$message.warning('杩樻湁鏂囦欢鏈笂浼犲畬鎴愶紝璇峰厛涓婁紶鎵�鏈夋枃浠舵垨绉婚櫎鏈笂浼犵殑鏂囦欢');
+          this.$message.warning(
+            "杩樻湁鏂囦欢鏈笂浼犲畬鎴愶紝璇峰厛涓婁紶鎵�鏈夋枃浠舵垨绉婚櫎鏈笂浼犵殑鏂囦欢"
+          );
           return;
         }
 
@@ -702,7 +757,6 @@
 
         const requestData = { ...this.formData };
         let response;
-
         if (this.isEdit) {
           response = await transportEdit(requestData);
         } else {
diff --git a/src/views/business/transfer/index.vue b/src/views/business/transfer/index.vue
index 39faefb..2a3dffe 100644
--- a/src/views/business/transfer/index.vue
+++ b/src/views/business/transfer/index.vue
@@ -148,12 +148,7 @@
     >
       <el-table-column type="selection" width="55" align="center" />
       <el-table-column label="搴忓彿" type="index" width="60" align="center" />
-      <el-table-column
-        label="杞繍鍗曞彿"
-        align="center"
-        prop="reportId"
-        width="140"
-      />
+
       <el-table-column
         label="妗堜緥缂栧彿"
         align="center"
@@ -310,7 +305,10 @@
               />
             </el-form-item>
             <el-form-item>
-              <el-button type="primary" icon="el-icon-search" @click="searchCaseList"
+              <el-button
+                type="primary"
+                icon="el-icon-search"
+                @click="searchCaseList"
                 >鎼滅储</el-button
               >
               <el-button icon="el-icon-refresh" @click="resetCaseSearch"
@@ -328,8 +326,18 @@
             highlight-current-row
             style="width: 100%"
           >
-            <el-table-column label="妗堜緥缂栧彿" prop="caseNo" width="150" align="center" />
-            <el-table-column label="鎮h�呭鍚�" prop="name" width="120" align="center" />
+            <el-table-column
+              label="妗堜緥缂栧彿"
+              prop="caseNo"
+              width="150"
+              align="center"
+            />
+            <el-table-column
+              label="鎮h�呭鍚�"
+              prop="name"
+              width="120"
+              align="center"
+            />
             <el-table-column label="鎬у埆" width="80" align="center">
               <template slot-scope="scope">
                 <dict-tag
@@ -338,7 +346,12 @@
                 />
               </template>
             </el-table-column>
-            <el-table-column label="骞撮緞" prop="age" width="80" align="center" />
+            <el-table-column
+              label="骞撮緞"
+              prop="age"
+              width="80"
+              align="center"
+            />
             <el-table-column label="琛�鍨�" width="80" align="center">
               <template slot-scope="scope">
                 <dict-tag
@@ -347,15 +360,24 @@
                 />
               </template>
             </el-table-column>
-            <el-table-column label="鐤剧梾璇婃柇" prop="diagnosisname" min-width="200" show-overflow-tooltip />
-            <el-table-column label="娌荤枟鍖婚櫌" prop="treatmenthospitalname" width="150" />
+            <el-table-column
+              label="鐤剧梾璇婃柇"
+              prop="diagnosisname"
+              min-width="200"
+              show-overflow-tooltip
+            />
+            <el-table-column
+              label="娌荤枟鍖婚櫌"
+              prop="treatmenthospitalname"
+              width="150"
+            />
             <el-table-column label="鏄惁宸茶浆杩�" width="100" align="center">
               <template slot-scope="scope">
                 <el-tag
                   :type="hasTransport(scope.row) ? 'danger' : 'success'"
                   size="small"
                 >
-                  {{ hasTransport(scope.row) ? '宸茶浆杩�' : '鍙浆杩�' }}
+                  {{ hasTransport(scope.row) ? "宸茶浆杩�" : "鍙浆杩�" }}
                 </el-tag>
               </template>
             </el-table-column>
@@ -409,7 +431,7 @@
       <div class="action-confirm">
         <p>
           纭畾瑕亄{ actionText }}杞繍鍗� "{{
-            currentTransport.reportId || currentTransport.id
+             currentTransport.id
           }}" 鍚楋紵
         </p>
       </div>
@@ -426,7 +448,7 @@
   transportList,
   transportAdd,
   transportEdit,
-  transportDelete,
+  transportDel,
   transportInfo,
   donateList
 } from "@/api/businessApi/index";
@@ -439,7 +461,6 @@
   dicts: ["sys_user_sex", "sys_BloodType"],
   data() {
     return {
-
       // 閬僵灞�
       loading: false,
       // 閫変腑鏁扮粍
@@ -501,13 +522,13 @@
         patName: undefined,
         // 鍙煡璇㈠凡鍚屾剰涓旈渶瑕佽浆杩愮殑妗堜緥
         // reportStatus: "3", // 宸插悓鎰�
-        isTransport: "2"   // 闇�瑕佽浆杩�
+        isTransport: "2" // 闇�瑕佽浆杩�
       }
     };
   },
   created() {
     this.getList();
-     this.checkAutoCreate();
+    this.checkAutoCreate();
   },
   methods: {
     /** 鏌ヨ杞繍鍗曞垪琛� */
@@ -544,20 +565,20 @@
         this.loading = false;
       }
     },
-  checkAutoCreate() {
-    const query = this.$route.query;
-    if (query.autoCreate === 'true') {
-      // 鑷姩鎵撳紑妗堜緥閫夋嫨寮规
-      this.selectCaseOpen = true;
-      this.resetCaseSearch();
+    checkAutoCreate() {
+      const query = this.$route.query;
+      if (query.autoCreate === "true") {
+        // 鑷姩鎵撳紑妗堜緥閫夋嫨寮规
+        this.selectCaseOpen = true;
+        this.resetCaseSearch();
 
-      // 濡傛灉鏈夌壒瀹氱殑妗堜緥缂栧彿锛屽彲浠ラ鍏堟悳绱�
-      if (query.caseNo) {
-        this.caseQueryParams.caseNo = query.caseNo;
-        this.searchCaseList();
+        // 濡傛灉鏈夌壒瀹氱殑妗堜緥缂栧彿锛屽彲浠ラ鍏堟悳绱�
+        if (query.caseNo) {
+          this.caseQueryParams.caseNo = query.caseNo;
+          this.searchCaseList();
+        }
       }
-    }
-  },
+    },
     /** 鎼滅储鍙敤妗堜緥 */
     async searchCaseList() {
       this.caseLoading = true;
@@ -593,9 +614,11 @@
     /** 鍒ゆ柇妗堜緥鏄惁宸叉湁杞繍鍗� */
     hasTransport(caseData) {
       // 妫�鏌ユ渚嬫槸鍚︽湁杞繍淇℃伅
-      if (caseData.serviceTransport &&
-          Array.isArray(caseData.serviceTransport) &&
-          caseData.serviceTransport.length > 0) {
+      if (
+        caseData.serviceTransport &&
+        Array.isArray(caseData.serviceTransport) &&
+        caseData.serviceTransport.length > 0
+      ) {
         return true;
       }
       return false;
@@ -613,27 +636,31 @@
 
       // 鎵撳紑杞繍鍗曠紪杈戦〉闈紝骞朵紶鍏ラ�変腑鐨勬渚�
       this.currentTransport = this.convertCaseToTransport(caseData);
+      console.log(this.currentTransport,'currentTransport');
+
       this.isEditing = false;
       this.editOpen = true;
     },
 
     /** 灏嗘渚嬩俊鎭浆鎹负杞繍鍗曟牸寮� */
     convertCaseToTransport(caseData) {
+      console.log(caseData,'2');
+
       return {
         caseNo: caseData.caseNo,
         patName: caseData.name,
         sex: caseData.sex,
         age: caseData.age,
         diagnosisname: caseData.diagnosisname,
+        reportId: caseData.id,
         treatmentHospitalName: caseData.treatmenthospitalname,
         treatmentDeptName: caseData.treatmentdeptname,
         // 鍏朵粬瀛楁鍙互鏍规嵁闇�瑕佷粠妗堜緥涓幏鍙�
-        transportStartPlace: caseData.treatmenthospitalname || '',
-        contactPerson: caseData.coordinatorName || '',
+        transportStartPlace: caseData.treatmenthospitalname || "",
+        contactPerson: caseData.coordinatorName || "",
         transitStatus: 1, // 榛樿寰呰浆杩�
         // 娓呯┖鍏朵粬瀛楁
         id: undefined,
-        reportId: undefined,
         transportStartTime: undefined,
         doctor: undefined,
         doctorPhone: undefined,
@@ -685,7 +712,7 @@
 
     // 澶氶�夋閫変腑鏁版嵁
     handleSelectionChange(selection) {
-      this.ids = selection.map(item => item.reportId || item.id);
+      this.ids = selection.map(item =>  item.id);
       this.single = selection.length !== 1;
       this.multiple = !selection.length;
     },
@@ -713,7 +740,7 @@
     /** 璇︽儏鎸夐挳鎿嶄綔 */
     handleDetail(row) {
       this.currentTransport = row;
-      this.detailTitle = `杞繍鍗曡鎯� - ${row.reportId || row.id}`;
+      this.detailTitle = `杞繍鍗曡鎯� - ${ row.id}`;
       this.detailOpen = true;
     },
 
@@ -766,7 +793,7 @@
     async confirmAction() {
       try {
         let requestData = {
-          id: this.currentTransport.id || this.currentTransport.reportId
+          id: this.currentTransport.id
         };
 
         if (this.actionText === "寮�濮�") {
@@ -799,7 +826,7 @@
           '鏄惁纭鍒犻櫎杞繍鍗曠紪鍙蜂负"' + ids + '"鐨勬暟鎹」锛�'
         );
 
-        const response = await transportDelete(ids);
+        const response = await transportDel(ids);
 
         if (response.code === 200) {
           this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
@@ -903,7 +930,7 @@
 .donor-info {
   text-align: center;
   display: flex;
-  justify-content: center
+  justify-content: center;
 }
 
 .donor-name {
diff --git a/src/views/project/externalperson/index.vue b/src/views/project/externalperson/index.vue
index 2e594a1..ce041e7 100644
--- a/src/views/project/externalperson/index.vue
+++ b/src/views/project/externalperson/index.vue
@@ -444,7 +444,7 @@
     this.getUserProfile();
     this.getUnitList();
     // 榛樿涓嶆墦寮�
-    // this.getList();
+    this.getList();
   },
   methods: {
     //鑾峰彇褰撳墠鐢ㄦ埛淇℃伅

--
Gitblit v1.9.3