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">
<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"
:value="item.value">
:value="item.value" @click.native="$emit('handelCLickGridId',item)">
</el-option>
</el-select>
</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' }]">
<event-detail ref="ref_detail" :type="pageType" :eventId="eventId" :eventDetailData="eventDetailData"
: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">
<el-card :class="{ 'box-card': source === 'visiual' }">
@ -523,7 +523,9 @@ export default {
this.$message.error("请选择处理方式!");
}
},
handelCLickGridId(val){
this.grid = val.value;
},
async handelDispose() {
this.$refs.ref_processinfo_dispose.getProcessInfo();
if (this.$refs.ref_processinfo_dispose.okflag) {
@ -540,6 +542,7 @@ export default {
this.replayInfo.icEventId = this.eventId;
this.replayInfo.openFlag = null;
this.replayInfo.openId = this.eventDetailCopy.openId;
this.replayInfo.grid = this.grid;
//
let url = "/governance/icEventOld/reply";
await this.submitDispose(url, this.replayInfo);

Loading…
Cancel
Save