qinzhipeng_v 5 years ago
parent
commit
f9c0d823d5

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

@@ -160,7 +160,7 @@ export default {
         cr: 0
       },
       DetailsOfProposal: '',
-      lateStatus: 1,
+      lateStatus: '',
       bizIdCode: '',
       projectIdCode: '',
       ids: [],
@@ -192,6 +192,7 @@ export default {
       this.dataChange = this.clienData
       this.dataChange.cr = 0
       this.dataChange.configIn = 2
+      this.dataChange.lateStatus = 1
       if (this.dataChange.id) {
         if (this.dataChange.lateStatus === 1) {
           this.lateStatusBtn1 = 'success'
@@ -287,7 +288,6 @@ export default {
           typeof (this.DetailsOfProposal) === 'string' ? this.dataChange.joinTest = this.DetailsOfProposal : ''
           this.dataChange.bizId = Number(localStorage.getItem('bizId'))
           this.dataChange.taskIds = this.ids
-          this.dataChange.lateStatus = this.lateStatus
           this.dataChange.type = 1
           this.userData = { ename: this.userInformation, name: this.userNames }
           this.objData = { launchTestInfo: this.dataChange, user: this.userData }

+ 2 - 1
src/views/Platform/presentation/acceptTheReport.vue

@@ -143,6 +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
@@ -162,7 +163,7 @@ export default {
         this.safeStatus = '否'
         this.safeStatus1.color = 'green'
       }
-      if (this.fromCreateData.lateReason !== '') {
+      if (this.fromCreateData.lateReason !== '' && this.fromCreateData.lateReason !== null) {
         this.showDelay = true
         this.lateStatus = '是'
       } else {