Jelajahi Sumber

隐患问题待办 中已逾期的显示为已逾期

zhulu 1 tahun lalu
induk
melakukan
bbc46ec481
1 mengubah file dengan 13 tambahan dan 3 penghapusan
  1. 13 3
      src/views/home/works.vue

+ 13 - 3
src/views/home/works.vue

@@ -115,7 +115,12 @@ export default {
     iColorClas(type, status) {
       if (status == 0|| (type == 9 && status == 1)|| (type == 9 && status == 10) || (type == 0 && status == 1) || (type == 2 && status == 1)) {
         return 'wj-title-blue'
-      } else {
+      }
+      else if(type == 9 && status == 13) 
+      {
+        return 'wj-title-red'
+      }
+      else {
         return 'wj-title-orange'
       }
     },
@@ -253,7 +258,9 @@ export default {
           strName = '待确认'
         } else if (val == 9 && taskType == 10) {
           strName = '待整改'
-        } else if (val == 9 && taskType == 1) {
+        }else if (val == 9 && taskType == 13) {
+          strName = '已逾期'
+        }else if (val == 9 && taskType == 1) {
           strName = '待审批'
         }
         return strName
@@ -273,7 +280,10 @@ export default {
         if (val == 9 && taskType == 10) {
           strName = '待整改'
           pathInfo = '/problemDetail?id=' + id + '&type=reform'
-
+        }
+        if (val == 9 && taskType == 13) {
+          strName = '已逾期'
+          pathInfo = '/problemDetail?id=' + id + '&type=reform'
         }
         //监控调阅
         if (val == 3 && taskType == 1) {