洪海涛 4 년 전
부모
커밋
010a6b7ad8
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/views/monthlyReport/childrenPage/editReport/components/MrTable.vue

+ 3 - 0
src/views/monthlyReport/childrenPage/editReport/components/MrTable.vue

@@ -441,6 +441,9 @@ export default {
         if (obj && obj.content[0].tableRows.length) {
           updateAnalyticFeedback(params).then((res) => {
             if (res.code === 200) {
+              if (res.data.search(/yellow/) > -1) {
+                res.data.replace(/yellow/, '#F0B044')
+              }
               this.analyticFeedback = res.data
             }
           })