From 1511a7f94b1e3a88b4a54234ec144655a91eace7 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期二, 13 十月 2026 09:26:53 +0800
Subject: [PATCH] 政策文件管理

---
 src/views/project/donationdetails/index.vue |  163 ++++++++++++++++++++++++++++-------------------------
 1 files changed, 86 insertions(+), 77 deletions(-)

diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue
index 6b894dc..704736e 100644
--- a/src/views/project/donationdetails/index.vue
+++ b/src/views/project/donationdetails/index.vue
@@ -221,8 +221,8 @@
                     clearable
                     size="small"
                     v-model="form.reporttime"
-                    type="datetime"
-                    value-format="yyyy-MM-dd HH:mm:ss"
+                    type="datetime" format="yyyy-MM-dd HH:mm"
+                    value-format="yyyy-MM-dd HH:mm"
                     placeholder="閫夋嫨鎶ュ憡鏃ユ湡"
                   >
                   </el-date-picker>
@@ -267,8 +267,8 @@
                     clearable
                     size="small"
                     v-model="form.birthday"
-                    type="date"
-                    value-format="yyyy-MM-dd HH:mm:ss"
+                    type="date" format="yyyy-MM-dd"
+                    value-format="yyyy-MM-dd"
                     placeholder="閫夋嫨鍑虹敓鏃ユ湡"
                   >
                   </el-date-picker>
@@ -779,8 +779,8 @@
                   size="small"
                   style="width: 190px"
                   v-model="form.contacttime"
-                  type="datetime"
-                  value-format="yyyy-MM-dd HH:mm:ss"
+                  type="datetime" format="yyyy-MM-dd HH:mm"
+                  value-format="yyyy-MM-dd HH:mm"
                   placeholder="閫夋嫨鎶ュ憡鏃堕棿"
                 >
                 </el-date-picker>
@@ -862,8 +862,8 @@
                   clearable
                   size="small"
                   v-model="medicineform.hospitalassesstime"
-                  type="date"
-                  value-format="yyyy-MM-dd HH:mm:ss"
+                  type="date" format="yyyy-MM-dd"
+                  value-format="yyyy-MM-dd"
                   placeholder="閫夋嫨闄㈢骇璇勪及鏃堕棿"
                 >
                 </el-date-picker> </el-form-item
@@ -915,8 +915,8 @@
                   clearable
                   size="small"
                   v-model="medicineform.provincialassesstime"
-                  type="date"
-                  value-format="yyyy-MM-dd HH:mm:ss"
+                  type="date" format="yyyy-MM-dd"
+                  value-format="yyyy-MM-dd"
                   placeholder="閫夋嫨鐪佺骇璇勪及鏃堕棿"
                 >
                 </el-date-picker> </el-form-item></el-col
@@ -969,8 +969,8 @@
                   clearable
                   size="small"
                   v-model="medicineform.coreteamassesstime"
-                  type="date"
-                  value-format="yyyy-MM-dd HH:mm:ss"
+                  type="date" format="yyyy-MM-dd"
+                  value-format="yyyy-MM-dd"
                   placeholder="璇勪及鏃堕棿"
                 >
                 </el-date-picker>
@@ -1388,8 +1388,8 @@
                   clearable
                   size="small"
                   v-model="ethicform.conclusiontime"
-                  type="date"
-                  value-format="yyyy-MM-dd HH:mm:ss"
+                  type="date" format="yyyy-MM-dd"
+                  value-format="yyyy-MM-dd"
                   placeholder="閫夋嫨缁撹鏃堕棿"
                 >
                 </el-date-picker>
@@ -1478,8 +1478,8 @@
                         size="small"
                         style="width: 100%"
                         v-model="scope.row.applicanttime"
-                        type="datetime"
-                        value-format="yyyy-MM-dd HH:mm:ss"
+                        type="datetime" format="yyyy-MM-dd HH:mm"
+                        value-format="yyyy-MM-dd HH:mm"
                         placeholder="閫夋嫨鍒嗛厤鎺ユ敹鏃堕棿"
                       >
                       </el-date-picker>
@@ -1658,8 +1658,8 @@
                 <el-date-picker
                   clearable
                   v-model="witnessform.deathtime"
-                  type="datetime"
-                  value-format="yyyy-MM-dd HH:mm:ss"
+                  type="datetime" format="yyyy-MM-dd HH:mm"
+                  value-format="yyyy-MM-dd HH:mm"
                   placeholder="閫夋嫨姝讳骸鏃堕棿"
                 >
                 </el-date-picker>
@@ -1697,8 +1697,8 @@
                 <el-date-picker
                   clearable
                   v-model="witnessform.operationbegtime"
-                  type="datetime"
-                  value-format="yyyy-MM-dd HH:mm:ss"
+                  type="datetime" format="yyyy-MM-dd HH:mm"
+                  value-format="yyyy-MM-dd HH:mm"
                   placeholder="閫夋嫨鎵嬫湳寮�濮嬫椂闂�"
                 >
                 </el-date-picker>
@@ -1714,8 +1714,8 @@
                 <el-date-picker
                   clearable
                   v-model="witnessform.operationendtime"
-                  type="datetime"
-                  value-format="yyyy-MM-dd HH:mm:ss"
+                  type="datetime" format="yyyy-MM-dd HH:mm"
+                  value-format="yyyy-MM-dd HH:mm"
                   placeholder="閫夋嫨鎵嬫湳缁撴潫鏃堕棿"
                 >
                 </el-date-picker>
@@ -1733,8 +1733,8 @@
                 <el-date-picker
                   clearable
                   v-model="witnessform.coordinatorInOperating"
-                  type="datetime"
-                  value-format="yyyy-MM-dd HH:mm:ss"
+                  type="datetime" format="yyyy-MM-dd HH:mm"
+                  value-format="yyyy-MM-dd HH:mm"
                   placeholder="閫夋嫨鎵嬫湳寮�濮嬫椂闂�"
                 >
                 </el-date-picker>
@@ -1750,8 +1750,8 @@
                 <el-date-picker
                   clearable
                   v-model="witnessform.coordinatorOutOperating"
-                  type="datetime"
-                  value-format="yyyy-MM-dd HH:mm:ss"
+                  type="datetime" format="yyyy-MM-dd HH:mm"
+                  value-format="yyyy-MM-dd HH:mm"
                   placeholder="閫夋嫨鎵嬫湳缁撴潫鏃堕棿"
                 >
                 </el-date-picker>
@@ -1767,8 +1767,8 @@
                 <el-date-picker
                   clearable
                   v-model="witnessform.coordinatorSignTime"
-                  type="datetime"
-                  value-format="yyyy-MM-dd HH:mm:ss"
+                  type="datetime" format="yyyy-MM-dd HH:mm"
+                  value-format="yyyy-MM-dd HH:mm"
                   placeholder="閫夋嫨鎵嬫湳缁撴潫鏃堕棿"
                 >
                 </el-date-picker>
@@ -1794,8 +1794,8 @@
                   <el-date-picker
                     clearable
                     v-model="witnessform.abdominalaortacannulatime"
-                    type="datetime"
-                    value-format="yyyy-MM-dd HH:mm:ss"
+                    type="datetime" format="yyyy-MM-dd HH:mm"
+                    value-format="yyyy-MM-dd HH:mm"
                     placeholder="閫夋嫨鑵逛富鍔ㄨ剦鎻掔鏃堕棿"
                   >
                   </el-date-picker>
@@ -1811,8 +1811,8 @@
                   <el-date-picker
                     clearable
                     v-model="witnessform.abdominalaortaperfusiontime"
-                    type="datetime"
-                    value-format="yyyy-MM-dd HH:mm:ss"
+                    type="datetime" format="yyyy-MM-dd HH:mm"
+                    value-format="yyyy-MM-dd HH:mm"
                     placeholder="閫夋嫨鑵逛富鍔ㄨ剦鐏屾敞鏃堕棿"
                   >
                   </el-date-picker>
@@ -1828,8 +1828,8 @@
                   <el-date-picker
                     clearable
                     v-model="witnessform.portalveincannulatime"
-                    type="datetime"
-                    value-format="yyyy-MM-dd HH:mm:ss"
+                    type="datetime" format="yyyy-MM-dd HH:mm"
+                    value-format="yyyy-MM-dd HH:mm"
                     placeholder="閫夋嫨闂ㄩ潤鑴夎剦鎻掔鏃堕棿"
                   >
                   </el-date-picker>
@@ -1845,8 +1845,8 @@
                   <el-date-picker
                     clearable
                     v-model="witnessform.portalveinperfusiontime"
-                    type="datetime"
-                    value-format="yyyy-MM-dd HH:mm:ss"
+                    type="datetime" format="yyyy-MM-dd HH:mm"
+                    value-format="yyyy-MM-dd HH:mm"
                     placeholder="閫夋嫨闂ㄩ潤鑴夌亴娉ㄦ椂闂�"
                   >
                   </el-date-picker>
@@ -1864,8 +1864,8 @@
                   <el-date-picker
                     clearable
                     v-model="witnessform.pulmonaryarterycannulatime"
-                    type="datetime"
-                    value-format="yyyy-MM-dd HH:mm:ss"
+                    type="datetime" format="yyyy-MM-dd HH:mm"
+                    value-format="yyyy-MM-dd HH:mm"
                     placeholder="閫夋嫨闂ㄩ潤鑴夋彃绠℃椂闂�"
                   >
                   </el-date-picker>
@@ -1881,8 +1881,8 @@
                   <el-date-picker
                     clearable
                     v-model="witnessform.pulmonaryarteryperfusiontime"
-                    type="datetime"
-                    value-format="yyyy-MM-dd HH:mm:ss"
+                    type="datetime" format="yyyy-MM-dd HH:mm"
+                    value-format="yyyy-MM-dd HH:mm"
                     placeholder="閫夋嫨闂ㄩ潤鑴夌亴娉ㄦ椂闂�"
                   >
                   </el-date-picker>
@@ -1898,8 +1898,8 @@
                   <el-date-picker
                     clearable
                     v-model="witnessform.aortacannulatime"
-                    type="datetime"
-                    value-format="yyyy-MM-dd  HH:mm:ss"
+                    type="datetime" format="yyyy-MM-dd HH:mm"
+                    value-format="yyyy-MM-dd HH:mm"
                     placeholder="閫夋嫨涓诲姩鑴夋彃绠℃椂闂�"
                   >
                   </el-date-picker>
@@ -1915,8 +1915,8 @@
                   <el-date-picker
                     clearable
                     v-model="witnessform.aortaperfusiontime"
-                    type="datetime"
-                    value-format="yyyy-MM-dd  HH:mm:ss"
+                    type="datetime" format="yyyy-MM-dd HH:mm"
+                    value-format="yyyy-MM-dd HH:mm"
                     placeholder="閫夋嫨涓诲姩鑴夌亴娉ㄦ椂闂�"
                   >
                   </el-date-picker>
@@ -2028,8 +2028,8 @@
                         size="small"
                         style="width: 100%"
                         v-model="scope.row.organStartTime"
-                        type="datetime"
-                        value-format="yyyy-MM-dd HH:mm:ss"
+                        type="datetime" format="yyyy-MM-dd HH:mm"
+                        value-format="yyyy-MM-dd HH:mm"
                         placeholder="璇疯緭鍏ヨ幏鍙栧紑濮嬫椂闂�"
                       >
                       </el-date-picker>
@@ -2048,8 +2048,8 @@
                         size="small"
                         style="width: 100%"
                         v-model="scope.row.organgettime"
-                        type="datetime"
-                        value-format="yyyy-MM-dd HH:mm:ss"
+                        type="datetime" format="yyyy-MM-dd HH:mm"
+                        value-format="yyyy-MM-dd HH:mm"
                         placeholder="璇疯緭鍏ュ櫒瀹樼浣撴椂闂�"
                       >
                       </el-date-picker>
@@ -2450,8 +2450,8 @@
                   clearable
                   size="small"
                   v-model="accomplishform.completetime"
-                  type="date"
-                  value-format="yyyy-MM-dd hh:mm:ss"
+                  type="date" format="yyyy-MM-dd"
+                  value-format="yyyy-MM-dd"
                   placeholder="閫夋嫨瀹屾垚鏃堕棿"
                 >
                 </el-date-picker>
@@ -2854,7 +2854,7 @@
 
       // 鍥哄畾鐨勯�夐」鍒楄〃锛堢Щ闄や簡"閬椾綋"锛�
       firstLineOrgans: [
-      "鑲濊剰", "鑲捐剰", "鍗曞乏鑲�", "鍗曞彸鑲�",
+      "鑲濊剰", "鑲捐剰", "宸﹁偩鑴�", "鍙宠偩鑴�",
       "蹇冭剰", "鑲鸿剰", "鑳拌吅", "灏忚偁"
     ],
     // 绗簩琛岄�夐」锛堟偍闇�瑕佷竴璧锋崲琛岀殑涓ら」锛�
@@ -3292,32 +3292,41 @@
       } else if (this.actives == 2) {
         this.activetele = "鎹愮尞纭";
 
-        listRelativesconfirmation(searchParam).then(response => {
-          if (response.code == 200 && response.rows[0]) {
-            this.affirmform = response.rows[0];
-            if (this.affirmform.organdecision) {
-              this.organdecision = this.affirmform.organdecision
-                .split(",")
-                .flatMap(item => (item === "鍙岃偩鑴�" ? ["宸﹁偩", "鍙宠偩"] : item));
-            }
-            if (this.affirmform.kinship) {
-              this.kinship = this.affirmform.kinship.split(",");
-            }
-            if (!this.affirmform) {
-              this.affirmform = {};
-              this.affirmform.residenceprovincename = "";
-              this.affirmform.residencecityname = "";
-              this.affirmform.residencetownname = "";
-            }
-            this.defultAddresss.sheng = this.affirmform.residenceprovincename;
-            this.defultAddresss.shi = this.affirmform.residencecityname;
-            this.defultAddresss.qu = this.affirmform.residencetownname;
-          } else {
-            // this.$modal.msgError(
-            //   "鏌ヨ鏄惁瀛樺湪纭鐧昏璁板綍澶辫触" + JSON.stringify(response)
-            // );
-          }
-        });
+       listRelativesconfirmation(searchParam).then(response => {
+  if (response.code == 200 && response.rows[0]) {
+    this.affirmform = response.rows[0];
+
+    // 淇敼鍣ㄥ畼鍐崇瓥鐨勬樉绀烘枃鏈�
+    if (this.affirmform.organdecision) {
+      // 鏇挎崲鍣ㄥ畼鍚嶇О
+      let organdecision = this.affirmform.organdecision
+        .replace(/鍗曞乏鑲�/g, '宸﹁偩鑴�')
+        .replace(/鍗曞彸鑲�/g, '鍙宠偩鑴�')
+        .replace(/鍙岃偩鑴�/g, '鍙岃偩鑴�'); // 淇濇寔鍙岃偩鑴忎笉鍙�
+
+      this.organdecision = organdecision
+        .split(",")
+        .flatMap(item => (item === "鍙岃偩鑴�" ? ["宸﹁偩", "鍙宠偩"] : item));
+    }
+
+    if (this.affirmform.kinship) {
+      this.kinship = this.affirmform.kinship.split(",");
+    }
+    if (!this.affirmform) {
+      this.affirmform = {};
+      this.affirmform.residenceprovincename = "";
+      this.affirmform.residencecityname = "";
+      this.affirmform.residencetownname = "";
+    }
+    this.defultAddresss.sheng = this.affirmform.residenceprovincename;
+    this.defultAddresss.shi = this.affirmform.residencecityname;
+    this.defultAddresss.qu = this.affirmform.residencetownname;
+  } else {
+    // this.$modal.msgError(
+    //   "鏌ヨ鏄惁瀛樺湪纭鐧昏璁板綍澶辫触" + JSON.stringify(response)
+    // );
+  }
+});
       } else if (this.actives == 3) {
         this.activetele = "浼︾悊瀹℃煡";
 

--
Gitblit v1.9.3