From 2bf3fda0cd085d5e6af9b55471701e44768d26a9 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期三, 20 十二月 2023 15:47:07 +0800
Subject: [PATCH] yxh:修改了银行账户管理
---
src/views/project/donationdetails/index.vue | 228 +++++++++++++++++++++++++++++++-------------------------
1 files changed, 127 insertions(+), 101 deletions(-)
diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue
index c363abf..2c1b3b8 100644
--- a/src/views/project/donationdetails/index.vue
+++ b/src/views/project/donationdetails/index.vue
@@ -171,32 +171,49 @@
"
>
<el-row style="margin-top: 10px">
- <el-col :span="8">
+ <el-col :span="6">
<el-form-item label="鎹愮尞缂栧彿" prop="donorno">
<el-input v-model="form.donorno" disabled />
</el-form-item>
</el-col>
- <el-col :span="8">
- <el-form-item
- align="left"
- label="鍖荤枟鏈烘瀯"
- prop="treatmenthospitalno"
- >
- <org-selecter
- ref="addOrgSelect"
- :org-type="'3'"
- v-model="form.treatmenthospitalno"
- />
+ <el-col :span="6">
+ <el-form-item label="鎶ュ憡浜�" prop="reporterno">
+ <el-select
+ ref="getReportname"
+ v-model="form.reporterno"
+ placeholder="璇烽�夋嫨"
+ >
+ <el-option
+ v-for="item in reporters"
+ :key="item.reportNo"
+ :label="item.reportName"
+ :value="item.reportNo"
+ >
+ </el-option>
+ </el-select>
</el-form-item>
</el-col>
- <el-col :span="8">
- <el-form-item label="绉戝" prop="treatmentdeptno">
+ <el-col :span="6">
+ <el-form-item label="鑱旂郴鐢佃瘽" prop="reporterphone">
<el-input
- v-model="form.treatmentdeptname"
- placeholder="璇疯緭鍏ョ瀹�"
+ v-model="form.reporterphone"
+ placeholder="璇疯緭鍏ヨ仈绯荤數璇�"
/>
</el-form-item>
</el-col>
+ <el-col :span="6">
+ <el-form-item label="鎶ュ憡鏃堕棿" align="left" prop="reporttime">
+ <el-date-picker
+ clearable
+ size="small"
+ v-model="form.reporttime"
+ type="datetime"
+ value-format="yyyy-MM-dd HH:mm:ss"
+ placeholder="閫夋嫨鎶ュ憡鏃堕棿"
+ >
+ </el-date-picker>
+ </el-form-item>
+ </el-col>
</el-row>
<el-row>
<el-col :span="6">
@@ -204,39 +221,6 @@
<el-input v-model="form.name" placeholder="蹇呭~椤�" />
</el-form-item>
</el-col>
- <el-col :span="6">
- <el-form-item label="鎬у埆" prop="sex">
- <el-select v-model="form.sex" placeholder="璇疯緭鍏ユ�у埆">
- <el-option
- v-for="dict in dict.type.sys_user_sex"
- :key="dict.label"
- :label="dict.label"
- :value="parseInt(dict.value)"
- ></el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="6">
- <el-form-item label="骞撮緞" prop="age">
- <el-input v-model="form.age" placeholder="璇疯緭鍏ュ勾榫�" />
- </el-form-item>
- </el-col>
- <el-col :span="6">
- <el-form-item label="鍑虹敓鏃ユ湡" prop="birthday">
- <el-date-picker
- clearable
- size="small"
- v-model="form.birthday"
- type="date"
- style="width: 174px"
- value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="閫夋嫨鍑虹敓鏃ユ湡"
- >
- </el-date-picker>
- </el-form-item>
- </el-col>
- </el-row>
- <el-row>
<el-col :span="6">
<el-form-item label="璇佷欢绫诲瀷" prop="idcardtype">
<el-select
@@ -255,7 +239,6 @@
<el-col :span="6">
<el-form-item label="璇佷欢鍙风爜" prop="idcardno">
<el-input
- style="width: 174px"
ref="updateBSvalue"
class="sfzcode"
v-model="form.idcardno"
@@ -263,46 +246,58 @@
@blur="updateMessage"
/>
</el-form-item>
- </el-col>
- </el-row>
- <el-row>
- <el-col :span="8">
- <el-form-item label="鎶ュ憡浜�" prop="reporterno">
- <el-select
- ref="getReportname"
- v-model="form.reporterno"
- placeholder="璇烽�夋嫨"
- >
- <el-option
- v-for="item in reporters"
- :key="item.reportNo"
- :label="item.reportName"
- :value="item.reportNo"
- >
- </el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="8">
- <el-form-item label="鑱旂郴鐢佃瘽" prop="reporterphone">
- <el-input
- v-model="form.reporterphone"
- placeholder="璇疯緭鍏ヨ仈绯荤數璇�"
- />
- </el-form-item>
- </el-col>
- <el-col :span="8">
- <el-form-item label="鎶ュ憡鏃堕棿" align="left" prop="reporttime">
+ </el-col>
+ <el-col :span="6">
+ <el-form-item label="鍑虹敓鏃ユ湡" prop="birthday">
<el-date-picker
clearable
size="small"
- style="width: 190px"
- v-model="form.reporttime"
- type="datetime"
+ v-model="form.birthday"
+ type="date"
value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="閫夋嫨鎶ュ憡鏃堕棿"
+ placeholder="閫夋嫨鍑虹敓鏃ユ湡"
>
</el-date-picker>
+ </el-form-item>
+ </el-col>
+ </el-row>
+ <el-row>
+ <el-col :span="6">
+ <el-form-item label="鎬у埆" prop="sex">
+ <el-select v-model="form.sex" placeholder="璇疯緭鍏ユ�у埆">
+ <el-option
+ v-for="dict in dict.type.sys_user_sex"
+ :key="dict.label"
+ :label="dict.label"
+ :value="parseInt(dict.value)"
+ ></el-option>
+ </el-select>
+ </el-form-item>
+ </el-col>
+ <el-col :span="6">
+ <el-form-item label="骞撮緞" prop="age">
+ <el-input v-model="form.age" placeholder="璇疯緭鍏ュ勾榫�" />
+ </el-form-item>
+ </el-col>
+ <el-col :span="6">
+ <el-form-item
+ align="left"
+ label="鍖荤枟鏈烘瀯"
+ prop="treatmenthospitalno"
+ >
+ <org-selecter
+ ref="addOrgSelect"
+ :org-type="'3'"
+ v-model="form.treatmenthospitalno"
+ />
+ </el-form-item>
+ </el-col>
+ <el-col :span="6">
+ <el-form-item label="绉戝" prop="treatmentdeptno">
+ <el-input
+ v-model="form.treatmentdeptname"
+ placeholder="璇疯緭鍏ョ瀹�"
+ />
</el-form-item>
</el-col>
</el-row>
@@ -727,18 +722,18 @@
v-show="!showTerminationBtn"
type="primary"
@click="submitForm"
- >淇濆瓨鎹愮尞鑰呬俊鎭�</el-button
+ >淇濆瓨</el-button
>
<el-button
:type="showTerminationBtn == 0 ? 'warning' : 'success'"
@click="Terminationcase"
- >{{ showTerminationBtn == 0 ? "缁堟妗堜緥" : "鎭㈠妗堜緥" }}</el-button
+ >{{ showTerminationBtn == 0 ? "缁堟" : "鎭㈠" }}</el-button
>
<el-button
v-show="Reportforreview"
type="primary"
@click="Reportforreview"
- >涓婃姤瀹℃牳</el-button
+ >鎻愪氦</el-button
>
<!-- <el-button @click="cancel">鍙� 娑�</el-button> -->
@@ -953,12 +948,12 @@
v-show="!showTerminationBtn"
type="primary"
@click="Savethedetails"
- >淇濆瓨璇勪及淇℃伅</el-button
+ >淇濆瓨</el-button
>
<el-button
:type="showTerminationBtn == 0 ? 'warning' : 'success'"
@click="Terminationcase"
- >{{ showTerminationBtn == 0 ? "缁堟妗堜緥" : "鎭㈠妗堜緥" }}</el-button
+ >{{ showTerminationBtn == 0 ? "缁堟" : "鎭㈠" }}</el-button
>
<!-- <el-button
v-show="makeastepforward"
@@ -978,6 +973,13 @@
label-width="100px"
label-position="right"
>
+ <el-form-item label-width="100px" label="閫夋嫨鍣ㄥ畼">
+ <el-checkbox-group v-model="organdecision">
+ <el-checkbox v-for="item in organlist" :label="item">
+ {{ item }}
+ </el-checkbox>
+ </el-checkbox-group>
+ </el-form-item>
<el-row>
<el-col :span="6">
<el-form-item label="瀛愬コ鏁伴噺" prop="kinshipChildrennum">
@@ -1153,12 +1155,12 @@
v-show="!showTerminationBtn"
type="primary"
@click="Savethedetails"
- >淇濆瓨鎹愮尞淇℃伅</el-button
+ >淇濆瓨</el-button
>
<el-button
:type="showTerminationBtn == 0 ? 'warning' : 'success'"
@click="Terminationcase"
- >{{ showTerminationBtn == 0 ? "缁堟妗堜緥" : "鎭㈠妗堜緥" }}</el-button
+ >{{ showTerminationBtn == 0 ? "缁堟" : "鎭㈠" }}</el-button
>
<!-- <el-button
v-show="makeastepforward"
@@ -1221,12 +1223,12 @@
v-show="!showTerminationBtn"
type="primary"
@click="Savethedetails"
- >淇濆瓨浼︾悊淇℃伅</el-button
+ >淇濆瓨</el-button
>
<el-button
:type="showTerminationBtn == 0 ? 'warning' : 'success'"
@click="Terminationcase"
- >{{ showTerminationBtn == 0 ? "缁堟妗堜緥" : "鎭㈠妗堜緥" }}</el-button
+ >{{ showTerminationBtn == 0 ? "缁堟" : "鎭㈠" }}</el-button
>
<!-- <el-button
v-show="makeastepforward"
@@ -1599,12 +1601,12 @@
v-show="!showTerminationBtn"
type="primary"
@click="Savethedetails"
- >淇濆瓨鍣ㄥ畼鍒嗛厤淇℃伅</el-button
+ >淇濆瓨</el-button
>
<el-button
:type="showTerminationBtn == 0 ? 'warning' : 'success'"
@click="Terminationcase"
- >{{ showTerminationBtn == 0 ? "缁堟妗堜緥" : "鎭㈠妗堜緥" }}</el-button
+ >{{ showTerminationBtn == 0 ? "缁堟" : "鎭㈠" }}</el-button
>
<!-- <el-button
v-show="makeastepforward"
@@ -1954,12 +1956,12 @@
v-show="!showTerminationBtn"
type="primary"
@click="Savethedetails"
- >淇濆瓨瑙佽瘉淇℃伅</el-button
+ >淇濆瓨</el-button
>
<el-button
:type="showTerminationBtn == 0 ? 'warning' : 'success'"
@click="Terminationcase"
- >{{ showTerminationBtn == 0 ? "缁堟妗堜緥" : "鎭㈠妗堜緥" }}</el-button
+ >{{ showTerminationBtn == 0 ? "缁堟" : "鎭㈠" }}</el-button
>
<!-- <el-button
v-show="makeastepforward"
@@ -2076,18 +2078,18 @@
v-show="!showTerminationBtn"
type="primary"
@click="Savethedetails"
- >瀹屾垚鐧昏</el-button
+ >淇濆瓨</el-button
>
<el-button
:type="showTerminationBtn == 0 ? 'warning' : 'success'"
@click="Terminationcase"
- >{{ showTerminationBtn == 0 ? "缁堟妗堜緥" : "鎭㈠妗堜緥" }}</el-button
+ >{{ showTerminationBtn == 0 ? "缁堟" : "鎭㈠" }}</el-button
>
<el-button
v-show="Reportforreview"
type="primary"
@click="Reportforreview"
- >涓婃姤瀹℃牳</el-button
+ >鎻愪氦</el-button
>
<!-- <el-button @click="cancel">鍙� 娑�</el-button> -->
</div>
@@ -2325,11 +2327,30 @@
infoid: null
},
affirmform: {
- infoid: null
+ infoid: null,
+ organdecision: []
},
+ organdecision: [],
ethicform: {
infoid: null
},
+ organlist: [
+ "蹇冭剰",
+ "鍏ㄨ倽",
+ "宸﹁倽",
+ "鍙宠倽",
+ "宸﹁偩",
+ "鍙宠偩",
+ "鍏ㄨ偩",
+ "宸﹁偤",
+ "鍙宠偤",
+ "灏忚偁",
+ "鑵轰綋",
+ "閬椾綋",
+ "宸︾溂瑙掕啘",
+ "鍙崇溂瑙掕啘",
+ "鍏朵粬"
+ ],
allocationstatuslist: [
{ value: 0, label: "鏈垎閰�" },
{ value: 1, label: "宸插垎閰�" },
@@ -2606,6 +2627,9 @@
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(",");
+ }
if (!this.affirmform) {
this.affirmform = {};
this.affirmform.residenceprovincename = "";
@@ -2830,6 +2854,7 @@
});
} else if (this.actives == 2) {
this.affirmform.infoid = this.infoid;
+ this.affirmform.organdecision = this.organdecision.join(",");
this.$refs["affirmform"].validate(valid => {
if (valid) {
if (this.affirmform.id != null) {
@@ -2927,6 +2952,7 @@
this.$modal.msgSuccess("鑾峰彇瑙佽瘉淇℃伅鏂板鎴愬姛");
});
}
+ this.form.donationcategory=this.witnessform.donationcategory;
this.Processvalidation();
}
});
--
Gitblit v1.9.3