Browse Source

事件详情控制审核按钮

JX.LI 2 years ago
parent
commit
2270703877
2 changed files with 6 additions and 2 deletions
  1. 3 1
      src/views/eventdetailsdialog.vue
  2. 3 1
      src/views/firespread.vue

+ 3 - 1
src/views/eventdetailsdialog.vue

@@ -252,7 +252,7 @@
                                            style="text-align:left" @click="updateCentereventTEventcatalogueStatus('sh',false)">
                                   审核
                                 </el-button>
-                                <el-button size="small" v-else icon="el-icon-loading" style="text-align:left">
+                                <el-button size="small" v-else-if="isExamine =='0'" icon="el-icon-loading" style="text-align:left">
                                   请等待复核,复核通过后方可归档。
                                 </el-button>
                                 <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
@@ -2348,6 +2348,7 @@ export default {
         that.dataStatus = res.data.catalogue.dataStatus
         that.deptId = res.data.catalogue.deptId
         that.eventId = res.data.catalogue.id
+        that.isExamine = res.data.catalogue.isExamine
         that.longitude = res.data.catalogue.longitude
         that.latitude = res.data.catalogue.latitude
         that.eventName = res.data.catalogue.eventName
@@ -2442,6 +2443,7 @@ export default {
         that.eventType = res.data.catalogue.eventType
         that.statusFlag = res.data.catalogue.statusFlag
         that.dataStatus = res.data.catalogue.dataStatus
+        that.isExamine = res.data.catalogue.isExamine
         that.deptId = res.data.catalogue.deptId
         that.eventId = res.data.catalogue.id
         that.latitude = res.data.catalogue.latitude

+ 3 - 1
src/views/firespread.vue

@@ -231,7 +231,7 @@
                                            style="text-align:left" @click="updateCentereventTEventcatalogueStatus('sh',false)">
                                   审核
                                 </el-button>
-                                <el-button size="small" v-else icon="el-icon-loading" style="text-align:left">
+                                <el-button size="small" v-else-if="isExamine =='0'" icon="el-icon-loading" style="text-align:left">
                                   请等待复核,复核通过后方可归档。
                                 </el-button>
                                 <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
@@ -3005,6 +3005,7 @@ export default {
         that.latitude = res.data.catalogue.latitude
         that.eventName = res.data.catalogue.eventName
         that.eventTypeXl = res.data.catalogue.eventTypeXl
+        that.isExamine = res.data.catalogue.isExamine
         that.version = res.data.catalogue.version
         let markersMap = {
           lng: 124.59,
@@ -3105,6 +3106,7 @@ export default {
         that.eventId = res.data.catalogue.id
         that.latitude = res.data.catalogue.latitude
         that.longitude = res.data.catalogue.longitude
+        that.isExamine = res.data.catalogue.isExamine
         that.eventName = res.data.catalogue.eventName
         that.eventTypeXl = res.data.catalogue.eventTypeXl
         that.version = res.data.catalogue.version