|
@@ -156,6 +156,9 @@
|
|
|
</el-button>
|
|
|
<el-button size="small" icon="el-icon-download" @click="showResponsibility()">责任制
|
|
|
</el-button>
|
|
|
+ <el-button v-if="eventStatusValue=='forest_event_status_2' && statusFlag=='1' && dataStatus=='0'"
|
|
|
+ size="small" icon="el-icon-download" @click="updateCentereventTEventcatalogueStatus('cz',true)">处置
|
|
|
+ </el-button>
|
|
|
</div>
|
|
|
<div class="z-info-btm-grp-right">
|
|
|
<el-button size="small" icon="el-icon-mic" @click="joinMeeting()">会议
|
|
@@ -225,7 +228,7 @@
|
|
|
@click="updateCentereventTEventcatalogueStatus('ld',false)">
|
|
|
联动
|
|
|
</el-button>
|
|
|
- <el-button size="small" v-if="dataStatus=='1'"
|
|
|
+ <el-button size="small" v-if="statusFlag=='1'"
|
|
|
icon="el-icon-success" style="text-align:left"
|
|
|
@click="updateCentereventTEventcatalogueStatus('bj',true)">
|
|
|
办结
|
|
@@ -235,7 +238,7 @@
|
|
|
</el-button>
|
|
|
</div>
|
|
|
<div class="z-info-btm-input-btn"
|
|
|
- v-else-if="eventStatusValue=='forest_event_status_5'&&dataStatus=='1'">
|
|
|
+ v-else-if="eventStatusValue=='forest_event_status_5'&&statusFlag=='1'">
|
|
|
<el-button size="small"
|
|
|
icon="el-icon-success" style="text-align:left"
|
|
|
@click="updateCentereventTEventcatalogueStatus('gd',false)">
|
|
@@ -1004,7 +1007,8 @@ import {
|
|
|
dutysystemList,
|
|
|
dutysystemAdd,
|
|
|
dutysystemRemove,
|
|
|
- userFeginlist
|
|
|
+ userFeginlist,
|
|
|
+ eventHandling
|
|
|
} from '@/api/forest'
|
|
|
import {
|
|
|
treeselectAll as deptTreeselect
|
|
@@ -1175,7 +1179,8 @@ export default {
|
|
|
eventId: null,//事件ID
|
|
|
eventType: null,//事件类型-大类
|
|
|
eventTypeXl: null,//事件类型-小类
|
|
|
- dataStatus: null,//事件流程按钮
|
|
|
+ statusFlag: null,//事件流程按钮
|
|
|
+ dataStatus: null,//事件处置按钮
|
|
|
deptId: null,//事件流程部门
|
|
|
eventCode: null,
|
|
|
eventName: null,
|
|
@@ -1815,6 +1820,15 @@ export default {
|
|
|
that.$emit('getSupermap', that.calendarDay)
|
|
|
}
|
|
|
})
|
|
|
+ } else if(eventStatus == 'cz'){
|
|
|
+ eventHandling(that.eventId,that.eventCode).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ that.$message.success(`处理成功!`)
|
|
|
+ that.refreshEvent(that.eventCode)
|
|
|
+ that.cancelEventConfirm_send()
|
|
|
+ that.showEventConfirm = false
|
|
|
+ }
|
|
|
+ })
|
|
|
} else {
|
|
|
if (eventStatus == 'qs' || eventStatus == 'wb' || eventStatus == 'cf') {
|
|
|
if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName == null) {
|
|
@@ -1882,7 +1896,7 @@ export default {
|
|
|
this.$refs.eventLogUpload.eventLogUpload(this.eventCode)
|
|
|
},
|
|
|
cancelEventShow() {
|
|
|
- this.dataStatus = null
|
|
|
+ this.statusFlag = null
|
|
|
this.deptId = null
|
|
|
console.log('关闭事件弹窗')
|
|
|
this.eventLogList = []
|
|
@@ -1898,6 +1912,7 @@ export default {
|
|
|
that.address = res.data.catalogue.address
|
|
|
that.eventStatusValue = res.data.catalogue.eventStatusValue
|
|
|
that.eventType = res.data.catalogue.eventType
|
|
|
+ that.statusFlag = res.data.catalogue.statusFlag
|
|
|
that.dataStatus = res.data.catalogue.dataStatus
|
|
|
that.deptId = res.data.catalogue.deptId
|
|
|
that.eventId = res.data.catalogue.id
|
|
@@ -1983,6 +1998,7 @@ export default {
|
|
|
that.address = res.data.catalogue.address
|
|
|
that.eventStatusValue = res.data.catalogue.eventStatusValue
|
|
|
that.eventType = res.data.catalogue.eventType
|
|
|
+ that.statusFlag = res.data.catalogue.statusFlag
|
|
|
that.dataStatus = res.data.catalogue.dataStatus
|
|
|
that.deptId = res.data.catalogue.deptId
|
|
|
that.eventId = res.data.catalogue.id
|