From 453116f2989eed9b13bf177e2cfb5ca3d2fefaf7 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期五, 22 十二月 2023 11:22:57 +0800
Subject: [PATCH] yxh

---
 src/views/project/donationdetails/index.vue |   94 ++++++++++++++++++-----------------------------
 1 files changed, 36 insertions(+), 58 deletions(-)

diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue
index 457e1d2..6fbc28e 100644
--- a/src/views/project/donationdetails/index.vue
+++ b/src/views/project/donationdetails/index.vue
@@ -619,7 +619,7 @@
               <el-form-item label="绛惧瓧浜插睘" prop="kinshipconfirmationsign">
                 <el-checkbox-group v-model="organdecision">
                   <el-checkbox v-for="item in kinshiplist" :label="item">
-                    {{ item }}
+                    {{ item == '瀛愬コ' ? item + '(浜�)' : item }}
                   </el-checkbox>
                 </el-checkbox-group>
               </el-form-item>
@@ -778,37 +778,25 @@
                   <el-table-column label="鍣ㄥ畼缂栧彿" align="center" width="100" prop="organno" />
                   <el-table-column label="绯荤粺缂栧彿" align="center" width="120" prop="ageunit" v-if="actives == 4">
                     <template slot-scope="scope">
-                      <el-input :disabled="scope.row.allocationstatus == 2 ||
-                        scope.row.organstate == 2 ||
-                        scope.row.transplantstate == 2
-                        " v-model="scope.row.ageunit" placeholder="绯荤粺缂栧彿" />
+                      <el-input v-model="scope.row.ageunit" placeholder="绯荤粺缂栧彿" />
                     </template>
                   </el-table-column>
                   <el-table-column label="鎺ユ敹鏃堕棿" align="center" width="200" prop="applicanttime" v-if="actives == 4">
                     <template slot-scope="scope">
-                      <el-date-picker :disabled="scope.row.allocationstatus == 2 ||
-                        scope.row.organstate == 2 ||
-                        scope.row.transplantstate == 2
-                        " clearable size="small" style="width: 100%" v-model="scope.row.applicanttime" type="datetime"
+                      <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.applicanttime" type="datetime"
                         value-format="yyyy-MM-dd HH:mm:ss" placeholder="閫夋嫨鎺ユ敹鏃堕棿">
                       </el-date-picker>
                     </template>
                   </el-table-column>
                   <el-table-column label="鍙椾綋濮撳悕" align="center" width="120" prop="name" v-if="actives == 4">
                     <template slot-scope="scope">
-                      <el-input :disabled="scope.row.allocationstatus == 2 ||
-                        scope.row.organstate == 2 ||
-                        scope.row.transplantstate == 2
-                        " v-model="scope.row.name" placeholder="鍙椾綋濮撳悕" />
+                      <el-input v-model="scope.row.name" placeholder="鍙椾綋濮撳悕" />
                     </template>
                   </el-table-column>
                   <!--
               <el-table-column label="璇佷欢绫诲瀷" align="center" width="150" prop="idcardtype" v-if="actives == 4">
                 <template slot-scope="scope">
-                  <el-select :disabled="scope.row.allocationstatus == 2 ||
-                    scope.row.organstate == 2 ||
-                    scope.row.transplantstate == 2
-                    " v-model="scope.row.idcardtype" placeholder="绉绘浜鸿瘉浠剁被鍨�">
+                  <el-select v-model="scope.row.idcardtype" placeholder="绉绘浜鸿瘉浠剁被鍨�">
                     <el-option v-for="dict in dict.type.sys_IDType" :key="dict.value" :label="dict.label"
                       :value="parseInt(dict.value)"></el-option>
                   </el-select>
@@ -816,10 +804,7 @@
               </el-table-column>
               <el-table-column label="璇佷欢鍙风爜" align="center" width="200" prop="idcardno" v-if="actives == 4">
                 <template slot-scope="scope">
-                  <el-input :disabled="scope.row.allocationstatus == 2 ||
-                    scope.row.organstate == 2 ||
-                    scope.row.transplantstate == 2
-                    " v-model="scope.row.idcardno" placeholder="璇佷欢鍙风爜" />
+                  <el-input v-model="scope.row.idcardno" placeholder="璇佷欢鍙风爜" />
                 </template>
               </el-table-column>
               -->
@@ -836,34 +821,26 @@
                       <el-input clearable v-model="scope.row.reallocationreason" placeholder="璇疯緭鍏ラ噸鍒嗛厤璇存槑" />
                     </template>
                   </el-table-column>
-                  <el-table-column label="鑾峰彇鍖诲笀" align="center" width="120" prop="organgetdoct" v-if="actives == 5">
+                  <el-table-column label="鍣ㄥ畼绂讳綋鏃堕棿" align="center" width="200" prop="organgettime" v-if="actives == 5">
                     <template slot-scope="scope">
-                      <el-input :disabled="scope.row.allocationstatus == 2 ||
-                        scope.row.organstate == 2 ||
-                        scope.row.transplantstate == 2
-                        " v-model="scope.row.organgetdoct" placeholder="鍖诲笀濮撳悕" />
-                    </template>
-                  </el-table-column>
-                  <el-table-column label="鑾峰彇鏃堕棿" align="center" width="200" prop="organgettime" v-if="actives == 5">
-                    <template slot-scope="scope">
-                      <el-date-picker :disabled="scope.row.allocationstatus == 2 ||
-                        scope.row.organstate == 2 ||
-                        scope.row.transplantstate == 2
-                        " clearable size="small" style="width: 100%" v-model="scope.row.organgettime" type="datetime"
-                        value-format="yyyy-MM-dd HH:mm:ss" placeholder="閫夋嫨鑾峰彇鏃堕棿">
+                      <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.organgettime" type="datetime"
+                        value-format="yyyy-MM-dd HH:mm:ss" placeholder="璇疯緭鍏ュ櫒瀹樼浣撴椂闂�">
                       </el-date-picker>
                     </template>
                   </el-table-column>
-                  <el-table-column label="鑾峰彇缁勭粐" align="center" prop="gainhospitalno" v-if="actives == 5">
+                  <el-table-column label="鑾峰彇鍖婚櫌" align="center" width="230" prop="gainhospitalno" v-if="actives == 5">
                     <template slot-scope="scope">
-                      <org-selecter :disabled="scope.row.allocationstatus == 2 ||
-                        scope.row.organstate == 2 ||
-                        scope.row.transplantstate == 2
-                        " ref="tranHosSelect" :org-type="'4'" v-model="scope.row.gainhospitalno" style="width: 100%" />
+                      <div class="elldiv">
+                        <org-selecter ref="tranHosSelect" :org-type="'4'" v-model="scope.row.gainhospitalno" />
+                      </div>
                     </template>
                   </el-table-column>
-                  <!--
-              <el-table-column label="鑾峰彇鐘舵��" align="center" width="150" prop="organstate" v-if="actives == 5">
+                  <el-table-column label="鑾峰彇鍖诲笀" align="center" width="120" prop="organgetdoct" v-if="actives == 5">
+                    <template slot-scope="scope">
+                      <el-input v-model="scope.row.organgetdoct" placeholder="璇疯緭鍏ュ尰甯堝鍚�" />
+                    </template>
+                  </el-table-column>
+                  <el-table-column label="鑾峰彇鐘舵��" align="center" width="150" prop="organstate" v-if="actives == 5">
                 <template slot-scope="scope">
                   <el-select v-model="scope.row.organstate" placeholder="璇烽�夋嫨鍣ㄥ畼鐘舵��">
                     <el-option v-for="dict in organstatelist" :key="dict.value" :label="dict.label"
@@ -871,31 +848,26 @@
                   </el-select>
                 </template>
               </el-table-column>
-              -->
+                  <el-table-column label="璇存槑" align="center" prop="notgetreason" v-if="actives == 5">
+                    <template slot-scope="scope">
+                      <el-input clearable v-model="scope.row.notgetreason" placeholder="璇疯緭鍏ユ湭鑾峰彇璇存槑" />
+                    </template>
+                  </el-table-column>
                   <el-table-column label="绉绘鍖婚櫌" align="center" width="230" prop="transplanthospitalname"
                     v-if="actives == 6">
                     <template slot-scope="scope">
-                      <org-selecter :disabled="scope.row.allocationstatus == 2 ||
-                        scope.row.organstate == 2 ||
-                        scope.row.transplantstate == 2
-                        " ref="tranHosSelect" :org-type="'4'" v-model="scope.row.transplanthospitalno"
+                      <org-selecter ref="tranHosSelect" :org-type="'4'" v-model="scope.row.transplanthospitalno"
                         style="width: 100%" />
                     </template>
                   </el-table-column>
                   <el-table-column label="绉绘璐熻矗浜�" align="center" width="120" prop="transplantdoct" v-if="actives == 6">
                     <template slot-scope="scope">
-                      <el-input :disabled="scope.row.allocationstatus == 2 ||
-                        scope.row.organstate == 2 ||
-                        scope.row.transplantstate == 2
-                        " v-model="scope.row.transplantdoct" placeholder="鍖诲笀濮撳悕" />
+                      <el-input  v-model="scope.row.transplantdoct" placeholder="鍖诲笀濮撳悕" />
                     </template>
                   </el-table-column>
                   <el-table-column label="绉绘鏃堕棿" align="center" width="200" prop="transplanttime" v-if="actives == 6">
                     <template slot-scope="scope">
-                      <el-date-picker :disabled="scope.row.allocationstatus == 2 ||
-                        scope.row.organstate == 2 ||
-                        scope.row.transplantstate == 2
-                        " clearable size="small" style="width: 100%" v-model="scope.row.transplanttime" type="datetime"
+                      <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.transplanttime" type="datetime"
                         value-format="yyyy-MM-dd HH:mm:ss" placeholder="閫夋嫨绉绘鏃堕棿">
                       </el-date-picker>
                     </template>
@@ -908,9 +880,9 @@
                       </el-select>
                     </template>
                   </el-table-column>
-                  <el-table-column prop="abandonreason" label="寮冪敤鍘熷洜" align="center" v-if="actives == 6">
+                  <el-table-column prop="abandonreason" label="璇存槑" align="center" v-if="actives == 6">
                     <template slot-scope="scope">
-                      <el-input clearable v-model="scope.row.abandonreason" placeholder="璇疯緭鍏ュ純鐢ㄥ師鍥�" />
+                      <el-input clearable v-model="scope.row.abandonreason" placeholder="璇疯緭鍏ュ純鐢ㄨ鏄�" />
                     </template>
                   </el-table-column>
                   <el-table-column label="鎿嶄綔" width="200" align="center" class-name="small-padding fixed-width"
@@ -1409,7 +1381,7 @@
       ],
       organstatelist: [
         { value: "1", label: "宸茶幏鍙�" },
-        { value: "2", label: "寮冪敤" }
+        { value: "2", label: "鍥炵撼" }
       ],
       transplantstatelist: [
         { value: 1, label: "宸茬Щ妞�" },
@@ -2485,4 +2457,10 @@
 ::v-deep .el-step__description.is-finish {
   color: #22a2c3;
 }
+
+:v-deep .el-select {
+  display: inline-block;
+  position: relative;
+  width: 80%;
+}
 </style>

--
Gitblit v1.9.3