From 05c3df33bd02a611c4930f38f3e6f5ca034e1c38 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 14 四月 2026 09:36:51 +0800
Subject: [PATCH] 省人民提交
---
/dev/null | 0
src/views/project/donationdetails/index.vue | 63 ++++++++++++++++++-------------
vue.config.js | 2
3 files changed, 37 insertions(+), 28 deletions(-)
diff --git a/SRMopo.zip b/SRMopo.zip
deleted file mode 100644
index 68753e8..0000000
--- a/SRMopo.zip
+++ /dev/null
Binary files differ
diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue
index 6b894dc..42ecc25 100644
--- a/src/views/project/donationdetails/index.vue
+++ b/src/views/project/donationdetails/index.vue
@@ -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 = "浼︾悊瀹℃煡";
diff --git a/vue.config.js b/vue.config.js
index 51f078a..838abd4 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -34,7 +34,7 @@
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target:`http://localhost:8080`,
- // target:`http://192.168.100.10:8080`,
+ // target:`http://192.168.100.10:8081`,
// target:`http://192.168.100.137:8080`,
// target: `https://slb.hospitalstar.com:9093`,
changeOrigin: true,
--
Gitblit v1.9.3