From 0e10e10157b90002b99996914eaf1e5574924ddf Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期一, 12 十月 2026 11:15:50 +0800
Subject: [PATCH] 修改了报销校验
---
src/views/project/travelexpenseapply/edit.vue | 8
src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue | 16 +-
src/views/project/organallocation/index0.vue | 8
src/views/project/donatebaseinfo/index.vue | 8
src/views/project/donorcharge/donorchargedetail/index.vue | 8
src/views/project/donatefinishcheck/index.vue | 8
src/views/project/donatereview/index.vue | 8
src/views/project/travelexpensecheck/index.vue | 28 +-
src/views/project/fund/performancedetails/index.vue | 10
src/views/project/ethicalReview/index.vue | 4
src/views/project/relativesconfirmation/index.vue | 16 +-
src/views/project/donateconsolationfund/index.vue | 4
src/views/project/fund/applyDetail0/index.vue | 10
src/views/project/fund/officeExpenseApply/index.vue | 4
src/views/project/organallocation/index.vue | 4
src/views/project/tallage/computingBill/index.vue | 4
src/views/project/travelexpenseapply/index.vue | 16 +-
src/views/project/donationwitness/index.vue | 48 +++---
src/views/project/components/annexupload/index.vue | 4
src/views/project/organization/index.vue | 4
src/views/project/donationdetails/index.vue | 100 ++++++------
src/views/project/donatefollowup/index.vue | 4
src/views/project/donateorgan/index.vue | 8
src/views/project/travelexpenseapply/travelexpensedetail/index.vue | 22 +-
src/views/project/documentfiles/index.vue | 4
src/views/project/fundcheck/officeExpenseCheck/index.vue | 16 +-
src/views/project/medicalevaluation/index.vue | 12
src/utils/request.js | 24 +-
src/views/project/donorcharge/donorcharge/index.vue | 8
src/views/project/fund/applyDetail/index.vue | 10
src/views/project/fund/expertFeeApply/index.vue | 4
src/views/project/fund/ethicalExpertFeeApply/index.vue | 4
src/views/project/fundcheck/medicalCostCheck/index.vue | 16 +-
src/views/project/fundcheck/expertFeeCheck/index.vue | 10
src/views/project/donatefinish/index.vue | 8
src/views/project/unitCost/particulars/index.vue | 8
36 files changed, 234 insertions(+), 244 deletions(-)
diff --git a/src/utils/request.js b/src/utils/request.js
index d0a5db3..0755ac6 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -104,22 +104,24 @@
console.log('err' + error)
let { message } = error;
if (message == "Network Error") {
- // message = "鍚庣鎺ュ彛杩炴帴寮傚父";
- console.log("Network Erro",message);
+ message = "鍚庣鎺ュ彛杩炴帴寮傚父";
}
else if (message.includes("timeout")) {
- // message = "绯荤粺鎺ュ彛璇锋眰瓒呮椂";
- console.log("timeout",message);
+ message = "绯荤粺鎺ュ彛璇锋眰瓒呮椂";
}
else if (message.includes("Request failed with status code")) {
- // message = "绯荤粺鎺ュ彛" + message.substr(message.length - 3) + "寮傚父";
- console.log("Request failed with status code",message);
+ // 浼樺厛灞曠ず鍚庣杩斿洖鐨勫叿浣撳師鍥狅紙濡�"鍖婚櫌鍗忓弸绯荤粺鎺ユ敹澶辫触锛屾湰娆″鎵规湭鐢熸晥锛岃绋嶅悗閲嶆柊瀹℃壒"锛�
+ const data = error.response && error.response.data;
+ const backendMsg = data && (data.msg || data.message);
+ message = backendMsg || ("绯荤粺鎺ュ彛" + message.substr(message.length - 3) + "寮傚父");
}
- // Message({
- // message: message,
- // type: 'error',
- // duration: 10* 1000
- // })
+ // 2026-10-09 鎭㈠閿欒鎻愮ず锛氬師鏉ヨ繖閲屾槸娉ㄩ噴鐘舵�侊紝瀵艰嚧璇锋眰鍙戠敓 HTTP 绾ч敊璇椂
+ // 椤甸潰浠�涔堥兘涓嶆彁绀猴紙璋冪敤鏂圭殑 .then 涓嶄細鎵ц锛夛紝鐢ㄦ埛鐪嬩笉鍒板け璐ュ師鍥�
+ Message({
+ message: message,
+ type: 'error',
+ duration: 5 * 1000
+ })
return Promise.reject(error)
}
)
diff --git a/src/views/project/components/annexupload/index.vue b/src/views/project/components/annexupload/index.vue
index 718dd8f..fe9e783 100644
--- a/src/views/project/components/annexupload/index.vue
+++ b/src/views/project/components/annexupload/index.vue
@@ -123,8 +123,8 @@
clearable
size="small"
v-model="uploadtime"
- 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>
diff --git a/src/views/project/documentfiles/index.vue b/src/views/project/documentfiles/index.vue
index 591306b..2114751 100644
--- a/src/views/project/documentfiles/index.vue
+++ b/src/views/project/documentfiles/index.vue
@@ -273,8 +273,8 @@
size="small"
style="width: 220px"
v-model="form.uploadtime"
- 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"
>
</el-date-picker>
</el-form-item>
diff --git a/src/views/project/donatebaseinfo/index.vue b/src/views/project/donatebaseinfo/index.vue
index bb566f6..377ef37 100644
--- a/src/views/project/donatebaseinfo/index.vue
+++ b/src/views/project/donatebaseinfo/index.vue
@@ -863,8 +863,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>
@@ -920,8 +920,8 @@
size="small"
style="width: 190px"
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>
diff --git a/src/views/project/donateconsolationfund/index.vue b/src/views/project/donateconsolationfund/index.vue
index 5c6f221..a752738 100644
--- a/src/views/project/donateconsolationfund/index.vue
+++ b/src/views/project/donateconsolationfund/index.vue
@@ -635,8 +635,8 @@
clearable
style="width: 100%"
v-model="form.createTime"
- 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>
diff --git a/src/views/project/donatefinish/index.vue b/src/views/project/donatefinish/index.vue
index 8911505..95e87a1 100644
--- a/src/views/project/donatefinish/index.vue
+++ b/src/views/project/donatefinish/index.vue
@@ -308,8 +308,8 @@
clearable
size="small"
v-model="form.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>
@@ -378,8 +378,8 @@
size="small"
style="width: 90%"
v-model="scope.row.transplanttime"
- 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>
diff --git a/src/views/project/donatefinishcheck/index.vue b/src/views/project/donatefinishcheck/index.vue
index b33269b..fa7de8a 100644
--- a/src/views/project/donatefinishcheck/index.vue
+++ b/src/views/project/donatefinishcheck/index.vue
@@ -250,8 +250,8 @@
clearable
size="small"
v-model="form.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>
@@ -320,8 +320,8 @@
size="small"
style="width: 90%"
v-model="scope.row.transplanttime"
- 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>
diff --git a/src/views/project/donatefollowup/index.vue b/src/views/project/donatefollowup/index.vue
index efaef54..2485598 100644
--- a/src/views/project/donatefollowup/index.vue
+++ b/src/views/project/donatefollowup/index.vue
@@ -339,8 +339,8 @@
clearable
size="small"
v-model="form.followuptime"
- 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>
diff --git a/src/views/project/donateorgan/index.vue b/src/views/project/donateorgan/index.vue
index 822b024..d671f93 100644
--- a/src/views/project/donateorgan/index.vue
+++ b/src/views/project/donateorgan/index.vue
@@ -360,8 +360,8 @@
<el-row>
<el-col :span="12">
<el-form-item label="鑾峰彇鏃堕棿" prop="organgettime">
- <el-date-picker clearable size="medium" v-model="form.organgettime" type="date" disabled
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="閫夋嫨鍣ㄥ畼鑾峰彇鏃堕棿">
+ <el-date-picker clearable size="medium" v-model="form.organgettime" type="date" format="yyyy-MM-dd" disabled
+ value-format="yyyy-MM-dd" placeholder="閫夋嫨鍣ㄥ畼鑾峰彇鏃堕棿">
</el-date-picker>
</el-form-item>
</el-col>
@@ -410,8 +410,8 @@
</el-col>
<el-col :span="12">
<el-form-item label="绉绘鏃堕棿" prop="transplanttime">
- <el-date-picker clearable size="medium" v-model="form.transplanttime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="閫夋嫨绉绘鏃堕棿" disabled>
+ <el-date-picker clearable size="medium" v-model="form.transplanttime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="閫夋嫨绉绘鏃堕棿" disabled>
</el-date-picker>
</el-form-item>
</el-col>
diff --git a/src/views/project/donatereview/index.vue b/src/views/project/donatereview/index.vue
index 9f06523..b559561 100644
--- a/src/views/project/donatereview/index.vue
+++ b/src/views/project/donatereview/index.vue
@@ -395,9 +395,9 @@
clearable
size="small"
v-model="form.birthday"
- type="date"
+ type="date" format="yyyy-MM-dd"
style="width: 174px"
- value-format="yyyy:MM:dd HH:mm:ss"
+ value-format="yyyy-MM-dd"
placeholder="閫夋嫨鍑虹敓鏃ユ湡"
>
</el-date-picker>
@@ -756,8 +756,8 @@
clearable
size="small"
v-model="form.reporttime"
- 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>
diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue
index 42ecc25..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>
diff --git a/src/views/project/donationwitness/index.vue b/src/views/project/donationwitness/index.vue
index cacd679..0161afe 100644
--- a/src/views/project/donationwitness/index.vue
+++ b/src/views/project/donationwitness/index.vue
@@ -467,8 +467,8 @@
<el-date-picker
clearable
v-model="form.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>
@@ -492,8 +492,8 @@
<el-date-picker
clearable
v-model="form.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>
@@ -504,8 +504,8 @@
<el-date-picker
clearable
v-model="form.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>
@@ -525,8 +525,8 @@
<el-date-picker
clearable
v-model="form.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>
@@ -541,8 +541,8 @@
<el-date-picker
clearable
v-model="form.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>
@@ -563,8 +563,8 @@
<el-date-picker
clearable
v-model="form.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>
@@ -579,8 +579,8 @@
<el-date-picker
clearable
v-model="form.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>
@@ -600,8 +600,8 @@
<el-date-picker
clearable
v-model="form.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>
@@ -616,8 +616,8 @@
<el-date-picker
clearable
v-model="form.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>
@@ -634,8 +634,8 @@
<el-date-picker
clearable
v-model="form.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>
@@ -650,8 +650,8 @@
<el-date-picker
clearable
v-model="form.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>
@@ -707,8 +707,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>
diff --git a/src/views/project/donorcharge/donorcharge/index.vue b/src/views/project/donorcharge/donorcharge/index.vue
index a45d009..9067af3 100644
--- a/src/views/project/donorcharge/donorcharge/index.vue
+++ b/src/views/project/donorcharge/donorcharge/index.vue
@@ -152,8 +152,8 @@
</el-table-column>
<el-table-column prop="amounttime" align="center" label="鎺ユ敹鏃堕棿" width="120">
<template slot-scope="scope">
- <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.amounttime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鎺ユ敹鏃堕棿">
+ <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.amounttime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鎺ユ敹鏃堕棿">
</el-date-picker> </template>
</el-table-column>
<el-table-column prop="amount" align="center" label="宸叉敹璐圭敤" width="120">
@@ -163,8 +163,8 @@
</el-table-column>
<el-table-column prop="amounttime" align="center" label="鏀舵鏃堕棿" width="120">
<template slot-scope="scope">
- <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.amounttime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鏀舵鏃堕棿" @blur="getdays(scope.row)">
+ <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.amounttime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鏀舵鏃堕棿" @blur="getdays(scope.row)">
</el-date-picker> </template>
</el-table-column>
<el-table-column prop="organcharge" align="center" label="鏍囧噯璐圭敤" width="120">
diff --git a/src/views/project/donorcharge/donorchargedetail/index.vue b/src/views/project/donorcharge/donorchargedetail/index.vue
index 01356c5..082f32d 100644
--- a/src/views/project/donorcharge/donorchargedetail/index.vue
+++ b/src/views/project/donorcharge/donorchargedetail/index.vue
@@ -179,8 +179,8 @@
size="small"
style="width: 100%"
v-model="scope.row.amounttime"
- 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>
@@ -242,8 +242,8 @@
size="small"
style="width: 100%"
v-model="scope.row.organtime"
- 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>
diff --git a/src/views/project/ethicalReview/index.vue b/src/views/project/ethicalReview/index.vue
index 3eb4d3e..c410334 100644
--- a/src/views/project/ethicalReview/index.vue
+++ b/src/views/project/ethicalReview/index.vue
@@ -292,8 +292,8 @@
clearable
size="small"
v-model="form.createTime"
- 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>
diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue
index 89b17e7..22bbd87 100644
--- a/src/views/project/fund/applyDetail/index.vue
+++ b/src/views/project/fund/applyDetail/index.vue
@@ -12,8 +12,8 @@
</el-col>
<el-col :span="5">
<el-form-item label="鐢宠鏃ユ湡" prop="applyTime">
- <el-date-picker clearable :disabled="true" style="width: 100%" v-model="form.applyTime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鏃� 鏈�">
+ <el-date-picker clearable :disabled="true" style="width: 100%" v-model="form.applyTime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鏃� 鏈�">
</el-date-picker>
</el-form-item>
</el-col>
@@ -2510,11 +2510,7 @@
} else {
this.$modal.closeLoading();
- if (res.msg) {
- this.$modal.msgError("鎿嶄綔澶辫");
- } else {
- this.$modal.msgError(res.msg);
- }
+ this.$modal.msgError(res.msg || "鎿嶄綔澶辫触");
}
});
}
diff --git a/src/views/project/fund/applyDetail0/index.vue b/src/views/project/fund/applyDetail0/index.vue
index b84928d..b061aed 100644
--- a/src/views/project/fund/applyDetail0/index.vue
+++ b/src/views/project/fund/applyDetail0/index.vue
@@ -11,8 +11,8 @@
clearable
style="width: 100%"
v-model="form.createTime"
- 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>
@@ -2104,11 +2104,7 @@
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.go(-1);
} else {
- if (res.msg) {
- this.$modal.msgError("鎿嶄綔澶辫");
- } else {
- this.$modal.msgError(res.msg);
- }
+ this.$modal.msgError(res.msg || "鎿嶄綔澶辫触");
}
});
},
diff --git a/src/views/project/fund/ethicalExpertFeeApply/index.vue b/src/views/project/fund/ethicalExpertFeeApply/index.vue
index 5be6779..f17dc83 100644
--- a/src/views/project/fund/ethicalExpertFeeApply/index.vue
+++ b/src/views/project/fund/ethicalExpertFeeApply/index.vue
@@ -284,8 +284,8 @@
clearable
style="width: 100%"
v-model="form.applyTime"
- 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>
diff --git a/src/views/project/fund/expertFeeApply/index.vue b/src/views/project/fund/expertFeeApply/index.vue
index d68ed78..52f172e 100644
--- a/src/views/project/fund/expertFeeApply/index.vue
+++ b/src/views/project/fund/expertFeeApply/index.vue
@@ -317,8 +317,8 @@
clearable
style="width: 100%"
v-model="form.applyTime"
- 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>
diff --git a/src/views/project/fund/officeExpenseApply/index.vue b/src/views/project/fund/officeExpenseApply/index.vue
index 3c72b6b..a72772a 100644
--- a/src/views/project/fund/officeExpenseApply/index.vue
+++ b/src/views/project/fund/officeExpenseApply/index.vue
@@ -225,8 +225,8 @@
clearable
style="width: 100%"
v-model="form.applyTime"
- 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>
diff --git a/src/views/project/fund/performancedetails/index.vue b/src/views/project/fund/performancedetails/index.vue
index 6cfb93d..17b9ed2 100644
--- a/src/views/project/fund/performancedetails/index.vue
+++ b/src/views/project/fund/performancedetails/index.vue
@@ -11,8 +11,8 @@
clearable
style="width: 100%"
v-model="form.applyTime"
- type="date"
- value-format="yyyy-MM-dd HH:mm:ss"
+ type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd"
placeholder="鐢宠鏃ユ湡"
:disabled="true"
>
@@ -1885,11 +1885,7 @@
this.$router.go(-1);
} else {
this.$modal.closeLoading();
- if (res.msg) {
- this.$modal.msgError("鎿嶄綔澶辫");
- } else {
- this.$modal.msgError(res.msg);
- }
+ this.$modal.msgError(res.msg || "鎿嶄綔澶辫触");
}
});
},
diff --git a/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue b/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue
index f891b4b..3751a16 100644
--- a/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue
+++ b/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue
@@ -311,8 +311,8 @@
<el-col :span="7">
<el-form-item label="鐢宠鏃ユ湡" prop="applyTime">
<!-- <el-input v-model="form.donorno" placeholder="璇疯緭鍏ョ敵璇锋棩鏈�" /> -->
- <el-date-picker clearable style="width: 100%" v-model="form.applyTime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鐢宠鏃ユ湡">
+ <el-date-picker clearable style="width: 100%" v-model="form.applyTime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鐢宠鏃ユ湡">
</el-date-picker>
</el-form-item>
</el-col>
@@ -362,7 +362,7 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="dundcheck" v-if="dialogType == 'edit'">瀹℃牳</el-button>
+ <el-button type="primary" :loading="checkSubmitLoading" :disabled="checkSubmitLoading" @click="dundcheck" v-if="dialogType == 'edit'">瀹℃牳</el-button>
<el-button @click="cancel">鍙栨秷</el-button>
</div>
</el-dialog>
@@ -461,6 +461,7 @@
],
data() {
return {
+ checkSubmitLoading: false,
arrr2: [],
arrr3: [],
//璐圭敤绫诲瀷鏁扮粍
@@ -693,6 +694,7 @@
});
},
dundcheck() {
+ if (this.checkSubmitLoading) return;
// this.$em
//console.log("1234567", this.form.flowlevelone, this.form.flowconclusion);
@@ -709,7 +711,9 @@
this.$modal.msgError("璇烽�夋嫨瀹℃牳缁撹!");
return;
}
+ this.checkSubmitLoading = true;
checkfund(checkfundobj).then(res => {
+ this.checkSubmitLoading = false;
if (res.code == 200) {
console.log("瀹℃牳璐圭敤", res);
this.dialogOpen = false;
@@ -718,11 +722,7 @@
this.getlistbypower();
} else {
this.dialogOpen = false;
- if (res.msg) {
- this.$modal.msgError("鎿嶄綔澶辫");
- } else {
- this.$modal.msgError(res.msg);
- }
+ this.$modal.msgError(res.msg || "鎿嶄綔澶辫触");
}
});
},
diff --git a/src/views/project/fundcheck/expertFeeCheck/index.vue b/src/views/project/fundcheck/expertFeeCheck/index.vue
index 3382991..9a44751 100644
--- a/src/views/project/fundcheck/expertFeeCheck/index.vue
+++ b/src/views/project/fundcheck/expertFeeCheck/index.vue
@@ -157,8 +157,8 @@
<el-col :span="5">
<el-form-item label="鐢宠鏃ユ湡" prop="createTime">
<!-- <el-input v-model="form.donorno" placeholder="璇疯緭鍏ョ敵璇锋棩鏈�" /> -->
- <el-date-picker clearable style="width: 100%" v-model="form.createTime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鐢宠鏃ユ湡">
+ <el-date-picker clearable style="width: 100%" v-model="form.createTime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鐢宠鏃ユ湡">
</el-date-picker>
</el-form-item>
</el-col>
@@ -397,7 +397,7 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="dundcheck" v-if="dialogType == 'edit'">淇濆瓨</el-button>
+ <el-button type="primary" :loading="checkSubmitLoading" :disabled="checkSubmitLoading" @click="dundcheck" v-if="dialogType == 'edit'">淇濆瓨</el-button>
<el-button @click="cancel">鍙栨秷</el-button>
</div>
</el-dialog>
@@ -495,6 +495,7 @@
],
data() {
return {
+ checkSubmitLoading: false,
arrr2: [],
arrr3: [],
personlist: [],
@@ -724,6 +725,7 @@
});
},
dundcheck() {
+ if (this.checkSubmitLoading) return;
// this.$em
let checkfundobj = {
@@ -760,7 +762,9 @@
this.doCheckfund(checkfundobj);
},
doCheckfund(checkfundobj) {
+ this.checkSubmitLoading = true;
checkfund(checkfundobj).then(res => {
+ this.checkSubmitLoading = false;
if (res.code == 200) {
this.reset();
this.$modal.msgSuccess("瀹℃牳瀹屾垚!");
diff --git a/src/views/project/fundcheck/medicalCostCheck/index.vue b/src/views/project/fundcheck/medicalCostCheck/index.vue
index 6d247fc..d86512e 100644
--- a/src/views/project/fundcheck/medicalCostCheck/index.vue
+++ b/src/views/project/fundcheck/medicalCostCheck/index.vue
@@ -145,8 +145,8 @@
<el-col :span="5">
<el-form-item label="鐢宠鏃ユ湡" prop="createTime">
<!-- <el-input v-model="form.donorno" placeholder="璇疯緭鍏ョ敵璇锋棩鏈�" /> -->
- <el-date-picker clearable style="width: 100%" v-model="form.createTime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鐢宠鏃ユ湡">
+ <el-date-picker clearable style="width: 100%" v-model="form.createTime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鐢宠鏃ユ湡">
</el-date-picker>
</el-form-item>
</el-col>
@@ -421,7 +421,7 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="dundcheck" v-if="dialogType == 'edit'">纭</el-button>
+ <el-button type="primary" :loading="checkSubmitLoading" :disabled="checkSubmitLoading" @click="dundcheck" v-if="dialogType == 'edit'">纭</el-button>
<el-button @click="cancel">鍙栨秷</el-button>
</div>
</el-dialog>
@@ -520,6 +520,7 @@
],
data() {
return {
+ checkSubmitLoading: false,
arrr2: [],
arrr3: [],
//璐圭敤绫诲瀷鏁扮粍
@@ -731,6 +732,7 @@
});
},
dundcheck() {
+ if (this.checkSubmitLoading) return;
// this.$em
this.dialogOpen = false;
let checkfundobj = {
@@ -738,17 +740,15 @@
flowcontent: this.newobj.flowconclusion,
fundid: this.newobj.fundid
};
+ this.checkSubmitLoading = true;
checkfund(checkfundobj).then(res => {
+ this.checkSubmitLoading = false;
if (res.code == 200) {
this.reset();
this.$modal.msgSuccess("瀹℃牳瀹屾垚!");
this.getlistbypower();
} else {
- if (res.msg) {
- this.$modal.msgError("鎿嶄綔澶辫");
- } else {
- this.$modal.msgError(res.msg);
- }
+ this.$modal.msgError(res.msg || "鎿嶄綔澶辫触");
}
});
},
diff --git a/src/views/project/fundcheck/officeExpenseCheck/index.vue b/src/views/project/fundcheck/officeExpenseCheck/index.vue
index e048953..731bb1e 100644
--- a/src/views/project/fundcheck/officeExpenseCheck/index.vue
+++ b/src/views/project/fundcheck/officeExpenseCheck/index.vue
@@ -148,8 +148,8 @@
<el-col :span="5">
<el-form-item label="鐢宠鏃ユ湡" prop="createTime">
<!-- <el-input v-model="form.donorno" placeholder="璇疯緭鍏ョ敵璇锋棩鏈�" /> -->
- <el-date-picker clearable style="width: 100%" v-model="form.createTime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鐢宠鏃ユ湡">
+ <el-date-picker clearable style="width: 100%" v-model="form.createTime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鐢宠鏃ユ湡">
</el-date-picker>
</el-form-item>
</el-col>
@@ -424,7 +424,7 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="dundcheck" v-if="dialogType == 'edit'">纭</el-button>
+ <el-button type="primary" :loading="checkSubmitLoading" :disabled="checkSubmitLoading" @click="dundcheck" v-if="dialogType == 'edit'">纭</el-button>
<el-button @click="cancel">鍙栨秷</el-button>
</div>
</el-dialog>
@@ -523,6 +523,7 @@
],
data() {
return {
+ checkSubmitLoading: false,
arrr2: [],
arrr3: [],
//璐圭敤绫诲瀷鏁扮粍
@@ -736,6 +737,7 @@
});
},
dundcheck() {
+ if (this.checkSubmitLoading) return;
// this.$em
this.dialogOpen = false;
let checkfundobj = {
@@ -743,17 +745,15 @@
flowcontent: this.newobj.flowconclusion,
fundid: this.newobj.fundid
};
+ this.checkSubmitLoading = true;
checkfund(checkfundobj).then(res => {
+ this.checkSubmitLoading = false;
if (res.code == 200) {
this.reset();
this.$modal.msgSuccess("瀹℃牳瀹屾垚!");
this.getlistbypower();
} else {
- if (res.msg) {
- this.$modal.msgError("鎿嶄綔澶辫");
- } else {
- this.$modal.msgError(res.msg);
- }
+ this.$modal.msgError(res.msg || "鎿嶄綔澶辫触");
}
});
},
diff --git a/src/views/project/medicalevaluation/index.vue b/src/views/project/medicalevaluation/index.vue
index 257e87d..2b15bfa 100644
--- a/src/views/project/medicalevaluation/index.vue
+++ b/src/views/project/medicalevaluation/index.vue
@@ -410,8 +410,8 @@
clearable
size="small"
v-model="form.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
@@ -463,8 +463,8 @@
clearable
size="small"
v-model="form.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
@@ -517,8 +517,8 @@
clearable
size="small"
v-model="form.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>
diff --git a/src/views/project/organallocation/index.vue b/src/views/project/organallocation/index.vue
index 9af341f..4e9ea04 100644
--- a/src/views/project/organallocation/index.vue
+++ b/src/views/project/organallocation/index.vue
@@ -337,8 +337,8 @@
size="small"
style="width: 100%"
v-model="form.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>
diff --git a/src/views/project/organallocation/index0.vue b/src/views/project/organallocation/index0.vue
index 7b1d4c8..3d69866 100644
--- a/src/views/project/organallocation/index0.vue
+++ b/src/views/project/organallocation/index0.vue
@@ -198,8 +198,8 @@
<el-row>
<el-col :span="12">
<el-form-item label="鑾峰彇鏃堕棿" prop="organgettime">
- <el-date-picker clearable size="medium" v-model="form.organgettime" type="date" disabled
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="閫夋嫨鍣ㄥ畼鑾峰彇鏃堕棿">
+ <el-date-picker clearable size="medium" v-model="form.organgettime" type="date" format="yyyy-MM-dd" disabled
+ value-format="yyyy-MM-dd" placeholder="閫夋嫨鍣ㄥ畼鑾峰彇鏃堕棿">
</el-date-picker>
</el-form-item>
</el-col>
@@ -248,8 +248,8 @@
</el-col>
<el-col :span="12">
<el-form-item label="绉绘鏃堕棿" prop="transplanttime">
- <el-date-picker clearable size="medium" v-model="form.transplanttime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="閫夋嫨绉绘鏃堕棿" disabled>
+ <el-date-picker clearable size="medium" v-model="form.transplanttime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="閫夋嫨绉绘鏃堕棿" disabled>
</el-date-picker>
</el-form-item>
</el-col>
diff --git a/src/views/project/organization/index.vue b/src/views/project/organization/index.vue
index 7cb588f..cc96f0e 100644
--- a/src/views/project/organization/index.vue
+++ b/src/views/project/organization/index.vue
@@ -272,8 +272,8 @@
clearable
size="small"
v-model="form.registertime"
- 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>
diff --git a/src/views/project/relativesconfirmation/index.vue b/src/views/project/relativesconfirmation/index.vue
index 16104e2..e4b5848 100644
--- a/src/views/project/relativesconfirmation/index.vue
+++ b/src/views/project/relativesconfirmation/index.vue
@@ -588,8 +588,8 @@
clearable
size="small"
v-model="form.signdate"
- 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>
@@ -745,8 +745,8 @@
size="small"
style="width: 310px"
v-model="evaluationForm.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>
@@ -792,8 +792,8 @@
size="small"
style="width: 310px"
v-model="evaluationForm.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>
@@ -840,8 +840,8 @@
size="small"
style="width: 310px"
v-model="evaluationForm.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>
diff --git a/src/views/project/tallage/computingBill/index.vue b/src/views/project/tallage/computingBill/index.vue
index ed59471..95e1304 100644
--- a/src/views/project/tallage/computingBill/index.vue
+++ b/src/views/project/tallage/computingBill/index.vue
@@ -42,8 +42,8 @@
><el-form-item label="绠楃◣鏃堕棿" prop="donateno">
<el-date-picker
v-model="form.taxedtime"
- value-format="yyyy-MM-dd HH:mm:ss"
- type="datetime"
+ value-format="yyyy-MM-dd HH:mm"
+ type="datetime" format="yyyy-MM-dd HH:mm"
:disabled="true"
placeholder="閫夋嫨鏃堕棿"
>
diff --git a/src/views/project/travelexpenseapply/edit.vue b/src/views/project/travelexpenseapply/edit.vue
index dd4e719..c46973e 100644
--- a/src/views/project/travelexpenseapply/edit.vue
+++ b/src/views/project/travelexpenseapply/edit.vue
@@ -63,8 +63,8 @@
</el-col>
<el-col :span="7">
<el-form-item label="鐢宠鏃ユ湡" prop="applyTime">
- <el-date-picker style="width: 100%" v-model="form.applyTime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鐢宠鏃ユ湡">
+ <el-date-picker style="width: 100%" v-model="form.applyTime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鐢宠鏃ユ湡">
</el-date-picker>
</el-form-item>
</el-col>
@@ -101,7 +101,7 @@
<el-table-column prop="starttime" slot="" label="鍑哄彂鏃ユ湡" fixed align="center" width="150">
<template slot-scope="scope">
<el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.starttime"
- type="date" value-format="yyyy-MM-dd HH:mm:ss" placeholder="鍑哄彂鏃ユ湡"
+ type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="鍑哄彂鏃ユ湡"
@change="getStandard(scope.row)">
</el-date-picker>
</template>
@@ -115,7 +115,7 @@
<el-table-column prop="endtime" slot="" label="鍒拌揪鏃ユ湡" align="center" width="150" fixed>
<template slot-scope="scope">
<el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.endtime"
- type="date" value-format="yyyy-MM-dd HH:mm:ss" placeholder="鍒拌揪鏃ユ湡">
+ type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="鍒拌揪鏃ユ湡">
</el-date-picker>
</template>
</el-table-column>
diff --git a/src/views/project/travelexpenseapply/index.vue b/src/views/project/travelexpenseapply/index.vue
index ba1f14c..a821dfb 100644
--- a/src/views/project/travelexpenseapply/index.vue
+++ b/src/views/project/travelexpenseapply/index.vue
@@ -142,8 +142,8 @@
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
<el-row><el-col :span="5">
<el-form-item label="鐢宠鏃ユ湡" prop="applyTime">
- <el-date-picker style="width: 100%" v-model="form.applyTime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鐢宠鏃ユ湡">
+ <el-date-picker style="width: 100%" v-model="form.applyTime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鐢宠鏃ユ湡">
</el-date-picker>
</el-form-item>
</el-col>
@@ -351,8 +351,8 @@
);
}
}
- }" clearable size="small" style="width: 100%" v-model="scope.row.starttime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="寮�濮嬫棩鏈�" @blur="getdays(scope.row)">
+ }" clearable size="small" style="width: 100%" v-model="scope.row.starttime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="寮�濮嬫棩鏈�" @blur="getdays(scope.row)">
</el-date-picker>
</template>
</el-table-column>
@@ -367,8 +367,8 @@
);
}
}
- }" clearable size="small" style="width: 100%" v-model="scope.row.endtime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="缁撴潫鏃ユ湡" @blur="getdays(scope.row)">
+ }" clearable size="small" style="width: 100%" v-model="scope.row.endtime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="缁撴潫鏃ユ湡" @blur="getdays(scope.row)">
</el-date-picker>
</template>
</el-table-column>
@@ -562,8 +562,8 @@
</template> </el-table-column><el-table-column prop="paiddate" slot="" label="鎵撴鏃ユ湡" fixed align="center"
width="150">
<template slot-scope="scope">
- <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.paiddate" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鎵撴鏃ユ湡" :disabled="true">
+ <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.paiddate" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鎵撴鏃ユ湡" :disabled="true">
</el-date-picker>
</template>
</el-table-column>
diff --git a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue
index bd4b966..5474545 100644
--- a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue
+++ b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue
@@ -9,8 +9,8 @@
<el-date-picker
style="width: 100%"
v-model="form.applyTime"
- type="date"
- value-format="yyyy-MM-dd HH:mm:ss"
+ type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd"
placeholder="鐢宠鏃ユ湡"
:disabled="true"
>
@@ -369,8 +369,8 @@
size="small"
style="width: 100%"
v-model="scope.row.starttime"
- type="date"
- value-format="yyyy-MM-dd HH:mm:ss"
+ type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd"
placeholder="寮�濮嬫棩鏈�"
@blur="getdays(scope.row)"
>
@@ -401,8 +401,8 @@
size="small"
style="width: 100%"
v-model="scope.row.endtime"
- type="date"
- value-format="yyyy-MM-dd HH:mm:ss"
+ type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd"
placeholder="缁撴潫鏃ユ湡"
@blur="getdays(scope.row)"
>
@@ -848,8 +848,8 @@
<!--
<el-table-column prop="paiddate" slot="" label="鎵撴鏃ユ湡" fixed align="center" width="150">
<template slot-scope="scope">
- <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.paiddate" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鎵撴鏃ユ湡" :disabled="true">
+ <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.paiddate" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鎵撴鏃ユ湡" :disabled="true">
</el-date-picker>
</template>
</el-table-column>-->
@@ -2693,11 +2693,7 @@
this.continueOrExit();
} else {
this.$modal.closeLoading();
- if (res.msg) {
- this.$modal.msgError("鎿嶄綔澶辫");
- } else {
- this.$modal.msgError(res.msg);
- }
+ this.$modal.msgError(res.msg || "鎿嶄綔澶辫触");
}
});
},
diff --git a/src/views/project/travelexpensecheck/index.vue b/src/views/project/travelexpensecheck/index.vue
index 3c8ea41..e2ccce5 100644
--- a/src/views/project/travelexpensecheck/index.vue
+++ b/src/views/project/travelexpensecheck/index.vue
@@ -156,8 +156,8 @@
<el-row>
<el-col :span="5">
<el-form-item label="鐢宠鏃ユ湡" prop="applyTime">
- <el-date-picker style="width: 100%" v-model="form.applyTime" :disabled="true" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鐢宠鏃ユ湡">
+ <el-date-picker style="width: 100%" v-model="form.applyTime" :disabled="true" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鐢宠鏃ユ湡">
</el-date-picker>
</el-form-item>
</el-col>
@@ -304,8 +304,8 @@
);
}
}
- }" clearable size="small" style="width: 100%" v-model="scope.row.starttime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="寮�濮嬫棩鏈�" @blur="getallowance(scope.row)">
+ }" clearable size="small" style="width: 100%" v-model="scope.row.starttime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="寮�濮嬫棩鏈�" @blur="getallowance(scope.row)">
</el-date-picker>
</template>
</el-table-column>
@@ -320,8 +320,8 @@
);
}
}
- }" clearable size="small" style="width: 100%" v-model="scope.row.endtime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="缁撴潫鏃ユ湡" @blur="getallowance(scope.row)">
+ }" clearable size="small" style="width: 100%" v-model="scope.row.endtime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="缁撴潫鏃ユ湡" @blur="getallowance(scope.row)">
</el-date-picker>
</template>
</el-table-column>
@@ -548,8 +548,8 @@
</template> </el-table-column><el-table-column prop="paiddate" slot="" label="鎵撴鏃ユ湡" fixed align="center"
width="150">
<template slot-scope="scope">
- <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.paiddate" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鎵撴鏃ユ湡" :disabled="true"
+ <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.paiddate" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鎵撴鏃ユ湡" :disabled="true"
@blur="getallowance(scope.row)">
</el-date-picker>
</template>
@@ -617,7 +617,7 @@
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
- <el-button type="primary" @click="checksubmit" v-if="dialogType == 'edit'">淇� 瀛�</el-button>
+ <el-button type="primary" :loading="checkSubmitLoading" :disabled="checkSubmitLoading" @click="checksubmit" v-if="dialogType == 'edit'">淇� 瀛�</el-button>
<el-button @click="cancel">鍙� 娑�</el-button>
</div>
</el-dialog>
@@ -696,6 +696,7 @@
],
data() {
return {
+ checkSubmitLoading: false,
checkObj: {
flowlevelone: null,
flowconclusion: null,
@@ -846,6 +847,7 @@
},
checksubmit() {
+ if (this.checkSubmitLoading) return;
let checkfundobj = {
flowconclusion: this.checkObj.flowlevelone,
flowcontent: this.checkObj.flowconclusion,
@@ -861,7 +863,9 @@
return;
}
+ this.checkSubmitLoading = true;
checkfund(checkfundobj).then(res => {
+ this.checkSubmitLoading = false;
if (res.code == 200) {
this.reset();
this.open = false;
@@ -869,11 +873,7 @@
this.$modal.msgSuccess("瀹℃牳瀹屾垚!");
} else {
this.open = false;
- if (res.msg) {
- this.$modal.msgError("鎿嶄綔澶辫");
- } else {
- this.$modal.msgError(res.msg);
- }
+ this.$modal.msgError(res.msg || "鎿嶄綔澶辫触");
}
});
},
diff --git a/src/views/project/unitCost/particulars/index.vue b/src/views/project/unitCost/particulars/index.vue
index 9fe76f4..202018c 100644
--- a/src/views/project/unitCost/particulars/index.vue
+++ b/src/views/project/unitCost/particulars/index.vue
@@ -198,8 +198,8 @@
style="width: 100%"
v-model="scope.row.receiveTime"
:disabled="true"
- 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>
@@ -257,8 +257,8 @@
</el-table-column>
<el-table-column prop="amounttime" align="center" label="鏀舵鏃ユ湡" width="200">
<template slot-scope="scope">
- <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.amounttime" type="date"
- value-format="yyyy-MM-dd HH:mm:ss" placeholder="鏀舵鏃ユ湡">
+ <el-date-picker clearable size="small" style="width: 100%" v-model="scope.row.amounttime" type="date" format="yyyy-MM-dd"
+ value-format="yyyy-MM-dd" placeholder="鏀舵鏃ユ湡">
</el-date-picker>
</template>
</el-table-column>
--
Gitblit v1.9.3