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/donatefinish/index.vue | 115 ++++++++++++++++++++++++++++++---------------------------
1 files changed, 60 insertions(+), 55 deletions(-)
diff --git a/src/views/project/donatefinish/index.vue b/src/views/project/donatefinish/index.vue
index 0b5171b..08e21c7 100644
--- a/src/views/project/donatefinish/index.vue
+++ b/src/views/project/donatefinish/index.vue
@@ -222,7 +222,7 @@
size="mini"
type="text"
icon="el-icon-edit"
- @click="handleUpdate(scope.row)"
+ @click="handleAdd(scope.row)"
v-hasPermi="['project:donatebaseinfo:edit']"
>淇敼</el-button
>
@@ -319,7 +319,7 @@
label="鍣ㄥ畼鍚嶇О"
align="center"
prop="organname"
- width="80"
+ width="100"
/>
<el-table-column
label="绉绘鍖婚櫌锛堟帴鏀跺崟浣嶏級"
@@ -1053,63 +1053,70 @@
/** 鏂板鎸夐挳鎿嶄綔 */
handleAdd(row) {
- this.reset();
-
- //璇诲彇妗堜緥鍩烘湰淇℃伅
- //this.curCase = row;
- this.curCase = {
- id: row.id,
- recordstate: null,
- donorno: row.donorno,
- };
- this.form.coordinateduserido = row.coordinateduserido;
- this.form.coordinateduseridt = row.coordinateduseridt;
- this.form.coordinatedusernameo = row.coordinatedusernameo;
- this.form.coordinatedusernamet = row.coordinatedusernamet;
- this.form.responsibleuserid = row.responsibleuserid;
- this.form.responsibleusername = row.responsibleusername;
-
- this.form.receivingunit = row.receivingunit;
- this.form.responsibleusername = row.responsibleusername;
- this.registerAddresss.sheng = row.residenceprovincename;
- this.registerAddresss.shi = row.residencecityname;
- this.registerAddresss.qu = row.residencetownname;
-
- //鍒ゆ柇鏄惁瀛樺湪涓婃姤璁板綍
- let searchParam = {
- id: row.id,
- };
- listDonatecompletioninfo(searchParam).then((response) => {
- if (response.code == 200 && response.rows.length == 1) {
- this.form = response.rows[0];
- this.form.donateorganList = JSON.parse(this.form.donateorgan);
- this.title = "淇敼鎹愮尞瀹屾垚鐧昏琛�";
- } else {
- this.curdonotor = row;
- this.open = true;
- this.title = "鏂板鎹愮尞瀹屾垚鐧昏琛�";
+ this.$router.push({
+ path: "/organ/donationdetails/",
+ query: {
+ id: row.id,
+ organType: "edit",
}
});
+ // this.reset();
- //鑾峰彇鍣ㄥ畼淇℃伅
- let oraganqueryParam = {
- infoid: row.id,
- };
- listDonateorgan(oraganqueryParam).then((response) => {
- if (response.code == 200) {
- this.tableData = response.rows;
- } else {
- this.$modal.msgError("鑾峰彇鎹愮尞鍣ㄥ畼澶辫触锛�" + response.msg);
- }
- });
+ // //璇诲彇妗堜緥鍩烘湰淇℃伅
+ // //this.curCase = row;
+ // this.curCase = {
+ // id: row.id,
+ // recordstate: null,
+ // donorno: row.donorno,
+ // };
+ // this.form.coordinateduserido = row.coordinateduserido;
+ // this.form.coordinateduseridt = row.coordinateduseridt;
+ // this.form.coordinatedusernameo = row.coordinatedusernameo;
+ // this.form.coordinatedusernamet = row.coordinatedusernamet;
+ // this.form.responsibleuserid = row.responsibleuserid;
+ // this.form.responsibleusername = row.responsibleusername;
- //鑾峰彇闄勪欢淇℃伅
- // this.$nextTick(function () {
- // this.$refs.finishannex.getAnnexList();
+ // this.form.receivingunit = row.receivingunit;
+ // this.form.responsibleusername = row.responsibleusername;
+ // this.registerAddresss.sheng = row.residenceprovincename;
+ // this.registerAddresss.shi = row.residencecityname;
+ // this.registerAddresss.qu = row.residencetownname;
+
+ // //鍒ゆ柇鏄惁瀛樺湪涓婃姤璁板綍
+ // let searchParam = {
+ // id: row.id,
+ // };
+ // listDonatecompletioninfo(searchParam).then((response) => {
+ // if (response.code == 200 && response.rows.length == 1) {
+ // this.form = response.rows[0];
+ // this.form.donateorganList = JSON.parse(this.form.donateorgan);
+ // this.title = "淇敼鎹愮尞瀹屾垚鐧昏琛�";
+ // } else {
+ // this.curdonotor = row;
+ // this.open = true;
+ // this.title = "鏂板鎹愮尞瀹屾垚鐧昏琛�";
+ // }
// });
- this.loading = false;
- this.open = true;
+ // //鑾峰彇鍣ㄥ畼淇℃伅
+ // let oraganqueryParam = {
+ // infoid: row.id,
+ // };
+ // listDonateorgan(oraganqueryParam).then((response) => {
+ // if (response.code == 200) {
+ // this.tableData = response.rows;
+ // } else {
+ // this.$modal.msgError("鑾峰彇鎹愮尞鍣ㄥ畼澶辫触锛�" + response.msg);
+ // }
+ // });
+
+ // //鑾峰彇闄勪欢淇℃伅
+ // // this.$nextTick(function () {
+ // // this.$refs.finishannex.getAnnexList();
+ // // });
+
+ // this.loading = false;
+ // this.open = true;
},
/** 淇敼鎸夐挳鎿嶄綔 */
@@ -1118,7 +1125,6 @@
//鑾峰彇鎹愮尞瀹屾垚鐧昏璁板綍
this.loading = true;
this.reset();
- debugger;
this.curCase.registerAddresss = row.registeraddresss;
this.curCase.donorno = row.donorno;
this.curCase.name = row.name;
@@ -1150,7 +1156,6 @@
// this.GetDonortedList();
});
listnewDonatecompletioninfo(searchParam).then((response) => {
- debugger;
if (response.code == 200 && response.rows.length == 1) {
this.open = true;
this.form = response.rows[0];
--
Gitblit v1.9.3