diff --git a/src/views/modules/shequzhili/eventOld/cpts/event-info.vue b/src/views/modules/shequzhili/eventOld/cpts/event-info.vue
index bd47b311b..35279cf92 100644
--- a/src/views/modules/shequzhili/eventOld/cpts/event-info.vue
+++ b/src/views/modules/shequzhili/eventOld/cpts/event-info.vue
@@ -489,6 +489,7 @@ export default {
this.formData.operationType == "5" ||
this.formData.operationType == "6" ||
this.formData.operationType == "0" ||
+ this.formData.operationType == "7" ||
(this.formData.operationType == 2 && this.demand.demandUserName)
) {
if (Array.isArray(this.formData.gridId) && this.formData.gridId.length) {
@@ -503,10 +504,10 @@ export default {
this.formData.agencyId = "";
this.formData.gridId = "";
}
+ this.formData.openFlag = this.formData.operationType == "7"?1:0
const url = "/governance/icEventOld/add";
- const { formData } = this;
const { data, code, msg } = await requestPost(url, {
- ...formData,
+ ...this.formData,
});
if (code === 0) {
this.$message.success("操作成功!");
@@ -523,12 +524,12 @@ export default {
},
async handelDispose() {
- console.log(this.$refs.ref_processinfo_dispose.okflag);
+ console.log(this.formData.operationType);
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'
- || this.formData.operationType === '6') {
+ || this.formData.operationType === '6' || this.formData.operationType === '7') {
this.project = {};
this.demand = {};
if (this.$refs.ref_processinfo_dispose.replayInfo.okflag) {
@@ -537,6 +538,14 @@ export default {
}
this.replayInfo = this.$refs.ref_processinfo_dispose.replayInfo;
this.replayInfo.icEventId = this.eventId;
+ if(this.formData.operationType === '7'){
+ this.replayInfo.openFlag = 1
+ this.replayInfo.operationType = '7'//不可以openFlag为true时去掉校验吗?
+ this.replayInfo.content = '1111'//不可以openFlag为true时去掉校验吗?
+ }else{
+ this.replayInfo.openFlag = 0
+ }
+
//回复属性赋值
let url = "/governance/icEventOld/reply";
await this.submitDispose(url, this.replayInfo);
diff --git a/src/views/modules/shequzhili/eventOld/cpts/process-form.vue b/src/views/modules/shequzhili/eventOld/cpts/process-form.vue
index 3522bc207..138bc01aa 100644
--- a/src/views/modules/shequzhili/eventOld/cpts/process-form.vue
+++ b/src/views/modules/shequzhili/eventOld/cpts/process-form.vue
@@ -11,6 +11,7 @@
指派
完成并回复
转服务
+ 公开讨论
@@ -175,9 +176,9 @@ export default {
this.replayInfo = this.$refs.ref_process_form_replay_end.formData
this.okflag = true
}
- } else if(this.operationType === '4') {
+ } else if(this.operationType === '4' || this.operationType === '7') {
this.okflag = true
- }else {
+ }else{
return false
}
},