qinzhipeng_v 5 anos atrás
pai
commit
aae773785a

+ 1 - 1
src/views/Platform/presentation/PresentReport.vue

@@ -227,7 +227,7 @@ export default {
           this.dependent = 2
           this.showRelyOn = false
         }
-        if (this.dataChange.crBy !== '' && this.fromDev.crBy !== null) { // 执行人
+        if (this.dataChange.crBy !== '' && this.dataChange.crBy !== null) { // 执行人
           this.CodeReview = 'success'
           this.CodeReview1 = 'info'
           this.dataChange.cr = 1

+ 13 - 11
src/views/Platform/presentation/acceptTheReport.vue

@@ -118,8 +118,8 @@ export default {
       CodeReview1: { color: 'red' },
       safeStatus1: { color: 'green' },
       form: {},
-      dependentCom: '',
-      config: '',
+      dependentCom: '',
+      config: '',
       showDelay: false,
       showDelay1: false,
       showDelay2: false,
@@ -143,7 +143,7 @@ export default {
   methods: {
     idGet() {
       this.fromCreateData = this.message
-      console.log(this.message, 'xsxasxasxasx')
+
       if (this.fromCreateData.type === 2) {
         this.towShow = false
         this.oneShow = true
@@ -163,6 +163,7 @@ export default {
         this.safeStatus = '否'
         this.safeStatus1.color = 'green'
       }
+
       if (this.fromCreateData.lateReason !== '' && this.fromCreateData.lateReason !== null) {
         this.showDelay = true
         this.lateStatus = '是'
@@ -171,14 +172,6 @@ export default {
         this.lateStatus = '否'
         this.lateStatus1.color = 'green'
       }
-      if (this.fromCreateData.crBy !== '' && this.fromDev.crBy !== null) { // CodeReview
-        this.showCodeReview = true
-        this.CodeReview = '是'
-        this.CodeReview1.color = 'green'
-      } else {
-        this.showCodeReview = false
-        this.CodeReview = '否'
-      }
       if (this.fromCreateData.configInfo !== '') {
         this.showDelay1 = true
         this.config = '是'
@@ -195,7 +188,16 @@ export default {
         this.dependentCom = '否'
         this.dependentComponents1.color = 'red'
       }
+      if (this.fromCreateData.crBy !== '' && this.fromCreateData.crBy !== null) { // CodeReview
+        this.showCodeReview = true
+        this.CodeReview = '是'
+        this.CodeReview1.color = 'green'
+      } else {
+        this.showCodeReview = false
+        this.CodeReview = '否'
+      }
     }
+
   }
 }
 </script>