Ver código fonte

事件详情办理流程按钮

彭宇 2 anos atrás
pai
commit
3437939580
1 arquivos alterados com 6 adições e 2 exclusões
  1. 6 2
      src/views/eventdetailsdialog.vue

+ 6 - 2
src/views/eventdetailsdialog.vue

@@ -203,7 +203,7 @@
                                              @click="updateCentereventTEventcatalogueStatus('ld',false)">
                                     联动
                                   </el-button>
-                                  <el-button size="small"
+                                  <el-button size="small" v-if="dataStatus"
                                              icon="el-icon-success" style="text-align:left"
                                              @click="updateCentereventTEventcatalogueStatus('bj',true)">
                                     办结
@@ -212,7 +212,7 @@
                                 <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
                                 </el-button>
                               </div>
-                              <div class="z-info-btm-input-btn" v-else-if="eventStatusValue=='forest_event_status_5'">
+                              <div class="z-info-btm-input-btn" v-else-if="eventStatusValue=='forest_event_status_5'&&dataStatus">
                                 <el-button size="small"
                                            icon="el-icon-success" style="text-align:left"
                                            @click="updateCentereventTEventcatalogueStatus('gd',false)">
@@ -1112,6 +1112,7 @@ export default {
       eventStatusValue: null,//事件状态
       eventId: null,//事件ID
       eventType: null,//事件类型-大类
+      dataStatus: false,//事件流程按钮
       eventCode: null,
       longitude: null,
       latitude: null,
@@ -1705,6 +1706,7 @@ export default {
       this.$refs.eventLogUpload.eventLogUpload(this.eventCode)
     },
     cancelEventShow() {
+      this.dataStatus=false
       console.log('关闭事件弹窗')
       this.eventLogList = []
     },
@@ -1719,6 +1721,7 @@ export default {
           this.address = res.data.catalogue.address
           this.eventStatusValue = res.data.catalogue.eventStatusValue
           this.eventType = res.data.catalogue.eventType
+          this.dataStatus = res.data.catalogue.dataStatus
           this.eventId = res.data.catalogue.id
           this.longitude = res.data.catalogue.longitude
           this.latitude = res.data.catalogue.latitude
@@ -1797,6 +1800,7 @@ export default {
           this.address = res.data.catalogue.address
           this.eventStatusValue = res.data.catalogue.eventStatusValue
           this.eventType = res.data.catalogue.eventType
+          this.dataStatus = res.data.catalogue.dataStatus
           this.eventId = res.data.catalogue.id
           this.latitude = res.data.catalogue.latitude
           this.longitude = res.data.catalogue.longitude