소스 검색

质量事故单

yuansh 2 년 전
부모
커밋
5fd5d1503e
2개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 1
      src/views/oa/modules/IncidentTicketModal.vue
  2. 6 1
      src/views/oa/modules/IncidentTicketModalDetail.vue

+ 5 - 1
src/views/oa/modules/IncidentTicketModal.vue

@@ -473,7 +473,11 @@
           if(res.success){
             var noticeList =[]
             res.result.map(item=>{
-              noticeList.push(item.userName)
+              if(item.confirm != null && item.confirm != '' && item.confirm != '否'){
+                noticeList.push(item.userName+'('+item.confirm+')')
+              }else{
+                noticeList.push(item.userName+'')
+              }
             })
             this.formState.Noticer = noticeList.toString()
             console.log(this.formState.Noticer)

+ 6 - 1
src/views/oa/modules/IncidentTicketModalDetail.vue

@@ -602,7 +602,12 @@
           if(res.success){
             var noticeList =[]
             res.result.map(item=>{
-              noticeList.push(item.userName)
+              if(item.confirm != null && item.confirm != '' && item.confirm != '否'){
+                noticeList.push(item.userName+'('+item.confirm+')')
+              }else{
+                noticeList.push(item.userName+'')
+              }
+              
             })
             this.formState.Noticer = noticeList.toString()
             this.$forceUpdate()