From 43f9c1d6e61bad0a5687c4ce2f49a7cee1d2b2e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=AE=8F=E6=9D=B0?= <1943105267@qq.com> Date: Mon, 9 Oct 2023 13:59:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 +- src/views/volunteer/gxhzs/gxhzsff/index.vue | 8 +++- .../hdtj/components/detailDialog.vue | 47 ++++++++++--------- src/views/volunteer/yzczs/myycxhd/index.vue | 8 +++- src/views/volunteer/yzczs/myycxzs/index.vue | 8 +++- src/views/volunteer/yzczs/ycxzsff/index.vue | 10 +++- 6 files changed, 55 insertions(+), 30 deletions(-) diff --git a/.env.development b/.env.development index bfcf387..17d2ef8 100644 --- a/.env.development +++ b/.env.development @@ -6,8 +6,8 @@ ENV = 'development' # 苏州园区志愿服务活动区块链平台/开发环境 # VUE_APP_BASE_API = 'https://vue.ruoyi.vip/prod-api' -# VUE_APP_BASE_API = 'http://39.101.188.84:9034' -VUE_APP_BASE_API = 'http:///192.168.0.121:9034' +VUE_APP_BASE_API = 'http://39.101.188.84:9034' +# VUE_APP_BASE_API = 'http:///192.168.0.121:9034' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/views/volunteer/gxhzs/gxhzsff/index.vue b/src/views/volunteer/gxhzs/gxhzsff/index.vue index f2dadfa..bfe92e9 100644 --- a/src/views/volunteer/gxhzs/gxhzsff/index.vue +++ b/src/views/volunteer/gxhzs/gxhzsff/index.vue @@ -24,7 +24,13 @@ 查看
+ > 邀请
+
+ 已邀请 +
@@ -428,30 +431,28 @@ export default { this.$modal .confirm("是否确认邀请该人参加活动?") .then(() => { - yaoqingAdd(e.id).then( - () => { - this.$modal.msgSuccess("邀请成功"); + yaoqingAdd(e.id).then(() => { + this.$modal.msgSuccess("邀请成功"); - activityGet(this.e).then((res) => { - this.detailData = res.data; - for (let key1 in this.personParams) { - for (let key2 in this.detailData) { - if (key1 == key2) { - this.personParams[key1] = this.detailData[key2]; - } + activityGet(this.e).then((res) => { + this.detailData = res.data; + for (let key1 in this.personParams) { + for (let key2 in this.detailData) { + if (key1 == key2) { + this.personParams[key1] = this.detailData[key2]; } } - this.detailDatalist = this.labelgenerate(this.detailData); - if (this.personParams.sexRange == "") { - this.personParams.sexRange = "男,女"; - } - this.participationParams.activityId = this.detailData.id; - this.getPersonData(); - this.getParticipationData(); - this.dialogVisible = true; - }); - } - ); + } + this.detailDatalist = this.labelgenerate(this.detailData); + if (this.personParams.sexRange == "") { + this.personParams.sexRange = "男,女"; + } + this.participationParams.activityId = this.detailData.id; + this.getPersonData(); + this.getParticipationData(); + this.dialogVisible = true; + }); + }); }) .catch(() => {}); }, diff --git a/src/views/volunteer/yzczs/myycxhd/index.vue b/src/views/volunteer/yzczs/myycxhd/index.vue index 88cf2c5..94cb03c 100644 --- a/src/views/volunteer/yzczs/myycxhd/index.vue +++ b/src/views/volunteer/yzczs/myycxhd/index.vue @@ -26,7 +26,13 @@
姓名:
-
{{ form.userName }}
+
{{ form.consigneeName }}
手机号: