Browse Source

isExamine审核展示

qinhouyu 2 years ago
parent
commit
739263d2e8
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()">发送
@@ -2351,6 +2351,7 @@ export default {
         that.longitude = res.data.catalogue.longitude
         that.latitude = res.data.catalogue.latitude
         that.eventName = res.data.catalogue.eventName
+        that.isExamine = res.data.catalogue.isExamine
         that.version = res.data.catalogue.version
         that.eventTypeXl = res.data.catalogue.eventTypeXl
         let markersMap = {
@@ -2444,6 +2445,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.latitude = res.data.catalogue.latitude
         that.longitude = res.data.catalogue.longitude
         that.eventName = res.data.catalogue.eventName

+ 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()">发送
@@ -3002,6 +3002,7 @@ export default {
         that.deptId = res.data.catalogue.deptId
         that.eventId = res.data.catalogue.id
         that.longitude = res.data.catalogue.longitude
+        that.isExamine = res.data.catalogue.isExamine
         that.latitude = res.data.catalogue.latitude
         that.eventName = res.data.catalogue.eventName
         that.eventTypeXl = res.data.catalogue.eventTypeXl
@@ -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