From ce768c1a838d7b103bdda3f8af897d1802af33cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Thu, 11 Jul 2024 16:53:12 +0800 Subject: [PATCH] 1 --- .../communityParty/activity/eventDetails.vue | 2 +- .../shequzhili/eventOld/cpts/event-info.vue | 7 +------ .../shequzhili/eventOld/cpts/process-form.vue | 4 ---- .../modules/shequzhili/eventOld/eventList.vue | 19 +++++-------------- 4 files changed, 7 insertions(+), 25 deletions(-) diff --git a/src/views/modules/communityParty/activity/eventDetails.vue b/src/views/modules/communityParty/activity/eventDetails.vue index 8a4608523..d2337b8da 100644 --- a/src/views/modules/communityParty/activity/eventDetails.vue +++ b/src/views/modules/communityParty/activity/eventDetails.vue @@ -92,7 +92,7 @@ -
+
报名名单
diff --git a/src/views/modules/shequzhili/eventOld/cpts/event-info.vue b/src/views/modules/shequzhili/eventOld/cpts/event-info.vue index 0e9c29939..06d5258d2 100644 --- a/src/views/modules/shequzhili/eventOld/cpts/event-info.vue +++ b/src/views/modules/shequzhili/eventOld/cpts/event-info.vue @@ -529,11 +529,7 @@ export default { }, async handelDispose() { - console.log(this.formData.operationType); - console.log(this.formData.openFlag); - this.$refs.ref_processinfo_dispose.getProcessInfo(); - console.log(this.$refs.ref_processinfo_add.formData.openFlag); - this.openFlag=this.$refs.ref_processinfo_add.formData.openFlag; + this.$refs.ref_processinfo_dispose.getProcessInfo(); if (this.$refs.ref_processinfo_dispose.okflag) { this.formData.operationType = this.$refs.ref_processinfo_dispose.operationType; if (this.formData.operationType === "0" || this.formData.operationType === '5' @@ -591,7 +587,6 @@ export default { } }, async submitDispose(url, params) { - params.openFlag=this.openFlag=this.$refs.ref_processinfo_add.formData.openFlag; console.log(params); const { data, code, msg } = await requestPost(url, { ...params, diff --git a/src/views/modules/shequzhili/eventOld/cpts/process-form.vue b/src/views/modules/shequzhili/eventOld/cpts/process-form.vue index 099566c26..634d43b39 100644 --- a/src/views/modules/shequzhili/eventOld/cpts/process-form.vue +++ b/src/views/modules/shequzhili/eventOld/cpts/process-form.vue @@ -13,10 +13,6 @@ 转服务 - - -
去评价 查看 删除 - {{scope.row.openFlag === 0 ? '开启表决' : '关闭表决'}} - - + 开启表决 @@ -643,23 +641,16 @@ export default { this.getTableData(); }, async handleVote(row){ - const url = "/governance/icEventOld/updateSpecialColumn"; + const url = "/governance/icEventOld/reply"; let params = { - + conten:row.eventContent, icEventId:row.icEventId, openFlag:row.openFlag==1?0:1, - + operationType:"operationType" } const { data, code, msg } = await requestPost(url, params); - - if (code === 0) { - this.$message.success("操作成功!"); - this.getTableData(); - } else { - this.$message.error("操作失败!"); - } - + console.log(data); }, async handleDel(rowData) { let message = "确认删除?";