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/relativesconfirmation/index.vue | 186 ++++++++++++++++++++++-----------------------
1 files changed, 91 insertions(+), 95 deletions(-)
diff --git a/src/views/project/relativesconfirmation/index.vue b/src/views/project/relativesconfirmation/index.vue
index 7230d8b..842b251 100644
--- a/src/views/project/relativesconfirmation/index.vue
+++ b/src/views/project/relativesconfirmation/index.vue
@@ -172,14 +172,7 @@
fixed="right"
>
<template slot-scope="scope">
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handletermination(scope.row)"
- v-hasPermi="['project:donatebaseinfo:edit']"
- >缁堟</el-button
- >
+
<el-button
size="mini"
type="text"
@@ -1161,7 +1154,7 @@
this.getTimeList();
this.getList();
},
- mounted() {
+ mounted() {
this.LoadReportList();
// if(this.tempRecordState != undefined && this.tempRecordState != null){
@@ -1267,10 +1260,7 @@
};
this.loading = true;
this.curCase = row;
- debugger;
- console.log("32323232323", searchparam, row);
listRelativesconfirmation(searchparam).then((response) => {
- console.log("wdadwadawdawd", response);
this.loading = false;
if (response.code == 200) {
if (response.rows.length == 0) {
@@ -1583,90 +1573,97 @@
},
/** 瀹跺睘纭鎿嶄綔 */
handleAdd(row) {
- console.log("ppppppp", row);
- this.showSaveBtn = false;
- this.flowname = "瀹跺睘纭鐧昏";
- this.annexno = "";
- //鏌ヨ鏄惁瀛樺湪纭鐧昏璁板綍
- let searchparam = {
- infoid: row.id,
- };
- this.loading = true;
- this.curCase = {
- id: row.id,
- recordstate: null,
- donorno: row.donorno,
- };
- console.log("32323232323", searchparam);
- listRelativesconfirmation(searchparam).then((response) => {
- console.log("wdadwadawdawd", response);
- this.loading = false;
- if (response.code == 200) {
- if (response.rows.length == 0) {
- this.form.infoid = row.id;
- this.form.donorno = row.donorno;
- this.form.doname = row.name;
- this.form.dosex = row.sex;
- this.form.dobirthday = row.birthday;
- this.form.donationality = row.nationality;
- this.form.doeducation = row.education;
- this.form.dooccupation = row.occupation;
- this.form.donation = row.nation;
- this.form.doidcardtype = row.idcardtype;
- this.form.doidcardno = row.idcardno;
- this.form.donativeplace = row.nativeplace;
- this.open = true;
- this.title = "鏂板浜轰綋鍣ㄥ畼鎹愮尞浜插睘纭鐧昏琛�";
- this.$nextTick(function () {
- this.$refs.confirmannex.getAnnexList();
- });
- } else if (response.rows.length == 1) {
- this.form = response.rows[0];
- console.log("2222222", this.form);
- console.log("缂栬緫瀹跺睘纭form", this.form);
- this.form.donorno = row.donorno;
- this.form.doname = row.name;
- this.form.dosex = row.sex;
- // 鍑虹敓鏃ユ湡
- this.form.dobirthday = row.birthday;
- // 姘戞棌
- this.form.donationality = row.nationality;
- // 瀛﹀巻
- this.form.doeducation = row.education;
- // 鑱屼笟
- this.form.dooccupation = row.occupation;
- this.form.donation = row.nation;
- this.form.doidcardtype = row.idcardtype;
- this.form.doidcardno = row.idcardno;
- this.form.donativeplace = row.nativeplace;
- // this.form.donativeplace =
- // row.residenceProvinceName +
- // row.residenceCityName +
- // row.residenceTownName;
- this.defultAddresss.sheng = this.form.residenceprovincename;
- this.defultAddresss.shi = this.form.residencecityname;
- this.defultAddresss.qu = this.form.residencetownname;
- console.log("9999999", this.form.organdecision);
- if (this.form.kinship) {
- this.form.kinship = this.form.kinship.split(",");
- }
- if (this.form.organdecision) {
- this.form.organdecision = this.form.organdecision.split(",");
- }
- this.open = true;
- this.title = "淇敼浜轰綋鍣ㄥ畼鎹愮尞浜插睘纭鐧昏琛�";
- this.$nextTick(function () {
- this.$refs.confirmannex.getAnnexList();
- });
- } else {
- this.$modal.msgError(
- "鏌ヨ鏄惁瀛樺湪纭鐧昏璁板綍澶辫触" +
- JSON.stringify(JSON.stringify(response))
- );
- }
+ this.$router.push({
+ path: "/organ/donationdetails/",
+ query: {
+ id: row.id,
+ organType: "edit",
}
});
- this.reset();
+ // console.log("ppppppp", row);
+ // this.showSaveBtn = false;
+ // this.flowname = "瀹跺睘纭鐧昏";
+ // this.annexno = "";
+ // //鏌ヨ鏄惁瀛樺湪纭鐧昏璁板綍
+ // let searchparam = {
+ // infoid: row.id,
+ // };
+ // this.loading = true;
+ // this.curCase = {
+ // id: row.id,
+ // recordstate: null,
+ // donorno: row.donorno,
+ // };
+ // console.log("32323232323", searchparam);
+ // listRelativesconfirmation(searchparam).then((response) => {
+ // console.log("wdadwadawdawd", response);
+ // this.loading = false;
+ // if (response.code == 200) {
+ // if (response.rows.length == 0) {
+ // this.form.infoid = row.id;
+ // this.form.donorno = row.donorno;
+ // this.form.doname = row.name;
+ // this.form.dosex = row.sex;
+ // this.form.dobirthday = row.birthday;
+ // this.form.donationality = row.nationality;
+ // this.form.doeducation = row.education;
+ // this.form.dooccupation = row.occupation;
+ // this.form.donation = row.nation;
+ // this.form.doidcardtype = row.idcardtype;
+ // this.form.doidcardno = row.idcardno;
+ // this.form.donativeplace = row.nativeplace;
+ // this.open = true;
+ // this.title = "鏂板浜轰綋鍣ㄥ畼鎹愮尞浜插睘纭鐧昏琛�";
+ // this.$nextTick(function () {
+ // this.$refs.confirmannex.getAnnexList();
+ // });
+ // } else if (response.rows.length == 1) {
+ // this.form = response.rows[0];
+ // console.log("2222222", this.form);
+ // console.log("缂栬緫瀹跺睘纭form", this.form);
+ // this.form.donorno = row.donorno;
+ // this.form.doname = row.name;
+ // this.form.dosex = row.sex;
+ // // 鍑虹敓鏃ユ湡
+ // this.form.dobirthday = row.birthday;
+ // // 姘戞棌
+ // this.form.donationality = row.nationality;
+ // // 瀛﹀巻
+ // this.form.doeducation = row.education;
+ // // 鑱屼笟
+ // this.form.dooccupation = row.occupation;
+ // this.form.donation = row.nation;
+ // this.form.doidcardtype = row.idcardtype;
+ // this.form.doidcardno = row.idcardno;
+ // this.form.donativeplace = row.nativeplace;
+ // // this.form.donativeplace =
+ // // row.residenceProvinceName +
+ // // row.residenceCityName +
+ // // row.residenceTownName;
+ // this.defultAddresss.sheng = this.form.residenceprovincename;
+ // this.defultAddresss.shi = this.form.residencecityname;
+ // this.defultAddresss.qu = this.form.residencetownname;
+ // console.log("9999999", this.form.organdecision);
+ // if (this.form.kinship) {
+ // this.form.kinship = this.form.kinship.split(",");
+ // }
+ // if (this.form.organdecision) {
+ // this.form.organdecision = this.form.organdecision.split(",");
+ // }
+ // this.open = true;
+ // this.title = "淇敼浜轰綋鍣ㄥ畼鎹愮尞浜插睘纭鐧昏琛�";
+ // this.$nextTick(function () {
+ // this.$refs.confirmannex.getAnnexList();
+ // });
+ // } else {
+ // this.$modal.msgError(
+ // "鏌ヨ鏄惁瀛樺湪纭鐧昏璁板綍澶辫触" +
+ // JSON.stringify(JSON.stringify(response))
+ // );
+ // }
+ // }
+ // });
+ // this.reset();
},
/** 鎻愪氦鎸夐挳 */
submitForm() {
@@ -1925,7 +1922,6 @@
const id = row.id || this.ids;
downloadconfirmationinfo(id).then((response) => {
- debugger;
var fileUrl = response;
//鑾峰彇褰撳墠缃戝潃
var urlBase = process.env.VUE_APP_BASE_API;
--
Gitblit v1.9.3