diff --git a/src/views/modules/shequzhili/eventOld/cpts/event-info.vue b/src/views/modules/shequzhili/eventOld/cpts/event-info.vue index bd47b311b..4998887f0 100644 --- a/src/views/modules/shequzhili/eventOld/cpts/event-info.vue +++ b/src/views/modules/shequzhili/eventOld/cpts/event-info.vue @@ -503,6 +503,7 @@ export default { this.formData.agencyId = ""; this.formData.gridId = ""; } + this.formData.openFlag = null const url = "/governance/icEventOld/add"; const { formData } = this; const { data, code, msg } = await requestPost(url, { @@ -537,6 +538,7 @@ export default { } this.replayInfo = this.$refs.ref_processinfo_dispose.replayInfo; this.replayInfo.icEventId = this.eventId; + this.replayInfo.openFlag = null //回复属性赋值 let url = "/governance/icEventOld/reply"; await this.submitDispose(url, this.replayInfo); @@ -569,10 +571,27 @@ export default { } else { this.$message.info("请选择一种处理方式"); } + if(this.formData.operationType){ + await this.sendProcessNotificationMsg() + } } else { return false; } }, + async sendProcessNotificationMsg(){ + let parm = { + operationType:this.eventDetailData.operationType, + openId:this.eventDetailData.openId, + eventContent:this.eventDetailData.eventContent, + latestOperatedTime:this.eventDetailData.latestOperatedTime + } + let {data,code,msg} = await requestPost('/actual/base/communityPublicity/sendProcessNotificationMsg',parm) + if(code === 0){ + console.log(data,'sssssssssssssssssssssssssssss'); + }else{ + console.log(msg); + } + }, async submitDispose(url, 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 3522bc207..9330a1cc2 100644 --- a/src/views/modules/shequzhili/eventOld/cpts/process-form.vue +++ b/src/views/modules/shequzhili/eventOld/cpts/process-form.vue @@ -50,6 +50,11 @@ let loading; // 加载动画 export default { data() { return { + formData: { + operationType: '', + openFlag:null, + }, + casOptions: [], iscascaderShow: 0, selCategoryArray: [], diff --git a/src/views/modules/shequzhili/eventOld/eventList.vue b/src/views/modules/shequzhili/eventOld/eventList.vue index e748133cc..f8529504f 100644 --- a/src/views/modules/shequzhili/eventOld/eventList.vue +++ b/src/views/modules/shequzhili/eventOld/eventList.vue @@ -196,7 +196,7 @@ - + @@ -362,6 +363,7 @@ export default { status: "", firstIdList: [], secondIdList: [], + openFlag:null }, cateOptions: [], optionProps: { @@ -604,7 +606,24 @@ export default { this.handleClose(); this.getTableData(); }, + async handleVote(row){ + const url = "/governance/icEventOld/updateSpecialColumn"; + let params = { + icEventId:row.icEventId, + openFlag:row.openFlag==1?0:1, + } + + const { data, code, msg } = await requestPost(url, params); + + if (code === 0) { + this.$message.success("操作成功!"); + this.getTableData(); + } else { + this.$message.error("操作失败!"); + } + + }, async handleDel(rowData) { let message = "确认删除?"; this.$confirm(message, "提示", {