Browse Source

回复接口返回网格Id

feature
mk 1 year ago
parent
commit
4059b17aba
  1. 2
      src/views/modules/shequzhili/eventOld/cpts/event-detail.vue
  2. 7
      src/views/modules/shequzhili/eventOld/cpts/event-info.vue

2
src/views/modules/shequzhili/eventOld/cpts/event-detail.vue

@ -12,7 +12,7 @@
<template v-if="!info.gridName"> <template v-if="!info.gridName">
<el-select v-model.trim="info.gridId" placeholder="请选择" clearable class="cell-width-1"> <el-select v-model.trim="info.gridId" placeholder="请选择" clearable class="cell-width-1">
<el-option v-for="item in gridList" :key="item.value" :label="item.label" <el-option v-for="item in gridList" :key="item.value" :label="item.label"
:value="item.value"> :value="item.value" @click.native="$emit('handelCLickGridId',item)">
</el-option> </el-option>
</el-select> </el-select>
</template> </template>

7
src/views/modules/shequzhili/eventOld/cpts/event-info.vue

@ -40,7 +40,7 @@
<div :class="['g-total', { 'g-left': projectProcess.length > 0, 'g-left-top40': pageType == 'info' }]"> <div :class="['g-total', { 'g-left': projectProcess.length > 0, 'g-left-top40': pageType == 'info' }]">
<event-detail ref="ref_detail" :type="pageType" :eventId="eventId" :eventDetailData="eventDetailData" <event-detail ref="ref_detail" :type="pageType" :eventId="eventId" :eventDetailData="eventDetailData"
:source="source" @handleToProject="handleToProject" @handleToDemand="handleToDemand" :source="source" @handleToProject="handleToProject" @handleToDemand="handleToDemand"
@handleToIssue="handleToIssue" @handleClose="handleClose"></event-detail> @handleToIssue="handleToIssue" @handleClose="handleClose" @handelCLickGridId="handelCLickGridId"></event-detail>
<div v-if="!eventDetailData.operationId && pageTypeCopy == 'dispose'" class="process-form"> <div v-if="!eventDetailData.operationId && pageTypeCopy == 'dispose'" class="process-form">
<el-card :class="{ 'box-card': source === 'visiual' }"> <el-card :class="{ 'box-card': source === 'visiual' }">
@ -523,7 +523,9 @@ export default {
this.$message.error("请选择处理方式!"); this.$message.error("请选择处理方式!");
} }
}, },
handelCLickGridId(val){
this.grid = val.value;
},
async handelDispose() { async handelDispose() {
this.$refs.ref_processinfo_dispose.getProcessInfo(); this.$refs.ref_processinfo_dispose.getProcessInfo();
if (this.$refs.ref_processinfo_dispose.okflag) { if (this.$refs.ref_processinfo_dispose.okflag) {
@ -540,6 +542,7 @@ export default {
this.replayInfo.icEventId = this.eventId; this.replayInfo.icEventId = this.eventId;
this.replayInfo.openFlag = null; this.replayInfo.openFlag = null;
this.replayInfo.openId = this.eventDetailCopy.openId; this.replayInfo.openId = this.eventDetailCopy.openId;
this.replayInfo.grid = this.grid;
// //
let url = "/governance/icEventOld/reply"; let url = "/governance/icEventOld/reply";
await this.submitDispose(url, this.replayInfo); await this.submitDispose(url, this.replayInfo);

Loading…
Cancel
Save