From fb16e99d60035949b870d0bed7f38b452458000a Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 15 十月 2026 15:10:00 +0800
Subject: [PATCH] 修改了专家费校验和附件名字校验
---
src/views/project/donationdetails/index.vue | 119 ++++++++++++++++++++++++++++++++---------------------------
1 files changed, 64 insertions(+), 55 deletions(-)
diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue
index 6b894dc..8715e59 100644
--- a/src/views/project/donationdetails/index.vue
+++ b/src/views/project/donationdetails/index.vue
@@ -221,7 +221,7 @@
clearable
size="small"
v-model="form.reporttime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鎶ュ憡鏃ユ湡"
>
@@ -267,7 +267,7 @@
clearable
size="small"
v-model="form.birthday"
- type="date"
+ type="date" format="yyyy-MM-dd"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鍑虹敓鏃ユ湡"
>
@@ -779,7 +779,7 @@
size="small"
style="width: 190px"
v-model="form.contacttime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鎶ュ憡鏃堕棿"
>
@@ -862,7 +862,7 @@
clearable
size="small"
v-model="medicineform.hospitalassesstime"
- type="date"
+ type="date" format="yyyy-MM-dd"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨闄㈢骇璇勪及鏃堕棿"
>
@@ -915,7 +915,7 @@
clearable
size="small"
v-model="medicineform.provincialassesstime"
- type="date"
+ type="date" format="yyyy-MM-dd"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鐪佺骇璇勪及鏃堕棿"
>
@@ -969,7 +969,7 @@
clearable
size="small"
v-model="medicineform.coreteamassesstime"
- type="date"
+ type="date" format="yyyy-MM-dd"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="璇勪及鏃堕棿"
>
@@ -1388,7 +1388,7 @@
clearable
size="small"
v-model="ethicform.conclusiontime"
- type="date"
+ type="date" format="yyyy-MM-dd"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨缁撹鏃堕棿"
>
@@ -1478,7 +1478,7 @@
size="small"
style="width: 100%"
v-model="scope.row.applicanttime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鍒嗛厤鎺ユ敹鏃堕棿"
>
@@ -1658,7 +1658,7 @@
<el-date-picker
clearable
v-model="witnessform.deathtime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨姝讳骸鏃堕棿"
>
@@ -1697,7 +1697,7 @@
<el-date-picker
clearable
v-model="witnessform.operationbegtime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鎵嬫湳寮�濮嬫椂闂�"
>
@@ -1714,7 +1714,7 @@
<el-date-picker
clearable
v-model="witnessform.operationendtime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鎵嬫湳缁撴潫鏃堕棿"
>
@@ -1733,7 +1733,7 @@
<el-date-picker
clearable
v-model="witnessform.coordinatorInOperating"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鎵嬫湳寮�濮嬫椂闂�"
>
@@ -1750,7 +1750,7 @@
<el-date-picker
clearable
v-model="witnessform.coordinatorOutOperating"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鎵嬫湳缁撴潫鏃堕棿"
>
@@ -1767,7 +1767,7 @@
<el-date-picker
clearable
v-model="witnessform.coordinatorSignTime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鎵嬫湳缁撴潫鏃堕棿"
>
@@ -1794,7 +1794,7 @@
<el-date-picker
clearable
v-model="witnessform.abdominalaortacannulatime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鑵逛富鍔ㄨ剦鎻掔鏃堕棿"
>
@@ -1811,7 +1811,7 @@
<el-date-picker
clearable
v-model="witnessform.abdominalaortaperfusiontime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨鑵逛富鍔ㄨ剦鐏屾敞鏃堕棿"
>
@@ -1828,7 +1828,7 @@
<el-date-picker
clearable
v-model="witnessform.portalveincannulatime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨闂ㄩ潤鑴夎剦鎻掔鏃堕棿"
>
@@ -1845,7 +1845,7 @@
<el-date-picker
clearable
v-model="witnessform.portalveinperfusiontime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨闂ㄩ潤鑴夌亴娉ㄦ椂闂�"
>
@@ -1864,7 +1864,7 @@
<el-date-picker
clearable
v-model="witnessform.pulmonaryarterycannulatime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨闂ㄩ潤鑴夋彃绠℃椂闂�"
>
@@ -1881,7 +1881,7 @@
<el-date-picker
clearable
v-model="witnessform.pulmonaryarteryperfusiontime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="閫夋嫨闂ㄩ潤鑴夌亴娉ㄦ椂闂�"
>
@@ -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:ss"
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:ss"
placeholder="閫夋嫨涓诲姩鑴夌亴娉ㄦ椂闂�"
>
</el-date-picker>
@@ -2028,7 +2028,7 @@
size="small"
style="width: 100%"
v-model="scope.row.organStartTime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="璇疯緭鍏ヨ幏鍙栧紑濮嬫椂闂�"
>
@@ -2048,7 +2048,7 @@
size="small"
style="width: 100%"
v-model="scope.row.organgettime"
- type="datetime"
+ type="datetime" format="yyyy-MM-dd HH:mm"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="璇疯緭鍏ュ櫒瀹樼浣撴椂闂�"
>
@@ -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 HH:mm:ss"
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